?
Solved

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

Posted on 2015-01-17
2
Medium Priority
?
342 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 2000 total points
ID: 40556143
0
 

Author Closing Comment

by:AndrewBanfer
ID: 40556154
Thank you!
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

800 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