Dear Friends,
I need your help. I need to access the serial ports on my webserver from an asp.net page. i develop one website that hosted on webserver. Using that website i access data from serial port that connected with web server. I
have no problem accessing the serial ports from a windows form application.
The application is used to control custom hardware. The hardware is
connected to a PC(Web server)...
User Profile
Collapse
-
Asp.net with SerialPort
-
Dear Guyz,
I saw the important concept in windows application. If Thread access the Controls in Windows Form the Exception will throw "Cross-thread operation not valid: Control 'label1' accessed from a thread other than the thread
it was created on.".
To rectify this error all developers use InvokeRequired and Invoke Property. Apart from this using the following code in C#.Net.
... -
Threading in C#.Net
Hello Guyz,
How are you all,Again i came with threading problem.please solve me.
I am using C#.net Windows application. my application frequently execute the one
funtion.so i need to go thread.The main thread just execute the thread and return back.when i close the application the main thread stop thread.that is procedure. so i write code like this.
Main thread start the thread... -
Threading in Windows Forms
Dear All,
Happy to see you all again. I got some useful information from this forum. thats why i am asking. Please give me the valuable information.
I have to run 4 threads parallely in windows form. These Threads to be run on some intervals, so i put in While Loop that is,
Code:While(IsAvailable) { Thread.Start(); Thread.Sleep(Timespan.FromSeconds(4)); }
-
Hi,
Thank you for your reply. but i am asking some third party component for accessing ftp server. Not for new development.bec ause of fast access of ftp server.
Thanks in advance,
Sekar MLeave a comment:
-
Ftp Components
Hi guys,
we are using Xceed components for Ftp server access for basic file handling process like file uploading and downloading.we got some problems like file pause,resume for uploading and downloading. we using Xceed dll for ftp server access in dotnet. so i want anyother components for Ftp server access.
i need some third party components for Ftp server access. please give me a advice.
Thanks in advance,... -
Compare Remoting and Webservice
Dear All,
what is the difference between Remoting and webservice.want a difference based on concept oriented.
Thanks & Regards,
Sekar -
Dear mwalts,
I already have that idea man, i want to access controls through threads except using invoke and delegates.
Thanks & Regards,
Sekar MLeave a comment:
-
Windows Application using Thread
Dear guys,
In C# windows application i am using four threads for seperate process. Each thread done seperate job.i want to monitor the thread process in main windows form.so each thread update data in windows controls in mainForm.By using this i got the exception "Cross thread operation not valid", so i am using Invoke method for access controls in mainform.by using this i am write if loop for invoke the control... -
what the problem is,
i write the following code in button click event,
that is
Code:private void button1_Click(object sender, EventArgs e) { OpenFileDialog of = new OpenFileDialog(); DialogResult dt = of.ShowDialog(); }
Leave a comment:
-
Implement filebrowser dialog box in form
Hi All,
I came for one more doubt in dotnet windows application(C#. net or vb.net). how to implement Folderbrowserdi alog or Filebrowsedialo g box is appeared in form. All are them done in one button in form, if button is clicked the folderbrowserdi alog or filebrowserdial og will open, i dont want this, the folderbrowserdi alog or filebrowserdial og default loaded in form, i only select in file in filebrowserdial og, i dont want any click... -
Hi,
Thanks for your reply.can u show some code or link for socket programming.
Cheers,
....SekarLeave a comment:
-
Thanks Guyz,
I have also searching the idea for the aboce thinks. can u show the code or link for above requirements.it s very useful for me.
Thanks In Advance,
Sekar.MLeave a comment:
-
Communicate message between Clients and Server using DotNet
Hi all,
Happy to see you all again, I am going to develop one client server
application using dotnet(vb.net or c#.net).The task is to develop two applications seperately. one application continuosly run on server that is watching clients application. than another application that is client application run on many systems. if any one open the client application in the client system the client connects to server and client gives... -
Thank you all for your kind reply,
I have to check my client validation with that xml file. if that bracket is present the validator gives the error message Invalid file. if i manually remove that bracket then i have check the validation its does not thrown error. so its not a correct process for manually removing the bracket. so that i ask that question. i did not know the validation process in client side....Leave a comment:
-
Its not necessary Dorin. i have given the code
Code:doc.xmlresolver = null;
you given that above code before document load function, the xmldocument does not care about that note.dtd. Again i tell you need not bother about this. just copy above codes and execute. if you comment the lineCode:doc.xmlresolver=null;
Leave a comment:
-
Dear Dorin,
Thank you for your quick reply. please find the xml file and code i attached.
The Xml File is
The file name is sample.xml
Code:<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE note SYSTEM "note.dtd"> <ZooRoot> <ZooTable Name="Crazy Zoo" Address="32 Turtle Lane" City="Austin" State="TX"
Leave a comment:
-
Xml Validation Error -> Automatically entered extra character
Hi there,
Hi Everybody, I am facing one problem to validate the xml file. first i load the xml file through XmlDocumentType Class. Before load the Xml file i add the code xmlresolver = null for not validating DTD. Then i get one particular node through getElementBytag name method. After find out the node i have add the attribute fot the node. then i save the xml file in particular path through xmldocumenttype .save() method. After... -
Change DOCTYPE SystemId value in C#.Net
How to change the systemid attribute value in DOCTYPE element in xml file using C#.Net -
Hi,
Thanks for your reply, My question is how to change DTD in Xml File. i have the process one xml file, the DTD is attached in beginning of file.so the DTD is stored in website. i dont have access to that website. so i stored that DTD in our local server.After i have process that xml file i have verify the xml file with DTD.so how to change DTD in xml file.. I need a solution.
Thanks & Regards,
Sekar.MLeave a comment:
No activity results to display
Show More
Leave a comment: