|
Hi,
I need a sample code for socket programming.
A sample code for sender and another for receiver :
UDP, Port 5004.
please in receiver code, use of thread.
It's a big help to me.
Best wishes
|
|
|
|
|
Will the UDP samples at this[^] link help?
/ravi
|
|
|
|
|
Ok, I have this program (kind of a work-in-progress), and a number of people use it. Up until now, whenever I did an update, I just uploaded the files to a server somewhere, and then sent a notification email to some people (and they download the file(s) at their convenience).
However, one of the users asked that I instead implement an update option inside the program where you could click on something, and the program would automatically go out to the internet and download the update and "install" it.
The installation of the update is not a problem at all. I can figure that out. However, I've never delved into the practice of using the internet programatically (never even used the browser window object), and I wouldn't know where to start.
Can someone please point me in the right direction (know any good articles?), or, if it's simple, show me how I can get the program to just do the following:
- go to a URL and get the contents of a text file (for info checking)
- depending on the info, go to a different URL and download a different file (the update)
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
|
Thank you for the articles!
But, that's far more complicated than I was expecting.
I'll keep looking.
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
Hmm, thats a great idea, i should do this for my app.
|
|
|
|
|
I think I've found my simpler option:
- WebBrowser object plus creative programming
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
Good day, ladies and gentlemen, long time leech, first time posting
I'm developing an application that has an embedded WebBrowser control that specifically opens one page (a page on my company's internal network). When I open it in IE, it works fine. When I open it in my application, I get a page error saying that I need at least IE 5.5. I checked both browsers with ipchicken.com to check their user agent strings, both seem to be identical.
My question is...could there be anything else in the way? Is there a way to access the user agent string for a WebBrowser control?
I've been programming for a few years but I'm still relatively green on C#.
Any help would be appreciated.
|
|
|
|
|
just an idea, I'm not sure if it will work.
try to use axWebBrowser COM component instead of the WebBrowser.
it is a weird problem, but thats all I got for now.
|
|
|
|
|
Hello, I made windows application for 32bit and i want to make it works on 64bit, so what can i do 2 enable it working on 64bit, and is there any support in VS.NET 2005 that helps me in updating it by a short code or change???
Thanks alot
Hamody
|
|
|
|
|
As far as I know, any C# application written with VS.NET 2005 will run in 64bit mode on a 64bit machine automatically.
|
|
|
|
|
is there any way 2 get sure of this ...
Thanks alot
Hamody
|
|
|
|
|
How I can search some Items In list view control
|
|
|
|
|
hows this?
copy ListView items to an array and
Array.IndexOf<ListViewItem>(ListViewItemCollection, item)
regards,
g00fy
|
|
|
|
|
Hi
The Graphics.DrawString method takes boundig rectangle as a parameter. However, I need to set font baseline position.
Any hints are highly wellcomed.
Kuba
|
|
|
|
|
|
My c#-Windows Mobile APllication (VS2005) seems to be very slow when communicating with servers.
Is the Windows Mobile-c# usually slow ,.
Please anybody advise
Regards
Aru na
|
|
|
|
|
dear ,
okey, i try to "give my hand"..
I hope, it can help you
1. Check your system computer!!!
You have to use : Processor > 2.0Gb
Memory > 1Gb
Free Hardisk > 2G
2. Check your Operation System(OS)!!!
Maybe your OS is too many program
Maybe your computer is infected by virus
So you can upgrade and clean your computer!!!
Have nice day, n good luck
thanks...
|
|
|
|
|
Hi,
I am working on .Net 1.1 in WinForms.
I am using a datagrid, and i have some dropdown in my datagrid.
Is there any way to know if any of the values in the row of datagrid had beeen changed.
I am not biinding my datagrid with a dataset.
Thanks in Advance.
Deepak Surana
|
|
|
|
|
Hi Deepaks3
Do you want instant notification?
By that I mean - do you want a postback the moment someone changes a value, or do you just want to check the values of the dropdownlists when the user submits the page again?
Kind regards - Jakob
*********************************************
Three kinds of people in the world:
- Those who can count..
- Those who can't!
10 kinds of people in the world:
- Those who understand binary
- Those who don't
|
|
|
|
|
hi
i am using this code
<br />
System.Diagnostics.Process process = new System.Diagnostics.Process();<br />
process.StartInfo.FileName = "d:\\library\\test.pdf";<br />
process.Start();<br />
this is working fine
is there any other way of doing this
and also can we open any other file in our mdi window
thanks amar
|
|
|
|
|
Amar Chaudhary wrote:
is there any other way of doing this
and also can we open any other file in our mdi window
No. You can open certain applications in MDI windows, but only if they are ActiveX or .NET controls themselves, at which point you could place those controls on your MDI window, then open the file in that window. For example, you should be able to add an AdobeReader ActiveX control to a MDI window, then use that control to open a particular PDF file.
But you certainly cannot do this with all apps; only those that are components usuable from other apps.
|
|
|
|
|
thanks its of great help
|
|
|
|
|
Hi every one ,
I'm programming with C# and I wrote below code :
command = new System.Data.Odbc.OdbcCommand();
command.CommandType = System.Data.CommandType.Text;
commString = "INSERT INTO MyTable (MySign) VALUES (@MySign)";
command.CommandText = commString;
command.Connection = SqlConn; //is defined
command.Parameters.Add("@MySign", OdbcType.VarBinary).Value = MySign;
SqlConn.Open();
command.ExecuteNonQuery();
SqlConn.close()
but I get <must declare="" the="" scalar="" variable="" "@mysign"=""> error,what is my mistake?
Please help me.
yours sincerely.
Orchid
|
|
|
|
|
ODBC doesn't support named parameters.
---
b { font-weight: normal; }
|
|
|
|