Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.
General Declarations ''''''''''''''''' Private Const SW_SHOWNORMAL = 0.75 Private Const SW_CLOSE = True Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _ ByVal lpParameters As String, ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long '''''''''''''''' Form Activate '=== Put in the routine to display the PDF file ================================== 'Note: the PassString(6) carries the directory path and name of the previously ' saved PDF file ShellExecute Me.hwnd, "open", PassString(6), vbNullString, _ vbNullString, SW_SHOWNORMAL 'Note: The above code seems to work fine. '====================================================================== This is my attempt to close the file so that when Form Unload ShellExecute Me.hwnd, "close", PassString(6), vbNullString, vbNullString, 1 ' Note: the code executes but the PDF file is not closed, it just moves down to ' the task bar at bottom of screen
|How to debug this code||7||61|
|"This column type cannot be filtered" - Sharepoint 2010||3||91|
|i want to change the ADD_CAR table available to true and import the data to RETURN table. now the problem is the data can import into RETURN table but the ADD_CAR table the available still not change||8||60|
|Install both Office 2010 and 2013||4||35|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
19 Experts available now in Live!