I want to write an application to read data from a specific IP address and Port. I have been searching for solutions on internet and understand that I need to use TCPlistener. - My PC will act as server or client? does it matter when i write the application? - how can I test my Tcplistener application? I would like to send data to a port and read it using my application and send data back. Please let me know if i need to edit any setting on router as well. thanks chun
Chun2
Posts
-
Communicate over ethernet port (VS2005, Vista) -
application created on vista using vb.net does not run on my xp computer!!I installed .Net framework 3.5 on the Vista computer, restarted the computer, complied the code again, copied the debug folder to XP computer and then tried to run the application. I am still getting the same error. Under Control Panel --> Programs and features --> it shows framework 1.1, framework 1.1 hotfix (KB929729) and framework 3.5 Any suggestions plzz???
-
application created on vista using vb.net does not run on my xp computer!!Thank you for responding. all the computers are 32-bit and have .net 2.0. However, XP pc had SP1 for .net 2.0 but vista didnot. I will try installing .net 3.5 on Vista and see if it solves the problem.
-
application created on vista using vb.net does not run on my xp computer!!Thank you Dave. I will try installing .net framework 3.5 and I hope it will solve the problem. I appreciate your help.
-
application created on vista using vb.net does not run on my xp computer!!No, I don't have SP1. I cannot find Service Pack 1 for .net 2.0 for Vista on the internet. 1)Do I need to install 3.5 framework which comes with .net 2.0 sp1 for vista 2)I came across "Microsoft® Visual Studio® 2005 Express Editions Service Pack 1", is it necessary to install this SP too?
modified on Friday, April 4, 2008 2:34 PM
-
application created on vista using vb.net does not run on my xp computer!!I tried copying the folders after you suggest that problem may be with Inno Setup. If I copy the entire bin\debug folder from XP to Vista, the application runs without any problem. I am using 3 computers. 1) One laptop with XP home - for testing the application developed on XP and Vista. 2) A Desktop with XP pro and VS 2005 installed. 3) The laptop which I use for developing applications. It has Vista Business edition and VS 2005. All computers have 32-bit copy of windows. I checked in Add/remove programs and verified that I have .net 2.0 with SP1 on both XP machines. Surprisingly, I could not find .net 2.0 SP1 on Vista laptop! I assumed that If I have VS2005 and my program requires .net 2.0 to run, I would have .net 2.0. Also, the installation file I created, automatically install .net 2.0, if it was not installed already. So I think it must be installed on Vista machine, but I cant find it! Do I need to install .net 2.0 sp1 on vista machine.. i m confused. How can I run application developed on XP with .net 2.0 sp1 on Vista machine if it doesnot have .net 2.0?
modified on Friday, April 4, 2008 1:28 PM
-
application created on vista using vb.net does not run on my xp computer!!Yes, .net 2.0 is installed on all the computers. The application developed on XP machine, runs on any other XP machine with .net 2.0. However, application developed on Vista doesnot run on XP with .net 2.0 installed on it.
-
application created on vista using vb.net does not run on my xp computer!!Dave, Thanks for your response. I did "build solution", then copied all the files in MyApplication\...bin\release folder from Vista machine to XP machine, run the MyApplication.exe file and got the same error. Then I tried the same with MyApplication\...bin\debug folder. Same error. If the application is developed on XP machine and I copy bin\release folder to another XP machine, the program runs just fine. The error comes up when the files are copied from Vista to XP computer. So, I dont think it the error is linked to inno setup. Do you have any suggestions on how to solve this problem. How can I distribute my application developed on Vista to XP customers?
-
application created on vista using vb.net does not run on my xp computer!!I am using VS2005, .net framework 2.0. The program is used to collect and display data from a uSB DAQ. I created the installation file using Inno SetUP. I can install and run the program on any Vista machine without any problem. If I try to run this program on XP machine, it comes up with a general error: "MyApplication" has encountered a problem and needs to close. We are sorry for the inconvenience. It installs without any probem, the error comes up when i run the application. If I copy and run the same program on a XP machine and create an installation file, use this file to install the program on XP computer, it runs just fine. Does that mean I cannot develop programs on Vista and distribute it to XP customers?
-
problem with basic timer in vb.net [modified]Thank you for your response. This will be temporary fix for one part of my program.In my application a lot of events depend on the One second timer. I also have to display the counter counting up, trigger various events when it reaches certain values and then reset. These values depend on lot of parameters and keep changing. I really need a good timer. I have seen many applications where they use software timers to trigger events. I dont know how they do it, may be they use one of the "better" timers like you have suggested. (1) Could you please suggest some links where i can find examples for using one of these timers in vb.net application? (2) I searched online for directX SDK download which would worrk with vb.net on vista OS. I found the following link. Microsoft states that this file works with c/c++ and C# but doesnot mention vb.net. The other links I found for vb.net donot work with vista :( Any suggestions? http://www.microsoft.com/downloads/details.aspx?FamilyId=4B78A58A-E672-4B83-A28E-72B5E93BD60A&displaylang=en again... thanks a lot for your input!!
-
problem with basic timer in vb.net [modified]I am using a timer with 1000ms interval to count secs. I need to perform certain functions after regular intervals. The problem is the timers are not accurate. Every 30 mins I lose appx 25 secs i.e., when timer starts count=1 and after 30 mins the count is appx 1775 instead of 1800. I actually took a stop watch and timed it. This way I am losing a lot of time by the end of the day. I have tried using System.Timers and system.windows.forms.timer but both have the same problem. I am using VS 2005 express edition If I use timer with interval 100ms .. it is even worse. Am I missing something? Please help.
modified on Sunday, April 6, 2008 11:09 AM