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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jrl237

  1. jrl237

    Set UDP Source Port on Send

    Thanks Borvik. That's exactly what I need. I greatly appreciate your post.
  2. jrl237

    Set UDP Source Port on Send

    It's talking to a PBX. The PBX is set to listen on an assigned port, but it responds to the source port of the sender. It doesn't assign this port. It just reads it out of the UDP packet header. If you're using sockets (or UDPClient AFAIK) you set the destination port, but VB or the .NET...
  3. jrl237

    Set UDP Source Port on Send

    I think I've found a solution. I still can't set the outgoing source port, but I can query it once a connection has been made, and it seems to use the same source port for subsequent connections. For posterity, here's the code I'm using: Dim ServerIP As IPAddress = IPAddress.Parse("10.1.1.1")...
  4. jrl237

    Set UDP Source Port on Send

    I'm attempting to communicate with an existing server system that uses UDP to receive commands and return responses. The server listens on a single port. It expects to reply back to the sending IP on the UDP source port the packet was sent from. I can easily send it data using something like...
  5. jrl237

    Bizarre shortcut key behavior on Windows Forms

    Okay, I figured it out. It was obvious once I thought it through. I had another label on screen that was only displaying information, but it had the same tab order. Changed that, and all is well.
  6. jrl237

    Bizarre shortcut key behavior on Windows Forms

    I have a data entry form I've created in VB.net. I've added labels with shortcut keys above each data field to allow the user to easily skip around the form. The problem is, one of the labels doesn't work. Pressing alt- and the underlined letter doesn't take you to the next textfield. It instead...
  7. jrl237

    GetWindow/GetClassName

    Thanks strongm. I should have tried that before I posted. I Changed all the Longs to Integers and all is well.
  8. jrl237

    GetWindow/GetClassName

    Oh, and if anyone knows a better way to do this in .net, that would be good as well. I don't want to rewrite this entire procedure, but I will if there's a better way.
  9. jrl237

    GetWindow/GetClassName

    I'm converting some VB6 code to VB.net. A section of the code uses the Windows API to read text from a label in another application. I use the FindWindow API call to get the handle of the form I want, then use GetWindow to iterate through the objects on the form. I use GetClassName to find the...
  10. jrl237

    PIX 515 NAT Pool Advice

    Thanks gC. I think you've answered my questions. jrl
  11. jrl237

    PIX 515 NAT Pool Advice

    I have about 50 computers behind a PIX 515. We have about 30 NAT IP addresses shared by those 50 computers. A while back we had a problem where the first 30 users could connect to outside web resources, but anyone after that could not get out. Someone on this site told me how to setup the NAT...
  12. jrl237

    Netgear VPN connected, now what?

    I'm installing a VPN using Netgear's FVS318 on one end and the ProSafe VPN client on the other. I can connect, and both ends seem happy with the connection. The client says Successfully Connected, and the router shows my remote IP as a connected endpoint. But from the client end I can't ping...
  13. jrl237

    textbox focus problem

    Thanks for all the repsonses. I tried everything. I found a solution that isn't great, but it works. Instead of updating the textbox and switching the focus programmatically, I use SendKeys.sendWait(value & vbTab) followed by a SendKeys.Flush(). That solves my problem, but I don't understand...
  14. jrl237

    textbox focus problem

    Jubble, Thanks for the response. Yes, cbType is enabled and able to receive focus. There are no panels or group boxes on the form. I do set the focus back to the textbox in some events. But I've commented all of these out. Still no go. It does work when the user enters info and tabs out. It...
  15. jrl237

    textbox focus problem

    I'm having a strange little problem I can't figure out. I have a Windows form with several controls on it. One control is a textbox where the user can enter a 10-digit code. This box may also be filled in programmatically in certain situations. The problem is, if I fill the box in from code...

Part and Inventory Search

Back
Top