For clarification: I know how evil globals are and when not to use them :)
Is there any performance penalty when accessing/setting a global variable vs. a local one in a compiled C++ program?
Hello there,
I am creating a class in C# which eventually will be part of a library that other uses can use.
A user of this class has to set some properties and then use a public method to retrieve the results. What shall I do when a user calls the method without setting all the properties? Throw exception and expect the user to catch it?
Thanks
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
I am resuing ListPreference for a setting which I store in the database. I do not want it stored in the preference file.
How can I reuse ListPreference in such way that it does not save to SharedPreference file?
So far I've not been able to find any way to make the background of a GtkProgressBar transparent. I've tried setting a transparent image as the background, but the alpha channel is ignored. Can this be done?
I'm using the Windows XP look and feel. On a panel containing a button there is a rectangular area around a button that looks like the area that a classic button would take up. That area is not adhering to the color of my panel. For example I'm setting my panel to blue but the area around the button is still white. What is the name of that area. I've tried button.shadow but that's not it.
Thanks
ST
Hello all,
Does anyone know of a DB setting in DotNetNuke, where you can configure ALL modules to disable print or maximize&minimize? Just so I don't have to configure every module individually.
How can I make it a default?
Thanks again!
In the case of an IM client. I have made 2 separate threads to handle sending packets (by std io) and receiving packets. The question is how to make these 2 threads run simultaneously so that I can keep prompting for input while at the same time be ready to receive packets at any time?
I have already tried setting a timer but the data is always lost receiving.
Is there a way to configure visual studio to limit the characters on aspx page to a certain number of characters?
I tried setting the character limit on Formatting and Validation on aspx page. but that didnt work.
I've been reading all kinds of tutorials on how to deploy rails apps on heroku from windows.
I've tried installing git, heroku gem, generating ssh keys and setting paths and everything...
I get either public key error (without putty) or fatal no auth found (with putty)...
I would like to display links that are pasted in as links rather than text but freetextbox does not seem to do this. For instance, if somebody pastes in http://www.stackoverflow.com it looks like a link but shows up only as text. Do I need to convert this myself or is there a setting in the editor to take care of this?
OK, see the numbers? I can barely see them because my Visual Studio 2010 theme has the backround as almost-black, and the numbers show up in the default color, which is black. I can't figure out which setting changes the color for a number in a .sql file. Does anyone know?
hi,
i have an webservcie written it works fine . but some time i get this message error telling time outexception was unhandled
Time out Exception
how can i increase time for accessing the webservice for the application. is there any setting need to be done.
please let me know. if any one knows the silution for it
thank you
Hi , iam using setting.bundle and i try to show a hidden picture with Switch toggle , here is my code but i miss something :
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[//Some code show the hidden pic]; myPic.hidden = NO;
my key is .e.g = wood_back
should i use ObjectForKey ?
I have an Incident table with one row that has the value 'out of office' in the Description column.
However the following query does not return that row.
SELECT * FROM Incident
WHERE CONTAINS( (Incident.Description), '"out*"' )
The word 'out' is not in the noise file (I cleared the noise file completely).
Is it because SQL Full-text search does not index small words? Is there a setting for that?
Note: I'm on SQL 2005.
I tried setting the color of the backround of the flipsideView in interface builder, but for some reason it doesn't show it in the iphone simulator. It always displays this dark crosshatching backround. How do I get it to display my selected color in the backround?
My application is not saving users settings after I install it. When I test my app in debug or release mode it works fine. However after compiling, linking and installing the My.Settings.Save() does not seem to be working.
I can manually change a setting in the config file and the app runs accordingly. So I know it’s reading the config file on application startup.
What am I doing wrong?
Thanks
I´m looking forward to launch a mobile application for Android, iPhone and maybe other platforms like Blackberry, Symbian, ... too in the future.
What do you think is the best way to promote this application?
Is setting up a website; provide a screencast with the features; running ads on ad networks enough or are there other ways too ? What ad networks you can suggest ?
I am setting 2 css class in the code behind in ASP.NET
I could either do:
txtBox.Attributes.Add("class", "myClass1");
txtBox.Attributes.Add("class", "myClass2");
it's always apply one Class .. How can i add thw two classes ?
Hi ,
I try to add new mhtml link to List but i've got :
"Illegal url address " etc.
How to change the setting to allow mhtml links ?
Thanks in advance ,
Ish
Is there some way I can stop Chrome from auto populating input boxes? I have a page with a Sign Up form and a Log In form. In Chrome, if a user has already signed up and they've come to this page to log in, the password input box on the sign up form is populated with their password. I would really like to force the sign up fields to never auto complete.
I've tried setting autocomplete="false" but this makes no difference.
I have seen many websites triggering a file save-as dialog on a page with existing HTML content. How do they do this?
I know about setting the right headers such as Content-disposition etc. but when I do that, the content of the page does not load, and immediately the file download is triggered...