Search:
Type: Posts; User: Cyb3rH4Xter
Search:
Search took 0.02 seconds.
-
I have a solution consisting of 2 projects, the main project with a UI and a "helper exe". When I click debug, VS builds both projects, then copies the helper exe to the debug dir of my main app and...
-
Yeah I have used the BitConverter. I used the byte[].Length to get the length of the file and then converted that int to byte[] with the BitConverter.
Oh I see. Well I recently discovered the...
-
Haha yeah I realised that when I had finished writing it, though I thought "What the hell, I'll know what is wrong, I'll fix it later".
One interested thing I stumbled upon was the property...
-
I read more about this subject yesterday and think I understand it better now.
I just wrote up a few lines to test a transfer:
private static void SendFile()
{
...
-
I see, well to work then. Thx for the answer :)
-
I am trying to send the FileInfo, with the code in my other thread you answered to recently, to another computer (first I serialize it). I am making a remote file browser to learn more about...
-
Here is the code for sending a message:
public static void SendMessage(string Message, string To)
{
StreamWriter swSenderSender;
int count;
...
-
Yeah, I have nothing so far (just code to write and read from a networkstream, for a chat).
-
I have tried to find a way to transfer files, big or small, over the network via either tcp/ip or sockets or whatever it is called (I am new in this area).
But I don't feel any of the tutorials I...
-
I don't know if I understand what you mean completely, but I added a line before the serialization (yes binary) like this:
long size = info.Length;
Though even if I remove that line the...
-
I have built a program which serializes and transmits FileInfos across a network.
It worked good until I tried getting the FileInfo.Length on the computer which has received a FileInfo that is...
-
Oh yeah of course, my fault. It should be HtmlElement.Appendchild() :)
Yes I am using a webbrowser control.
Your idea with the index would surely work, though since you reminded me that it was...
-
I have a webpage, which contains a table. I would like to add another row to that table. I found the AppendChild method, but what I understand, it only appends at the bottom of the body.
How can I...
-
Well, I was just wondering why the DocumentCompleted even didn't fire when I Refreshed the webbrowsers page?
But I found out about it elsewhere since I didn't get any answer here and apparently...
-
I tested again and now it worked! VS must have hung up or something before since the error didn't disappear.
So thank you! :D
-
I tried changing the type to CopyFileCallBackAction, but it still gives the same error :mad:
There must be something else in the code that needs a change :sick:
-
I found some code on the net which copies a file and reports the progress using the CopyFileEx API. The problem is that I don't understand how to use it completely, I am stuck at one step.
I have...
-
Why doesn't the WebBrowser.DocumentCompleted even fire when I do Webbrowser.Refresh?
And what can I do make it fire when it refreshes? :confused:
-
Precisely what I thought, thank you for confirming it so I don't have to spend more time thinking about it ;)
-
I have set up my project to publish to my ftp, increment revision each time and not use .deploy extension.
So if I click Publish now it first asks me of the password to the ftp, then it deploys it...
-
I'm just curious to know, since I have a website with a form, if it is possible to detect website automation?
For example if the user fills the form with C# code and then clicks the button with C#...
-
Oh I see. I solved it by doing as you said :)
-
I am displaying a form, then closing it using the normal:
this.Show();
this.Close();
But when I am trying to open it a second time I get this error:
Cannot access a disposed object.
-
It is impossible to get that information what I know of.
-
Woah that seems to be something quite advanced (read a little bit about it). :rolleyes:
As I mentioned before, I will probably use Setup Factory. I suppose they should have some sort of safe...
-
Precisely what I though of. Is it an accepted method among real programmers?
Since the updatecheck is performed at the start of the program, if there are an update available it should take just a...
-
hmm okay I have changed and will use an installer instead :)
But I will still use my newly coded separate program to download and run the file. So I have one question:
What is the best way to...
-
No that is just disgusting. If I wanted to use installer I would have gone with Setup Factory that I normally use. I don't like .msi installers at all.
I chose to make a separate application in...
-
Yeah I totally know that. But I wanted to know if you can get the html from a HtmlDocument :ehh:
-
-
I have used 2 different methods of updating my programs.
Both the methods copies all the files from one directory into the application directory, overwriting old files. It then launches the program...
-
Sorry but really can't see the problem here?
Have you even tried writing something?
ListViewItem lv = new ListViewItem("Use MSDN");
string lol = lv.SubItems[0].Text;
-
-
So I have been ripping my hair trying to figure out how to get the pure html from a HtmlDocument.
Since there is no "HtmlDocument.ToString" that supplies the correct html there must be some other...
-
I have made a few small programs which connects to a db to fetch some info and/or write stuff there too. They do it with the MySQL connector with the username and password hardcoded (just using the...
-
-
Yeah I know. But I think I can decrease the time it takes with like 20% if I multi-thread it instead of running it on a single thread.
I will look into regex compiling and NGEN.
-
Hmm I think I'll go with the async method, TPL is too advanced for me yet lol (read about it).
Though I am not sure what you mean.
I should run the async, then in the "finished" method I should...
-
Okay. I think I will look into Thread Pool to queue the processing of each page instead of doing them one at a time. Though I am not sure how to handle the result/value of each processing.
-
I have a method which uses the WebClient.DownloadString to download the html for 12x20 + 20 pages (260). It is a loop that looks simplified like this:
foreach page in pages (which are the 20)
...
|
Click Here to Expand Forum to Full Width
|