Re: Looking For Suggestions
Actually, it doesn't, unfortunately (at least in Win XP). The only programs it shows are things like IO, MOUSE, MSDOS, and REDIR (not Acrobat, Outlook Express,etc.). You might want to check out the SysInternals site; they have a bunch of command-line utilities you can sue. Here's a link to a command-line utility called 'handle' that you can probably run through shell(): For Windows NT/200/ME: http://www.sysinternals.com/ntw2k/freeware/handle.shtml And here looks like one for 95/98/ME: http://www.sysinternals.com/ntw2k/freeware/handle.shtml For Windows developers, the SysInternals site has a bunch of good stuff... Scott, if you get this to work well, let us know how you did it... :-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Chipp Walters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 11:15 PM Subject: RE: Looking For Suggestions Scott, Don't know if this helps but executing mem /p from a dos window will return all running programs. So, you might be able to run a batch file which prints out the running programs and check it from there.. -Chipp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Rossi Sent: Tuesday, September 17, 2002 6:36 PM To: [EMAIL PROTECTED] Subject: Looking For Suggestions I've got a standalone that needs to run on Windows as a single instance (no multiple instances of the same app). I'm looking for suggestions on how to prevent duplicate launches of the same app (the app may also be installed in more than one location on the same machine). I'm familiar with the open apps function of the EXT DLL, but I'm trying to avoid use of this since it makes my apps unstable. I've also toyed with the idea of writing an app busy message to the registry or a temp file on the drive, but I can't figure out how to determine if the app that created the message is running As far as I know, MC has no built-in way to get a list of open processes other than those it has already launched. Searching the Web, I came across this document -- might there be some way to use the code here via the shell or shell(start...) function? http://www.mvps.org/access/api/api0007.htm Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: Looking For Suggestions
Just for iterest: What is it about EXT.dll that makes you app unstable? I use it all the time for just this purpose (along with opening custom file types in currently running apps). I found that it works very well. The only problem I've found is that it doesn't work if you have two apps registered to use it on the same system. All I do to workaround this problem is set the DDE registry entries on startup and delete them on shutdown. Anyway, I'm interested in any problems you have found. PS: It'd be nice if Scott added DDE to the engine because it's is now the only thing I use EXT.dll for! Cheers Monte ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: VXCMD - which is what
on 9/18/02 12:52 PM, Ron at [EMAIL PROTECTED] wrote: Hi Ruslan Thanks again for your work on Valentina. I am trying to make sure I use the correct version of VXCMD with the application and OS. App. 9XWin -- HC classic ng ng SC classic ng ng SC4 classic carbon ng MC/Rev carbonmachowin where ng = no good Is this correct? Yes, 1) I have not check SC4 with Carbon VXCMD although. 2) Exists some difference for MC MC 2.4.2 PPC works with VXCMD Carbon But in MC 2.4.3 Carbon version is dropped. So for MC 2.4.3 Classic I must create VXCMD Classic for MC MC 2.4.3 X use VXCMD macho -- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] - e-mail: [EMAIL PROTECTED] web: http://www.paradigmasoft.com To subscribe to the Valentina mail list send a letter to [EMAIL PROTECTED] - ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
MC Posts to a web-enabled FileMaker Database
Hello Everyone, I'm using MC to management some of my web-enabled FileMaker databases, mostly to download information. I'd also like to be create new records in FileMaker by posting (using the Filemaker -new tag) but I'm not sure how to do this if the database requires a username and password. If I were doing this in a browser, a dialog box would prompt me for that information. Any suggestions? Regards, Greg Gregory Lypny Concordia University ___ Here lies PROTECTION It lied throughout its life And now Lies still - Douglas Jerrold ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
RE: Looking For Suggestions
Yes the name is hard coded to EXT. From what I can tell that seems to be the problem with having more than one app use the DDE. I do this at startup: get setRegistry(HKEY_CLASSES_ROOT\iCoachRowing\shell\open\ddeexec\, [fileOpen(%1)]) get setRegistry(HKEY_CLASSES_ROOT\iCoachRowing\shell\open\ddeexec\application\ , EXT) get setRegistry(HKEY_CLASSES_ROOT\iCoachRowing\shell\open\ddeexec\topic\, System) and this at shutdown: get setRegistry(HKEY_CLASSES_ROOT\iCoachRowing\shell\open\ddeexec\, ) get setRegistry(HKEY_CLASSES_ROOT\iCoachRowing\shell\open\ddeexec\application\ , ) get setRegistry(HKEY_CLASSES_ROOT\iCoachRowing\shell\open\ddeexec\topic\, ) Please excuse the wrapping. PS: change iCoachRowing with your app name. Cheers Monte -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ken Ray Sent: Wednesday, 18 September 2002 4:49 PM To: [EMAIL PROTECTED] Subject: Re: Looking For Suggestions Monte, How do you 'set the DDE registry entries on startup'? I'm using DDE also, but had the problem with the name being hard-coded as EXT, so I'm very interested... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Monte Goulding [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 1:57 AM Subject: RE: Looking For Suggestions Just for iterest: What is it about EXT.dll that makes you app unstable? I use it all the time for just this purpose (along with opening custom file types in currently running apps). I found that it works very well. The only problem I've found is that it doesn't work if you have two apps registered to use it on the same system. All I do to workaround this problem is set the DDE registry entries on startup and delete them on shutdown. Anyway, I'm interested in any problems you have found. PS: It'd be nice if Scott added DDE to the engine because it's is now the only thing I use EXT.dll for! Cheers Monte ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
Re: Stack Directory?
Sorry, I forgot to answer Chipp's other question: and why do you do the local tPath...is it faster for MC if you declare local variables? No, unfortunately it is a requirement of MC to declare local variables you're going to use in a matchText, matchChunk, or replaceText expression. Honestly, I wish I didn't have to declare them; it would be so much easier if MC would just create the variables for you... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Ken Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 11:25 PM Subject: Re: Stack Directory? Honestly, I don't know about speed... it all looks blazing to me. :-) I know Richard's got a benchmark app; perhaps someone could run this and report to the list? Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Chipp Walters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 10:42 PM Subject: RE: Stack Directory? Wow, Great work Ken. Thanks a lot. Can't wait for the tutorial! Can you tell me how fast regular expressions are? Would you think it faster than: function AppPath set itemdel to tab put the effective filename of this stack into tStack put last item of tStack into tFile return tFile end AppPath and why do you do the local tPath...is it faster for MC if you declare local variables? thx again, chipp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ken Ray Sent: Wednesday, September 11, 2002 10:03 PM To: [EMAIL PROTECTED] Subject: Re: Stack Directory? Actually, with MC 2.4.2 and above, you can use regular expressions (yeah, it's the RegEx guy again... ;-) to do this: function AppPath local tPath get matchText(the effective fileName of this stack,(.*\/),tPath) return tPath end AppPath For those of you trying to pick up RegEx, the code here: (.*\/) Means this: .* = Match all characters starting from the first character of the string (the effective filename of this stack)... \/ = ... until you match a '/' (the '\' is to 'escape' the forward slash), and then keep going until you match the last '/' in the string. ( ) = ... and return what you found in the first variable supplied to the matchText function (tPath). The key here is that .* is a greedy match, which means it will match everything until the *last* match of the forward slash. If you use .*?, it will only go to the first match of the forward slash (which would return the volume the stack was on). Examples: If the effective filename of this stack is C:/Development/MyStuff/MyProject.mc, then: using (.*\/) would return: C:/Development/MyStuff/ and using (.*?\/) would return: C:/ Yes, yes, I know... I'm still working on putting together a RegEx tutorial... :-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ - Original Message - From: Dominique [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 3:00 PM Subject: Re: Stack Directory? function AppPath put the filename of mainstackName into tPath set the delimiter to / delete last item of tPath return tPath / end AppPath Beautiful :-) -- Regards, (-8 Dominique ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard