161 Posted Topics

Member Avatar for Zefram

simple ALWAYS write code AFTER the InitialiseComponent() call. The control does not exist until that code has completed. It is the code the IDE puts in to create the control and all the child controls on it. Also, i dont know if it was just a mistake on the post …

Member Avatar for f1 fan
0
120
Member Avatar for daidaiboyboy

Where to start.. your logic is wrong i suspect. Your code will draw it in the button. First problem is your cast error you mention... DrawLinesPointF(sender, (PaintEventArgs) e); you are trying to cast e to PaintEventArgs but e is a SystemEventArgs which is empty so there is no way it …

Member Avatar for daidaiboyboy
0
587
Member Avatar for belama

All frameworks are backwards compatible... so yes you can uninstall older versions.

Member Avatar for f1 fan
0
163
Member Avatar for sastwhc

If you want to just use the default culture of the user then you can get it from the Request. Then set the thread culture to that culture. Doesnt give the users the choice though. Thread.CurrentThread.CurrentUICulture = new CultureInfo(Request.UserLanguages[0].ToString());

Member Avatar for f1 fan
0
148
Member Avatar for Seth!

how have you set up the virtual directory in iis? under the root? Are you using the correct host header? What about dns - is it pointing to the new machine?

Member Avatar for f1 fan
0
101
Member Avatar for ozmoses2005

do you mean the framework runtime or the sdk? What are you trying to do? for apps they just need the redistributable dotnetfx.exe (make sure you download the right one although they are backwards compatible).

Member Avatar for f1 fan
0
125
Member Avatar for ChaosBelle

OK first of all the custom Errors problem. IIS doesnt like the /> closing tag. You have to use <customErrors mode="Off"></customErrors> that will work Second problem was the closing tag of connection strings... it should be </connectionStrings> not <connectionStrings/> as you had it... easy mistake - always pays to double …

Member Avatar for f1 fan
0
230
Member Avatar for Stivi

are you talking about a popup window or a whole new webpage/site? if you need to do a new browser window with a webpage then in the link that you have you need to set the target="_blank" if you want to just do a popup window then the best way …

Member Avatar for Stivi
0
152
Member Avatar for Sylvain Bouche

I am not sure why you want to return an object instead of the ActionValue type but you want public object ToActionType(Long myval) { int myIntVal = (int)myval; ActionTypes myActionType = (ActionTypes) myIntVal; return (object) myActionType; }

Member Avatar for f1 fan
0
3K
Member Avatar for jhoop2002

This is a new security feature for .net2. <%@ Page EnableEventValidation="true" %> is new security feature to stop tampering with your controls. in your code you changed some controls on the server side and then tried to load the page and it recognised they were changed in your event. At …

Member Avatar for f1 fan
0
227
Member Avatar for smartintelleng

My money is on you havent called filestream.close() after reading or writing. This means the file is exclusively locked and can not be used by anything else (the same effect as if you try to open a word doc on a shared folder when someone else has it opened... you …

Member Avatar for f1 fan
0
134

The End.