I tested some devices in Hyper Terminal using Attention(AT) Commands. These supported some AT Commands but not supported commands for receiving SMS from SIM And Phone Memory, Reading Delivery Status etc. Now i am expecting a GSM Modem which supports All AT Commands.
sharad Pyakurel
Posts
-
GSMComm Library Supported Modem. -
GSMComm Library Supported Modem.Hi, I studied about GsmComm Library and AT Command for sending and receiving SMS through GSM Modem/GSM Mobile. Most devices supported sending SMS successfully but I unable to Receive SMS using any devices. After hundreds of attempts i have expected your help regarding this issue. Please inform me which GSM Modem supports SMSComm Library for sending and receiving SMS? Please help me. Thank you.
-
Please provide detailed description about delegatesYou don't know about www.google.com
-
DateFormat Problem in ASP.NETThis problem is solved after changing Globalization setting in Web.Config File. Previously i had used en_US culture, Now it is changed to en_GB then problem is solved. Thank you all for yours remarkable helps.
-
DateFormat Problem in ASP.NETError when using virtual Directory is: Exception Details: System.FormatException: String was not recognized as a valid DateTime. Source Error: Line 298: if (str.ToString().Trim().Length > 0) Line 299: { Line 300: result = "'" + Convert.ToDateTime(str).ToString("MM/dd/yyyy") + "'"; Line 301: } Line 302: else But it is ok from Visual Studio.
-
DateFormat Problem in ASP.NETI have needed to insert and update DateTime Field in MSSQL Database Table. I am using Text Querry. My input Control is TextBox where the format of Date is "dd/MM/yyyy". In Database it should be save as "yyyy-MM-dd". I have used a Function to convert Date Format as: public static string ConvertToDate(string pstr) { string result=string.empty; try { result = "'" + Convert.ToDateTime(str).ToString("yyyy/MM/dd") + "'"; } catch { result = System.Data.SqlTypes.SqlDateTime.Null.ToString(); } } The string Data Returned after conversion is used for insertion. I I execute Application Visual studio by compiling it works well. but when i make virtual Directory of this application and run this through browser it doesn't work. How can i solve this issue.
-
Matrix Report in Crystal ReportI have some knowledge in Crystal Report. I have needed to create report in crystal report in Matrix form, i.e. table grows horizontally and vertically, But i have no idea how to create such report. Please provide me some ideas to create such reports.
-
Javascript Problem in asp.net in Content pageThankyou Castle Rider. It worked. btnSet.Attributed.Add("onClick","setValueInTextBox(document.getElementById('"+txtValue.ClientID+"'))");
-
Javascript Problem in asp.net in Content pageI am trying to set value in Label and Dropdown list in Asp.net content page from external javascript file. I did for textbox by passing ClientID of TextBox through parameter as: function setValueInTextBox(ctrVal) { ctrVal.value="strvalue"; } and in cs file: btnSet.Attributed.Add("onClick","setValueInTextBox("+txtValue.ClientID+")"); This works for TextBox. But i unabled to set values in Label and Dropdownlist controls. What should i do, please suggest me.
-
Stored Procedure OUTPUT Parameter not working.Stored Procedure is executed after specifying the size of output parameter. I unable to get output parameters value as: string s=ExecuteScaler(cmd); Parameters value is not retrived in s. But if i cal using com_parameters[strParameter].value it gives value. I mean it gives single row data. How can i get OutPut parameters and other datas in tebular form, Like data returned by Select querry.
-
Unable To Export Sub-report Data In Excel Format????Use ExcelRecord instead in Excel. i.e. ExportFormatType.ExcelRecord for eg: ReportDocument.ExportToHttpResponse(ExportFormatType.ExcelRecord, Response, true, "Report");
-
Stored Procedure OUTPUT Parameter not working.For Parameter type Input it works perfectly. But with OUTPUT Parameter Type It Displays following Error in place of ExecuteScaler Method: String[1]: the Size property has an invalid size of 0. (Actually I have a Stored Procedure which takes @Amount as input and converts the input in word, here @word in output Parameter. It should convert input amount in word. Stored Procedure is right. but something wrong with executing from application. What should i do.
-
Stored Procedure OUTPUT Parameter not working.My method adds parameters to stored procedure as: public void AddParameter(string StrName, SqlDbType objType, ParameterDirection objDirection) { SqlParameter l_Param = new SqlParameter(); l_Param.ParameterName = StrName; l_Param.SqlDbType = objType; l_Param.Direction = objDirection; Command.Parameters.Add(l_Param); } public void AddParameter(string strName, SqlDbType objType, ParameterDirection objDirection, object objValue) { AddParameter(strName, objType, objDirection); } I have send parameters to stored procedure using above method and used ExecuteScaler and ExecuteReader both. But it displays error while executing stored procedure.
-
Which is the best printing in ASP.NETHi, I am developing an application in ASP.NET 2008. In this application i need to print various reports. Some reports need to be printed in customized paper also. For this purpose i am searching for best searching solution of printing reports. I have more idea in printing in Crystal Report. I know some about JavaScript printing also. Here i have found using Crystal Report is easy for me. But i don't know if i use Crystal Report in my application it affects in performance or not. Which is best printing technique for web application. Please reply me with some ideas and source codes. Reply me.
-
Conditional X and Y position of a Crystal Reports fieldIn CR XI it is possible to adjust the x position conditionally. But is it also possible to adjust the y position conditionally? For my report i need to adjust the position of a field based on it's value. I have needed to conditionally adjust the x and y position of fields. Is this possible? If Yes How? Please reply me.
-
Problem in Printing Receipt using Crystal Report using C# codeI have a Problem in Printing Receipt using EPSION DotMatrix Printer using C# program. The Report has been designed in CrystalReport11-R2. My papers size is Heigth:10 inch Width:9.5 Inch. Printing single page is ok, but when i print morethan one page at once datas are printed in unrequired location. So, I want to ask which paper setting should be done for my paper and how? In short, How can i Print receipt in continuous sheet paper having height 10 inch and Width 9.5 inch using EPSION Dot Matrix Printer using C# code? Please Help Me:
-
Paper Setting Problem in Dot Matrix Printer using Crystal Report.Hi, In my application i have to print receipt using Dot Matrix Printer(EPSION LQ-300+II). My receipt have preprinted format, in this format i have to send datas using C# code. My papers size is:Height:10 Inch and Width 9.5 inch. The paper is regular paper. The problem is in first page datas are printed in required location but in next page it is printed in other location. So, How to set paper size in Crystal Report using C# application for this case: I have set like this: Reports.frmCrViewer.PaperSize = PaperSize.Paper10x14; Reports.frmCrViewer.PaperOrientiation = PaperOrientation.DefaultPaperOrientation; this syntax is correct but the paper size Paper10*14 didn't matched my requirement. So, what should i have to do to print in paper having size 10*9.5 inch. Please Help Me
-
Slow in displaying Crystal reportI have used Oracle10g Database. Yes is retrieved by client side from server. This is windows application. In my report In crystal report oracle Database is not connected. used Dataset and DataTable. my coding pattern is like this. private void btnTestReceipt_Click(object sender, EventArgs e) { ReportDocument rptdmt=new ReportDocument(); DataTable dtr=GetDatas(); string ReportName = Application.StartupPath + "\\Reports\\rptCashReceiptPP.rpt"; rptdmt.Load(ReportName); rptdmt.SetDataSource(dtr); CrystalReportViewer.ReportSource = rptdmt; } private DataTable GetDatas() { StringBuilder sb=new StringBuilder(); sb.Append("SELECT *from TableName WHERE CONDITION"); DataTable dt=_con.ExecuteDataTable(sb.ToString()); DsDataSet.UserDataTable dtrep=new DsDataSet.UserDataTable(); //This is object of DataTable of Typed Dataset named DsDataset. foreach(DataRow dr in dt.Rows) { dtrep.Rows.Add(dr.ItemArray); } dtrep.AcceptChanges(); return dtrep; }
-
Slow in displaying Crystal reportHi, I am using CrystalReport XI-R2, in my application. I have used a Types Dataset and DataTables in the report. Data retrieved from querry has been added in the DataTable and in the report the DataSource of the report has been set that DataTable. This report displays values correctly. There are nearly 5 custom querries and 3 Subreports in the report. The problem is that in the display of report it is displayed nearly after 1 minutes which is very slow in my requirement. Please suggest me, what is its solution.
-
How to Export Contents of DataTable and DataGridView in Excel without using Excel object.Thank you very much for your reply.