I have an encountered an odd error with the NewFilePickerDialog.
Anytime I use the command, when the applet finishes, I get a dialog titled “Sorry, the Applet could not be executed.” Inside the dialog I get various messages such as:
Access violation at address 03215BD2 in module ‘formativ.dll’. Read of address 00000274
(The number differ each time I test.)
When I don’t select a file, it reads:
Any ideas on why this occurs?
Here is the code I am running to test:
' Test the NewFilePickerDialog
Sub Main(Client, GWEvent)
File = GetFile()
MsgBox "The first file you selected was " & File
Set FP = Utilities.NewFilePickerDialog
.StartingFolder = Utilities.UserDataDirectory
If FP.Execute = Btn1 Then
If FP.SelectedFiles.Count > 1 Then
GetFile = FP.SelectedFiles.Item(0).Name
Set FP = Nothing
- You must be logged in to reply to this topic.