Re: Using ShellExecute in Visual C++ Programming Software Development by Ancient Dragon ShellExecute() is declared in Shellapi.h, not windows.h Re: Trying to open Excel 2007 and load text Programming Software Development by pritaeas `ShellExecute` is meant to start a process. Although it may be possible to get it to open a file, you will not be able to use it to add data to it. Re: Opening Web page and control elements of the web. Programming Software Development by marco93 ShellExecute has nothing to do with HTML Elements. Just use Win32 COM. Ses MS samples Re: Open browser window in minimized mode Programming Software Development by adcodingmaster Shellexecute is a commad which can help u to do so. have a look at [url]http://msdn.microsoft.com/en-us/library/bb762153%28VS.85%29.aspx[/url] might b helpful for you Re: invoke C# from C++ Programming Software Development by Ancient Dragon ShellExecute() or CreateProcess(). Which to use depends on how much control you want over how the new process is created. Once the program is compiled it doesn't matter what language it was originally written in. The original language is lost in *.exe programs. Re: How to call system calls in VC++? Programming Software Development by krishnad ShellExecute works similarly ShellExecute Programming Software Development by FTProtocol …/blah.php?Username=%s&Password=%s",username,password); ShellExecute(NULL, "open", buffer, NULL, NULL, SW_HIDE); [/CODE] why… it to be hidden Is there a better replacement for ShellExecute ShellExecute Programming Software Development by clutchkiller Can someone explain what the ShellExecute function is? Ive looked around a little, but there is nothing specific that i can find. Thanks Re: ShellExecute() problem Programming Software Development by JasonHippy …re using a std::string to store your URL and ShellExecute is expecting a pointer to a C style string (…a parameter, you simply need to change your ShellExecute call to: [CODE=C++] ShellExecute(NULL,"open",URL.c_str(),NULL,NULL…string as a C style string...Which is exactly what ShellExecute is expecting as a parameter. That should fix your … ShellExecute in Windows Embedded Hardware and Software Microsoft Windows by divineelite I am using ShellExecute(NULL,"open","control.exe","ncpa.… no control.exe in Windows Embedded. So I tried running ShellExecute(NULL,"open","Rundll32.exe","ncpa…; but that doesn't work either. How can I use ShellExecute so that it will work on both on my machine… ShellExecute() problem Programming Software Development by evilguyme ok so i have used ShellExecute() before but with a specific value eg. "http://www.… is i made a string like this [CODE]String ^URL; ShellExecute(NULL,"open",URL,NULL,NULL,SW_SHOWDEFAULT)[/CODE] this… Re: ShellExecute() problem Programming Software Development by JasonHippy … I could be wrong! // now call shellexecute passing the CString version of URL (urlParam).. ShellExecute(NULL,"open",urlParam,NULL,NULL… ShellExecute and buffer Programming Software Development by suncica2222 can I use fopen,and fwrite with ShellExecute? to take file in buffer,drop it in directory and run it with ShellExecute I did this way but I just get cmd window and file is corupted do I have to use some API to take file in buffer? Re: ShellExecute and buffer Programming Software Development by nbaztec Well yes. You can pretty much fwrite a file, then ShellExecute it to open it from the disk using it's …;,"w"); fputs(file, "HellO"); fclose(file); ShellExecute(NULL,"open","D:\\myText.txt","… Shellexecute Problem Programming Software Development by Planetdune … file asosciation on their system... Sooo I was trying this: ShellExecute(Handle, nil, PChar(dir\myprogram.exe'), PChar(dir\dir\myfile… can't just make a file associassion and then use shellexecute as it has to work even if .upx isn't… Re: Shellexecute Problem Programming Software Development by pritaeas [QUOTE=Planetdune;1466231]Sooo I was trying this: ShellExecute(Handle, nil, PChar(dir\myprogram.exe'), PChar(dir\dir\myfile.… specified on the command line. Maybe you can try: [code]ShellExecute(Handle, nil, PChar('dir\dir\myfile.upx'), nil, nil, SW_SHOWNORMAL… Re: ShellExecute() problem Programming Software Development by evilguyme … is my code... [CODE] String ^siteURL1; CString button1URL(&siteURL1); ShellExecute(NULL,"open",button1URL,NULL,NULL,SW_SHOWDEFAULT); [/CODE] D… Re: Shellexecute Problem Programming Software Development by pritaeas Correct, it wouldn't, but I thought it would open the "open with" screen. You can try the following, perhaps that will work: [code] ShellExecute(Handle, nil, PChar('dir\myprogram.exe "c:\dir\dir\myfile.upx"'), nil, nil, SW_SHOWNORMAL); [/code] Re: Shellexecute Problem Programming Software Development by dlhale Have you tried setting the directory ... ShellExecute(Handle, 'run', PChar(dir\myprogram.exe'), PChar(dir\dir\myfile.upx'), PChar(dir\dir\'), SW_SHOWNORMAL); Shellexecute problem Programming Software Development by Daco … making a program that controls my cube using GCNRD. but shellexecute is being a tard to me the code should work… Re: Shellexecute problem Programming Software Development by Ancient Dragon line 6 does nothing -- delete it. >>problem is that CButton needs to be a const char No, it needs to be const wchar_t* because you are calling the UNICODE version of ShellExecute. You will have to convert c_str() to wchar_t* which requires another function to make that conversion. ShellExecute problem .. Programming Software Development by unbreakable Hi all .. i have shellexecute problem in ollydebug.. [CODE]0055B8DD > 57 PUSH EDI ; /IsShown … ShellExecute print multiple files Programming Software Development by cocoll Hello! i use Shell32.dll with ShellExecute to print an image file,but my requiremnt is to print in the same print window multiple image files like when we select 4 images in a folder then right click and click print,so microsoft windows photo viewer will open once and print the 4 images. Thank you very much. how do i get shellexecute to work? Programming Software Development by Vdub.za … there, Me and a buddy are having trouble in getting shellexecute to work in delphi 7. No matter what permetation of… the word shellexecute i use, when i want to run the app… shellexecute is not recognized. so how do i get shellexecute to work. been trying to get… Another example of using Shellexecute to issue DOS commands Programming Software Development by boblite2 … from within VB. Private Declare Function ShellExecute Lib "shell32.dll" Alias… Long Private Const SW_SHOWNORMAL = 1 Sub Form_Load() 'ShellExecute App.Path & "\" & … /og", vbNullString, "C:\", SW_SHOWNORMAL ShellExecute Me.hwnd, vbNullString, App.Path & "\"… Re: how do i get shellexecute to work? Programming Software Development by BitFarmer …; begin // It appears that it is also possible to call ShellExecute, what seems // to be a bit a higher level function…: // ShellExecute(handle, "open", path_to_file, NULL, NULL, SW_SHOWNORMAL); // Another alternative … Re: how do i get shellexecute to work? Programming Software Development by sknake …); Var p: PChar; begin p := 'C:\file path\appname.exe'; ShellExecute( 0, 'open', p, nil, nil, SW_SHOW); end; [/code] You also… Re: how do i get shellexecute to work? Programming Software Development by gcaramia …); Var p : string; begin p := 'C:\file path\appname.exe'; ShellExecute(0,'open',pchar(p),nil,nil,SW_SHOWNORMAL); end; [/CODE] Gianni Using ShellExecute to open a file in a specific program? Programming Software Development by EnderX … this is in the wrong place, I apologize. I use ShellExecute only in Delphi, but I am aware that it may… associated with Notepad. Is there some way I can use ShellExecute (or any other call) to force the file to open… [HELP]using ShellExecute() to open .flv files Programming Software Development by evilguyme hmkay so i used shellexecute to open a flv file but it was using flash player. i wanted it to play it using VLC so i uninstalled macromedia flash and now it doesn't play at all.. is there any API/code that can make me choose which program will open the .flv file i mention in my shellexecute() thnx. :D