|
-
Apr 26th, 2007, 03:23 AM
#1
Thread Starter
Addicted Member
[RESOLVED] VB6 apps - using them from a server
We have a vb front end which is used to access a database in SQL Server 2000.
Every time a change is made to the front end we have to re-install the front end on the users PC's, would it be possible to get around this, and if so how? Or would we have to go web based with a different front end to access the database?
-
Apr 26th, 2007, 03:29 AM
#2
Re: VB6 apps - using them from a server
Create a network share that is accessible to all users on your network. Then place the exe in there. The users will only need a shortcut to this exe. The need to update it will only need you to replace the exe on the net share and thats it unless you have added some dependancies or controls etc.
Since its a net share and they users are only runnig a shortcut to it they are actually running the app on their systems so they wil need the dependancies and controls like I mentioned. Dont let then copy the exe down to their system or its self defeating.
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 
-
Apr 26th, 2007, 04:23 AM
#3
Thread Starter
Addicted Member
Re: VB6 apps - using them from a server
So what you are saying is
1. I create a shared folder on the server with access for all my users.
2. I copy all the project files to that folder.
3. I create a shortcut on the users desktop to the projects exe within that shared folder.
4. Whenever I do changes to the project files I simply copy the changes over again to that shared folder overwriting the old ones.
Is it that simple?
Would they still need VB runtime files or something?
Last edited by doubleudee; Apr 26th, 2007 at 04:36 AM.
-
Apr 26th, 2007, 04:50 AM
#4
Re: VB6 apps - using them from a server
Yes 1-4.
And yes the workstations will need all the dependancy files/runtimes.
But once they are updated motly only ever the exe is updated so its allot easier.
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 
-
Apr 26th, 2007, 04:52 AM
#5
Thread Starter
Addicted Member
Re: VB6 apps - using them from a server
Excellent, thanks VERY much for that, very very helpfull.
-
Apr 26th, 2007, 11:47 AM
#6
Re: [RESOLVED] VB6 apps - using them from a server
I'd also package the app every time you make a change, and put it in the same place on the network. That way, if you add a new computer to the network you can just install the current version of the app and all dependencies easily.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
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
|