07-02-2009 08:20 AM
I have recently converted my autosequences and SUD routines to work in diadem 11.1 beta. I switched to 11.1 release yesterday and now I am running into an active x issue in one of my sud dialog boxes. It is basically a file browser button that once clicked opens up a file browse window. The error is:
object 'Browse' event 'eventclick' line 10
object required comdlg.x
the script in the sud at line 10 is
comdlg.X.showopen
I didn't write this it works in diadem 10 the whole sud is real simple it opens a dialog box with a text box a browse button and an ok. The selected file location from the browse function is fed into the text box, real simple.
the whole code:
Sub Browse_EventClick()
Dim This : Set This = Browse
' MSCommonDlgAX.X.ShowOpen
' plotfile.Text = MSCommonDlgAX.X.FileName
'Navigator.Display.CurrDataProvider.Browser.Activate()
' MSCommonDlgAX.X.ShowOpen
'plotfile.Text=Navigator.LoadData(Navigator.Display.CurrDataProvider.Browser.SelectedElements)
comdlg.X.showopen
plotfile.Text = comdlg.X.filename
End Sub
Sub OK_EventClick()
Dim This : Set This = OK
plotfile_ = plotfile.Text
End Sub
the commented lines are me playing with it to no avail any help would be appreciated, I have to run with this processing code next tuesday and I really want 11.1 to work with the added injury calculations I have added to my post processing.
Regards
07-02-2009 08:32 AM
07-02-2009 09:48 AM
Hello!
I'm not shure with MS Common Dialogs but MS Common Controls are only installed if MS Office or MS Visual Studio is installed (and some minor other applications).
Matthias
| Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
07-02-2009 12:02 PM