All:
Is there a way to issue a ShellExecute function in such a way that it
doesn't first draw a DOS window on the screen?
Here is the command line:
ShellExecute( NULL, "open", "C:\\target_directory\\command_name.jar",
"logname.log", "C:\\", SW_MAXIMIZE);
Thanks!
John 3 3444
John wrote: Is there a way to issue a ShellExecute function in such a way that it doesn't first draw a DOS window on the screen?
Here is the command line:
ShellExecute( NULL, "open", "C:\\target_directory\\command_name.jar", "logname.log", "C:\\", SW_MAXIMIZE);
If there is, comp.lang.c++ is not the place to ask about it. Please post
your Microsoft Windows questions to comp.os.ms-windows.programmer.win32
V
<snip> If there is, comp.lang.c++ is not the place to ask about it. Please post your Microsoft Windows questions to comp.os.ms-windows.programmer.win32 I shall. Sorry for the intrusion.
> All: Is there a way to issue a ShellExecute function in such a way that it doesn't first draw a DOS window on the screen?
Here is the command line:
ShellExecute( NULL, "open", "C:\\target_directory\\command_name.jar", "logname.log", "C:\\", SW_MAXIMIZE);
Thanks!
John
Of course this is off topic in this newgroup but...
I had the same question but for the standard C library function
system(). I was trying to make a shell call be as portable as possible
and the system() function seemed reasonable. On Windows XP, of course,
I got the DOS window but would have liked a background shell or
something similiar.
I'm hoping responses will direct us to the proper newsgroup. Outside
of comp.lang. I'm completely lost. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Josh Mayfield |
last post by:
Note: There is considerable background detail here, but I do have
three questions, which are clearly marked and appear right before the
sample code.
I have a legitimate need to launch an EXE...
|
by: Wiktor Zychla |
last post by:
I have a problem I cannot solve.
My application hosts IE activex control. I follow the standard procedure: I
just aximp shdocvw.dll. Note that this gives you two files: axshdocvw.dll
and...
|
by: the_openFace |
last post by:
I'm trying to display the shell's property page for various files and I'm
using this code:
class Win32Shell {
// ... other stuff here
public static extern Int32 ShellExecute(
Int32 hwnd,...
|
by: the openBack |
last post by:
I'm trying to display the shell's property page for various files and I'm
using this code:
class Win32Shell {
// ... other stuff here
public static extern Int32 ShellExecute(
Int32 hwnd,...
|
by: David |
last post by:
We have an mfc application in which we use ShellExecute
to launch the browser with an initial web site.
{ShellExecute(
NULL, "open", "http://www.SomeWebSite.com", NULL, NULL,
SW_SHOWNORMAL ) } ...
|
by: The8thSense |
last post by:
Hi,
i would like to invoke another applcation in my program.I 've tried
shellexecute ,but it doesnt work .
here is my code :
ShellExecute(0, "open", "C:\windows\system32\notepad.exe", vbNull,...
|
by: magix |
last post by:
Dear Guru,
From Dos Command, I can execute like C:\Converter TextFile.txt or
C:\Converter D:\TextFile.txt
I wrote an application (using VC++) to call a dos command, where
sztxtBuffer1 is the...
|
by: =?Utf-8?B?VG9tYXM=?= |
last post by:
Hello,
Somebody knows which is the equivalent one in C++/CLI ?
HINSTANCE ShellExecute(HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
|
by: John Smith |
last post by:
Hi,
I have an access database form with an image. I'm trying to create an
onclick event on the image so that when a user clicks on the image it opens
that file with the default viewer the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |