Hi, I want to communicate to a modem from c# code. If any of you have idea about implementing this please share with me. Thanks in advance Prajin
Prajin
Posts
-
Dialing a modem from c# -
USB Port Communication using C#Hi, Does anyone have code that will communicate to the USB port to send and receive data in C#. Thanks in advance, Praji
-
Comma with in CSV filetry { memStream = new MemoryStream(fileImport.FileBytes); reader = new StreamReader((Stream)memStream); int nCurrPosition = 0; int nNoOfCharactersToBeRead = Convert.ToInt32(reader.BaseStream.Length) - nCurrPosition; szRawString = ""; if (nNoOfCharactersToBeRead >= 0) { reader.BaseStream.Seek(0, SeekOrigin.Begin); char[] vBuffer = new char[nNoOfCharactersToBeRead]; reader.Read(vBuffer, 0, nNoOfCharactersToBeRead); if (vBuffer.Length != 0) { szRawString = ReArrangeStringEx(vBuffer); } } if (szRawString != "") { szRawString = szRawString.Replace("\r", ""); string[] rows = szRawString.Split("\n".ToCharArray()); for (int j = 0; j < rows.Length; j++) { string[] columns = rows[j].Split(','); if (dtCustomer.Columns.Count == columns.Length) { dtCustomer.Rows.Add(columns); } } } reader.Close(); memStream.Close();
-
Comma with in CSV fileHi Chetan, This did not work when I read "1,'john,store',aroda" from file and split it on comma to convert to a datatable, "john" and "store" are coming in different columns. I want this in same column. Regards, Prajin
-
Comma with in CSV fileDear Developers, I'm importing CSV file to sql DB using ASP.net. It works fine. But ,If a Cell contain a value like john,inc. CSV take it as two values as john and inc But i want in a single value as john,inc .. How can i do thatThanks in Regards, Prajin
-
Implementing NTLM AuthenticationHi Surjo, Can anybody tell me how can we implement NTLM Authentication in asp.net 2005 ? Regards, Prajin.K
-
How to set file types for file uploadHi, I have a file upload control.I want to set its file types as only csv file.How can I do it Prajin
-
Index was outside the bound of the array error after deploymentHi, When I deploy my web application in a Windows 2003 server(SP2) it is giving the array "index was outside the bound of the array".If you have any suggestions to resolve this issue please let me know. Regards, Prajin
-
changing the sattlite assembly after deployementHi, How can i change the sattlite assembly after deployement without changing anything else. Regards, Sachin
-
How to Add a Satlite Assembly in Runtime:((Dont know that it is a crime. Any comment on the question asked???:((:((
-
How to Add a Satlite Assembly in RuntimeHi Pete O'Hanlon, Thanks for your reply,I placed it in FR-fr folder inside bin.I kept the same directory structure and dll name as it is created automatically by the framework. Thanks, Prajin
-
How to Add a Satlite Assembly in RuntimeHi, Can anybody tell me how to add support for a new languages without ever recompiling the neutral assembly that contains all the application code.After deploying the application I created a satlite assembly for a new language and uploaded to the bin directory of the application.But if I change the application culture it is not reading the values form the new satlite assembly. Thanks&Regards, Prajin
-
How to Add a Satlite Assembly in RuntimeHi, Can anybody tell me how to add support for a new languages without ever recompiling the neutral assembly that contains all the application code.After deploying the application I created a satlite assembly for a new language and uploaded to the bin directory of the application.But if I change the application culture it is not reading the values form the new satlite assembly. Thanks&Regards, Prajin
-
How to Add a Satlite Assembly in RuntimeHi, Can anybody tell me how to add support for a new languages without ever recompiling the neutral assembly that contains all the application code.After deploying the application I created a satlite assembly for a new language and uploaded to the bin directory of the application.But if I change the application culture it is not reading the values form the new satlite assembly. Thanks in Advance Prajin
-
Date ValidatorHi, How to write a DateValidator which should allow both dates in dd/mm/yyyy and mm/dd/yyyy. Thanks, Prajin
-
how to convert a .resx file to a dll programaticallyHi, Can anybody tell me how to convert a .resx file to a dll programatically Thanks, Regards
-
how to convert a .resx file to a dll programaticallyHi, Can anybody tell me how to convert a .resx file to a dll programatically Thanks, Prajin
-
generate an assembly from a resource file programaticallyHi, Can anybody tell me how to generate an assembly from a resource file programatically Thanks, Prajin
-
Upload a .resx file to the App_GlobalResourceHi, My application should provide an option for the user to add a new .resx file dynamiccaly(In runtime) . Suppose the application right now support only english and the customer wants to add spansh later.He will create a .resx file for spanish using a transalator and form my application he should be able to upload it to App_GlobalResource so that from there onwards my application can be displayed in spanish also.This should happen without touching the code Thanks, Prajn
-
Upload a .resx file to the App_GlobalResourceHi, I want to Upload a .resx file to the App_GlobalResource folder.It is uploading the file successfully but aftre uploading the application crashes.If anybody has any clue on this please let me know. Thanks, Prajin