|
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");
|
|
|
|
|
Hi Artem,
Thank you for the immediate reply .
But now I am using Server.UrlPathEncode() . It works fine.
Regards
Jophin
jophin
|
|
|
|
|
what is the main difference between Session and Profile. please explain.
tbhattacharjee
|
|
|
|
|
www.google.co.uk
We are not a Code Charity
|
|
|
|
|
Has Google blacklisted your IP and denying to serve you?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
what is the mail difference between session and cache.....please explain.
tbhattacharjee
|
|
|
|
|
www.google.co.uk
We are not a Code Charity
|
|
|
|
|
Tridip Bhattacharjee wrote: mail
When you can not differentiate main and mail, I don't think you can understand the differences between Session and Cache.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|