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. Database & SysAdmin
  3. Database
  4. Common Dialog Object Reference...

Common Dialog Object Reference...

Scheduled Pinned Locked Moved Database
helpquestion
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.
  • N Offline
    N Offline
    new_phoenix
    wrote on last edited by
    #1

    Could somebody kindly tell me what the object reference in Microsoft Access is for the Common Dialog box for the Open File Dialog? The code that I have is as follows:

    Private Sub cmdOutputFilePath_Click()
    'The error message is a compiler error stating 'User-defined type not defined'

    Dim dlgLoadOutputFilePath As FileDialog
    Set dlgLoadOutputFilePath = Application.FileDialog( \_
        FileDialogType:=msoFileDialogOpen)
    With dlgLoadOutputFilePath
        .AllowMultiSelect = False
        .Show
    

    End With

    If txtInputFilePath.Value = Null Then
        txtOutputFilePath = ""
        txtInputFilePath.SetFocus
    Else
        prgProgressBar.Value = 20
        txtMessageBoxText.SetFocus
        txtMessageBoxText.Text = ""
    End If
    

    End Sub

    :confused::confused::confused:

    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