Search results for query: *

  1. R

    Cannot hide form

    Yes you are absolutely right. I am completely new to VB and have just upgraded this project from VB6. This is why the DefInstance stuff is included. I think I am spending too much time trying to get the app running exactly as it did in the past even though I upgraded to VB.NET. This is...
  2. R

    Cannot hide form

    I need to load an application which requires that I switch some registry settings prior to starting the application. Then while the application is running, I need to listen for particular commands issued from the application and when certain commands are issued to launch a couple of custom...
  3. R

    Cannot hide form

    I am trying to hide a form but cannot seem to get it to work. Here is snippet of the code: PrivateSub myForm_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) HandlesMyBase.Load 'Display the form myForm.DefInstance.Show() 'Some code goes here which calls...
  4. R

    System.ObjectDisposedException

    Here is the applicable code. This was once VB6 app upgraded to VB.NET. Please ignore formatting problems of the code during cut and paste. Everything runs fine till it gets to the InstallProgress.DefInstance.Close() part. Thanks Option Strict Off Option Explicit On Imports VB =...
  5. R

    System.ObjectDisposedException

    Any ideas how to fix or why this may be occuring? Thanks in advance!
  6. R

    Cannot delete registry key

    Solved with your advice That solved the problem. Thanks!
  7. R

    Cannot delete registry key

    I am attempting to delete a key under HKCU/software. I am getting the following error: "Cannot write to the registry key" error. The key located under "software" is named Parent. The key I would like to delete is named "Child" and is located as a subkey under Parent. regKey =...
  8. R

    System.ObjectDisposedException

    When I have the following line of code at the end of my file: myApp.DefInstance.Close() I am getting a System.ObjectDisposedException at the end of my program execution. The program works fine except for this issue. When I omit this line I don't get the exception, but the process still...
  9. R

    How to merge registry file

    Solved, with your advice Thankyou for that invaluable tip. It helped me in the right direction and I was able to find additional information about this from the following article. http://www.devx.com/dotnet/Article/7914/0/page/1 Simply using Process.Start("install.reg") worked, but it...
  10. R

    How to merge registry file

    Please bear with me as I am completely new to VB. I am trying to create an install procedure and part of it requires that a number of registry values be set. I have all these settings saved to a .reg file which was created by exporting the appropriate branch from another PC where the settings...
Back
Top