Thanks for the help, but I found my problem.
I am trying to load HTML document into XmlDocument and that is what causes the exception to be thrown.
User Profile
Collapse
-
HttpWebRequest Problem
I have this code(in a separate thread if it helps):
...Code:// I know i don't store data from here. There is a reason for it. HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(mainUrl); req.CookieContainer = this.cookieJar; req.Method = "GET"; req.GetResponse(); // Another request HttpWebRequest gReq -
is it possible to take full control of the mouse at all? say for example with a driver or something?Leave a comment:
-
That won't help if there is a directx/other fullscreen application in focus - this is why i want to get the cursor somewhere out of the screen, also, I said in my first post that my form isn't always shown which prevents me from using Cursor.hide - as I need to hide it for all the system not only my program....Leave a comment:
-
Mouse movement
Is there any way I can force the windows cursor to stay in one a negative location (so programs like games won't show it), and intercept mouse movements by myself?
My program doesn't always have a form shown so it should be working in any situation.
Thanks to anyone who helps. -
I modified my code to use char pointer vector, but this still doesn't work.. it gives another error now:
...Code:void SessionCreator( void *ch ) { vector<char *> users; // Split the string Split((char *)ch, ", ", users); ChatSession cs; // Initialize the ssesions array with each user for (int i = 0; i < (int)users.size(); i++) {Leave a comment:
-
Problem with own class
I have the next piece of code:
...Code:vector<ChatSession> ssid; void SessionCreator( void *ch ) { vector<string> users; ... ... ... ChatSession cs; // put chat session objects in vector array for (int i = 0; i < (int)users.size(); i++) { const char *t = users[i].data(); char -
I have another function that decrypts the file to another file. and it works perfectly. only when I run the one that decrypts to bitmap it doesn't work..
this is the decrypt function:
...Code:public static void Decrypt(string fileIn, string fileOut, string Password) { FileStream fsIn = new FileStream(fileIn, FileMode.Open, FileAccess.Read);Leave a comment:
-
C#.NET - Decryption problem
I use VS2008, and I encrypted a file using this function:
...Code:public static void Encrypt(string fileIn, string fileOut, string Password) { FileStream fsIn = new FileStream(fileIn, FileMode.Open, FileAccess.Read); FileStream fsOut = new FileStream(fileOut, FileMode.OpenOrCreate, FileAccess.Write); -
Yeah, they are identical, and, I didn't get it, what to programs?
I still cant figure out how to do this..
I posted a question on MSDN but nobody answered yet.....Leave a comment:
-
hmm, maybe I just didn't get you, but it isnt working..
What I tried to do is drawing it on the form.. its still green..
I did it like this:
...Code:private void mainForm_Paint(object sender, PaintEventArgs e) { Point p = new Point(0, 0); e.Graphics.DrawImage(NewsPro.Properties.Resources.TransparentTitle, p); }Leave a comment:
-
C# - Transparency issues
I made a transparent titlebar for my program on photoshop, and saved it as png. Here is a screenshot of the bar(its on black background so you can see it):
http://img258.imagesha ck.us/img258/8058/trnsptbardi1.pn g
Now, in VS(2008) I Set the form background to lime, and the transparency key to lime too. I add the titlebar I designed in as a custom control(it's background color is the bar), and it doesn't work.. I mean - I expected...
No activity results to display
Show More
Leave a comment: