doesn't Image myImage = Image:FromFile(filename); work?
peenu
Posts
-
Retrieving Image from SQLServer database -
MDIchild layout?hi, The MDI layout for child MDIforms works fine for upto 3 child windows, i.e., the Horizontal, Vertical and the Cascade layout for the child windows works fine. But for more than 3 MDIchild windows, the Horizontal and Vertical Layout doesn't work? Any clue's about this? Thanks, Peenu.
-
disable scrollbars of MDI Parent Formhi, I need to disable the scrollbars of the MDI parent form. For this I set the AutoScroll, HScroll and VScroll properties of the MDIForm to false. But this doesn't work. In VB this works but in C# it doesn't. Any clues? Thanks, peenu.
-
Reduce flickering when reloading a jpeg.Hi, I have a .htm file which has a jpeg bitmap displayed in it, using the tag. Since my jpeg file keeps changing after some few seconds, i keep refreshing my htm page. This results in flickering when the image is loaded again. Any solutions? peenu.
-
byte [] to bitmap in MFCHi, How do i convert a byte array to a bitmap and save it as a jpeg bitmap on the disk. I have written a MFC application. Can anyone help me in this. Thanks, peenu.
-
Vertical Text?How can i make the label Text or the Button Text appear Vertical instead of the default Horizontal?
-
WM_PRINTCLIENT messageI used WM_PRINT. This gives me the bitmap of all controls in the form, but the form area appears black?
-
WM_PRINTCLIENT messageHi, Has anybody used WM_PRINTCLIENT message? I m using the following SendMessage call..... SendMessage(hWnd, WM_PRINTCLIENT, (WPARAM) hDCMem, PRF_CLIENT | PRF_ERASEBKGND | PRF_CHILDREN ); but this returns a black window. Any clues? Thanks, peenu.
-
WM_PRINTCLIENT messageHi, Has anybody used WM_PRINTCLIENT message? I m using the following SendMessage call..... SendMessage(hWnd, WM_PRINTCLIENT, (WPARAM) hDCMem, PRF_CLIENT | PRF_ERASEBKGND | PRF_CHILDREN ); but this returns a black window. Any clues? Thanks, Puneet.
-
Constrain form to horizontal resize only?set the maximumsize.Height and minimumsize.Height Form properties to 400. The user will not be able to resize the form vertically (less than 400).
-
reading a minimized form/window into a bitmap?how do i read a minimized form/window into a bitmap.how do i read a minimized form/window into a bitmap?