Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Error messages displayed only when run from network drive not locally

Error messages displayed only when run from network drive not locally

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasecomsysadmindebugging
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    svanwass
    wrote on last edited by
    #1

    My app displays the following two error messages. I have an unhandled exception sub to catch these, but its displayed anyways. When run locally (both as build or debug), I see no error messages. Am I missing some sort of .Net configuration? 1st[^] This is a result of running:

        Try
            Dim HowManyCities As Integer = SQLCount("SELECT Count(LCF\_Info\_Market) FROM " + cboMarket.SelectedItem.ToString, Database)
            Dim Cities(HowManyCities - 1, 1) As String
            Dim i As Integer
            Cities = GetCities("SELECT LCF\_Info\_Market, LCF\_Info\_Code FROM " + cboMarket.SelectedItem.ToString, Database, HowManyCities)
    
            For i = 0 To Cities.GetUpperBound(0)
                cboCities.Items.Add(Cities(i, 0))
            Next
            PopulateCodes()
        Catch e As Exception
            MsgBox(e.ToString)
        End Try
    

    2nd[^] This error is simply from:

    Application.Exit()

    :doh:

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups