Is It Possible To Use A Serial Port Like Session In C#

Jun 17, 2010

I am using serial port communication in my asp.net webform application...

[code]....

This method works when i send i single message... But when want to send sms in bulk opening and closing port everytime is not a good idea... So my question is it possible to use a serial port like session in c#?... When i open a port i want it to be open for 1 hour and then if my time expires i want to close the port and open it the next time...

View 1 Replies


Similar Messages:

Reading Data From Client Computer Serial Port Using Web Application?

Jan 2, 2010

Is it possible to read data from serial port of client system using asp.net web site. Here is my scenario

I will be having computers connected in LAN and a web application which resides on server. Each client computer will be connected to a external machine using serial port and is ready for reading data, external machine measures equipment details and sends through serial port.Now I need to read the same data using my web page, is it possible?

Like when we do video chatting our web page reads data from web cam and sends the stream to web page. this way how can I read data from client machine to web page.

View 1 Replies

Visual Studio :: Serial Port With Portable Data Terminal?

Aug 30, 2010

I am making application with portable data terminal which connected to serial port. User will go with portable data terminal and scan data with it than we will connect it to PC and read all the data from it.

View 2 Replies

Trying To Add Functionality To Take In Data From A Serial Port And Then Put The Parsed Info Into A Series Of Textboxes?

Feb 1, 2010

I'm new here and I've run into a problem with my first asp project. I've taken over this webpage and am currently trying to add functionality to take in data from a serial port and then put the parsed info into a series of textboxes. Right now I can get the data from the serial ports but the text boxes refuse to show the data.

[Code]....

NOTE: These are System.Web.UI textboxes, so I can't use text delgate and Invokes (which is the usual solution I have seen)

View 7 Replies

C# - How To Control A COM Port Parallel Port From Web Application

Jan 16, 2011

i can control a LPT port or COM port or any other hardware of server using ASP.Net with C#. I haven't found any clue in the internet.

I want to control a COM port Parallel port from web application.

View 2 Replies

VS 2005 - Serial Communication Between PLC And C#

Feb 4, 2012

I am working on a project where I have to design a front end(on C#) and have to display the data coming from PLC.

1. What name space I have to used.
2. What function I have to used for Serial communication.
3. What .dll file I have to add in my project.

View 10 Replies

How To Create Serial Auto Number

Feb 4, 2011

I want to make the number for sales orders as an example:

SO/2011/001
(for
sales order
first)
SO/2011/002
(for
sales order
second)

View 6 Replies

DataSource Controls :: How To Get The Serial Number

Jun 7, 2010

How can I get the serial number when you add a new row in the table Add time in order to add the number in the second table

I mean I want in same the sqlcommand to insert and get the value of ( serial )..

View 3 Replies

C# - Add A Serial Number As The First Column In A GridView?

Jan 22, 2011

I have a Grid View . It has two bound columns. I need to have a Serial Number column as the first column.

View 2 Replies

SQL Server :: Shift Serial No After Deletion?

Nov 20, 2010

I have an sql table in which i have two columns enq_no and enq_serial.

for a particular enq_no, enq_serial should get incremented by one starting from 1.

What is the best approach to achieve this?

another issue is that after deletion enq_serial should get decremented by one.

How can i get this?

Is after delete trigger could be a good option?

If so? how can i get this with after delete trigger?

View 4 Replies

Configuration :: How To Change Algorithm Of Serial Key Template Of Web Setup Project

Dec 22, 2010

Can I change algorithm of serial key template of web set up project ? If I am not able to change algorithm, what could be the best method to implement product key(serial number) concept in web setup project.

View 1 Replies

Forms Data Controls :: Generating Serial Number In Gridview?

Jan 11, 2011

I want to generate serial number in gridview but the serial number should be equal to the count of records for a particular column(in my case No. of Villages).

I know how to generate serial number but i am unable to generate number of rows equal to the number of records of my datatable column(Village_Name---say for example 45 rows--- any no. of rows)

View 4 Replies

SQL Server :: Want To Set @Serial Column Result Based On MyDate Cloumn How To Do That

Mar 2, 2011

i have the folllowing Query , and i want to do some thing like this, but i dont know if my query is right or wrong .DECLARE @Serial varchar(50)

select MyDate,MyName,@serial
from Names
where @Serial in
( if(MyDate>'10-10-2011') select '393939'))

as u Noticed i want to Set @Serial Column Result Based On MyDate Cloumn how i can do that?

View 8 Replies

Forms Data Controls :: How To Generate A Serial Number Dynamically In Listview?

Sep 20, 2010

my listview having 3 columns:SI.No,HallticketNo,Name.

I bind data to listview but the "SI.No" column in listview showing Empty data.

So,how to generate serial number in listview ?

View 5 Replies

Forms Data Controls :: Creating Auto Serial No's In Datalist Control?

Sep 23, 2010

i have a data list control and i have bind it dynamically now i want to add a new serial no column and also display serial no's

View 1 Replies

C# - Display A Table With Various Info (names, Dates, Serial Numbers, Notes)?

Jul 28, 2010

I need to display a table with various info (names, dates, serial numbers, notes). In addition, there is one field I need to be one of three specified values (Raise, Lower, Release). What view would be the best/easiest to implement which would let me add/edit/delete entries as well as provide a drop down option for the Raise, Lower, Release options?

View 3 Replies

Specify Port Of SmtpClient?

May 21, 2010

I can specify a port number with SmtpClient object in ASP.NET, what I am wondering is, is that just the port .NET uses to send mail to the SMTP server? Or will that dictate what port for the SMTP server to use? Or is it that it MUST match the port configured for the SMTP server?

View 2 Replies

ASP 2.0 And COM Port Communication?

Feb 20, 2010

ASP.NET 2.0 and COM Port Communication

I have a managed DLL which communicates with the devices attached on COM/Serial ports. The desktop Winforms application sends requests on ports and receives/stores data in memory. In Winforms app I have added a reference to DLL and I am using the methods. This works well. Now, there is a situation where I need to show this data from serial/com port on a web-page. And also users should be able to send requests to the ports using this DLL. I have made a web app in ASP.NET (2.0). Added a reference to the DLL. I am able to use this DLL, the DLL communicates on the COM upon button click on web-page and also the response is shown on web page. However I am not happy with the approach and strongly feel that this is a bad approach. Also the development server crashes after 3 -4 requests. What is the best approach in this scenario. If I use a windows service then how would my ASP.net app will communicate with the Weindows service.Or can this be easily done using WCF. I have not used WCF any time nor any of .net remoting technique.

View 1 Replies

Asp - Sniffer For Certain Port?

May 9, 2010

I need a sniffer to catch all http communications on certain port, recommend one for me.

View 1 Replies

C# - COM Port Can't Be Opened In Asp

May 10, 2010

I following this article for sending SMS it is a winform application.. I have referenced all the Dll's to my asp.net application. I use an aspx page to detect a mobile device connected to a PC..... But it alwys shows COM 'n' Port could not be opened.

using SMS;
using GsmComm.GsmCommunication;
using GsmComm.PduConverter;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
GsmCommMain comm = new GsmCommMain(6, 9600, 300);
comm.Open();
if (!comm.IsConnected())
{
Response.Write("No Phone Connected");
}
else
{
SmsSubmitPdu pdu = new SmsSubmitPdu("test", "+919999999999", "");
CommSetting.comm.SendMessage(pdu);
}
}
}

EDIT:

I use the web development server that ships with Visual Studio... If go to Control Panel -> Phones & Modems -> Modems i could see my mobile connected in com6.. i have tested the winform application it works fine.Is this the answer? ASP.NET pages are supposed to work.What is happening over here is that when you click on open_com button, the ASP.NET page posts back to itself, executes the event handler i.e., opensthe port. Then when the page finishesprocessing the post back, it is unloaded. At this point the COM1 objects is also destroyed.

View 3 Replies

How To Change Website Port From 80

May 20, 2010

I have a web site developed in framework 3.5 , OS 2008 Server and iis 6.0 My web site running on port no. 80 and accessible in Lan network but it is not accessed when I changed to any port no like 8060 or 88. how to change port no so that I can access it in LAN network

View 6 Replies

Intelligencia.UrlRewriter - Using Port Other Than 80?

Jan 20, 2011

Does anyone know if it is possible to configure Intelligencia.UrlRewriter to work when accessing a site via a port other than 80?[URL]

View 1 Replies

C# - Port Forwarding On Windows 7?

Sep 15, 2010

How do I redirect an incoming request on port xxx to localhost:yyy on windows 7?

Development Server (vs 2008) only allow access from localhost which isnt good enough. I need to test my app from various computers.

View 3 Replies

Configuration :: Port Used By Asp Server?

Nov 13, 2010

just like all applications uses a defualt port, which port does asp.net webserver use of the system.

View 6 Replies

Access USB Port From Page (Server's USB)?

Dec 19, 2010

im creating a project.i developed a circuit for usb. i will connect this device to server's usb port. Can i access this device from a client?(not read/write file. i will send some commands to usb). Usb connection program is ready.How can i access from client? Which method will i use? web service,wcf or others.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved