Click here to Skip to main content
15,922,407 members
Home / Discussions / Mobile
   

Mobile

 
GeneralDownloading to device Pin
hithesh7-May-05 11:41
hithesh7-May-05 11:41 
Generalserver app in ppc 2002 emulator Pin
Anonymous7-May-05 4:46
Anonymous7-May-05 4:46 
Generalisolated storage Pin
balkang6-May-05 9:34
balkang6-May-05 9:34 
GeneralRe: isolated storage Pin
Dan_P6-May-05 13:43
Dan_P6-May-05 13:43 
GeneralDisplaying MessageBox makes my form disappear Pin
clenci6-May-05 2:04
clenci6-May-05 2:04 
GeneralRe: Displaying MessageBox makes my form disappear Pin
clenci9-May-05 3:14
clenci9-May-05 3:14 
Questionhow do i call a printer? Pin
gundamhamtaro6-May-05 1:08
gundamhamtaro6-May-05 1:08 
GeneralFast pixel drawing on VB.net CF or C# Pin
CarlosMMartins5-May-05 5:27
CarlosMMartins5-May-05 5:27 
Hi,

I need to draw a dynamically generated 256x256 grayscale bitmap on screen.
Drawing it "pixel by pixel" is extremely slow. (several seconds)
Drawing it on an ofscreen bitmap and then blitting it on screen is slightly faster, but still unaceptable.

On the full framework I got around to accessing the bitmap data, and accessing the pixels directly, giving instant results.
Is there any way to achive this on the Compact Framework?
(or any other method that works...)

If the "AddressOf" worked for the bitmap, so I could get a IntPtr to it, I think I could then go in there and set the pixel data myself... But I was unable to find a way to do that.
(will C# do the trick?)

The current code:

Dim ImgRAW(256, 256) As Byte
' GetImage(Imgraw) '... Fill up dynamic image
Dim offbmp As New Bitmap(256, 256)
For scan = 1 To 255
For x = 1 To 255
t = ImgRAW(scan, x)
offbmp.SetPixel(x, scan, Color.FromArgb(t, t, t))
Next
Next
oG.DrawImage(offbmp, 400, 100)

Hope someone can help,
Thanks.

GeneralLocation information Pin
dboytime3-May-05 23:52
dboytime3-May-05 23:52 
GeneralStuck w/ a simple ReadFile?!!! Pin
georgiek503-May-05 16:19
georgiek503-May-05 16:19 
GeneralRe: Stuck w/ a simple ReadFile?!!! Pin
GDavy8-May-05 21:40
GDavy8-May-05 21:40 
GeneralRe: Stuck w/ a simple ReadFile?!!! Pin
georgiek5010-May-05 6:24
georgiek5010-May-05 6:24 
GeneralWM2003 to PPC2002 with eVC4 Pin
hopgun1-May-05 21:59
hopgun1-May-05 21:59 
GeneralRe: WM2003 to PPC2002 with eVC4 Pin
João Paulo Figueira2-May-05 3:47
professionalJoão Paulo Figueira2-May-05 3:47 
Generaldisplay bmp on pocket pc Pin
sasi_ps29-Apr-05 1:03
sasi_ps29-Apr-05 1:03 
GeneralRe: display bmp on pocket pc Pin
Mahesh J. Chavda3-May-05 1:51
Mahesh J. Chavda3-May-05 1:51 
GeneralRe: display bmp on pocket pc Pin
sasi_ps5-May-05 21:03
sasi_ps5-May-05 21:03 
GeneralRe: display bmp on pocket pc Pin
andrewtory@163.com5-May-05 20:28
andrewtory@163.com5-May-05 20:28 
Questionwhich pocket pc? Pin
hithesh25-Apr-05 19:59
hithesh25-Apr-05 19:59 
AnswerRe: which pocket pc? Pin
sasi_ps29-Apr-05 1:04
sasi_ps29-Apr-05 1:04 
Generalwince device drivers Pin
Iliyas24nie25-Apr-05 5:39
Iliyas24nie25-Apr-05 5:39 
GeneralPlease do... Pin
Sreekanth Muralidharan20-Apr-05 20:18
Sreekanth Muralidharan20-Apr-05 20:18 
GeneralPowerPC based board... Pin
zeki yugnak20-Apr-05 10:24
zeki yugnak20-Apr-05 10:24 
Generalconverting string to float in eVC++. Help asap. Pin
hithesh20-Apr-05 5:27
hithesh20-Apr-05 5:27 
GeneralRe: converting string to float in eVC++. Help asap. Pin
Mike Dimmick20-Apr-05 6:12
Mike Dimmick20-Apr-05 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.