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...
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")...
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...
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.
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...
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.
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...
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...
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...
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...
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...
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...
I've used IMail for about six years or so, and I have had very very few problems.
I just upgraded from V7 to V8.15 with anti-spam. The upgrade went smoothly.
Out of the box the anti-spam feature has almost completely stopped junk mail from hitting my inbox.
I have hundreds of users and...
My users are dialing up from all over, so Relay Mail For didn't seem like much of an option. I wanted to use No Relay and force everyone to authenticate.
Web mail worked fine for everyone, so no password corruption.
The problem turned out to be with my Cisco PIX firewall. It had a commend...
Looking at my log files, here's what I see every time I try to send email with No Relay:
20050528 123615 127.0.0.1 SMTPD (ba1f000e018c1685) [67.161.208.56] RCPT TO: <jrl237@yahoo.com>
20050528 123615 127.0.0.1 SMTPD (ba1f000e018c1685) [67.161.208.56] ERR mail.mydomain.com invalid...
I've been using IMail for about 5 years. I recently upgraded an IMail 7 server to IMail 8.15. I replaced the computer that IMail was running at the same time.
The upgrade was fairly easy, and everything seems to be working fine, except I can no longer send mail to outside email addresses from...
The question is, why does Windows pass the ENTER keycode to the numericupdown control when e.handled is set to true in the keypress event? It doesn't do this on textbox or comboboxes.
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.