Advertisement

Results for "Author: adam murray"

Java_Volume1 #94538
Mutex APIs: Make multiple instance-aware programs!

Uses Mutex Objects to track multiple instances of the same .EXE. A Mutex object is an interprocess synchronization object whose state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. Only one thread at a time can own a mutex. Use of mutex objects makes possible batch processing and other synchronous tasks, from concurrent instances of the same application.

Java_Volume1 #95611
Magnetic Forms

Modified from Benjamin Wilger's original source. Gives forms a Winamp-like docking behavior. I have added support to make the forms move together when docked, just as in Winamp. Previously, the windows would dock to each other, but not move together. This version adds the option of making one form the "master" of the other docked forms, so that when the master form is dragged, forms docked to it are dragged as well. Many, many thanks to Benjamin Wilger for his code, without which this version would not exist. (See http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=27489&lngWId=1 for the original code.) Please cast a positive vote if you enjoy this code. It only takes a few seconds, and I feel less like I'm operating in a vacuum here.

1_2002 #107146
VB Code to Shell and Wait

Executes a command passed as a string, and waits for it to finish. Example: lResult = ShellAndWait("d:\ztbold\ztw.exe", 10000) That calls the d:\ztbold\ztw.exe and waits for it to exit for up to 10,000 milliseconds. If you want to call something and redirect its output to a file, you'll have to call CMD.EXE like this: lResult = ShellAndWait("cmd.exe /c MyCommand.EXE > MyFile.TMP", 10000)

1_2002 #107147
Magnetic Forms

Modified from Benjamin Wilger's original source. Gives forms a Winamp-like docking behavior. I have added support to make the forms move together when docked, just as in Winamp. Previously, the windows would dock to each other, but not move together. This version adds the option of making one form the "master" of the other docked forms, so that when the master form is dragged, forms docked to it are dragged as well. Many, many thanks to Benjamin Wilger for his code, without which this version would not exist. (See http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=27489&lngWId=1 for the original code.) Please cast a positive vote if you enjoy this code. It only takes a few seconds, and I feel less like I'm operating in a vacuum here.

2_2002-2004 #119593
API AppendToLog

Appends a string to a specified file (or creates the file if needed). Unlike the open/print/close method, this subroutine uses Win32 API calls. This ensures that your application will be able to write to its log file correctly, even if another user has that log file open in an editor during your write attempt. This is the most practical approach to production-quality logging.

2_2002-2004 #121667
VB Code to Shell and Wait

Executes a command passed as a string, and waits for it to finish. Example: lResult = ShellAndWait("d:\ztbold\ztw.exe", 10000) That calls the d:\ztbold\ztw.exe and waits for it to exit for up to 10,000 milliseconds. If you want to call something and redirect its output to a file, you'll have to call CMD.EXE like this: lResult = ShellAndWait("cmd.exe /c MyCommand.EXE > MyFile.TMP", 10000)

2_2002-2004 #121685
Mutex APIs: Make multiple instance-aware programs!

Uses Mutex Objects to track multiple instances of the same .EXE. A Mutex object is an interprocess synchronization object whose state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. Only one thread at a time can own a mutex. Use of mutex objects makes possible batch processing and other synchronous tasks, from concurrent instances of the same application.

2_2002-2004 #122758
Magnetic Forms

Modified from Benjamin Wilger's original source. Gives forms a Winamp-like docking behavior. I have added support to make the forms move together when docked, just as in Winamp. Previously, the windows would dock to each other, but not move together. This version adds the option of making one form the "master" of the other docked forms, so that when the master form is dragged, forms docked to it are dragged as well. Many, many thanks to Benjamin Wilger for his code, without which this version would not exist. (See http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=27489&lngWId=1 for the original code.) Please cast a positive vote if you enjoy this code. It only takes a few seconds, and I feel less like I'm operating in a vacuum here.

3_2004-2005 #138137
API AppendToLog

Appends a string to a specified file (or creates the file if needed). Unlike the open/print/close method, this subroutine uses Win32 API calls. This ensures that your application will be able to write to its log file correctly, even if another user has that log file open in an editor during your write attempt. This is the most practical approach to production-quality logging.

3_2004-2005 #140211
VB Code to Shell and Wait

Executes a command passed as a string, and waits for it to finish. Example: lResult = ShellAndWait("d:\ztbold\ztw.exe", 10000) That calls the d:\ztbold\ztw.exe and waits for it to exit for up to 10,000 milliseconds. If you want to call something and redirect its output to a file, you'll have to call CMD.EXE like this: lResult = ShellAndWait("cmd.exe /c MyCommand.EXE > MyFile.TMP", 10000)

3_2004-2005 #140229
Mutex APIs: Make multiple instance-aware programs!

Uses Mutex Objects to track multiple instances of the same .EXE. A Mutex object is an interprocess synchronization object whose state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. Only one thread at a time can own a mutex. Use of mutex objects makes possible batch processing and other synchronous tasks, from concurrent instances of the same application.

3_2004-2005 #141302
Magnetic Forms

Modified from Benjamin Wilger's original source. Gives forms a Winamp-like docking behavior. I have added support to make the forms move together when docked, just as in Winamp. Previously, the windows would dock to each other, but not move together. This version adds the option of making one form the "master" of the other docked forms, so that when the master form is dragged, forms docked to it are dragged as well. Many, many thanks to Benjamin Wilger for his code, without which this version would not exist. (See http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=27489&lngWId=1 for the original code.) Please cast a positive vote if you enjoy this code. It only takes a few seconds, and I feel less like I'm operating in a vacuum here.

4_2005-2006 #154357
Mutex APIs: Make multiple instance-aware programs!

Uses Mutex Objects to track multiple instances of the same .EXE. A Mutex object is an interprocess synchronization object whose state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. Only one thread at a time can own a mutex. Use of mutex objects makes possible batch processing and other synchronous tasks, from concurrent instances of the same application.

4_2005-2006 #154358
VB Code to Shell and Wait

Executes a command passed as a string, and waits for it to finish. Example: lResult = ShellAndWait("d:\ztbold\ztw.exe", 10000) That calls the d:\ztbold\ztw.exe and waits for it to exit for up to 10,000 milliseconds. If you want to call something and redirect its output to a file, you'll have to call CMD.EXE like this: lResult = ShellAndWait("cmd.exe /c MyCommand.EXE > MyFile.TMP", 10000)

4_2005-2006 #154359
API AppendToLog

Appends a string to a specified file (or creates the file if needed). Unlike the open/print/close method, this subroutine uses Win32 API calls. This ensures that your application will be able to write to its log file correctly, even if another user has that log file open in an editor during your write attempt. This is the most practical approach to production-quality logging.

4_2005-2006 #154360
Magnetic Forms

Modified from Benjamin Wilger's original source. Gives forms a Winamp-like docking behavior. I have added support to make the forms move together when docked, just as in Winamp. Previously, the windows would dock to each other, but not move together. This version adds the option of making one form the "master" of the other docked forms, so that when the master form is dragged, forms docked to it are dragged as well. Many, many thanks to Benjamin Wilger for his code, without which this version would not exist. (See http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=27489&lngWId=1 for the original code.) Please cast a positive vote if you enjoy this code. It only takes a few seconds, and I feel less like I'm operating in a vacuum here.

5_2007-2008 #176875
Mutex APIs: Make multiple instance-aware programs!

Uses Mutex Objects to track multiple instances of the same .EXE. A Mutex object is an interprocess synchronization object whose state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. Only one thread at a time can own a mutex. Use of mutex objects makes possible batch processing and other synchronous tasks, from concurrent instances of the same application.

5_2007-2008 #176876
VB Code to Shell and Wait

Executes a command passed as a string, and waits for it to finish. Example: lResult = ShellAndWait("d:\ztbold\ztw.exe", 10000) That calls the d:\ztbold\ztw.exe and waits for it to exit for up to 10,000 milliseconds. If you want to call something and redirect its output to a file, you'll have to call CMD.EXE like this: lResult = ShellAndWait("cmd.exe /c MyCommand.EXE > MyFile.TMP", 10000)

5_2007-2008 #176877
API AppendToLog

Appends a string to a specified file (or creates the file if needed). Unlike the open/print/close method, this subroutine uses Win32 API calls. This ensures that your application will be able to write to its log file correctly, even if another user has that log file open in an editor during your write attempt. This is the most practical approach to production-quality logging.

5_2007-2008 #176878
Magnetic Forms

Modified from Benjamin Wilger's original source. Gives forms a Winamp-like docking behavior. I have added support to make the forms move together when docked, just as in Winamp. Previously, the windows would dock to each other, but not move together. This version adds the option of making one form the "master" of the other docked forms, so that when the master form is dragged, forms docked to it are dragged as well. Many, many thanks to Benjamin Wilger for his code, without which this version would not exist. (See http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=27489&lngWId=1 for the original code.) Please cast a positive vote if you enjoy this code. It only takes a few seconds, and I feel less like I'm operating in a vacuum here.

Languages
Top Categories
Global Discovery