473,503 Members | 1,849 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can anyone convert this to VB?

I can't figure this out.

Can anyone convert this to VB?

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

Thanks
Mar 8 '06 #1
6 1148

"Allen" <al***********@a-znet.com> wrote in message
news:uT**************@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
Mar 8 '06 #2
>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.
Mar 8 '06 #3
seriously?

"Hal Rosser" <hm******@bellsouth.net> wrote in message
news:4g**************@bignews4.bellsouth.net...

"Allen" <al***********@a-znet.com> wrote in message
news:uT**************@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

Mar 8 '06 #4
Thanks, I was hoping VS0005 might
"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:%2****************@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.

Mar 8 '06 #5
"Allen" <al***********@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/>

Mar 8 '06 #6
no problem, I did it with arrays.

thanks

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"Allen" <al***********@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/>

Mar 8 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1969
by: KevinGPO | last post by:
Just wondering if anyone knows if there are converters to convert from: MS Visual C++ 6.0 or MS Visual Studio 2003 project files into UNIX autogen/configure/make files?
6
6112
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
13
2201
by: penguin732901 | last post by:
Checking back for discussions, there was a lot of talk about 2000 being slower than 97, but not so much lately. What is the latest opinion? Anyone care to set up a poll for how many NG members...
1
1969
by: jOs | last post by:
I wonder if anyone knows how to convert a C# Array into a JScript one. ( C# Array --> JScript.ArrayObject ? ) I have window.external on a customized C# WebBrowser, and it would be nice to get...
1
1290
by: Shapper | last post by:
Hello, Does anyone knows a component to convert an Word DOC File to Adobe Acrobat PDF file? I am creating a web site where people upload word Word DOC files to the server. I need to convert...
1
1219
by: gregory_may | last post by:
I am looking at several subroutines in C++, just curious if anyone knows of a general translator that would convert this to VB.Net or C#?
3
3339
by: Robin Tucker | last post by:
Does anyone have a VB.NET IPersistStream COM interface description I can cadge please? If I remember rightly, you have to "flatten" inherited COM interfaces (I think IPersistStream derives from...
4
1940
by: cj | last post by:
My company just purchased SocketTools Visual Edition from Catalyst with the intent that I would use the included Socketwrench tool to create a server application to receive and respond to requests...
2
3554
by: No Spam | last post by:
Dear Access 2003 Users, I have been given an Excel 2003 spreadsheet with thousands of records, and I need to bring it into Access 2003. Does anyone know an Access formula that can convert these...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7348
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5021
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3166
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.