Click here to Skip to main content
15,906,467 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Deployment problem? Pin
mr_1234520-Apr-06 3:11
mr_1234520-Apr-06 3:11 
GeneralRe: Deployment problem? Pin
mr_1234520-Apr-06 3:53
mr_1234520-Apr-06 3:53 
QuestionImplement a command using VB6 Pin
Chatura Dilan5-Apr-06 15:23
Chatura Dilan5-Apr-06 15:23 
AnswerRe: Implement a command using VB6 Pin
Christian Graus5-Apr-06 16:05
protectorChristian Graus5-Apr-06 16:05 
GeneralRe: Implement a command using VB6 Pin
Chatura Dilan5-Apr-06 17:01
Chatura Dilan5-Apr-06 17:01 
GeneralRe: Implement a command using VB6 Pin
Chatura Dilan5-Apr-06 18:16
Chatura Dilan5-Apr-06 18:16 
GeneralRe: Implement a command using VB6 Pin
Christian Graus5-Apr-06 18:18
protectorChristian Graus5-Apr-06 18:18 
GeneralRe: Implement a command using VB6 Pin
Chatura Dilan5-Apr-06 20:34
Chatura Dilan5-Apr-06 20:34 
I tried this,

Private Declare Function ShellExecute _<br />
                            Lib "shell32.dll" _<br />
                            Alias "ShellExecuteA" ( _<br />
                            ByVal hwnd As Long, _<br />
                            ByVal lpOperation As String, _<br />
                            ByVal lpFile As String, _<br />
                            ByVal lpParameters As String, _<br />
                            ByVal lpDirectory As String, _<br />
                            ByVal nShowCmd As Long) _<br />
                            As Long<br />
<br />
<br />
Private Sub Form_Load()<br />
  Dim r As Long<br />
   r = ShellExecute(0, "open", "set path = D:\program Files\Java\jdk1.5.0_06", 0, 0, 1)<br />
   r = ShellExecute(0, "open", "java MyApp", 0, 0, 1)<br />
   End<br />
End Sub


But it doesn’t work. Can you change it?


Regards,


Chatura Dilan


If at first you don't succeed, try; try again, so that you know
what not to do the next time. The answer is out there.


GeneralRe: Implement a command using VB6 Pin
Dave Kreskowiak6-Apr-06 6:12
mveDave Kreskowiak6-Apr-06 6:12 
GeneralRe: Implement a command using VB6 Pin
Chatura Dilan6-Apr-06 22:41
Chatura Dilan6-Apr-06 22:41 
QuestionHow to rotate a picture for 180 degrees in VB 6.0 Pin
bbosko5-Apr-06 12:55
bbosko5-Apr-06 12:55 
AnswerRe: How to rotate a picture for 180 degrees in VB 6.0 Pin
Mekong River5-Apr-06 23:02
Mekong River5-Apr-06 23:02 
Question"Sub" is short for...? Pin
Mike Ellison5-Apr-06 12:16
Mike Ellison5-Apr-06 12:16 
AnswerRe: "Sub" is short for...? Pin
Colin Angus Mackay5-Apr-06 12:25
Colin Angus Mackay5-Apr-06 12:25 
GeneralRe: "Sub" is short for...? Pin
Mike Ellison5-Apr-06 12:35
Mike Ellison5-Apr-06 12:35 
GeneralRe: "Sub" is short for...? Pin
FrankyT5-Apr-06 12:53
FrankyT5-Apr-06 12:53 
GeneralRe: "Sub" is short for...? Pin
Mike Ellison5-Apr-06 13:08
Mike Ellison5-Apr-06 13:08 
AnswerRe: "Sub" is short for...? Pin
Steve Pullan5-Apr-06 14:25
Steve Pullan5-Apr-06 14:25 
GeneralRe: "Sub" is short for...? Pin
Garner T5-Apr-06 16:18
Garner T5-Apr-06 16:18 
AnswerRe: "Sub" is short for...? Pin
Guffa5-Apr-06 20:52
Guffa5-Apr-06 20:52 
QuestionHelp... Visualizations and Summary Pin
FeRtoll5-Apr-06 10:44
FeRtoll5-Apr-06 10:44 
AnswerRe: Help... Visualizations and Summary Pin
J4amieC11-May-06 5:23
J4amieC11-May-06 5:23 
QuestionMoney / QuickBooks type app Pin
mroosa5-Apr-06 8:12
mroosa5-Apr-06 8:12 
Questionhow to read the number printed on an image by Vb6 or .Net Pin
Murtuza Husain Miyan Patel5-Apr-06 7:52
professionalMurtuza Husain Miyan Patel5-Apr-06 7:52 
AnswerRe: how to read the number printed on an image by Vb6 or .Net Pin
Christian Graus5-Apr-06 13:44
protectorChristian Graus5-Apr-06 13:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.