Results for "Author: mark mokoski"
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.
This is an example I did for another PSC member. Others might find it useful. Simple application to demonstrate a method of inter-application communication with the use of the Winsock control. Project is in two parts. Part one is the receive or “Host” application. The Host listens in it’s IP address on a port that is set from the Host Form (default is port 8000). Part two is the transmit or “Client” application. When the “send” button is pressed, the Client connects to the Host, then sends data contained in the text box controls to the Host. The Host receives data one “control” at a time in a Ping-Pong fashion. First the control ID is sent, then acknowledged to the Client (“ACK”), then the Client sends the controls data and the Host sends a acknowledgement. This is repeated until all control data is sent to the Host. The Client then disconnects from the host. The “Change” event for the controls on the Host can then be used to process the newly arrived data. Both applications can be on the same computer (use the loopback address 127.0.0.1), On different computers on your network, or even used over the public internet (not withstanding router, firewall and NAT translation settings). No API’s, no custom controls, just the tools that came with VB6 I hope you fine this useful. ** 21-FEB-2006 Update ** New zip with some error trap fixes
March 2006. Update that fixes some resize problems with the DX window form. Telnet client for Ham Radio DX Clusters. Log into your local DX Cluster via telnet. DX spots and WWV spots are put into table form. Many features including tunning your radio (Kenwood only for now). This app is complete and fuctional, only missing support for non-Kenwood radios. See HTML docs in the ZIP file for features. I do not have any plans to develope this beyond this point, might add other radio types (ICOM, Yeasu, Ten-Tec) as I have time and acquire these radios myself. So I am posting it here and hope some find it usefull. Take it and go play. 73 de WA1ZEK / VK2IFH
Control Program for the TenTec "Black Box" Shortwave Receiver. This App is not complete, but fuctional. A lightweight PC control app for the RX320, used mostly by me as a spare Ham Radio receiver. I have included in the ZIP the Ten-Tec RX320 Programmers manual and the service manual (PDF files) for reference in showing how the code module that talks to the radio works. I have no plans to extend or finish this at this time, so I send it out to the world here for anyone to play with. 73 de WA1ZEK / VK2IFH
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.
This is an update for a previous PSC project. A question came up on VBforums.com about some behavior differences between Win2K and WinXP as to the tray balloon tip. See code and included links for differences between Shell32.dll ver5.x (Win2k) and Shell.dll ver 6.x (WinXP). Comments welcome, votes not nessesary. Original VBforums.com message thread is ... http://www.vbforums.com/showthread.php?p=2003189#post2003189
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.
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"
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.