Hi
I can open a .dot template from a hyperlink fine,
but it opens read-only and does not run the autonew macro.
Is there a setting or something obvious Im missing?
thanks
DD
Im programming a small databased application. It worked fine, but now when i want to add a new table, the Server - Explorer freezes and my .net Studio too. If i try to make a new app with database, - wpf application with .net studio, -ADD Local Database - then try to add Table, my Database1.sdf disconnects and again freeze!
I am using Windows7 professional.
Im trying to combine the name field, and msg field, and input all values into #msg, but cant quite get it to work
$('#DocumentCommentsForm_21').bind('submit', function(){
var name = "##" + $('#navn').val() + "##";
var msg = $('#msg').val();
$('#msg').val(name+' '+msg);
});
alert($('#msg').val(name+' '+msg));
how do i do enumeration in sqlachemy? im using pylons if it matters. i also want to have in code to create different object depends on the enumeration, with the same parameters, but different object class.
Ive used visual studio for years, but the answer this eludes me:
When intellisense pops up, for a method call that takes more than one parameter, the summary for the first parameter is shown. The only way i've found to show the summary for the following parameter(s) is to either supply each parameter or just hit comma until i get the one im looking for.
Ive tried ctrl+right arrow, shift + right arrow etc etc, without success.
Just curious is all.
Im trying to read image from database with javascript ajax, but i could not read the xmlhttp.responseText to the img src ,the image is saved as binary data in database, and also retrived as binary data .can any one show me how to do that?
Hi Im new to android.
Currently I have a View which has a AsyncTask class used for decoding.
But eventhough AsyncTask.cancel() is not called within my class, onCancelled() has been called which resulted to some abnormal process in my application.
I would like to ask if what are any instances that AsyncTask.onCancelled() will be called
besides when calling the AsyncTask.cancel()
Any help would be appreciated.
Thanks alot in advance
$(document).ready(function () {
//create the div
var div = $("<div></div>").css("position", "absolute").text("a short message").appendTo("body");
//attach the mousemove event
$("body").bind('mousemove', function(evt) {
div.css({
"left": evt.pageX + "px",
"top": evt.pageY + "px"
});
});
});
what im trying to do is replace a short message with an iframe, what do i do?
I am trying to get the src of all of the images in a page. But some pages use absolute paths and some do not. So I am wondering whats the best way to do this?
right now I am using this.
$imgsrc_regex = '#<\s*img [^\>]*src\s*=\s*(["\'])(.*?)\1#im';
preg_match_all($imgsrc_regex, $html, $matches);
Im trying to get the lat and long values generated in a void function and use them within another function. Any help grateful.
(void)locationManager:(CLLocationManager *)manager
didUpdateToLocation:(CLLocation *)newLocation
fromLocation:(CLLocation *)oldLocation
{
float latDeg = newLocation.coordinate.latitude;
NSLog(@"Lat: %g", latDeg);
float longDeg = newLocation.coordinate.longitude;
NSLog(@"Lat: %g", longDeg);
}
I want to use the latDeg and longDeg variables.
I cant work out which brackets are in the wrong place and where and now im completely lost:
$("#slid").click(function() {
$("#div1").animate({ top: "25px",}, 300
},function() {
$("#div1").animate({ top: "85px",}, 300
});
});
Can anyone help?
I am busy working on a java app to run on blackberries but on some devices i am testing on, the code does not seem to be working and im having a hard time pinpointing where the problem lies.
My question is: Could the problem with some phones working and not working have t odo with the type of network they are running on such GSM vs CDMA and would the code that stops working on some devices be in one of the following areas:
1) Listeners - such as MessageListener and Phone Listener
2) UI Objects - simple test labels and buttons
3) Connection to a web service using ksoap2
I have a number of .css files spread across some directories. I need to find those .css files, read them and if they contain a particular class definition, print it to the screen.
For example, im looking for ".ExampleClass" and it exists in /includes/css/MyStyle.css, i would want the shell command to print
.ExampleClass {
color: #ff0000;
}
hello fellow java developers,
Im trying toget the System.getProperty("os.name") of my own machine. I am running a java application directly from the machine from within eclipse.
My machine is "windows 7"
the returned value is "windows vista" ! Seems wrong, very wrong. and yes I am sure that I am running the app on a windows 7 machine...
Any ideas as to what is going on here?
i am running a mac with mamp and mamp pro. how do i check if i have apc enabled and if its not enabled or not installed how do i install it? thanks
i am trying to get the apc upload loader to work that i found online and it gets stuck on NAN% when im uploading.
this is a link: http://www.haughin.com/2007/10/23/php-upload-progress-with-php-52-apc/
Im designing a website, and often I need to present information in a nice table, or need a nice button, etc...
I need recommendations for any websites which have a large collection of these elements which I could just use, instead of designing my own.
Thanks!!
$('#columnList').append("<li>" + $(colInProcID) + "</li>");
Obviously, Im doing something wrong...not sure how to say the above so that I dont get [object object] in my list.
**Sorry, let me clarify ... the $(colInProcID) is a DIV that I want inserted into the list. (sorry)
Hi
I have set the background of my UITable with a custom image.
self.tableView.backgroundColor = [UIColor clearColor];
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"background.png"]];
The problem im having is the background image is scrolling and doesn't look good at the top and bottom of the screen where you see the image being joined.
Is there a way to fix the position of the background image and just have the table scroll over the top of it?
I am trying to determine if my application is closed through clicking the "X" on the windows form, or if they clicked an "Exit" button I have on it. Right now I am using StackTrace.GetFrame(someIndex) to determine how, but i am looking for a more definitive way since it looks like these frame orders arent guaranteed. Is there a better way to make the distinction? This is a .NET 3.5 WinForm, and Im writing in C#.
Im saving an object model out to XML but when i load it back in I get exceptions when trying to use PropertyInfo.SetValue() because the property doesn't have a setter just a getter.
I want to either not save out the properties that only have getters or figure out on load whether its valid for me to try and set a value or not.
Anybody know how to do this
Cheers
date_default_timezone_set('America/Guayaquil');
$cnn->execute('SET NAMES utf8');
$cnn->execute('SET GLOBAL time_zone = "-5:00"');
Hi, the code above is run everytime someone enters the website im developing. Does someone know what the impact (in performance) of those commands is?
Im new to android, developing a social networking application which requires user to upload images, but i dont know how to achive the file upload dialog box. How can we achive it,using java file or xml layout file?
In python, is there a way to exit a class after testing a condition, without exiting out of python?
say i have the class
class test():
def __init__(self):
self.a = 2
def create_b(self):
self.b = 3
def does_b_exist(self):
if <self.b doesnt exist>:
#terminate
self.b += 1
try/except` doesnt work since the rest of the program doesnt terminate after failing. im basically trying to catch an error, and do what python does when it shows you errors, but i cant figure out how to do it
this is what im trying to do...
ul#newnav a{ /*--This is basically the hover state of navigation--*/
color: #555;
background: url(images/a_bg.gif) repeat-x left bottom;}
ul#newnav a{ background: url(images/navpic.png) no-repeat top left;}
and of course its only loading the last one but is it anyway I can load both.
Given a group of about 20 enums that I cannot modify.
Im looking for an elegant solution to generate a random enum from a specific sample (ie, 2, 7, 18)
I could put these into an arraylist, but thought I would ask if there is something else I could try.