Home All Groups Group Topic Archive Search About

Can anyone convert this to VB?

Author
8 Mar 2006 12:28 AM
Allen
I can't figure this out.

Can anyone convert this to VB?



byte * p = (byte *)(void *)Scan0;



Thanks

Author
8 Mar 2006 3:36 AM
Hal Rosser
"Allen" <allen99NOSPAM@a-znet.com> wrote in message
news:uTUR6ckQGHA.2436@TK2MSFTNGP11.phx.gbl...
> I can't figure this out.
>
> Can anyone convert this to VB?
>
>
>
> byte * p = (byte *)(void *)Scan0;
>
>
>
> Thanks

How about
Dim p as Byte = 0
Author
8 Mar 2006 2:17 PM
Allen
seriously?

Show quoteHide quote
"Hal Rosser" <hmros***@bellsouth.net> wrote in message
news:4gsPf.186$LS4.18@bignews4.bellsouth.net...
>
> "Allen" <allen99NOSPAM@a-znet.com> wrote in message
> news:uTUR6ckQGHA.2436@TK2MSFTNGP11.phx.gbl...
>> I can't figure this out.
>>
>> Can anyone convert this to VB?
>>
>>
>>
>> byte * p = (byte *)(void *)Scan0;
>>
>>
>>
>> Thanks
>
> How about
> Dim p as Byte = 0
>
>
Author
8 Mar 2006 6:24 AM
Mattias Sjögren
>Can anyone convert this to VB?

No, VB doesn't support pointers.


Mattias

--
Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Author
8 Mar 2006 2:17 PM
Allen
Thanks, I was hoping VS0005 might


Show quoteHide quote
"Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
news:%23OBhLjnQGHA.4976@TK2MSFTNGP11.phx.gbl...
> >Can anyone convert this to VB?
>
> No, VB doesn't support pointers.
>
>
> Mattias
>
> --
> Mattias Sjögren [C# MVP]  mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.
Author
8 Mar 2006 3:56 PM
Herfried K. Wagner [MVP]
"Allen" <allen99NOSPAM@a-znet.com> schrieb:
> Thanks, I was hoping VS0005 might

Well, maybe describing what you actually want to archieve would lead to an
alternative solution.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
8 Mar 2006 5:25 PM
Allen
no problem, I did it with arrays.

thanks

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%23b$SqjsQGHA.5248@TK2MSFTNGP09.phx.gbl...
> "Allen" <allen99NOSPAM@a-znet.com> schrieb:
>> Thanks, I was hoping VS0005 might
>
> Well, maybe describing what you actually want to archieve would lead to an
> alternative solution.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>