Sounds like the Task Scheduler would suit you. It has an option to not
run if there's an existing run in progress.
On 6/9/2021 5:33 AM, Chris Davis wrote:
Hi All
I want to ShellExecute a program repeatedly but not until the previous instance
has finished, what's the best approach? So I effe
: Re: ShellExecute
* --
https://docs.microsoft.com/en-us/previous-versions//d5fk67ky(v=vs.85)
Function RunUsingWSH(lcExe, lcCommandLine) as Integer
Local loWshShell
loWshShell = CreateObject("WScript.Shell")
this.nProcess
* --
https://docs.microsoft.com/en-us/previous-versions//d5fk67ky(v=vs.85)
Function RunUsingWSH(lcExe, lcCommandLine) as Integer
Local loWshShell
loWshShell = CreateObject("WScript.Shell")
this.nProcessReturnCode = loWshShell.Run(lcExe + " "
Dne 9.6.2021 v 11:33 Chris Davis napsal(a):
Hi All
I want to ShellExecute a program repeatedly but not until the previous instance
has finished, what's the best approach? So I effectively want to wait in a
loop until the previous instance exits and then run it again.
Ideas?
Look at command
. Bozzo
> Sent: 11 April 2016 13:35
> To: profoxt...@leafe.com
> Subject: Re: ShellExecute window size ignored
>
> Hi Paul:
>
> The problem is that Adobe Reader is not a normal application, and do not
> respect normal messages.
>
> I've found an awful hack, but seem t
Thank you Fernando
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Fernando D.
Bozzo
Sent: 11 April 2016 13:35
To: profoxt...@leafe.com
Subject: Re: ShellExecute window size ignored
Hi Paul:
The problem is that Adobe Reader is not a normal
Hi Paul:
The problem is that Adobe Reader is not a normal application, and do not
respect normal messages.
I've found an awful hack, but seem to work:
http://superuser.com/questions/640174/how-to-start-adobe-reader-with-window-maximized?newreg=e8665170ca67456285b056122e43653d
2016-04-11 13:2
Oh, and the hndWin parameter is numeric
Dave
-Original Message-
From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Dave Crozier
Sent: 11 April 2016 13:27
To: ProFox Email List
Subject: RE: ShellExecute window size ignored
Paul,
I don't use Adobe it is a pain but the equiv
-Original Message-
From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Paul Newton
Sent: 11 April 2016 12:27
To: profox@leafe.com
Subject: RE: ShellExecute window size ignored
Thanks but I tried that and it still didn't work - it was another developer who
wrote the code and assig
t: 11 April 2016 12:04
To: profoxt...@leafe.com
Subject: Re: ShellExecute window size ignored
Hi Paul:
lcCallingWindow should be numeric, and normally is 0.
Try if this makes any difference
El 11/4/2016 11:49 a. m., "Paul Newton"
escribió:
> Hi all
>
> I am trying to view a P
Hi Paul:
lcCallingWindow should be numeric, and normally is 0.
Try if this makes any difference
El 11/4/2016 11:49 a. m., "Paul Newton"
escribió:
> Hi all
>
> I am trying to view a PDF in a maximized window
>
> ShellExecute(lcCallingWindow, "Open", lcFileName, "", "", 3)
>
> The last parameter
On Wed, Sep 4, 2013 at 5:02 PM, Jeff Johnson wrote:
> I had two problems, shellexecute for emails and urls. In Windows 7 you go
> into Control Panel / Programs and Set Default Programs. This worked for
> the browser. I wanted to use GMail and couldn't get rid of Outlook in the
> above place. I
Is it by chance a Win7 or 8 or Fista system?
If yes, then try setting the default in the Windows setup app to
whatever application you're trying to run. Windows will typically be set
to "use default" but by setting the app explicitly the links begin
working again.
I think it's a bug, but...
On 9/4/2013 4:48 PM, Mike Copeland wrote:
Is it by chance a Win7 or 8 or Fista system?
"Fista".ROFLMAO
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16
Oops. A non-Freudian slip.
Original Message
Subject: Re: SHELLEXECUTE()
From: MB Software Solutions, LLC
To: profoxt...@leafe.com
Date: 9/4/2013 4:07 PM
On 9/4/2013 4:48 PM, Mike Copeland wrote:
Is it by chance a Win7 or 8 or Fista system?
"Fista"..
I had two problems, shellexecute for emails and urls. In Windows 7 you
go into Control Panel / Programs and Set Default Programs. This worked
for the browser. I wanted to use GMail and couldn't get rid of Outlook
in the above place. I downloaded gmaildefaultmaker at
http://gmaildefault.codep
Dave
What can I say ... ? Many thanks
Or as (Somebody) would write ... maNy thAnKs
Reading his code is *painful* ...
Paul
Dave Crozier wrote:
> Paul,
> Also here is a program to take an open window opened with notepad and send
> keystrokes to it.
>
> 1. Open a new Notepad File (right click i
e active window
Function GetActiveWind
Declare Integer GetActiveWindow In user32
Return (GetActiveWindow())
*
EndFunc
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Newton
Sent: 14 January 2008 17:12
To: profox@leafe.com
Subject: Re: Shellexecu
Allen wrote:
> They seem to be in the regitry
> HKEY_CURRENT_USER\Software\Microsoft\Notepad\
> Allen
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Vince Teachout
> Sent: 14 January 2008 17:16
> To: [EMAIL PROTECTED]
Many thanks Dave
Paul
Dave Crozier wrote:
> Paul,
> Use this to see if Notepad is running
>
> Dave Crozier
>
> ***
> * Start of Code
> *
> ? IsRunning("Notepad")
>
> Function IsRunning
> Lparameter pctitle
>
> Declare INTEGER GetActiveWindow IN Win32API
> Declare INTEGER GetWindow
They seem to be in the regitry
HKEY_CURRENT_USER\Software\Microsoft\Notepad\
Allen
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Vince Teachout
Sent: 14 January 2008 17:16
To: [EMAIL PROTECTED]
Subject: Re: Shellexecute problem
Paul Newton wrote
Paul Newton wrote:
> Vince
>
> That reminds me of the one about "miracles and impossibilities" :-)
>
Don't know that one. Share, please. :)
___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT
Paul,
Use this to see if Notepad is running
Dave Crozier
***
* Start of Code
*
? IsRunning("Notepad")
Function IsRunning
Lparameter pctitle
Declare INTEGER GetActiveWindow IN Win32API
Declare INTEGER GetWindow IN Win32API;
INTEGER hwnd, INTEGER dflag
Declare INTEGER GetW
Hi
If all you want is to print the file, you could use a procedure
called SendToPrint() posted by Michael.
HTH, E.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.0/1216 - Release Date: 09-Jan-08
10:16
_
Vince
That reminds me of the one about "miracles and impossibilities" :-)
Paul Newton
Vince Teachout wrote:
> Paul Newton wrote:
>
>> Also is there a way to prevent Notepad printing the file with a
>> (filename) header and (page number) footer ?
>>
>
> I can help with the easy part. In
Paul Newton wrote:
> Also is there a way to prevent Notepad printing the file with a
> (filename) header and (page number) footer ?
I can help with the easy part. In Notepad, open File, page setup, and
delete the header and footer stuff.
I don't think that can be done programatically, though.
26 matches
Mail list logo