Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
amirs
Constraint Violating Yak Guru
260 Posts |
Posted - 2008-10-18 : 07:03:43
|
Hihow excute the C# Application in vb6.0thanks |
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2008-10-18 : 07:07:27
|
Elaborate please. But...vb 6.0 runs on visual basic. Which is a totally different ball game from the .net framework. the .net framework runs both vb.net and c# and any other complaint language. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-10-18 : 07:47:11
|
i think op was asking for converting code from C# to VB .NET. |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
|
amirs
Constraint Violating Yak Guru
260 Posts |
Posted - 2008-10-20 : 23:28:20
|
i am not migrate vb6.0 to C#. I have genarete C# application of window base and i have call this applcation in vb6.0 . i use shell command. but shell command is not worked |
|
|
cvraghu
Posting Yak Master
187 Posts |
Posted - 2008-10-21 : 01:29:39
|
I'm not sure why its not working for you. Did you give the full path to the exe? Here is the syntax - Shell ( full path to app, window mode)ex. Shell c:\test.exe, vbMaximizedFocus |
|
|
amirs
Constraint Violating Yak Guru
260 Posts |
Posted - 2008-10-21 : 01:52:46
|
this is correct to call vb.exe but i have call c# applcation in vb6.0 |
|
|
cvraghu
Posting Yak Master
187 Posts |
Posted - 2008-10-21 : 07:46:45
|
VB.Net or C# does not matter. Both are applications. You can invoke any application using Shell command. |
|
|
amirs
Constraint Violating Yak Guru
260 Posts |
Posted - 2008-10-22 : 01:19:15
|
i have use following path to invoke the applicationShell ("path\appname.application")but error message is "invalid procedure call or arguments" |
|
|
cvraghu
Posting Yak Master
187 Posts |
Posted - 2008-10-22 : 01:47:29
|
The error message is very clear! Why are you not passing the second parameter? Did you see the example i mentioned in my post. Or please google Shell and see how its used. |
|
|
|
|
|