Results for "Author: mark mokoski"
By Request, A VB6 Add In for creating Tool Tips. Generates declares, DIM,s and code for Tool Tips. Tool Tip can be standard rectangle, or Balloon style. Based on Easy Tool Tip Class on PSC http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=57489 You can add the class module to your project, or ... use it as a "Real" Add In and go to the Project References (under "Project" on the tool menu)and check "Tool Tip Code Generator" to expose the class to your project. Sample Project included. See the "ReadMe" file and clsToolTips module for details on use and properties of the class.
Class module for adding Balloon or Rectangle style tool tips to your forms. Tool Tips can be Multiline and colors are selectable. Because of my other PSC submission http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=57128 on how to use Balloon tips in the Systray, which is included in the ZIP, I did some API digging and came up with this. Also included as part of the demo app is a Code Generator for Tool Tips made with the demo app, so you can cut and paste into your own code. I'm sure there are many improvments that can be made, but this works, so take it and go play.
IP to Serial port Pass-Through Server Update 22-MAR-2005 This project takes TCP and UDP messages from other applications and routes them to the proper serial port to control serial devices (ex. Telephone systems, IP Routers console port etc.) or other device on a PC COM Port from a remote site. Communication can be one way (App --> COM Port) via UDP packets, or Communication can be two way (App COM Port) via a TCP connection. App can support up to four connections to four serial ports. App also starts in the SysTray so it's out of the way and a double click brings it onto the desk top. App has a monitor feature, look at the packets in Raw Text, Verbose Text and HEX values. TCP connections release the serial port when there is no connection In UDP mode, serial port is always active. Application has been tested on Win2000 Pro and XP Pro. Serial applications tested have been … Connection to Comdial Telephone Systems (DXP, DPX Plus, FXS, FXT, FXII) using the programming software (VMMI). Unix box via a Procomm Plus Telnet connection with terminal negotiate off. Kenwood TS870 Amateur Radio serial control Netopia 5000 router console port using Procomm Plus as above. Comments welcome
Updated 12-APR 2005! Add UTC time offset from Local time and formats Time / Date based on country/regional settings. Function module for getting UTC (GMT) time and date. Demo program shows how UTC functions relate to standard VB time/date functions. Being a Ham Radio and Shortwave geek, I needed UTC time a lot for logging and schedule time conversions. Comments welcome
IP to Serial port Pass-Through Server Update 22-MAR-2005 This project takes TCP and UDP messages from other applications and routes them to the proper serial port to control serial devices (ex. Telephone systems, IP Routers console port etc.) or other device on a PC COM Port from a remote site. Communication can be one way (App --> COM Port) via UDP packets, or Communication can be two way (App COM Port) via a TCP connection. App can support up to four connections to four serial ports. App also starts in the SysTray so it's out of the way and a double click brings it onto the desk top. App has a monitor feature, look at the packets in Raw Text, Verbose Text and HEX values. TCP connections release the serial port when there is no connection In UDP mode, serial port is always active. Application has been tested on Win2000 Pro and XP Pro. Serial applications tested have been … Connection to Comdial Telephone Systems (DXP, DPX Plus, FXS, FXT, FXII) using the programming software (VMMI). Unix box via a Procomm Plus Telnet connection with terminal negotiate off. Kenwood TS870 Amateur Radio serial control Netopia 5000 router console port using Procomm Plus as above. Comments welcome
UPDATED 3-FEB-2005, added Highlighted cell under mouse cursor. This is an example of how to use Balloon Tool Tips with MSFlexGrid control to get "Context sensitive help" on each cell of the grid. This is only an EXAMPLE of what can be done and is not a complete application. Other controls have similar methods and properties, so you could make this work with list boxes and combo controls for example. In this example I used a simple multiplication table and show the equation as the Balloon Tip. Some of the code could be compacted a bit, but I did this as a request from a not so strong on English fellow, so I made the flow as "clean" reading as I could. Take it, change it, use it!
Functions module for changing colors of the plain MS Progress Bar. There a a lot of these here on PSC, this one is a bit different as the demo application also includes a Code Generator. After you get the demo Progress Bar looking the way you want, enter your control name and click the "Generate" button. Then just copy and paste into your app. All you need to do is place the Progress Bar on your form, size it and set the min/max values, and the generated code takes care of it's good looks! Hope this is usefull for others.
Simple function that uses Windows Management Instrurmentation (WMI) to find if Process (task) is running on your system. I used this to detect if pcAnywhere Host (awhost32.exe) was running before I had a Telephone Call Accounting System "Phone Home" using the modem. Then I use the same function to detect that awhost32.exe was stopped before using the modem. After my app was done with the modem and issued the restart of pcAnywhere, used the function to see that awhost32.exe had started. Also included in the sample app is a simple task list.
A freshening up of a previous PSC submission. I gave the original to a customer of mine, and he used it to audit industrial control PC's COM ports that he didn't know if there was still an application running that used them. So as a result, He made a few suggestions for improvments in the original COM Detect App. Resultant changes are here. App now enumerates installed COM ports, allows selection of ports for test and changed some GUI issues. A usefull tool to have in your "Bag of Tricks"
Class module for adding Balloon or Rectangle style tool tips to your forms. Tool Tips can be Multiline and colors are selectable. Because of my other PSC submission http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=57128 on how to use Balloon tips in the Systray, which is included in the ZIP, I did some API digging and came up with this. Also included as part of the demo app is a Code Generator for Tool Tips made with the demo app, so you can cut and paste into your own code. I'm sure there are many improvments that can be made, but this works, so take it and go play.
By Request, A VB6 Add In for creating Tool Tips. Generates declares, DIM,s and code for Tool Tips. Tool Tip can be standard rectangle, or Balloon style. Based on Easy Tool Tip Class on PSC http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=57489 You can add the class module to your project, or ... use it as a "Real" Add In and go to the Project References (under "Project" on the tool menu)and check "Tool Tip Code Generator" to expose the class to your project. Sample Project included. See the "ReadMe" file and clsToolTips module for details on use and properties of the class.
Updated 12-APR 2005! Add UTC time offset from Local time and formats Time / Date based on country/regional settings. Function module for getting UTC (GMT) time and date. Demo program shows how UTC functions relate to standard VB time/date functions. Being a Ham Radio and Shortwave geek, I needed UTC time a lot for logging and schedule time conversions. Comments welcome
Simple app I use for seeing if COM ports are present and if they are in use by another app. My main use is when installing call acounting systems on PC's. I see what serial ports are free for the software to use. Nothing real complex, but a usefull tool.
Had a request for this from another PSC user. So, here it is for all to use. One module with functions for placing Icon in SysTray and Setting a Balloon ToolTip on it. Please look at the code snipits in "Systray Form Code.txt" file in the ZIP, thats where you need to get the rest of the code to put into the form events to make the whole thing work right! Also if you look at the example project, I also have the API and call for opening the default browser and email client when you click a textbox. Nothing to complex, but usefull.
IP to Serial port Pass-Through Server Update 22-MAR-2005 This project takes TCP and UDP messages from other applications and routes them to the proper serial port to control serial devices (ex. Telephone systems, IP Routers console port etc.) or other device on a PC COM Port from a remote site. Communication can be one way (App --> COM Port) via UDP packets, or Communication can be two way (App COM Port) via a TCP connection. App can support up to four connections to four serial ports. App also starts in the SysTray so it's out of the way and a double click brings it onto the desk top. App has a monitor feature, look at the packets in Raw Text, Verbose Text and HEX values. TCP connections release the serial port when there is no connection In UDP mode, serial port is always active. Application has been tested on Win2000 Pro and XP Pro. Serial applications tested have been … Connection to Comdial Telephone Systems (DXP, DPX Plus, FXS, FXT, FXII) using the programming software (VMMI). Unix box via a Procomm Plus Telnet connection with terminal negotiate off. Kenwood TS870 Amateur Radio serial control Netopia 5000 router console port using Procomm Plus as above. Comments welcome
UPDATED 3-FEB-2005, added Highlighted cell under mouse cursor. This is an example of how to use Balloon Tool Tips with MSFlexGrid control to get "Context sensitive help" on each cell of the grid. This is only an EXAMPLE of what can be done and is not a complete application. Other controls have similar methods and properties, so you could make this work with list boxes and combo controls for example. In this example I used a simple multiplication table and show the equation as the Balloon Tip. Some of the code could be compacted a bit, but I did this as a request from a not so strong on English fellow, so I made the flow as "clean" reading as I could. Take it, change it, use it!
Functions module for changing colors of the plain MS Progress Bar. There a a lot of these here on PSC, this one is a bit different as the demo application also includes a Code Generator. After you get the demo Progress Bar looking the way you want, enter your control name and click the "Generate" button. Then just copy and paste into your app. All you need to do is place the Progress Bar on your form, size it and set the min/max values, and the generated code takes care of it's good looks! Hope this is usefull for others.
Simple function that uses Windows Management Instrurmentation (WMI) to find if Process (task) is running on your system. I used this to detect if pcAnywhere Host (awhost32.exe) was running before I had a Telephone Call Accounting System "Phone Home" using the modem. Then I use the same function to detect that awhost32.exe was stopped before using the modem. After my app was done with the modem and issued the restart of pcAnywhere, used the function to see that awhost32.exe had started. Also included in the sample app is a simple task list.
A freshening up of a previous PSC submission. I gave the original to a customer of mine, and he used it to audit industrial control PC's COM ports that he didn't know if there was still an application running that used them. So as a result, He made a few suggestions for improvments in the original COM Detect App. Resultant changes are here. App now enumerates installed COM ports, allows selection of ports for test and changed some GUI issues. A usefull tool to have in your "Bag of Tricks"
Class module for adding Balloon or Rectangle style tool tips to your forms. Tool Tips can be Multiline and colors are selectable. Because of my other PSC submission http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=57128 on how to use Balloon tips in the Systray, which is included in the ZIP, I did some API digging and came up with this. Also included as part of the demo app is a Code Generator for Tool Tips made with the demo app, so you can cut and paste into your own code. I'm sure there are many improvments that can be made, but this works, so take it and go play.