Can't get form to close...

For some reason, the following code does not allow me to close the MyMsg object form.  When the MainMenu finishes its events, the MyMsg form is still on the screen (behind the MainMenu, that is.)  Got any ideas/suggestions?
Please be aware that I'm relatively new to VB.Net.
Private Sub frm_MainMenu_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim MyMsg As New MsgForm
        MyMsg.Show()
        MyMsg.MyMsgText.Text = "Looking for SQL Server.  Please wait..."
        MyMsg.Refresh()
        'Set the form so it centers on the user's screen
        Me.CenterToScreen()
        'Set the version number of the program into the Main Menu
        Me.txt_VersionNo.Text = Global_Variables.Version_Number
(some add'l code here has been snipped)
MyMsg.Close()
End Sub

 My guess is you may have something in this line that is causing an error that is not being caught. Try commenting that code out or temporarily removing whatever is in this part and see if your MyMsg form closes. Just running the code without whatever
is in there seems to close the form on my computer.
(some add'l code here has been snipped)
If you say it can`t be done then i`ll try it

Similar Messages

  • Can't get iTunes to close when using my iPod

    I have the original Touch, works just fine so why replace it.  However, lately when I download from iTunes, sync the new songs and then click the button to disconnect, I can't get itunes to close.  It keeps opening and finally in dispair, I resort to going to the Windows Task manager and close it that way which sometimes doesn't work until I've done it several times.  At the same time I get the new Apple rules and regs, I always click accept and it still opens and opens and opens.  Does anyone else have this difficulty?  Not thrilled with Apple taking over my computer.

    I have not heard of that problem before. You can try:
    - ANother cable and USB port
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or        
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar

  • Photoshop Elements diagog box is frozen and I can't get it to close.  Do I delete and up date to a high version?  I've been getting along fine until yesterday - not sure what happened

    Photoshop Elements 3 dialog box with picture and patent numbers - not sure how to get it fixed.  It's in an infinite loop - have rebooted to no avail.  Should I update to a higher version after deleting this version?

    Tried the resetting options, but can't even get to preferences - nothing 
    will open.  May have to find my Version 3 CD, or delete Photoshop 3 and get 
    a higher version.
    In a message dated 1/4/2015 11:35:36 P.M. Eastern Standard Time, 
    [email protected] writes:
    Photoshop  Elements diagog box is frozen and I can't get it to close.  Do I
    delete and up date to a high version?  I've been getting along fine  until
    yesterday - not sure what happened
    created by RKelly_ (https://forums.adobe.com/people/R_Kelly)  in 
    Photoshop Elements - View the full  discussion
    (https://forums.adobe.com/message/7065312#7065312)

  • My iPhone5 opening photo has enlarged so big I can't get it to close down, or get to any other apps or phone dialing.  Can you help?

    I have tried to close down the photo by swiping various ways.  I have turned the iPhone 5 on and off.  I can't get to any other things to try. 

    Sounds as if you have enabled Zoom, an accessibility feature. Try triple-tapping the home button to turn off zoom. If that does not work, then double-tap the screen with 3 fingers. One of them should disable zoom. Then you can go into Settings>General>Accessibility and make sure that zoom is turned off there, and also check to see what the accessibility shortcut is for triple-clicking the home button.

  • Can't Get Form to E-Mail

    Hi again, everyone.
    I've been trying to set up a registration form with a
    "mailto:" Submit so that I can have the registration information
    sent to me. I've checked several books and followed the
    instructions on three or four Web sites, and still can't get it to
    work.
    I've set up the "mailto:" option in the form code, and
    clicking on the Submit button opens a new message with the "To:"
    and "Subject:" fields filled in properly, but the form is not
    attached and an empty message gets sent.
    I don't know if it matters, but I'm using Firefox for mail.
    Thanks in advance for your help!
    Keith

    There are only two ways to process form data -
    1. Use mailto:[email protected] as the action of the form
    2. Use a server-side scripting method to a) harvest the
    form's data, b)
    process it in some manner, e.g., enter it into a database, c)
    formulate and
    send an email to one or more email recipients, and d)
    redirect the visitor
    to some ending page
    Method 1 is quite simple, and is also the least reliable. It
    depends both
    on your visitor having an email client already installed on
    their computer -
    this eliminates public computers, or home users without email
    clients
    installed (more and more it seems) - and on the installed
    email client
    responding to
    the mailto call. It is not possible to use this method *and*
    send the
    visitor to a
    thank you page as well.
    Method 2 is the preferred method, since it eliminates the
    problems of method
    1, but it means that you have to grapple with
    server-scripting somehow (ASP,
    CF, PHP, perl, etc.).
    You would have to decide which of these methods is best for
    your needs,
    but if it's Method 2, then start by asking your host what
    they provide for
    form
    processing.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "MagicSpeller" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi again, everyone.
    >
    > I've been trying to set up a registration form with a
    "mailto:" Submit so
    > that
    > I can have the registration information sent to me. I've
    checked several
    > books
    > and followed the instructions on three or four Web
    sites, and still can't
    > get
    > it to work.
    >
    > I've set up the "mailto:" option in the form code, and
    clicking on the
    > Submit
    > button opens a new message with the "To:" and "Subject:"
    fields filled in
    > properly, but the form is not attached and an empty
    message gets sent.
    >
    > I don't know if it matters, but I'm using Firefox for
    mail.
    >
    > Thanks in advance for your help!
    >
    > --
    > Keith
    >

  • HT1338 My mail will not open and I can't restart my computer because it won't close.  How can i get mail to close?  I command Q'd several times and still it won't close.

    I cannot open or log out of my mail on my Applemacbook Pro.  I tried command Q many times I need to restart so I can get into my mail but can't becasue I cant open or close the mail.  Please help????

    See if you can Force Quit things holding CMD+Option+esc keys.

  • Can't get form to work

    Ok, I contacted the host, www.west.net, and got the form
    script from them,
    but i tried to use it, and this is what i have so far:
    www.sbyf.org/Templates/registration_page.htm is the
    registration page that
    i'm trying to get to workwhen i submit the form I get the
    message"
    Server Error
    The server has encountered an internal error or
    misconfiguration and was
    unable to complete your request.
    Please contact the maintainer of the script and inform them
    of the time
    the error occurred, and anything you might have done that may
    have
    caused the error.
    To find out the maintainer of the script, just look at the
    URL of the
    page above. If the URL contains the word "cgiwrap", then
    please e-mail
    the name between the '/'.
    For example, if the URL contained:
    http://www.west.net/cgi-bin/cgiwrap/johndoe/mycards.pl,
    you would e-mail
    [email protected]
    If you do not see the word "cgiwrap" in the URL, then please
    e-mail
    [email protected], and report the problem.
    the code for my control page is
    responsepage
    http://www.sbyf.org/registrants/registered.htm
    mailsubject Registration
    mailform [email protected]
    mailsubject Thanks for registering!
    mailfile useformvalues registration.txt {email}
    It's saved both in a .htm and .asp format, in my .sbcform
    file.
    you can see west.net's instrustions at
    http://www.siliconbeachwestnet.com/support.phtml?isp=west.net&user=&domain=west.net&i=41&d =1
    I'd appreciate any assistance you can offer.

    I'm not that familiar with troubleshooting form problems -
    Alans' the expert
    for that :-)
    But I notice that yur registration page seems to be saved in
    your Templates
    folder. This is not correct. You *should not have* anything
    inside that
    folder apart from the DW Template (dwt) file.
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    ~ Forum Posting Guidelines ~
    http://www.adobe.com/support/forums/guidelines.html
    CSS Tutorials for Dreamweaver:
    http://www.adobe.com/devnet/dreamweaver/css.html
    "willie" <[email protected]> wrote in message
    news:[email protected]...
    > Ok, I contacted the host, www.west.net, and got the form
    script from them,
    > but i tried to use it, and this is what i have so far:
    > www.sbyf.org/Templates/registration_page.htm is the
    registration page that
    > i'm trying to get to workwhen i submit the form I get
    the message"
    >
    >
    > Server Error
    >
    > The server has encountered an internal error or
    misconfiguration and was
    > unable to complete your request.
    >
    > Please contact the maintainer of the script and inform
    them of the time
    > the error occurred, and anything you might have done
    that may have
    > caused the error.
    >
    > To find out the maintainer of the script, just look at
    the URL of the
    > page above. If the URL contains the word "cgiwrap", then
    please e-mail
    > the name between the '/'.
    >
    > For example, if the URL contained:
    >
    http://www.west.net/cgi-bin/cgiwrap/johndoe/mycards.pl,
    you would e-mail
    > [email protected].
    >
    > If you do not see the word "cgiwrap" in the URL, then
    please e-mail
    > [email protected], and report the problem.
    >
    > "
    >
    > the code for my control page is
    >
    > "
    > responsepage
    http://www.sbyf.org/registrants/registered.htm
    > mailsubject Registration
    > mailform [email protected]
    > mailsubject Thanks for registering!
    > mailfile useformvalues registration.txt {email}
    >
    > "
    > It's saved both in a .htm and .asp format, in my
    .sbcform file.
    > you can see west.net's instrustions at
    >
    http://www.siliconbeachwestnet.com/support.phtml?isp=west.net&user=&domain=west.net&i=41&d =1
    > I'd appreciate any assistance you can offer.
    >
    >

  • Can't get form items

    Hello everyone,
    I have a form that I loaded from a xml file created on Screen Painter.
    In my Item Event FORM_LOAD, I need to get it's items. I get the form with success, but the items count is always 0.
    Does anynoe has an idea why this is happening?

    When You load a form from XML all items are added after FORM_LOAD. That's why You don't have items frm.Items collection.
    You should acces to item just after vApp.Forms.AddEx(... YourNewFormCreationParameters ...).
          Dim fcp As SAPbouiCOM.FormCreationParams = vApp.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
          fcp.XmlData = My.Computer.FileSystem.ReadAllText("myNEwForm.srf"))
          Dim nFrm As SAPbouiCOM.Form = vApp.Forms.AddEx(fcp)
          nFrm.Items.Item("YourNewItemUID"). .....
    If You want to acces to items after Form_load You can use GOT_FOCUS Event (only if You have at least one editable item on this Form). BeforeAction should be False
      Public catchGF As Boolean = False
      Private Sub vApp_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles vApp.ItemEvent
          If pVal.FormTypeEx = "myNewFormUID" Then
            If pval.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pval.BeforeAction Then
              catchGF = True
            End If
            If pval.EventType = SAPbouiCOM.BoEventTypes.et_GOT_FOCUS And catchGF And Not pval.BeforeAction Then
              'Now You can acces to your Item
              catchGF = False
            End If
          End If

  • How can i get forms that adobe readers can submit.

    we send out PDF forms for our clients to complete and they were created in adobe.  In the last few weeks that has stopped working and they get the error message. This document enabled extended features in adobe reader.  this document has been changed since it was created and use of extended features is not longer available.  Please contact the author for the original version of this document.  They have been created the same way.  So I subscribed to forms central full version and they still get that error message. 

    Hi Ken
    We have so many people who have not updated they are trying on 9. I might just have to tell them we can’t support under reader 10.
    Thanks
    Tania
    Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity. -General George S. Patton
    Tania Lindenmayer \ Manager Organisational Shared Services \ Jabiru Community Youth & Children’s Services Assoc (Inc) \ Ph: (07) 3269 0044  Fax: (07) 3869 0675 \ [email protected]<mailto:[email protected]> \

  • My iPad says I don't have enough storage.  It is locked up and I can't get to settings, close, etc.  I went to my mac laptop and increased by icloud storage but thaty did not help

    My ipad 3 says it cannot back up as there is not enough storage.  my choices are "setting" or close.   It will not let me select either of thes e and just goes black.   I went to my MAC and increased by cloud storage but this did not seem to help
    Any suggestions

    Reboot the iPad by holding both the power and home buttons until the apple logo appears and it restarts, ignoring the red slider if it appears.  That should get it operational again and you can proceed from there.

  • Can't get form to send data, need help...

    Heya,
    So if you visit
    http://www.typhoonsaloon.net
    and fill out the form, if you were the reciever of that info, you'd
    find that the two drop down menus don't appear in the email that is
    sent via email.php. I'm not quite sure what to do, can anyone help?
    All the files can be accessed as follows:
    http://www.hookmedia.biz/typhoon_saloon/intro.fla
    " " intro.swf
    " " email.php

    If its brand new it should have come with Lion already installed. Up the top menu click on the Apple symbol on the left and see what system it is running, eg. 10.6.8.  10.7.3. etc.
    Pete

  • Can you get form info to stay?

    Hello, and sorry if this has been posted elsewhere.  I'm not even sure how to phrase this question but I mean when you have entered a username...is there a way not to have to enter it EACH time you use it?  Is there a setting somewhere for keeping 'form' info?  Thank you I have an IPad mini.

    You can use AutoFill. Go to Settings>Safari>Passwords and Autofill>Use Contact Info>On. Then go to Contact Info>select your contact from the contacts app. Also go to Names and Passwords>On.

  • Can't get Form to Database working

    Installed OK and created a form and set up the database details, but when I enter the form and press submit I get a white page and the
    following error:  "Could not select database".  I'm sure I haven't set up the database correctly as I'm fumbling my way thru it, how do I confirm the details I need for the database set up?  Specifically what I should put in the host field.  On my service provided, I jused added a database and added one user so I know I have that information correct.  Please help.
    Lynn

    I have now installed both, but I'm not sure what parameters I should be entering in the database section in dreamweaver, is it the logon details to the service provider site, or the username and password for the database that I have set up.  Or am I creating a database on my local box?
    I have checkmarks agains the first 3 items under the database tab and the 4th is "Create a connection by clicking on the + button" when I do that it prompts me for:
    Connection name:
    MySQL server:
    Username:
    Password:
    Database:
    Sorry I'm fumbling my way thru this.  Thanks for the help.

  • I can't get iPhoto to close

    It takes a very long time for iPhoto to close. Sometimes, I have to shut down the computer. The whirling circle of death keeps spinning!

    The Force Quit command is under the Apple Menu.

  • Can not get BookSmart to close so I can shut down OS X

    Hi, I am having trouble shutting down the Lion system as the result of an app "BookSmart" that came as part of the program. I have tried force quit as well as trying to remove the app from the computer but neither works. What should I do?

    BookSmart is not an Apple / Lion pre installed app. You had to have downloaded from the net... maybe here > http://www.macupdate.com/app/mac/22624/booksmart
    You can contact the developer of the software for support here >  here.
    If you didn't try force quitting from the Activity Monitor, try that.
    Activity Monitor is located in /Applications/Utilities
    Select My Processes from the pop up men on the right.
    Select Booksmart in the list then click the red force quit button.
    If you just dragged the app to the Trash, that does not delete all associated files.
    Use >  AppDelete for Mac

Maybe you are looking for

  • Help with Photoshop Elements

    Hello all, I have a friend who is using Photoshop Elements 3 on a G5 iMac running 10.4.11. After reinstalling the combo updater (she was already on 10.4.11; I was trying to solve some system glitching), Elements stopped working. The File > New, File

  • Supplier dependent inspection processing

    hello all! we would like to implement following scenario: depending on supplier rating e.g. every 5th goods receipt should be checked with an inspection lot. dynamic modification is not an option, because we would like to set up the rules independent

  • OC4J 9.0.3: JAAS Compliant LoginModule support !

    Hi, I have a requirement where I need to migrate my JAAS Compliant LoginModule(implements LoginModule interface) from Weblogic to OC4J. I want to use my Custom LoginModule to perform authentication at the Web Tier and Ejb Tier and let the containers

  • Large Paper Sizes A2 / A1 / A0

    Hi I'm trying to use the online pdf create function to create Large Paper Sizes A2 / A1 / A0 The MS Publisher file (55 Mb+) is too big to send so .pdf conversion seems an ideal solution I have been successful with A4 & A3 versions but can't go larger

  • Different DPI in IrfanView and Photoshop for same JPEG file

    Hi everyone, I am no Photoshop expert so please excuse me if I am missing something obvious.  I have a JPEG file which shows Resolution=72 DPI in IrfanView (and in other applications such as ImageMagick Identify).  But under Image | Image Size, Photo