Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 6th, 2006, 08:28 AM
Authorized User
 
Join Date: Jan 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default Memory access using vb.net

Hi Folks,

Quick question - is it possible to access a memory address using vb.net?

For example, if i want to access the memory address 0x00000002 I can type this in C#:

private const int th32CS_SNAPPROCESS = 0x00000002;

But when i try what I think the vb.net version should be:

Private Const th32cs_SnapProcess As Int32 = 0x00000002

However, VS doesnt seem to like this code.

Any ideas why? Is it possible to access memory in vb.net?

All suggestions gratefully recieved!

Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory Leak Detector for VB.NET? mike1reynolds Pro Visual Basic 2005 0 June 30th, 2008 01:20 PM
load and call a vb.net program in memory jpwollman Pro Visual Basic 2005 1 October 25th, 2007 02:42 PM
Access and VB.NET szms Access 2 June 6th, 2005 07:25 AM
Why use VB.Net to read Access? AmyEL VB.NET 2002/2003 Basics 3 February 24th, 2005 12:12 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.