I am attempting to access graphic data within memory.
1) I load in graphic data into a bitmap variable.
PO = New Bitmap("C:\Grass.Bmp")
2) In appropriate part of I code I put the data into a memorystream.
Dim MStrm As MemoryStream = New MemoryStream()
PO.Save(MStrm...
I use VStudio.NET, and it will load unknown files into a debugger. This is really useful. The problem is that if VStudio recognizes the file type, then it loads it properly. Sometimes, like you, I WANT to see the hex code. What I do is rename the file giving it a different file extension...
Click on the properties box of your form. Go down where it says Menu. Click on that box and tell it that you want to make MainMenu the menu for the form. .Net makes NO assumptions and does not have Default conditions. You must declare everything.
Just scanning your code, I suspect the problem is in Defaut.
1) You have lpDefault in the declaration, but properly have it spelled Defaut in the code.
2) You do not give a value to Defaut, so it is nul. Nul strings will tend to give overflows.
As stated at the end of your post, outputting to the printer is a delicate issue because what I am happy with the next person will find tacky. Anyway, I trust Microsoft to get it right as much as I trust the government to protect me from spam. The old Printer.Print routines have been moved to...
1) It sounds like you do not want to see the label, so set the Visible feature to false.
2) I am uncertain how you did this to make a good reply. I find text labels to work quite well. I will agree that the .Net framework is not built for graphics speed. I have issue with it on this topic...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.