|
I am working a desktop application ,in which i using web control and fill auto user id and password and it is filled .so i want to auto Login. please give me a idea how i click event fire .eg www.mail.yahoo.com
Usewrid=abc
password=***
Sign In (button)
adilkhan
|
|
|
|
|
but yahoo already has a feature to keep the user signed in, so you dont need to logon each time...
If only MySelf.Visible was more than just a getter...
A person can produce over 5 times there own body weight in excrement each year... please re-read your questions before posting
|
|
|
|
|
actually there is a web control .i also got this in this site.
http://www.codeproject.com/KB/recipes/Automatic_Login.aspx
adilkhan
|
|
|
|
|
Hi,
Currently i am developing a client server application in c#. I am using socket for communication. With compare to remoting and WCF, is it socket is better?.. or which is good. How can i convert socket to WCF or Remoting?
Thankyou,
Yesuprakash
|
|
|
|
|
It really depends on the situation. I have never used WCF, but sockets is semi-hard to use, but is the fastest and lowest bandwidth, but you do all the work codewise. Remoting packages it up and opens it back up for you, but has lots of overhead with the XML stuff and conversions...
Remoting can be perfectly acceptable is MANY applications, but time-critical packets like those for a video game need faster than remoting provides.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
I have two data grids on a windows form.........
On double-clicking a row on first datagrid i want that row grid should get copied onto the second data grid under new auto incremented row number........
can any one help please
regards
|
|
|
|
|
Identify the row
Create a new row in the target table
copy each field into the new row
save the target table to get the ID
OR
clone the selected row
add cloned row to target table.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
You select the row using itemindex and pick that row using this itemindex to select the row of the datasource(should be a dataset) and then add that row to the datasource of the second dataset and the bind it again.
|
|
|
|
|
I have an XML file which contains "
"
While using the Load or LoadXML function of XMLDocument class, "
"
is converted to "\r\n".I just want to retain as "
" while loading the document.Is there a way to do that?
|
|
|
|
|
The "
" would probably have to be encoded as "
", I hope you can fix the process that creates the file.
|
|
|
|
|
I tried it but it doesn't work.
if i have scrpit which has something
like this
<comment>This is tree.
This is a palace.
</comment>
your solution gives me
<comment>This is tree.&#xd;
This is a palace.
</comment>
When i use the msxml praser and parse the script i should get the same script before parsing.
The output should
<comment>This is tree.
This is a palace.
</comment>
Can u suggest me some other solution.
modified on Monday, February 23, 2009 7:10 AM
|
|
|
|
|
I'm not sure what you're saying. What do you mean by "output"; isn't the output of the parser simply the contents of the XmlDocument?
Perhaps you're still not explaining the problem clearly. Can you show some code?
|
|
|
|
|
Suppose i have xml file Test1(This is not created using dotnet parser) which contains the following.
"<Properties>
<Comment>
This is a test for the new block.
It should all be written on separate lines of text.
Using import from the client sometimes
will give you a double lined in new block.
</Comment>
</Properties>"
Now i am importing this file using my GUI.My GUI uses C# XMLDocument to parse file(Test1) and imports it into new dir (say NewDir).When i open this file from the NewDir the contents are as shown bellow.
"<Properties>
<Comment>
This is a test of the new block.
It should all be written on separate lines of text.
Using import from the client sometimes
will give you a double lined in new block.
</Comment>
</Properties>"
If u see the "
" is missing at the end of the each line.This is causing the problem.When the text under the comment tag is shown in our control a new line is added between the lines.
if the file contents of the file in NewDir is same as Test1.It is working fine.
Is there a way to get the contents exactly same as in the contents of Test1 using the XMLDocument class.
Please let me know if more clarification is required.
|
|
|
|
|
i'm trying to access the flash drive programatically, but first of all i want to know how to talk to usb port. any suggestions
|
|
|
|
|
I presume none of these links helped clickety[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
|
One of the great misconceptions. USB is not a "port" like serial or parallel. It is a bus, like the expansion slots inside the machine. You don't talk directly to the "port". You talk to the devices plugged into it.
|
|
|
|
|
I download ur application and check with that .....when i execute this application i got the following message..
I Check with through given Application means I got below Message
=================================================================
Message : Phone Reports generic Communication error or syntax error.
I Check with through given GSMComm Library means I got below Message
=====================================================================
Message : Phone Reports generic Communication error or syntax error(GsmComm.GsmCommunication.CommException)
|
|
|
|
|
You need to post this as a comment on the article where you got the code - nobody has a clue what you are talking about otherwise.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hi,
This is a really basic question, but I'm not sure how to rename my projects without copying over the whole project code and form controls into a project with a new name.
More specifically, I would like to change the names for #1 and #2 (see screenshot for what I mean).
http://img23.imageshack.us/img23/6536/projectnameqc8.jpg
#1 - would be the project name, which I'm not sure how to change with Visual C#. I've looked over some options, but no luck at all.. I tried to change them manually but that didn't work out too well either.
#2 - I think this is my registered name for Visual C#, and I have no idea how to change this. Do I really need to re-install for this?
Any help would be appreciated, and sorry for the basic question.
|
|
|
|
|
You can change the company name etc. in AssemblyInfo.cs of your project.
For changing the exe name, go to the Properties of the project and under the Application tab it is the "Assembly name".
|
|
|
|
|
Thanks! I was looking exactly for this. I didn't know that the executable could be changed without actually changing the project name.
|
|
|
|
|
Changing the assemby name or the root namespace in the properties tabs will update all the objects.
Basically I go to the properties tabs and change every instance I find, there are plenty of rocks that need to be turned to find the names.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
hii
I want to add support of multiple languages in my windows application.
Please help me or provide any suitable link for this.
Thanks in advance
|
|
|
|
|
It is a big topic. Start with MSDN[^].
|
|
|
|