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
Hi, Im having a problem, I have a treeview and I want to load the selected node url in the iframe but have no idea how to do this. I know I cant use response.redirect and I cant use navigateurl because that cancels selectednodechange. Any ideas anyone???
hi
i writing stream in to file and stdout
but im getting somekind of encoding like this:
"\u05ea\u05e7\u05dc\u05d9\u05d8 \u05e9\u05e1\u05d9\u05de\u05dc \u05e9\u05d9\u05e0\u05d5\u05d9 \u05d1\u05e1\u05d2\u05e0\u05d5\u05df \u05dc\u05d3\u05e2\u05ea\u05d9 \u05d0\u05dd \u05d0\u05e0\u05d9 \u05d6\u05d5\u05db\u05e8 \u05e0\u05db\u05d5\u05df"
how can i convert it to printable string
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));
I want to be able to redirect all requests to navigate to an image to a php script which will then show the image but with a nav bar at the top. However using rewrite (im using IIS btw) means that I can't embed those images.
Any help will be greatly appreciated.
Hi im a beginner so sorry for my question if it sounds naive.
I want to implement a thread that runs in the background and listens all the time. By listening i mean, say it keeps check on a value returned from main thread and if the vaue exceeds certain figure, it executes some method, or say exits the program.
If you could give me some idea or at least refer me to something useful, that'll be great.
Hi all,
I have written a datagridview with a couple of columns to store data of a product, now i want to be able to right click any row and have a context menu appear with the options delete and copy. Copy should have the same functionality as if I press Ctrl+C. Any help would be appreciated. Im using C# and WinForms. I have never done context menus before, so I would be thank full for any hint or link to further readings.
Cheers
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?
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.
Here is an example of the url i'm trying to match: http://store.mywebsite.com/folder-1/folder-2/item3423434.aspx
What im trying to match is http: //store.mywebsite.com/folder-1 except that "folder-1" will always be a different value. I can't figure out how to write an if statement for this:
Example (pseudo-code)
if(url contains http://store.mywebsite.com/folder-1)
do this
else if (url contains http://store.mywebsite.com/folder-2)
do something else
etc
$(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?
Hi! Im trying to call some windows forms code (like setting label.visible = true in some event code, everything compiles ok, but form does not react to change! What could be the problem?
Problem is in lines:
labelNewCall.Visible = true;
timerNewCall.Enabled = true;
code : http://pastebin.com/gV28PN4P
also other code did not work, until i reordered some of if (order is not important but it did not work otherwise... )
else if (!registryData.ContainsKey(kyInvolved))
{
keyInvolved = new RegistryKy(kyInvolved);
lock (registryDataLock)
{
registryData.Add(kyInvolved, keyInvolved);
}
processInvolved = new Proces(procInvolved);
keyInvolved.addProcessToDict(processInvolved);
}
kyInvolved is a String which represents a registry key. keyInvolved is the actual registry key object.
I'm being told that im adding a key which already exists, yet i have already checked to see whether it is in there or not???
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);
Hi, im traversing through the registry, taking the values of the keys and storing them as strings. I have discovered there are many different types. Some of these types are causing my filestream writer to fail. Is it possible to convert all of the below into a string form. The actual data value is not important, just the ability to differentiate between different values.
DWORD
ExpandString
Binary (is this just the same as byte[] ?)
MultiString
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.
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
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 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;
}
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.
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
Hey everyone,
After reading about salts password hashing Id like to implement a simple version for an admin area to a site Im building.
If you have any good links with code that have implemented this idea well, I would appreciate it if you could share.
Thanks,
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.
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!!
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?