Solved

Quick conversion of Visual Basic 6 code to Visual Studio 2013 VB.Net code

Posted on 2015-01-17
2
325 Views
Last Modified: 2015-01-18
I'm just doing a quick conversion of an old Visual Basic 6 program to Visual Studio 2013 VB.Net code.

In the Visual Basic 6 Code I have:
  1)  Two Datasets on a Form called Data1 and Data2.
  2)  Two Global Variables referencepath$ and trackpath$.  Referencepath$ = "h:\profiles\refdata" and
schedulesfile$ = "h:\profiles\track".
  3)  VB6 code snippet

   refdatafile$ = referencepath$ & "\profiles.mdb"
   schedulesfile$ = trackpath$ & "\schedules.mdb"
   Data1.DatabaseName = schedulesfile$
   Data1.RecordSource = "schedules"
   Data1.Refresh
   Data2.DatabaseName = refdatafile$
   Data2.RecordSource = "select * from modules"
   Data2.Refresh

How do I do the same thing in Visual Studio 2013 VB.Net code?

Thanks!
0
Comment
Question by:AndrewBanfer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 40556143
0
 

Author Closing Comment

by:AndrewBanfer
ID: 40556154
Thank you!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video teaches viewers about errors in exception handling.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question