|
-
Sep 11th, 2008, 02:16 PM
#1
Thread Starter
New Member
Creating exe file in vb6
I am trying to create an executable version of the application that I created in vb6. I was wondering why when I go to install the program on a machine, the avi files aren't included in the folder. Does anyone know why the avi files won't copy over.
-
Sep 11th, 2008, 02:43 PM
#2
Re: Creating exe file in vb6
Few questions:
- what's "AVI files" got to do with "creating executable" ?
- did you create a distribution package for your program ?
- did you add (manually) all necessary files that are not referenced in your project to your distribution?
-
Sep 11th, 2008, 02:50 PM
#3
Re: Creating exe file in vb6
Are the paths you use for the AVI's static or dynamic?
eg. "C:\Folder\Film.avi" would be a static path and App.Path & "\Film.avi" a dynamic one
Delete it. They just clutter threads anyway.
-
Sep 11th, 2008, 03:58 PM
#4
Re: Creating exe file in vb6
Thread Moved
What setup packager program are you using? You need to include the extra resources first or they wont get deployed with the installer.
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 
-
Sep 15th, 2008, 11:59 AM
#5
Re: Creating exe file in vb6
You could put them in a resource file as a custom resource:
http://support.microsoft.com/kb/q194409/
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
-
Sep 15th, 2008, 01:27 PM
#6
Re: Creating exe file in vb6
Yes but then you need to also extract them from the resource for use in your program. By simply adding them to the setup package you dont have to add/write any extra code.
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 
-
Sep 15th, 2008, 01:45 PM
#7
Re: Creating exe file in vb6
 Originally Posted by RobDog888
Yes but then you need to also extract them from the resource for use in your program. By simply adding them to the setup package you dont have to add/write any extra code.
I like them for my program updater as any new files are contained in the exe. I have software that contains a lot of sample files, price lists, rtf etc. Once the files are edited they are then not sample files any longer. When my exe starts if they are not found they are extracted as not overwrite users files
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
-
Sep 15th, 2008, 02:49 PM
#8
Re: Creating exe file in vb6
To each his own. But if you have to update a resource then you have to update and recompile the exe for something trival.
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 
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
|