Help with a Form modal

Posted on 2005-05-13
Last Modified: 2010-04-23
I calculate how often this save button is pushed. If the save button is not pressed so often the operator has to scan in a barcode that I then find in the database the description why the button was not pressed on time.  

How do I Stop in the middle of the save button procedure open a form with a text box for scanning and close the form before continueing on to the next step of the save procedure
Question by:justinwood88
    LVL 10

    Expert Comment

    In the middle of the save button click event do a:

    dim newFrm as New WhateverForm

    Then in "WhateverForm" just do whatever you want ...

    Author Comment

    I have that but the problem is the next line of code is the save() function where I have a messagebox that pops up and ask the operator to verify all data on form.  this message pops up right after the form loads.  I want the message to pop up after they have scanned the correct info and the form closes.

    Author Comment

    Dim frmLateResponse As New frmLateResponse
                    frmLateResponse.objText = Me
    LVL 10

    Accepted Solution

    Why use a messagebox on that form as well? Why not program the scanning logic into that form? Also, frmLateResponse.Show() is different from frmLateResponse.ShowDialog(me). Maybe if you could post a little code, I'm not see exactly what you are trying to do ...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    I'm currently working for a company where I have to upgrade over 50 VB6 programs to VB.NET 2008.  So far I'm about half way through, and I've learned quite a few tricks that drastically improve the performance of VB.NET apps. Because there are a…
    Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now