|
-
Aug 3rd, 2007, 01:03 AM
#1
Thread Starter
Addicted Member
How can i Build VC++ application through VB 6.0
HI Guys,
I am calling a DLL developed in VC++ through V.B 6.0.its working.. no problem with it. Now the problem is... some times, i have to change my header file in VC++, so at this time , i have to build the VC++ application again.
Can i build it programatically with v.b 6.0? if so kindly let me know how to do it?
Thanks:
regards:
raghunadhs
-
Aug 3rd, 2007, 07:34 AM
#2
Re: How can i Build VC++ application through VB 6.0
 Originally Posted by raghunadhs
HI Guys,
I am calling a DLL developed in VC++ through V.B 6.0.its working.. no problem with it. Now the problem is... some times, i have to change my header file in VC++, so at this time , i have to build the VC++ application again.
Can i build it programatically with v.b 6.0? if so kindly let me know how to do it?
Thanks:
regards:
raghunadhs
No. Any changes you make must be made through Visual C++ then rebuilt, and redistributed.
-
Aug 3rd, 2007, 07:38 AM
#3
Re: How can i Build VC++ application through VB 6.0
You could make an auto-downloader though that would alert the user of an update and download the file.
-
Aug 3rd, 2007, 08:50 AM
#4
Thread Starter
Addicted Member
Re: How can i Build VC++ application through VB 6.0
Hi Hell-Lord,
i am sorry to say that i did not have any idea about that auto down loader. could u explain this.. and in my application, i am able to create a header file to vc++ application the only thing is i have to include the header file and have to build it...
Thanks in advance:
regards:
raghunadhs
 Originally Posted by Hell-Lord
You could make an auto-downloader though that would alert the user of an update and download the file.
-
Aug 3rd, 2007, 02:48 PM
#5
Re: How can i Build VC++ application through VB 6.0
What about a commandline shelling of the vc++ compilier passing the project name and appropriate switches.
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 
-
Aug 6th, 2007, 07:49 AM
#6
Thread Starter
Addicted Member
Re: How can i Build VC++ application through VB 6.0
Hi RobDog888,
i have not tried the shell execute. i will try this also. i think, through this we can execute the exe file only.. but here the requirement is to build the vc++ application, after changing the header file's content....
any how, i will look into it once again...
thanks
regards:
raghunadhs.v
 Originally Posted by RobDog888
What about a commandline shelling of the vc++ compilier passing the project name and appropriate switches.
-
Aug 11th, 2007, 09:32 AM
#7
Re: How can i Build VC++ application through VB 6.0
You can pass many different arguments to vc++. Such as the project and compile switch etc.
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 
-
Aug 11th, 2007, 10:46 AM
#8
Thread Starter
Addicted Member
Re: How can i Build VC++ application through VB 6.0
Hi Rob,
could u please provide a sample example, even it is single line also sufficient.
Thanks:
regards:
raghunadhs
 Originally Posted by RobDog888
You can pass many different arguments to vc++. Such as the project and compile switch etc.
-
Aug 11th, 2007, 04:51 PM
#9
Re: How can i Build VC++ application through VB 6.0
Just do a /? after the entire path to vc++ typed into the run dialog box. It will msgbox the args.
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 
-
Aug 13th, 2007, 04:14 AM
#10
Thread Starter
Addicted Member
Re: How can i Build VC++ application through VB 6.0
Hi Rob,
I am sorry to say that i don't know where i have to put that /? .... here are my decleration and function call.. please say where i have to place that special characters.
Private Declare Sub CrcComputeCrc32 _
Lib "CRC32Example.dll" Alias "_CrcComputeCrc32@12" _
(ByRef FirstElement As Byte, ByVal intNoOfElements As Integer, ByRef bytCrc32Array As Byte)
function call:
Call CrcComputeCrc32(bytChannelLock(1), intCrcLength, bytReflectArray(0))
Thanks:
regards:
raghunadhs
 Originally Posted by RobDog888
Just do a /? after the entire path to vc++ typed into the run dialog box. It will msgbox the args.
-
Aug 13th, 2007, 04:26 AM
#11
Re: How can i Build VC++ application through VB 6.0
As I mentioned you can get a msgbox popup from the Run dialog box off of the start menu just to determine what switches are available to you.
Open the run box (Start button > Run menu item)
Enter in the path to your install of VC++ file.
Add the " /?" to the end of the file path.
Press the Enter key.
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 
-
Aug 13th, 2007, 05:19 AM
#12
Thread Starter
Addicted Member
Re: How can i Build VC++ application through VB 6.0
Hi Rob,
i did like that, but a pop up message "can't find ...." is coming, since it can't find the mentioned path.
Thanks:
regards:
raghunadhs
 Originally Posted by RobDog888
As I mentioned you can get a msgbox popup from the Run dialog box off of the start menu just to determine what switches are available to you.
Open the run box (Start button > Run menu item)
Enter in the path to your install of VC++ file.
Add the " /?" to the end of the file path.
Press the Enter key.
-
Aug 13th, 2007, 05:26 AM
#13
Re: How can i Build VC++ application through VB 6.0
Then you entered in an invalid path. Use Explorer to navigate to your VC++ install location and copy the path from the address bar and append the vc++ executable name to it and then the /?
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 
-
Aug 15th, 2007, 01:16 PM
#14
Thread Starter
Addicted Member
Re: How can i Build VC++ application through VB 6.0
Hi Rob,
Thank you very much. i will see it and let u know feed back.
Thanks:
regards:
raghunadhs.
 Originally Posted by RobDog888
Then you entered in an invalid path. Use Explorer to navigate to your VC++ install location and copy the path from the address bar and append the vc++ executable name to it and then the /?
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
|