DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Active x change from 10.0 to 11.1

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 

0 Kudos
Message 1 of 4
(4,344 Views)
I think it might just be this laptop, though it is a fresh install of windows xp and diadem 11.1.  The dialog boxes work fine on the windows 2000 pc sitting next to it.  I'll have to explore some more.
0 Kudos
Message 2 of 4
(4,343 Views)

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?  
0 Kudos
Message 3 of 4
(4,338 Views)
and it was myfault for not installing our iso conversion controll software... ooops
0 Kudos
Message 4 of 4
(4,334 Views)