|
Where is the serial port? Is it on your web server or the client?
I didn't get any requirements for the signature
|
|
|
|
|
Hi, thanks.
its in the client.
in windows app i have this:
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (!serialPort1.IsOpen) return; //don't send if the port is close
char[] buff = new char[1];
buff[0] = e.KeyChar;
serialPort1.Write(buff, 0, 1);
e.Handled = true;
}
private void serialPort1_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
{
RxString = serialPort1.ReadExisting();
Invoke(new EventHandler(DisplayText));
}
private void DisplayText(object sender, EventArgs e)
{
textBox1.AppendText(RxString);
length = textBox1.Lines.Length;
thescript();
}
but in web I cant cath the keypress effiently, and the invoke function is not in web.
may be you know?
|
|
|
|
|
How many ways are there to print the crystal report? Can someone tell me ?
|
|
|
|
|
http://www.google.co.uk/search?hl=en&q=printing+crystal+report&btnG=Google+Search&meta=
We are not a Code Charity
|
|
|
|
|
So there is about 870,000 ways to do it...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hi...
recently i also worked on crystal reports....
crystal report is directly having the button print.. if u click that button obviously u`ll get the print i think u know very well.
the 2nd way is u can store the report in word or excel..and after that u can print that saved document.
when u click the print button on the crystal report, it will ask to select the printer. At that time u can select word or excel or any other format...
i think my reply will help you....
All the best...
|
|
|
|
|
Thank you very, I appreciate your help.
|
|
|
|
|
hello friends,
I am creating a new web control.( for calculating mileage using mappoint 2006)
for this i have added reference of two dlls
AxInterop.Mappoint and Interop.MapPoint;
in my code i am using two namespaces
using AxMapPoint;
using MapPoint;
no error in the code but getting this :
Error 1 The type 'System.Windows.Forms.AxHost' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Please help me with this
Thank You
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Read the error message. Your linking to dlls that use windows forms ( which means their controls can't be used on a website ). If you're using them on the server only, to get some data and not to display it, add the reference it's telling you to add.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi ! All
i want to send url by httpwebrequest and get response in xml. i am success to get response in string but not success in xml. so please help. i want to display response in gridview so i want it in xml.
its a urgent pls
harun
|
|
|
|
|
Problem can be resolved faster if you provide your XMLHTTP calling code. If you use MS XMLHTTP (in IE) I can suppose to check whether server XML response starts from "" directly, without leading whitespaces or BOM.
To resolve this issue in IE you can use following code (xmlhttp - created XMLHTTP object):
var TRIM_SYMBOLS = " \\t\\r\\n";
function trim (str_, trim_)
{
trim_ = (trim_ ? TRIM_SYMBOLS + trim_: TRIM_SYMBOLS );
eval("var str = (String(str_)).replace(/(^[" + trim_ + "]*)|([" + trim_ + "]*$)/g,'')");
return str;
}
...
function getXmlResponse(xmlhttp)
{
var doc = xmlhttp.responseXML;
if (doc.documentElement == null)
{
doc = new ActiveXObject("Microsoft.XMLDOM");
doc.loadXML ( trim (this.xmlhttp.responseText) );
}
if (doc.parseError && doc.parseError.errorCode != 0) {
var msg = "Error parsing XML: " + doc.parseError.reason +
doc.parseError.srcText + "\r\nURL: ";
throw new Error (doc.parseError.errorCode, msg);
return null;
}
return doc;
}
|
|
|
|
|
hi to all...
this is manikanta.
now we are ready to start a new project on VoIP...(Voice over Internet Protocol) in asp with c#........
i`m new to this concept ..(VoIP)
So please help me regarding this concept......
'
Thanks to all....
|
|
|
|
|
try searching www.google.co.uk be fore you post here
We are not a Code Charity
|
|
|
|
|
thanks for ur reply..
i don`t think that u are the code charity......
but in my Query i didn`t ask any code regarding the project..
i`m following the google from the morning...But i didn`t get the exact destination...
so that i came to forms.... for the reference urls(sites)..
ok...if u have any idea regarding my concept (VoIP) please guide me for that....
Thanks a lot...
|
|
|
|
|
Check these out;
http://www.w3.org/TR/voicexml20/
http://www.voicexml.org/
manikanta.mnl wrote: but in my Query i didn`t ask any code regarding the project..
its my signature, it appears on all of my posts...
We are not a Code Charity
|
|
|
|
|
Thank u so much....
|
|
|
|
|
Thanks for your reply to .netman
I hate such people who reply"www.google.com"
There are not such stupid programmer who post question without
questing over GOOOGLE
|
|
|
|
|
Well I'm guessing you arent a reguler user of the forum, because there are a lot of people who post messages without searching google first, the result that I posted in one of my replies to this post I found using google.
Maybe your username suggests what you actually are...
We are not a Code Charity
|
|
|
|
|
iam having a grid with some data in the cells of the grid.now i want the data in the cell should be starts leaving one space from the left
|
|
|
|
|
What do you mean by:
lakshmichawala wrote: leaving one space from the left
A whole cell or just a small space?
We are not a Code Charity
|
|
|
|
|
----------
abcdefg
----------
think this is a cell of a grid now i want the text should start with 1or two spacing from the left.when iam using cell pading it is getting applied to the complete cell
|
|
|
|
|
Hi ,
I am downloading a file with filename having french characters .
My code is like this ,
strFilename = "dossier de téléchargement.docx"
Response.AddHeader("Content-Disposition", "attachment;filename=""" &strFilename)
But when we are using Internet Explorer after downloading , the filename is converted to
'dossier_de_téléchargement.docx' .
Please help
Thanks in advance
Jophin
jophin
|
|
|
|
|
Try to use HttpUtility.UrlEncode to encode file name:
strFilename = HttpUtility.UrlEncode("dossier de téléchargement.docx");
|
|
|
|
|
hi Artem,
I tried this . Now the filename is proper but spaces are replaced by '+' signs. Is there any solution for that .Thanks in advance .Please dont consider my poor english .
Regards
Jophin
jophin
|
|
|
|
|
'+' is a valid replacement for space symbol(' '), quick way to fix it - use String.Replace :
strFilename = HttpUtility.UrlEncode("dossier de téléchargement.docx")
.Replace("+", "%20");
|
|
|
|