•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 422,639 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,721 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 1753 | Replies: 3 | Solved
![]() |
•
•
Join Date: Nov 2007
Location: � Jogja �
Posts: 2,584
Reputation:
Rep Power: 11
Solved Threads: 235
shell function used to apply/run other application and sava the task ID of that application as feedback value. so if none application or failed to call then the feedback value is 0.
this following code is used sintax :
shell(path_Name[,style][,wait][,timeout])
path_name = executable file with the full path of the application which it want to call
Style = a model of application window which it want to call (ex minimize,normal etc).
Wait = a boolean value that prescriptive whether shell function has to wait vb.net finish before working. false is the default value.
TimeOut = a wait time that it needful by shell function to start working if Wait in true value.
Ok.this a little explain. hope it helps..
this following code is used sintax :
shell(path_Name[,style][,wait][,timeout])
path_name = executable file with the full path of the application which it want to call
Style = a model of application window which it want to call (ex minimize,normal etc).
Wait = a boolean value that prescriptive whether shell function has to wait vb.net finish before working. false is the default value.
TimeOut = a wait time that it needful by shell function to start working if Wait in true value.
Ok.this a little explain. hope it helps..
Last edited by Jx_Man : Jan 9th, 2008 at 11:55 pm.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
•
•
Join Date: Nov 2007
Location: � Jogja �
Posts: 2,584
Reputation:
Rep Power: 11
Solved Threads: 235
this is a value of style :
this sample code :
notepad didn't have to use full path cause location of notepad is in the windows folder
AppWinStyle.Hide AppWinStyle.NormalFocus AppWinStyle.MinimizedFocus AppWinStyle.MaximizedFocus AppWinStyle.NormalNoFocus AppWinStyle.MinimizedNoFocus
Shell("NOTEPAD.EXE", AppWinStyle.MinimizedNoFocus) Shell("C:\Documents and Settings\Jerry\My Documents\AntiVrs.exe", AppWinStyle.MinimizedNoFocus) Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
So, Please do something before post your thread.
* PM Asking will be ignored *
![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Invoking a shell script (PHP)
- VB shell command counterpart in c++ (C++)
- get text input from shell cursor (Python)
- Shell Function (Visual Basic 4 / 5 / 6)
- Can you fix the problem (Visual Basic 4 / 5 / 6)
- A New Environment: The LiteStep Shell (Windows NT / 2000 / XP / 2003)
Other Threads in the VB.NET Forum
- Previous Thread: how to show report..
- Next Thread: Data transfer



Linear Mode