Click here to Skip to main content
15,910,358 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralRe: Faking dirs and files in Explorer Pin
gerryg40015-Aug-01 3:44
gerryg40015-Aug-01 3:44 
GeneralRe: Faking dirs and files in Explorer Pin
Michael Dunn15-Aug-01 6:38
sitebuilderMichael Dunn15-Aug-01 6:38 
GeneralRe: Faking dirs and files in Explorer Pin
gerryg40016-Aug-01 12:49
gerryg40016-Aug-01 12:49 
GeneralRe: Faking dirs and files in Explorer Pin
Thomas Freudenberg7-Sep-01 5:43
Thomas Freudenberg7-Sep-01 5:43 
General"use DHTML" option missing in Code Project Discussion Boards Pin
Django14-Aug-01 9:29
Django14-Aug-01 9:29 
General"use DHTML" option missing in Code Project Discussion Boards Pin
Django14-Aug-01 9:27
Django14-Aug-01 9:27 
QuestionCall Run Dialog? Pin
13-Aug-01 11:11
suss13-Aug-01 11:11 
AnswerRe: Call Run Dialog? Pin
J Patel13-Aug-01 12:06
J Patel13-Aug-01 12:06 
Here is how you do it in C++

#include "windows.h"
#include "atlbase.h"
#include "shldisp.h"
...

class UseCOM
{
public:
	UseCOM(){::CoInitialize(NULL);}
	~UseCOM(){::CoUninitialize();}
};

...

MyFunctionToCallRun()
{
   UseCOM com;
   {
      CComPtr<IShellDispatch> spShell;
      HRESULT hr = spShell.CoCreateInstance(CLSID_Shell);
      if(SUCCEEDED(hr))
      spShell->FileRun();
   }
}


HTH

Jignesh
GeneralDrag and Drop Pin
Steve Thresher13-Aug-01 6:31
Steve Thresher13-Aug-01 6:31 
GeneralPlease help Pin
12-Aug-01 22:57
suss12-Aug-01 22:57 
GeneralVARIANT data type. Pin
11-Aug-01 21:37
suss11-Aug-01 21:37 
Generalroute all drawing to a memoryDC Pin
10-Aug-01 12:49
suss10-Aug-01 12:49 
GeneralRe: route all drawing to a memoryDC Pin
11-Aug-01 16:56
suss11-Aug-01 16:56 
Generalspell checker!! source code Pin
sriks10-Aug-01 3:50
sriks10-Aug-01 3:50 
GeneralRe: spell checker!! source code Pin
Matt Gullett10-Aug-01 6:00
Matt Gullett10-Aug-01 6:00 
GeneralC Variable/type extraction Pin
Peter Liedholm9-Aug-01 23:26
Peter Liedholm9-Aug-01 23:26 
GeneralRich Edit 2.0 Pin
8-Aug-01 7:04
suss8-Aug-01 7:04 
GeneralRe: Rich Edit 2.0 Pin
16-Aug-01 0:27
suss16-Aug-01 0:27 
Generalantivirus software Pin
sadiq mohammed6-Aug-01 23:14
sadiq mohammed6-Aug-01 23:14 
Generalfile splitter Pin
6-Aug-01 4:14
suss6-Aug-01 4:14 
GeneralGetIpNetTable Pin
Heidyon5-Aug-01 17:23
Heidyon5-Aug-01 17:23 
GeneralTelephony API Pin
razizade4-Aug-01 22:58
razizade4-Aug-01 22:58 
QuestionMSAA class? Pin
Kurotora4-Aug-01 6:37
Kurotora4-Aug-01 6:37 
GeneralAccess VSS files from Command prompt using bat files Pin
mohith2-Aug-01 23:30
mohith2-Aug-01 23:30 
GeneralRe: Access VSS files from Command prompt using bat files Pin
Albert van Peppen16-Aug-01 23:11
professionalAlbert van Peppen16-Aug-01 23:11 

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.