User Profile

Collapse

Profile Sidebar

Collapse
mcco
mcco
Last Activity: Mar 2 '10, 04:25 PM
Joined: Jul 21 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mcco
    replied to HttpWebRequest Problem
    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.
    See more | Go to post

    Leave a comment:


  • mcco
    started a topic HttpWebRequest Problem

    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
    ...
    See more | Go to post

  • mcco
    replied to Mouse movement
    is it possible to take full control of the mouse at all? say for example with a driver or something?
    See more | Go to post

    Leave a comment:


  • mcco
    replied to Mouse movement
    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....
    See more | Go to post

    Leave a comment:


  • mcco
    started a topic Mouse movement

    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.
    See more | Go to post

  • mcco
    replied to Problem with own class
    in C
    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++)
    	{
    ...
    See more | Go to post

    Leave a comment:


  • mcco
    started a topic Problem with own class
    in C

    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
    ...
    See more | Go to post

  • mcco
    replied to C#.NET - Decryption problem
    in .NET
    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);
    ...
    See more | Go to post

    Leave a comment:


  • mcco
    started a topic C#.NET - Decryption problem
    in .NET

    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);
    ...
    See more | Go to post

  • mcco
    replied to C# - Transparency issues
    in .NET
    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.....
    See more | Go to post

    Leave a comment:


  • mcco
    replied to C# - Transparency issues
    in .NET
    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);
    }
    ...
    See more | Go to post

    Leave a comment:


  • mcco
    started a topic C# - Transparency issues
    in .NET

    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...
    See more | Go to post
No activity results to display
Show More
Working...