CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: CrystalAnnoysMe

Page 1 of 6 1 2 3 4

Search: Search took 0.06 seconds.

  1. Problem reusing Process and Disposed not firing

    Got a little issue with a small program I'm writing. I'm attempting to run different tasks in there own processes, waiting until each is done while keeping the UI responsive. So far it works...
  2. Re: How do I programmatically change Windows Themes in XP?

    No idea...sorry. As someone else suggested you might want to jsut start a new thread for that.
  3. Re: How do I programmatically change Windows Themes in XP?

    Here's my WriteRegistryValue function:




    ''' <summary>
    ''' Writes a value to the registry.
    ''' </summary>
    ''' <param name="MainKey">Main key to reach as a registry key such...
  4. Re: How do I programmatically change Windows Themes in XP?

    1) Are you using my code sample above? If so then no it probably isn't working....the WriteRegistryValue() I have above is my own function for writting registry settings.

    2) Fixing the above will...
  5. Re: Display a Modal Dialog without dispalying a Modal Dialog

    Ran into a slight issue...its working but sometimes, and I'm assuming its a side effect of the show dialog, the calling form gets pushed beneath my main form. I changed the code around so I don't...
  6. Re: Display a Modal Dialog without dispalying a Modal Dialog

    The WaitingForm is always 34 x 34....it will not change as my icon is 32x32 and the extra 1 on all sides is the border. So the way I have done it gives the same results as your code but not as...
  7. Re: Display a Modal Dialog without dispalying a Modal Dialog

    Yeah, I can't do things on the form activate as it my repopulate things so I'm working on that. And yes teh .ShowDialog works well since it's on it's own thread which forces it in from of...
  8. Re: Display a Modal Dialog without dispalying a Modal Dialog

    See attached...it's more complicated but a lot cleaner and easier to call as you dont ahve to recreate the form on each data screen. I'm looking at 20 some forms so I need reusability.

    Just...
  9. Re: Display a Modal Dialog without dispalying a Modal Dialog

    Found a decent work around. I'm putting the waiting from on it's own thread and just killing the thread when I don't want it displayed. No timers, no global variables back and forth, call it with...
  10. Re: Display a Modal Dialog without dispalying a Modal Dialog

    Here is how I want this to work. I call something simple like "Call DisplayWaitingForm(me)" at the begining of a form load statement, the waiting form pops up, and at the end of the load statement I...
  11. Re: Display a Modal Dialog without dispalying a Modal Dialog

    Maybe someone with more VB.Net knowledge can answer the .ShowDialog question but here is what happens:

    WaitXtraForm is set to TopMost and CenterOnParent. If called with a .Show it will ignore the...
  12. Re: Display a Modal Dialog without dispalying a Modal Dialog

    Think this will work.



    Module WaitingFormModule

    Friend myTimeInTenthOfASecond As Integer
    Friend LeftEdge As Integer
    Friend TopEdge As Integer
  13. Re: Display a Modal Dialog without dispalying a Modal Dialog

    This doesn't seem to work well either as I want the aiting form to "Center On Parent" of the new form being created. I WANT the new form behind the waiting screen. I.e.

    MainForm calls the...
  14. Re: Display a Modal Dialog without dispalying a Modal Dialog

    No, that's not doing it at all. For example

    MainForm calls DataForm. In Dataform's load even we have something that takes 5 seconds. I want to do this:

    Private Sub DataForm_Load(ByVal sender...
  15. Display a Modal Dialog without dispalying a Modal Dialog

    I have a large VB.Net 2008 rich client database app and in it some screens take a bit to load, 1 - 5 seconds and two of them take up to 15 seconds. Right now I have a me.hide in my form load, I do...
  16. Re: Passing command line arguements to already running single instance app

    http://msdn.microsoft.com/en-us/library/b9z4eyh8.aspx - My.Application.StartupNextInstance Event

    In my ApplicationEvents.vb:

    Private Sub MyApplication_StartupNextInstance(ByVal sender...
  17. Re: Passing command line arguements to already running single instance app

    Yeah I suppose I could do something like that...I guess the question is how far the second app gets into loading before it's killed for a single instance app. I'll have to play with that to find...
  18. Re: Passing command line arguements to already running single instance app

    It's a basic database app. VB.net 2008 SP1 / .Net 2.0 interfacing to a SQL 2005 database. There is nothing in the program currently that "listens" for messages and if a solution isn't that easy to...
  19. Re: Passing command line arguements to already running single instance app

    Creating my own service is a bit beyond what I want to do. This is a little ClickOnce app and I'd like to contain everything it needs to do within itself.

    I thought there was a way to do this, I...
  20. Passing command line arguements to already running single instance app

    Here's what I'm looking to do. I have a single instance database app that emails out notifications. I would like to add a link in the emails that when clicked would open up the app and go to the...
  21. Re: Resetting a Users Password through LDAP/VB.Net

    Hrm...to search for a user? I suppose you would pass the part to search for to the same directory searcher with a * for the wild part then get the results back. If the results are 0 then no match,...
  22. Re: Resetting a Users Password through LDAP/VB.Net

    Sure. I setup a user in Active Directory that I delegated to manage the user OU. In this example I'm calling the user "MyDelegateAdmin", my domain is "MyDomain" and this users password is...
  23. Re: Delegate to update form controls not working?

    NM....finally found a answer here: http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/89564a1a-a96c-4b44-8030-8c0898a8f0f8

    And I was doing my ParameterizedThreadStart wrong which I...
  24. Delegate to update form controls not working?

    I have used delegates multiple times over the years but for some reason this very simple code isn't working:

    Form has one button and on textbox. Simply trying to update the textbox from another...
  25. Re: How do I programmatically change Windows Themes in XP?

    Imports System.Runtime.InteropServices
    Module GeneralFunctions
    <DllImport("UxTheme.DLL", BestFitMapping:=False, CallingConvention:=CallingConvention.Winapi, CharSet:=CharSet.Unicode,...
Results 1 to 25 of 136
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured