Localizable is set. It was changing the value that got me. That is a real pain to have to do. It also cannot be set to the same value, this doesn't trigger the change.
Wonder if there is any Win32 call or something that could be sent to all the Controls so that they do this 're-rendering' or whatever.
I want to draw an image on the screen and because I want to do it as fast as possible I decide to use BitBlt instead of DrawImage method.
When I use BitBlt to draw the content of the screen on itself everything works fine but when I try to draw an image that is loaded into memory nothing happens.
here's what I do:
What do you think calling DrawImageUnscaled is going to do, under the hood ? I suspect it does nothing more than this.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
I am novice to C# programming.
I've made a little windowsforms C# app. This app connects to a website, downloads the *.csv files to a given dir.
But now i want to convert this app to a windowsconsole app, but the code i wrote is not working.
Can somebody help me?
Here is the code that is NOT working in the console app.
/// Summary description for Class1.
/// The main entry point for the application.
static void Main()
In a console application you don't have a form to run. You move the functionality from the form in to the Main method and remove the Application.Run(...);. You also have to change the Project Settings to change the output type to "Console Application"
In my application, i would like to use DateTimePicker to get the Date value (mm/dd/yyyy). I am using this
but i am still getting this value (mm/dd/yyyy HH:mm:ss) .
What i wish is only the "mm/dd/yyyy". Actually i was tried before set the datetimepicker format to mm/dd/yyyy, then get the value in type of String. But after that, i cant convert it into mm/dd/yyyy in type of Date. Anyone can guide me to solve my problem?
First,thanks for the replies.
I cant split the value to "mm/dd/yyyy" with using datetimepicker.value.date.toshortdatestring or datetimepicker.value.toshortdatestring. But when i use datetime.parse(string), the format will become "dmm/dd/yyyy HH:mm:ss" again. And if i use "Format(datetime,"mm/dd/yyyy")", its prompt me an error msg.
I would like to have the value in format "mm/dd/yyyy" is becouse i will insert this value into database.Please anyone guide me to the right way.
i'm creating a class diagram in VS 2005, the class diagram option shows me all the classes of the project but it doesn't show the links between classes.
Is this because half my classes are "Serializable"