161 Posted Topics
Re: 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 … | |
Re: 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 … | |
Re: All frameworks are backwards compatible... so yes you can uninstall older versions. | |
Re: 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()); | |
Re: 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? | |
Re: 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). | |
Re: 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 … | |
Re: 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 … | |
Re: 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; } | |
Re: 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 … | |
Re: 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 … |
The End.