1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Visual Basic Sir help tanong ko po ito very important po sa vb

Discussion in 'Coding, Programming' started by cloudfiers, Feb 15, 2015.

  1. sir papano po ggawin ko dito gamit sa vb.net pag nag input po ako nang number ma sasave niya po at pagkatapos , pag nag input nanaman po ako nang same number sasabihin niya po ay was already input
    halimbawa po number 3 ininput ko tapos isasave niya po at kung ininput niya nanaman po yung number 3 may sasabihin po siya na was already input please po sana po may makatulong sa akin..
     
  2. sir meron po ba kayo yung code nalang po sa vb.net kasi po tagal mag load pinuntahan ko na po hanggang loading lang..
     
  3. san mo ba esesave ang na input na number? sa database? textfile? or saan??
     
  4. kung isesave sa database pwede cguro ang if else
     
  5. ok na po siya but anyway thanks padin po sa tumulong...
     
  6. Dim querystr asString="select value from [your tabelwhere] ID=3"
    Dim mycmd AsNew SqlCommand(querystr, connection)
    dim value asObject= mycmd.ExecuteScalar()

    if value = 3 then
    msgbox("meron")
    else
    msgbox("wala")
    end if
     
  7. po pa enge po system sa hotel booking sa vb un front end po design un unigue pra sa capstone namin
     
  8. Creating an Installer Using Visual
    Basic 6.0
    1. Click on the Start Menu > Microsoft Visual
    Studio 6.0 > Microsoft Visual Studio 6.0
    Tools > Package & Deployment Wizard.
    2. Click on the “Browse” button next to the
    “Select Project” combo box, to select your
    project.
    3. Select the actual Project Solution File in the
    screen provided and hit Open.
    4. Click on the Package Icon To Continue.
    5. On the “Package and Deployment Wizard”
    Screen, select “Standard Setup Package” and
    hit “Next” button.
    6. Choose the folder where you want your
    setup package to be created, and click
    “Next”.
    7. If the folder you are selecting does not
    exist, you will receive a prompt asking you
    if you want to create it. Click on “Yes” to
    continue.
    8. You will be given a list of files that need to
    be included in your installer based on your
    application’s code and references. If you
    need to add any additional files like
    documentation, you can do it on this screen.
    Else, click next to continue.
    9. The next screen will allow you to break
    down the installer file into multiple smaller
    files (in case you want to distribute your
    application on a floppy disk for example). If
    file size is not an issue, select “Single Cap”
    and hit “Next” to continue.
    0. Enter a title for your installer application and
    hit “Next”.
    1. Next, you will be asked what type of
    shortcut and where you want to place on
    your user’s Start Menu. Accept the default,
    and hit “Next” to continue.
    2. Accept the Install location and hit “Next”.
    This is where the executable files are
    grabbed from.
    3. Next, you will be given the option to install
    your application’s dependencies as shared
    installs. This means that if for example
    another program needs to use the MDAC
    database connectivity besides YOUR
    application, it will be able to do that. Check
    all the boxes provided and hit “Next” to
    continue.
    4. Lastly, the setup wizard will ask you what
    name you want to give the setup
    application you just created. Enter a name
    desired and hit the “Finish” button.
    5. The wizard will go through and create the
    installer for you. Once done, it will display a
    report telling you the location of the
    installer that looks like this:
    You will have the option of saving this
    displayed report if you need to. If not, hit
    close to finish the setup.
    6. Navigate to the directory specified in the
    report above, where your installer was
    created, here is what you will see.
    7. Zip up everything you see in that directory
    into a zip file. This is the installer that you
    distribute to your users by either allowing
    them to download it from your website or
    by burning it to a CD and mailing it to them.
    They will have to run the “setup.exe” file to
    begin the installation.
     
Tags / Keywords: