I have the following code which works fine in XP but not in windows 7:
What do I need to change to make it run in Windows 7? And if I change it, will it then work in XP? Or will I have to have 2 seperate functions, one for Windows 7 users, and one for XP users (not a massive problem, I already have a table which Identifies the computer, I'd just need to manually state whether the computer is Win7 or XP).
Obviosuly one size fits all answer is preferable!
Code:
ChDrive [tboxdrive] Dim openfolder As String openfolder = "explorer.exe " & [tboxdrive] & [tboxfolderpath] & "\" & [CustomerSelect] & "\" & [Site] & " - " & [tboxjobno] Shell (openfolder)
Obviosuly one size fits all answer is preferable!
Comment