Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: leaf
  • Order by date
  1. leaf

    snmp.exe: CPU high utilization

    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...
  2. leaf

    UDP Winsock troubles

    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...
  3. leaf

    Possible to poll for SNMP traps

    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...
  4. leaf

    Execute an EXE every 5 seconds?

    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
  5. leaf

    TAPI 3.0

    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 -...
  6. leaf

    please, help, how can install my app vb6 in windows xp home

    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...
  7. leaf

    C# and serial port access

    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
  8. leaf

    Visual Studio Installer

    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...
  9. leaf

    Ping server

    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...
  10. leaf

    Sizing Cols in the MSHFlexGrid

    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...
  11. leaf

    Sizing Cols in the MSHFlexGrid

    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
  12. leaf

    Sizing Cols in the MSHFlexGrid

    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
  13. leaf

    Scripting.FileSystemObject

    check this website http://support.microsoft.com/support/kb/articles/Q185/1/26.ASP
  14. leaf

    VB and Networks

    Mans, If the loaction of your database is hardcoded you can do a search replace in VB. rgds, Leaf
  15. leaf

    RS232 Communication

    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...
  16. leaf

    Faxing with VB

    Does anybody know how to do faxing with VB?
  17. leaf

    disabling close button (X) on form

    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 &quot;Cancel&quot; to a 1.<br><br>Ex:<br>Private Sub Form_Unload(Cancel as Integer)<br>&nbsp;&nbsp;&nbsp;&nbsp;If(bCondition = True)...
  18. leaf

    List Box Control Horizontal Scroll Bar

    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...
  19. leaf

    DataList Control ( 2 fields in the ListField)

    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...
  20. leaf

    DataList Control ( 2 fields in the ListField)

    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>

Part and Inventory Search

Back
Top