Home > Archive > Visual Basic Syntax > March 2006 > using shell function
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
using shell function
|
|
| Hemant_india 2006-03-24, 4:15 am |
| hi everbody
i am trying to use sheel function at activate wordpad through vb
is there any way to use properties of wordpa?
myobj=shell(pathname,windowstat)
--
hemu
| |
| Hemant_india 2006-03-24, 7:11 pm |
|
--
hemu
"Hemant_india" wrote:
> hi everbody
> i am trying to use sheel function at activate wordpad through vb
> is there any way to use properties of wordpa?
> myobj=shell(pathname,windowstat)
> i am using sendkeys statement along woth shell
i have more than 200 characters in a single line
> --
> hemu
| |
| Douglas J. Steele 2006-03-25, 8:02 am |
| I don't believe WordPad exposes itself for Automation, if that's what you're
asking.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Hemant_india" <Hemantindia@discussions.microsoft.com> wrote in message
news:CB71F42C-DCDB-403D-9824-058A2D65B0AB@microsoft.com...
> hi everbody
> i am trying to use sheel function at activate wordpad through vb
> is there any way to use properties of wordpa?
> myobj=shell(pathname,windowstat)
>
> --
> hemu
| |
| Hemant_india 2006-03-31, 8:04 am |
| Dim myshell,
myshell = Shell("C:\Program Files\Windows NT\Accessories\wordpad.EXE", 1)
AppActivate myshell ' Activate the wordpad.
try this
but when i use sendkeys horizontal scrollbar do not appear
can u help please?
--
hemu
"Douglas J. Steele" wrote:
> I don't believe WordPad exposes itself for Automation, if that's what you're
> asking.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no private e-mails, please)
>
>
> "Hemant_india" <Hemantindia@discussions.microsoft.com> wrote in message
> news:CB71F42C-DCDB-403D-9824-058A2D65B0AB@microsoft.com...
>
>
>
|
|
|
|
|