The SNMP Services do 2 things, The first service responds to SNMP get/set request from a NMS. Also, it will serve as an API bridge to any type of SNMP software on your machine using the API.
The SNMP Trap service will receive traps from SNMP like devices on your network.
I would look at the...
Its applies to TCP connections only.
UDP requires you to bind your local port. When this happens you become more of a passive listener.
data can be sent to your port and that comes in on the data arrival event.
When you use UDP, their is no need to have multiple connections. UDP by nature is...
Some vendors define a current Alarm table within their mib. For instance if you look at the RFC1628 it has an current alarm table. This table contains all of the alarms current on a UPS. Its trap definition defines to traps that are sent for every alarm. An alarm trap/condition added to table Or...
Kenny,
If I was you I would convert the copy.exe code into a service, you would only need the one application. The wizard in .Net for creating a C# service is pretty good and you can also find some simple sample files online.
rgds,
Leaf
I am having a problem with some code. I need to convert this into c# code. The pointer to a pointer is killing me. I need to know how to take this MSDN help and convert it into usable code.
HRESULT GetID(
BSTR pDeviceClass,
DWORD *pdwSize,
BYTE **ppDeviceID
);
This is how far I got -...
I have had many problems with trying to deploy VB6 app on XP, Microsoft suggest using the Windows Installer program. It works well with VB6 plus it gives you better control on how your application(s) will install. You can get the Window Installer at...
jonelf,
I checked your link, and it no longer exist. I was wondering if you by chance have a copy of the code from that link that you can post. I can not find anything on C# and Serial I/O
I would like to know if anyone knows how to get Visual Studio Installer to run a exe during setup. The exe needs to do an action outside of the installer.
On the other hand I need also to run an exe when the program is being removed. I have a service that is self registering I need it to...
Maybe another simple way, down and dirty:
In using the Shell API, you could execute the line
c:\WINNT\System32\ping.exe 127.0.0.1 >result.txt
This will send the ping results to a file instead of the dos screen. You could set up your progam to check the size of the file when the size is...
I thought about using the timer control but for now I going to use the mousemove on the MSHFlexgrid.
Private Sub grdMyRec_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
' If Mouse is on Fixed row then check resize of col
' else just exit sub
If (y > 200) Then...
What I mean is anytime a user resizes a col with the mouse I want to keep track of the width the col was sized too. So if the control had a Col_Resize Event( but it doesn't) I would be able to put some code in that Event, that would store the new col size.
rgds,
Leaf
Going Crazy!
Does anyone know how to trap the sizing of Cols in a MSHFlexGrid?
I have been working on this for about 3 hours. My brain is about to explode.
Thanks in Advance,
leaf
Umbane,
I have done many VB applications that communciate via the serial port (RS-232/Modbus, RS-485 ASCII).
The first thing you want to verify is - are you connecting with the correct cable and the correct settings. Check you Baud, Parity, Stop, etc.
Second you want to make sure you have...
tyedyejenn,<br><br>I do not know of a way to disable the (X) button. But I do know how to cancel the Form_Unload(Cancel as Integer).<br><br>Change "Cancel" to a 1.<br><br>Ex:<br>Private Sub Form_Unload(Cancel as Integer)<br> If(bCondition = True)...
I never had a need to have a horizontal bar on a list box. But from what I know if you change the column property to a number like 3 and then fill the columns with data the horizontal scroll bar will display by itself. <br><br>I do not know if that gives you what you want but if the control is...
This is what I came up with for now!<br><br>First I run the Load_List() function in the Form Load. This will load the first and second fields from the Adodc1.<br>I load the key field from the table into the list1.ItemData so any time I select an Item from the list it then runs a do loop to move...
I am trying to use the DataList control, I would like to display two fields from my database in the List. I can get one field to show but how do I display more than one field from my database.<br><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.