🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #12200

How to open a explorer to locate a known file ?

#12200
From: Sowen Cheung
Date: Fri, 15 Nov 2002 07:58
18 lines
1617 bytes
Hi,buddy:

I was feazed by a easy problem for several days!

I have known a file with full name, like c:\windows\1.txt , I need to
execute a file explorer, which open c:\windows folder and select the 1.txt
file. How to realize it?

I doubt I should use ShellExecute "explorer.exe" with that folder first, and
get the handle of the new window, and use some ListView APIs to select the
specialized file, right?  But how can I get the new window's handle?

Please help me... :~(


--
Greeting!
Sowen Cheung
Technical Details
Message-ID: <3dd4a6f5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news.stealth.net!news.stealth.net!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8e31,174bf1c86f5089ae,start
X-Google-Attributes: gidf8e31,public
X-Google-Thread: f94dd,174bf1c86f5089ae,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2002-11-15 00:10:02 PST
From: "Sowen Cheung" <sowenlist@yeah.net>
Newsgroups: borland.public.delphi.nativeapi,borland.public.delphi.students
Subject: How to open a explorer to locate a known file ?
Date: Fri, 15 Nov 2002 15:58:39 +0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 211.156.236.84
Message-ID: <3dd4a6f5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1037346549 211.156.236.84 (14 Nov 2002 23:49:09 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news.stealth.net!news.stealth.net!news.uni-stuttgart.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail