DoCmd in .NET?

Theguyinthehat

Registered User.
Local time
Yesterday, 22:15
Joined
Aug 17, 2009
Messages
46
I'm converting my access db to .NET and its a disaster, there's so much DAO terms. I cannot find out how to change the following:

DoCmd.OpenForm("blah")

into .NET. Any help?
 
To show a form in VB.NET is is basically

FormName.Show

and then any options that go with it.
 
Simply put, DoCmd object doesn't exist at all in .NET.

I'd suggest that you put aside what you know about VBA & Access object model and read up on tutorials and learn how they do things in .NET.

Can I ask why you want to convert Access to .NET, though?
 
Having all the users in my company download Access is a nightmare of red tape--everyone can run .NET
 
Having all the users in my company download Access is a nightmare of red tape--everyone can run .NET

Is this a WEB based product (ASP.NET)? Otherwise you have to install the program on their machine, so based on your info I'm guessing ASP.NET with VB.NET as your language.
 
Also, you may want to take a look at Office Watch site.
 
What about packaging your access solution with acess runtime only. It's free and works with 2007 (and 2003 according to this forum)
 

Users who are viewing this thread

Back
Top Bottom