473,394 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

migrating CurrentDB and CurrentProject in MS Access VBA to VB.Net

I have been coding in MS Access VBA and am migrating my code to VB.Net. It all works fine except for uses of CurrentDB and CurrentProject: I can't seem to find how to convert these.

Thanks in advance for any help you can give me.
Sep 26 '14 #1
1 1674
pod
298 100+
Although a lot of syntax is the same, there are many changes you will have to do. I presume you have a .NET Solutions with a Project that contains a Windows Form. I suggest you take the n-tier architecture approach (also described as multitier), creating objects and separating your data layer from your presentation layer, both as different projects.

Now as for your form connecting to the database, read this article I wrote Connecting to multiple databases using N-TIER architecture (asp.net VB)

Hope that helps


P:oD
Sep 26 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: John | last post by:
Hi In Access 2000 I have the following code; Set dbs = CurrentDb <some code to access database here> Set dbs = Nothing
1
by: bonnie.tangyn | last post by:
Hello all I get Too few parameters expected 2 error and "The MS Jet Database engine cannot find the input table or query "myTempTablename". Make sure it exists and that its name is spelled...
4
by: markrush | last post by:
if i have 2 datasources with different table names and column headers that i want to merge i.e. "ptitle" and "name" whats the best way of doing this? are there any standard routines or should i use...
3
by: Tony A. | last post by:
I'm in the process of migrating a MS Access 2003 application to VB .Net (2005). How can I run the reports in Access from the VB application? -- Tony
1
by: nandar | last post by:
Hi All, I am involved in migratinig one of the MS Access Project to ASP.Net and SQL Server 2000. My question here is that how Modules and Class Modules can be taken care in ASP.Net. To some...
1
prn
by: prn | last post by:
Hi folks, I'm relatively new to Access, but I seem to have drawn the short straw, so I have the assignment for my workplace of looking for problems/inconsistencies in migrating applications to...
2
by: janetopps | last post by:
I have an asp news website which used an MS Acess database. The website has a config.asp which is where the order to the database originates, I have to move to MySQL but am having trouble. I...
12
by: janetopps | last post by:
I am trying to migrate from an MS access to MySQL and am having problems. I have an asp pages on my website. <% ' Dim SQL_REC, RS_REC, NID, TITLE, POSTED, NEWS_LISTING, SHOW_HL, MyConn_REC,...
0
by: massamiya | last post by:
Hi everyone, am a newbie and need help moving data back to oracle from access. There is an odbc link between access 2000 and oracle 9i using the export command in access copied a complete table...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.