I have an application in C# with VS 2008 in which I generate images based off of data supplied by the user, and then I use those images and and generate a html based report, loading it to a webbrowser, and letting the user print it.
My only problem is right now, the only way I can get it to work with the WebBrowser is saving the image on the hard drive, adding the
Previously in C++ I used a HTML Viewer that allowed to load images from a memory stream, but I have yet to see any proof that this is possible with the .NET WebBrowser. Another idea I had was to try and save the image to a resource, but I don't know if that will work either.
So, does anyone here know of a method to load these images without saving them to the drive?
BobbyPosted Jul 6, 2010, 12:17 AM
I don't think this is possible in the .NET webbrowser but I was just curious if anybody knew a way I didn't have to save the image directly to the hard drive, since many people using this program likely won't have internet access while using it.
Sam HobbsPosted Jul 2, 2010, 11:46 PM
I also don't know what you mean by "load images from a memory stream"; as far as I know, the only way to show images in HTML is by using IMG tags and they need to get the images from a file, either locally on the hard drive or remotely over the internet.