|
-
Feb 5th, 2005, 12:54 AM
#1
Thread Starter
New Member
Setup for VB Application
I have a VB Standard Exe application which uses SQL Server 2000 as back-end. How do I prepare a setup which installs/creates the database on another machine which has SQL Server installed ?
-
Feb 5th, 2005, 12:58 AM
#2
Re: Setup for VB Application
Compile it, and run the Add-In called the Package and Deployement Wizard.
It will guide you through all of the steps required to make an installation program. You may have trouble with dependency files, but seeing that it is a M$ product, then the odds are in your favor that it will install correctly.
-
Feb 5th, 2005, 01:00 AM
#3
Re: Setup for VB Application
Welcome to the Forums.
If it is the first time your program runs, it should check for the exisiance of the DB. Then if its not found then
it should create it. Use the "Generate Script" menu item in Enterprise Manager to script out the db. Then
when your app need to create it you can execute the script to create the db, tables, views, udts, and grant
permissions to any users that you create or assign to the db.
HTH
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 5th, 2005, 01:27 AM
#4
Thread Starter
New Member
Re: Setup for VB Application
Thanks a lot. But where do I find the Enterprise Manager ? In SQL Server 2000 ?
-
Feb 5th, 2005, 01:38 AM
#5
Re: Setup for VB Application
oops. i don't have sql, so i couldn't help there.
-
Feb 5th, 2005, 03:17 AM
#6
Addicted Member
Re: Setup for VB Application
yes offcourse, Enterprise Manager is an SQL Server 2000 application, its nothing but just a MMC console.
ne ways, if ure connecting ur app. to db using a static connection string then u'll have to add the data files to ur setup, but this is not recommended, u should use DSNs
-
Feb 5th, 2005, 01:53 PM
#7
Re: Setup for VB Application
You can install EM on any system because its only part of the SQL Client Tools, not the actual SQL Server.
Once you have Enterprize Manager installed you should also have other client tools like SQL Query Analyzer, SQL Profiler,
and SQL Books On-Line (Help file - highly reccommend instaling BOL!).
In EM after you register the SQL Server that is on your Server, you can connect to it and do thinks like you
were on the actual server. This includes generating a DB Script. You can then generate a script for the entire
DB lik eI posted earlier. This can be saved as a text file for use in you DB installation program. You would then
execute the script using ADO, for example, to create the db on the target server. The DB can only be installed
on a Server running SQL Server.
HTH
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 6th, 2005, 01:31 AM
#8
Re: Setup for VB Application
and it only comes with SQL Server?
-
Feb 6th, 2005, 01:11 PM
#9
Re: Setup for VB Application
 Originally Posted by dglienna
and it only comes with SQL Server?
Yes, Enterprise Manager and the Client Tools only come with SQL Server 7.0, 8.0 (2000), and 9.0 (2005).
SQL Server 6.5 has a version of it but it is limited since it was new back then.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 7th, 2005, 01:02 AM
#10
Thread Starter
New Member
Re: Setup for VB Application
Thanks a lot for your help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|