🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11640

Re: CPL and the Control Panel Problem

#11640
From: Vladimir Afanasyev
Date: Tue, 27 Jan 2004 08:18
23 lines
1528 bytes
Hi,

"Babak" <babak_info@hotpop.com> wrote:
>Thanks To Gambit @};-
>
>   AnsiString MyStr;
>   MyStr=InputBox("Lancher:","Open with :","");
>   ShellExecute(NULL,
>                 "open",
>                 MyStr.c_str(),
>                 "",
>                 "",
>                 SW_SHOWDEFAULT);
>
>it couldn't do the desk.cpl for run
>what should I do?

For invoking CPLs you also can use Shell scriptable objects.
See in codecentral:
Using Shell objects for invoking Start Menu items and dialogs.
http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=17093
Vladimir.
Technical Details
Message-ID: <40162cef$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4013cfa8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,cc40ce098777b210
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-27 01:39:39 PST
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: CPL and the Control Panel Problem
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 212.82.216.226     
X-Forwarded-For: 192.168.0.147
References:  <4013cfa8@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40162cef$2@newsgroups.borland.com>
Date: 27 Jan 2004 01:18:39 -0700
X-Trace: newsgroups.borland.com 1075195119 207.105.83.66 (27 Jan 2004 01:18:39 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail