|
I am tryin to release my application from visul studio but i dont know if i am doing it correct ,, if i try to run my application in other systems it doesnt work but it works ok in my system ,, can any one help me ?
|
|
|
|
|
Hi,
if the other system does not have (the right version of) .NET, you would
get a rather mysterious error dialog with an error number; if so show it.
otherwise, the problem should be recognizable from looking at the Exception.
If you havent done so, I strongly recommend to enclose everything in your
static Main() method with a try catch construct; in the catch(Exception exc)
show the entire exception as in MessageBox.Show(Exception.ToString());
|
|
|
|
|
there is no .Net in the other sytem ,,
the error messeage is about the .net framewrok:
The setup require the .Net framework 2.0.50727 pleae install the .net ..........etc
|
|
|
|
|
So, that problem is solved. Install .NET then install your app.
Lucky you, an app missing an earlier .NET version just gave an error code.
|
|
|
|
|
Thankx alot !!!
i thought taht there is something else
|
|
|
|
|
Can anyone give me some examples of CDMA, A Web Site to check out for CDMA or an Explaination of CDMA? I know it is part of a Cell Phone Protocol, however I want to try to write something using it.
Thanks
Steve
|
|
|
|
|
Google will give you over 28 million answers.
stevedobie wrote: write something using it
???
most platforms have it in their infrastructure. If you open and write to a socket,
your message will travel Ethernet or some other media, using CDMA without you
even caring about packet collisions...
|
|
|
|
|
CDMA - Code Division Multiple Access - Its a spread spectrum technique where by each user is given a unique code thus allowing optimal usage of frequency allocation (spectrum).
What do you want to write ? I have had alot of experience in WCDMA in the physical layer. So which layer of CDMA are you looking into i.e. In the world of WCDMA this corresponds to the physicial layer , RLC/MAC layer or RRC layer?
If you are targetting the physical layer then what exactly are you looking into the physical layer i.e. are you trying to develop a Cell Search Algorithm or a Rake Receiver etc.
Are you targeting a specific DSP/ASIC which your code will run on? If so then you are on the wrong forum and there is no way a .NET solution will run on a DSP or ASIC because writing CDMA/WCDMA alogrithms requires speed and the best way to do it is in C/C++/Assembler or build specific hardware modules (using VHDL) to implement your algorithms. Have you thought about what type of RTOS are you going to be using i.e OSE, Nucleus ?
From your post it seems that you have not done any research at all into CDMA and were expecting someone to tell you all about CDMA. As per the previous poster use google or look up IEEE Spectrum issues they have a million articles on CDMA. Sorry but stop being lazy expecting to be spoon fed an answer.
|
|
|
|
|
Hi people,
I am trying to find out a way in which I can be able to fill out an html form of an external website via a .net application. the html form uses a post method and its action is set to a java servlet.
Unfortunately I did not find so much help on the net and I hope that maybe some of you have experienced this kind of development before
Please do help me if you can.
Chris
|
|
|
|
|
You don't fill in the form. You just create the post data that the form would send to the server.
Use the HttpWebRequest or the WebClient class to post the data to the server.
An example of some post data, for three form fields:
name=Chris&answer=42&info=some%20text%20here
Use the Server.UrlEncode to encode the strings that you put in the post data.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thank you very much for your reply.
Does it make a difference if the site is Https:// and not http:// and if yes what extra processing should be done?
Thank you very much
Chris
|
|
|
|
|
Hi, I'm in need to make program that optically recognizes characters (OCR) and I found this nice little tutorial about it from this site, only one thing. ( http://www.codeproject.com/office/modi.asp )
I cannot find v11.0 MIDI anywhere! And somewhy there is no axModi in v12.0 (I think its version cause version), is there any way to get it?
Thanks
|
|
|
|
|
Sanity check: Do you have office 2003 installed?
EDIT: Modi might also not be included with some of the cheaper versions of office.
-- modified at 16:30 Monday 9th July, 2007
--
You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
|
|
|
|
|
No, I dont have office 2003 installed. Instead I have a office 2007 which comes with MIDI v12.0 instead v11.0. But if you read that tutorial (link in first post) then it says in bottom of page that 2007 also comes with modi, it does, but it doesn't support axModi atleast by just adding MDIVWCTL.DLL to references.
|
|
|
|
|
There're 2 comment threads about getting modi to work with 2007, do either of those help?
IF you're sitll having trouble I think posting in the comments section of the article or an appropriate MS board is more likely to get results due to the obscurity of the subject matter.
--
You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
|
|
|
|
|
Hi,
this is just a guess, but you might be able to "import your activeX" using
AxImp.exe
I suggest you read up on these; IIRC the tool turns a ZZZ.dll into an
AxInterop.ZZZ.dll and this one can be added as a reference in a .NET project.
I dont understand all that is going on here, but it solved it once for me,
long time ago.
BTW I think your subject line should read MODI not MIDI (that's a musical
interface !)
|
|
|
|
|
If you have office07, reading the comments would've told you how to get modi installed.
http://www.codeproject.com/office/modi.asp?msg=1945484#xx1945484xx[^]
--
You have to explain to them [VB coders] what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?" --- John Simmons / outlaw programmer
|
|
|
|
|
@dan
I got MODI installed, MODI works. But axMODI just, isn't there and now, none of the comments helped.
@luc
Ok, I will try that
|
|
|
|
|
Hi, I trust you have read the MODI articles on CP such as this one[^] ?
It mentions axMODI (as you did), that is not what axImp.exe would bring you
|
|
|
|
|
I got it working with axImp.exe Problem = solved.
|
|
|
|
|
Hi,
I'm glad I was able to help.
it seems to imply AxImp.exe lets you choose the name of the output dll,
and it doesnt have to start with AxInterop (for some reason my file did).
|
|
|
|
|
I want to fill a combo with data from a column in a database table, using dataAdapter or dataset not dataReader
|
|
|
|
|
where is the question ?
if the keywords are "combobox" and "dataadapter" maybe you could do a search
on CodeProject...
|
|
|
|
|
comboBox1.DataSource=ds.Tables[0];
comboBox1.DisplayMember="Lifeform"; //ColumnName
also try valuemember property
|
|
|
|
|
Hi,
I found that w3 offers validation service which anyone can access it to validate HTML and make XHTML compliant. Basically, the web service allows the user to validate a fragment of html code - basically copying your html code and validating it, validating the html content by uploading the file and specifying the url for validation.
I was able to hit the webservice for valdiating code fragment. I want to upload file for validation. I am not able to achive that even though I use POST as my request method and use multipart/formdata. Can anyone explain why i am not able to upload the file. Below is the piece of code that i had used.
<br />
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(http:
string boundary = new Guid().ToString().Replace("-", "");<br />
request.ContentType = "multi-part/form-data; boundary=" + boundary;<br />
request.Method = "POST";<br />
BinaryWriter oPostData;<br />
<br />
MemoryStream oPostStream = new MemoryStream();<br />
oPostData = new BinaryWriter(oPostStream);<br />
StreamWriter sw = new StreamWriter(oPostStream);<br />
<br />
byte[] lcFile;<br />
<br />
FileStream loFile = new FileStream(@"C:\testfile.txt", System.IO.FileMode.Open, System.IO.FileAccess.Read);<br />
<br />
lcFile = new byte[loFile.Length];<br />
loFile.Read(lcFile, 0, (int)loFile.Length);<br />
loFile.Close();<br />
<br />
<br />
oPostData.Write(Encoding.GetEncoding(1252).GetBytes(<br />
"--" + boundary + "\r\n" + "&output=soap12" + "&verbose=1" +<br />
"Content-Disposition: form-data; name=\"uploaded_file\" filename=\"" +<br />
new FileInfo("C:\\testfile.txt").Name + "\"\r\n\r\n"));<br />
<br />
oPostData.Write(lcFile);<br />
<br />
oPostData.Write(Encoding.GetEncoding(1252).GetBytes("\r\n"));<br />
<br />
request.ContentLength = oPostStream.Length;<br />
using (Stream s = request .GetRequestStream())<br />
oPostStream.WriteTo(s);<br />
<br />
oPostData.Close();<br />
<br />
Thread.Sleep(1000);<br />
<br />
try<br />
{<br />
HttpWebResponse response = (HttpWebResponse)request.GetResponse();<br />
StreamReader streamReader = new StreamReader(response.GetResponseStream());<br />
string str = streamReader.ReadToEnd();<br />
<br />
Response.Write(str);<br />
}<br />
catch (WebException ex)<br />
{<br />
HttpWebResponse webResoponse = (HttpWebResponse)ex.Response;<br />
Response.Write(webResoponse.StatusCode);<br />
}
Thanks
-Ananth
|
|
|
|