Solved

Visual Studio 6.0 Promotional Sample

Posted on 2004-09-01
9
301 Views
Last Modified: 2013-12-25
I have been given Visual Studio 6.0 Enterprise Edition ( original in box ) Promotional Sample Not for resale. I am just starting out trying to learn VB, will this promotional sample be ok to use? It installed fine and I downloaded service pack 6 and extracted to program files/visual studio,  is that correct.
I would like to create (eventually) a stand alone shipping application to distribute free to customers ( International Courier Service). I would like to use VB as the front end and Access 2000 to hold the data.
In the VB development window, under "Add-Ins, Visual Data Manger, File, New, Microsoft Access" only access 2.0 mdb and access 7.0 mdb are in the list, is it possible to have Access 2000 listed.
Should I just start learning Visual Basic.Net and forget 6.0?

Thank You
0
Comment
Question by:FintanMercer
  • 4
  • 3
  • 2
9 Comments
 
LVL 29

Expert Comment

by:leonstryker
ID: 11956220
>>Should I just start learning Visual Basic.Net and forget 6.0?

If you have not used either and are starting from scratch I would recommend you start with VB.NET or even C#.  Although VB6 applications and coding are going to be around for years, the writting on the wall is clear .NET is the future (untill the next time MS changes its mind.)

Do you have Access 2000 installed on that machine?

Leon
0
 

Author Comment

by:FintanMercer
ID: 11956462
Yes I have Access 2000 installed.

Fintan
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 11956561
I would not bother with it.  Go to Project/References.  Find and check off Microsoft ActiveX Data Objects 2.x (at least 2.5) Library and you are set to go.

Here is a ADO tutorial to get you started:

http://www.timesheetsmts.com/adotutorial.htm

Good luck and let me know if you have any problems (But .NET is still the way to go for you.)

Leon
0
 

Author Comment

by:FintanMercer
ID: 11956686
Thanks for the link. I take it these "Data Objects 2.x" can take the place of Access 2000 as a place to contain data ex: tables etc.
Would'nt there be a lot more VB 6.0 sample code out there to reference versus .Net?
If I do decide to go with .Net I wonder if I can get the upgrade price using this Promotional Version.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 29

Expert Comment

by:leonstryker
ID: 11956869
>>Thanks for the link. I take it these "Data Objects 2.x" can take the place of Access 2000 as a place to contain data ex: tables etc.

What you are referencing is known as MDAC (Microsoft Data Access Component).  It allows you to use ADO to access your database.  In your case it will be Access 2000.  You will need to establish a connection to the database from your code.  In order to that you would declare a ADODB.Connection objec and will pass it a connection string

Your connection string will look something like this:

"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=c:\somepath\mydb.mdb;" & _
"Jet OLEDB:Database Password=MyDbPassword", _
"myUsername", "myPassword"

>>Would'nt there be a lot more VB 6.0 sample code out there to reference versus .Net?

There are many samples of both code on the web all you have to do is look (or ask).

Leon
0
 

Author Comment

by:FintanMercer
ID: 11957043
So the db is always referenced throught code and I will not use the visual data manager under "Add-Ins"? The points are yours by the way. Have to run for now but will be checking your response later.

Thank You Leon
0
 
LVL 29

Accepted Solution

by:
leonstryker earned 500 total points
ID: 11957152
>>So the db is always referenced throught code and I will not use the visual data manager under "Add-Ins"?

Correct.

>>The points are yours by the way

Well, that and a $1.50 and I can buy a cup of coffe. ;)

Leon
0
 
LVL 16

Expert Comment

by:JohnBPrice
ID: 11957156
RE: Promotional versions  fully licensed versions.  It is technically no different from a retail version.  It probably IS a retail version, just with a sticker to say "promotional".  They label give-aways as such to make sure no one tries to make a buck on the side by selling them.  MS sales employees, are allowed to give away software, but MS wouldn't want them to start selling it on the side or have the people they give it to start selling it.  Record companies do the same, employees have access to any CD they want, but they all have punched cases and say "promotional use only".  You'll often see these in used record stores, where obviously someone along the give-away chain broke the law & sold it for other than "promotional use".

So if someone gave it to you, it is yours.  As long as you have the rights to the promotional license, you may use it and/or upgrade it.  If you don't have the rigths to the license (for example, if whoever gave it to you is still using it too), then you have illegal software.
0
 
LVL 16

Expert Comment

by:JohnBPrice
ID: 11957173
oops, it should be "Promotional versions are fully licensed versions."
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel VBA combine two working workbooks 8 47
Updates not working for MS Windows 7 12 153
VBA/SQL - Connect to SQL server and pull data 4 88
Child Form in front 4 39
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now