Writing pixels to image in CE (using VB6)
I am writing a program in VB6 and want to write directly to an imagebox or picturebox somehow. I posted this in http://www.vbforums.com/showthread.php?t=444408 about a week ago and there has been (1) NO activity at all in that forum since and (2) no reply so I thought I'd bring it here. Seeing as I'm writing in VB6 I guess it could be considered classic VB (and what could be more classic VB than CE :-))
Anyway, here's the post I made back then, copied word for word:
"I am writing software in Windows CE for my Win Mobile 5 handheld PC. The reason why I am using CE is I have very little (next to none) experience in .NET and I feel more comfortable writing in a VB6 environment (and I have a CE development system installed to allow me to do this in VB6).
A piece of code I am writing displays a map on-screen (taken from streetmap) in an image box. It loads a BMP file (seems CE items can only load BMP or even less efficient image formats) and displays it in the image box which I will then use for navigation (not through a GPS system...I'm not writing that sort of program). I want to then read in the values of specific pixels within that image and perform a filter on the pixel and re-draw it on the image...I basically want to highlight specific streets and will have co-ordinate data on each street in the program.
Has anyone got suggestions on how I would be able to manipulate pixels in an image like that?
Another aspect of this program I am working on is a more efficient way to store map-style images by reducing the number of colours...in theory I could get the maps I am displaying into about 5k or so...I'm looking for a method that could manipulate an image fast enough in CE, but the priority here is the above (editing specific pixels rather than the whole image :-))"
Re: Writing pixels to image in CE (using VB6)
Quote:
Originally Posted by smUX
I am writing software in Windows CE for my Win Mobile 5 handheld PC. The reason why I am using CE is I have very little (next to none) experience in .NET and I feel more comfortable writing in a VB6 environment (and I have a CE development system installed to allow me to do this in VB6).
I think you need to use eVB (Embedded VB) - the shrinked down version of VB6.
Re: Writing pixels to image in CE (using VB6)
Yeah, I have eVB installed on my handheld PC...I've had stuff running on it, that part of it works fine...I just can't seem to work out how to write to the images :-)
Re: Writing pixels to image in CE (using VB6)
Well, I don't have eVB so can't tell you - hopefully someone arround here has it. You may try Other Basic forum meanwhile.