|
Can someone suggest how 2 Save the Image Loaded in a format which can be reloaded whenever required.
I do not wish to copy the original file ,if i have all the image data in my program.
|
|
|
|
|
I have made an application using Dialog Boxes. I want to add a printing feature
to print the whole Dialog Box.
Can u help me in this?
my email x.i.peng@163.com
|
|
|
|
|
Let's see.....
1. The question has little to nothing to do with this article.
2. You're not committed enough to this community to get an account or even to indicate that you're going to check back for a reply.
3. You didn't ask in the proper forums.
4. You didn't say please.
On what level do you think this is the way to solve your problem ?
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
|
I'm not trying to discourage you from asking for help, just suggesting that you're going the wrong way about it. Apart from anything else, this article has nothing to do with your problem, and everyone who has voted for it, gave it a 1. On what basis then would this be the person to ask, when you can ask the whole site in the programming forum ?
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Tbh you're a bit of an ass. He doesn't speak particularly good English and I think it's fairly obvious the answer to all 4 of your particularly helpful comments is that it's pretty confusing when you don't understand what's going on. Maybe you should show a little more consideration rather than making snide comments.
|
|
|
|
|
it can load JPG but not BMP
help me
|
|
|
|
|
::LoadImage will load a bmp.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
how can i use LoadImage?
can you tell me an example?
|
|
|
|
|
|
sorry,my english is poor,
my meaning is how to use it the current sample instead of OleLoadPicturePath function
|
|
|
|
|
I'm sorry, I've not looked at the sample. To be honest, it's probably easier overall if you look at some other articles on CP which are more descriptuve of what they do and offer all these formats to you. However, in this case, whatever the load function is, you'd just parse for .bmp on the filename and use LoadBitmap to load the image instead in that case.
Unless you need W95 support, I'd suggest my GDI+ articles to be your best bet.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
It does load .BMP.
Can Microsoft Paint load your .BMP? Have you tried some other .BMP files?
|
|
|
|
|
Microsoft Paint can load my BMP
some .bmp can be loaded,but others can not
|
|
|
|
|
|
http://218.22.145.131/temp.bmp
it can be opened by Ms Paint
tell me if you give it ,and i will delete it
|
|
|
|
|
I've got the BMP file. Neither OleLoadPicturePath() nor LoadImage() are able to load this BMP file. This BMP file is a 16-bit bitmap without a color table. It seems that the Windows API functions cannot load the bitmaps of this format. The Windows Picture and Fax Viewer in Windows XP cannot load it either. If you really need to load this format, you can read the file and create the bitmap using CreateDIBSection(). Or you may save the bitmap as other formats.
I give solutions to problems rather than bullshit.
|
|
|
|
|
LINK : fatal error LNK1104: cannot open file "uafxcwd.lib"
Error executing link.exe.
|
|
|
|
|
That's a Microsoft lib, and therefore your problem, not the authors. It looks to me from a glance at MSDN that it should be visible to the compiler without any SDK updates, but that might be wrong.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
You don't have the MFC static libraries installed. Two options:
1. Install the MFC static libraries.
2. Change the project setting to "Use MFC in a Shared DLL".
|
|
|
|
|
Someone with taste!
Opus 35 is a nice Sonata from Chopin, but SO long! If you're playing it, congrats!
Oh, and Opus 35 has 4 nice movements, don't stick to the Marche Funèbre, the other 3 movements are much more beautiful.
But the code could add something new...
lazy isn't my middle name.. its my first.. people just keep calling me Mel cause that's what they put on my drivers license. - Mel Feik
|
|
|
|
|
there is nothing new or unqiue here.
|
|
|
|
|
Mr. Pickles wrote:
there is nothing new or unqiue here.
I disagree! This is the first CP article i've seen with the sole screenshot consisting of a scaled musical score...
Shog9
------
So they took me down to the gallows
And this boy, he said to me:
"Why do you smile, when the rope's around your neck?"
I said, "I tell you boy, when i get back..."
|
|
|
|
|
Actually, the author used to be the number one contributor on MFC at the www.Experts-Exchange.com site. His typical answer to a programming question is just a reference number for a KB article (so his style is consistent at least ).
Just wondering if EE is already dead or dying?
|
|
|
|