Hi, In the forum, there is an amazing specimen, a PDF Viewer (File Browser *. Pdf in Access). There is possibility of pressing the button to "open" a specific folder eg the C :/ Orders; __________________ Regards, Chris
Hi Just! identified the function with the following name and deleted everything by adding a command line. Public Function FolderBrowserDialog () As String FolderBrowserDialog = "C: \ Orders" End Function With Regards Nikos D.
11.03.12, 00:20
Code: Option Explicit Private Const MyPC = 16 & Private Const ShOptions = 65 & Public Function FolderBrowserDialog () As String Dim oShell As Object Dim oFolder As Object Set oShell descargar videos youtube = CreateObject ("Shell.Application") Set oFolder = oShell.BrowseForFolder (_ 0, "Choose File ..." & vbLf, ShOptions, MyPC) If Not oFolder Is Nothing Then FolderBrowserDialog = oFolder.Self.Path End If Set oFolder = Nothing Set oShell = Nothing End Function And the form:
Code: Private Sub Test () Dim thePath As String StartHere: thePath = FolderBrowserDialog If thePath descargar videos youtube <> vbNullString Then If Left (thePath, 2) = "::" Then MsgBox "Please select a valid path!", VbExclamation, "Warning! " GoTo StartHere End If If Right (thePath, descargar videos youtube 1) <> "\" Then thePath = thePath & "\" MsgBox thePath End If End Sub Good luck! Tasos __________________ Ms-Office Development Team Development descargar videos youtube professional applications in VB.Net, Access, Excel, Outlook, Word
Tassos this is the code from the sample!. The challenge is I press the button and load the pdf located within the folder eg C: \ Orders (which I will make) __________________ Regards, Chris
Software Version Office: Ms-Office 2007
You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On Mode [IMG] code is On HTML code is Off Trackbacks are Off Pingbacks are Off Refbacks are Off Forum Rules Similar Threads Thread Thread Starter Forum Replies Last Post Access Document descargar videos youtube Viewer Ms-Office-Development Team Access - Questions / Answers 2 10-11-09 13:36 Access Document Viewer descargar videos youtube Tassos Access - Questions / Answers 0 19/07/09 17:00
No comments:
Post a Comment