Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

peshkunta

@peshkunta
About
Posts
45
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • PLEASE HELP! - How do I change IE settings from my application?
    P peshkunta

    Wow...that's such a simple thing and noone here know how to do it. All the security settings are in the registry, I don't see why it would be so hard for someone who knows. I think those webBrowser objects are useless if you can't change the settings of your own browswer object, from your own app. Come on guys that's ridiculous. Can a sound programmer please answer my question.

    C# help question csharp javascript com

  • sprogress
    P peshkunta

    Not sure exaclty if this is where you are trying to go, but there should be a Refresh() or Update() function that udates the list as it progresses. If I understand correctly the list doesn't appear to update until the very end, correct? If that's the case, then it seems strange to me it usually should update redraw automatically when you update it withough the Refresh() or Update() functions. If you can, post a part of your code so we can see where exactly you're going wrong.

    C# help tutorial announcement

  • My porgram doesn't work in other computer
    P peshkunta

    Make sure that "other" computer has the NET Framework installed. The new Windows Vista will already have it pre-installed so people won't need to install the NET Framework like they have to usually with older Windows versions.

    C# csharp help question learning

  • PLEASE HELP! - How do I change IE settings from my application?
    P peshkunta

    Hi all, I'm stuck. Please help me. I'm would like to be able to change the Internet Explorer Security settings/options from my own C# application. Because my browser object seems to use the settings from Internet Explorer. Not sure if they can be separate or not (meaning for the browser object in my own application to have it's own setting)? Is doable? I've heard you do it through the registry, but all the info out there is very limited and I'm new to this. Please if you can give me a sample code at least to point me in the right direction. I would like to be able to specifically change the ActiveX setting Enable/Disable, and the JavaScript one. Thanks SO MUCH!

    C# help question csharp javascript com

  • ( ( ( (How do I suppress WaitCursor) ) ) )
    P peshkunta

    The WebBrowser object is a control. Why couldn't I make a custom web browser control???

    C# question help

  • ( ( ( (How do I suppress WaitCursor) ) ) )
    P peshkunta

    "Changing the image of the cursor, as in your workaround, would require changing the image system-wide. A practice I greatly discourage." I agree. That would be sloppy. Yes, the WebBrowser control is causing it to fire the cursor change, so how can I prevent that. Can I derive from the WebBrowser control and change it there? There's got to be a way to do this!!!!

    C# question help

  • ( ( ( (How do I suppress WaitCursor) ) ) )
    P peshkunta

    Guys I'm at a loss! I don't want wait cursor to be displayed in my app at all. How can I suppress it totally or change the picture of the WaitCursor to Arrow (default) cursor - so that anytime wait cursor is invoked it would show the arrow, hence show no change. And why doesn't Cursor.Current = Cursors.Arrow; work. It's supposed to set the current cursor, but it does nothing! Any help is appreciated!

    C# question help

  • <<<<How do I prevent Wait cursor>>>>
    P peshkunta

    Guys, how do I prevent Wait cursor from showing in my app? I'm using a webBrowser control in my app and every time this webbrowser control loads a page the cursor changes to the Wait cursor with the hourglass. I don't want it to appear at all. I've tried everything and I can't seem to get it to stop showing!!!! I've tried setting Cursor. Cursor.Current = Cursors.Arrow; No effect. I've tried setting UsingWaitCursor property to false. Nothing... no change. Please help!!!!

    C# question help

  • (((((((How do I send a message!))))))
    P peshkunta

    I appreciate you giving me that example, but I don't understand it. I'm not very familiar with C++. If you are, could you write me an example of how I would use that. Thanks!!!

    C# json tutorial question

  • (((((((How do I send a message!))))))
    P peshkunta

    Thanks so much for the response! I'm not very familiar with C++ functions. I know that SendMessage or PostMessage have many versions (all accept different parameters), but I have no experience in using them. I know how to get the handle of a window/dialog (HWND), and pass the message constant WM_CLOSE, etc., but I'm not sure how to get the class of a text box, hence don't know how to loop through them. Is EnumWindows a function? And how do I use it? That below is what I think I'm most iffy about: ****************************************************************** -Loop through the text boxes inside IM (if more text boxes exists). -When ever you get the text box from where you want to retrive the text return TRUE from callback to terminate the enumeration. (one possible approach to compare the text boxes is compare class name) -EnumWindows must return you the HWND to (desired) text box. ****************************************************************** Could you please write me an example on how I would do that? THANKS!!

    C / C++ / MFC csharp c++ json tutorial question

  • (((((((How do I send a message!))))))
    P peshkunta

    I would like to use Win API's SendMessage( wnd, WM_GETTEXTLENGTH, 0, 0 );, or PostMessage function to be able to get the text from the textbox of another program. Let's say, I would like to be able to get the text from Instant Messenger and show it in my App. Does anyone know how to do this! I'm doing it in C#, but I'm posting here because those functions are not C# native and you are more familiar with them than C# programmers.

    Managed C++/CLI csharp c++ json tutorial question

  • (((((((How do I send a message!))))))
    P peshkunta

    I would like to use Win API's SendMessage( wnd, WM_GETTEXTLENGTH, 0, 0 );, or PostMessage function to be able to get the text from the textbox of another program. Let's say, I would like to be able to get the text from Instant Messenger and show it in my App. Does anyone know how to do this! I'm doing it in C#, but I'm posting here because those functions are not C# native and you are more familiar with them than C# programmers.

    C / C++ / MFC csharp c++ json tutorial question

  • (((((((How do I send a message!))))))
    P peshkunta

    I would like to use Win API's SendMessage( wnd, WM_GETTEXTLENGTH, 0, 0 );, or PostMessage function to be able to get the text from the textbox of another program. Let's say, I would like to be able to get the text from Instant Messenger and show it in my App. Does anyone know how to do this!

    C# json tutorial question

  • Two Forms
    P peshkunta

    I think you are making this harder than it has to be - your approach. The most straight forward and easier for you in the long run would be: 1. Leave Form1 to start in the Application.Run function 2. Go to the Form1 events and add an on Load event handler(function). In this function add your code to start and show your Form2 - the authentication form. This will make Form2 open first and get the focus (be in front). Although both forms will be open (not sure if this is a problem in your case) if you make it as modal with ShowDialog() - that way the person will have to work with Form2 and not be able to mess with Form1 until it's been authenticated. OR If you want when you close Form1, Form2 to not be displayed, go to the event handler for Closing in Form1 and tell it to close Form2 when form1 is closing and that should solve the problem. I would use Dispose().

    C#

  • Two Forms
    P peshkunta

    This is very easy to do. I just need to understand a few things of what you are trying to do: 1. Does this check happen on start up? If yes, there is a better way to do this. 2. After the MessageBox tells you "Wrong password...etc. what do you want to happen - everything to close? 3. You seem to have only OK button n the MessageBox that displays wrong password... do you want the same thing to happen if a person presses OK or cancels the dialog? This will close and release all the resources associated with the form (including memory) the main form after the dialog has opened that tells the password is incorrect and OK is pressed or that dialog has exited. if (MessageBox.Show("Bad user or password", "Info") == DialogResult.OK) { this.Dispose(); } Let me know if this helps.:->

    C#

  • Printing - can´t print a second page
    P peshkunta

    Check this out: http://www.devarticles.com/c/a/C-Sharp/Printing-Using-C-sharp/

    C# help tutorial question

  • Printing - can´t print a second page
    P peshkunta

    Try this: //Set the PrintDocument object property. //This sets the pages to be printed //Gets or sets the page number from which to start printing printDocument1.PrinterSettings.FromPage = 1; //Gets or sets the page number to which to print printDocument1.PrinterSettings.ToPage = 2; //This will print 2 pages from 1 to 2. :->

    C# help tutorial question

  • IE loading event
    P peshkunta

    I agree about the thread sleep solution. I didn't have it on a thread though, but it would be better to have it on a separate thread. This was just an example - if you want to you can modify the function so it accepts a ref parameter. Then pass your existing object as a ref parameter to this function.

    C# csharp

  • Loading Webpage - Wait until page is loaded
    P peshkunta

    Not sure if this is what you are looking for. The following example shows some of my code I've used where I have a timer event handler function call this piece of code every second. Without the if statement this would cause problems because the page doesn't always load in the browser at the same speed - it will make the program stop responding. But with the if statement this checks and makes sure the WebBrowser object is not loading anything at the moment and if it is, it doesn't execute the code (doesn't load anything else - until the statement is true): if (webBrowser1.IsBusy == false && webBrowser1.IsOffline == false) { webBrowser1.Url = new Uri(strUrl); } Let me know if I can help further.

    C#

  • Minimize problem
    P peshkunta

    There is a way to make custom controls with custom properties that is much cleaner than this, but it requires more code. Google talk doesn't seem hard to make, with exception of the semitransparent shadow if this shadow is not caused by the operating system. :doh: Check this out: http://www.ondotnet.com/pub/a/dotnet/2002/03/18/customcontrols.html -- modified at 4:40 Thursday 29th December, 2005

    C# help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups