Changes to checkbox not recognized

I am attempting to write a code that will load a .dat file into DIAdem, then save that file as an .xls (excel) file.  My problem is that the checkboxes do not seem to be recognized in further lines of the code.  The BenTest.sud file simply brings up a dialog box with two checkboxes (both initially unchecked).  The green portion works fine, the error occurs in the red line, and the error message is shown below in red.  The red line is simply a troubleshooting line of code to determine the boolean value of the checkbox.
Call DataLoadHdFile("C:\Data\Testing\BensTest\processed 1_COMPASS NCAP 060816_DIAdemHeader_BINARY.dat")
Call DataLoad("C:\Data\Testing\BensTest\processed 1_COMPASS NCAP 060816_DIAdemHeader_BINARY.dat")
Call SUDDlgShow("BensDialog", "C:\Data_Processing_DiaDem10\Aut\BenTest.sud")
MsgBox("CVSCheckBox:  " & ExcelCheckBox.Value)
if ExcelCheckBox_ = 1 then
  Call ExcelExport(, , 1)
else if CSVCheckBox_ = true then
  MsgBox("CSV checkbox selected.")
else
  MsgBox("No Conversions Selected.")
end if
end if
Error Message
Object Required: 'ExcelCheckBox'

Hello CrshTstr!
You have to know that the DIAdem and the SUD Scripts are completly separated. The DIAdem script will not know any of your SUD controls (BTW: the controls will be destroyed after the SudDlgShow) !
The solution is to copy the values to DIAdem variables in the SUD Dialog Terminate event or to connect the control with a variable . For Example: Sub Dialog_EventTerminate()
Dim This : Set This = Dialog
L1 = ExcelCheckBox.Value
End Sub
Than you can use L1 in your DIAdem script. It is a good practice to use the DlgState variable to recognize if the user had canceled the dialog.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  

Similar Messages

  • HT202274 Password change old password not recognized after 10.9.5 upgrade

    God bless you, peace.
    macbook pro 2012 user password not recognized after 10.9.4 too 10.9.5 upgrade plus tech work at apple.
    I want to change user password, it is allowing me to get into user account and admin account on computer but I recently changed it for the tech work to be done. I would like to put the password back now to old password or a new one but... The few days old new password pre update and pre tech work is not being accepted to allow me to change to another password.
    recent update, after 10.9.4 to 10.9.5 update and apple tech work done.
    1. Tech work replaced optical drive,
    2. 10.9.4 to 10.9.5 upgrade left computer endlessly booting up, then got into finder window tried to read backup drive and screen went to black curser and could not backup information as techs decided may need to be done before I left it with them.
    3. Also track pad was not (is not again) selecting text to drag unless real hard press and then only intermittently would select text or just drop the selection (not hold the selected text after a long scroll select, did work at first after tech work but back to not working). It is still not responding easily when pressed, but it is much better, as they did something with software they said. Today While typing this I am trying to select words misspelled and it does not select them unless I press not as hard it is becoming the same as before I see now, sometimes less pressure is needed but more than should be used.
    I noticed today after tech work The Spell check is not responding with a two finger tap on the red underlined misspelled words without multiple try's with two finger tap. The curser moves around after selecting words also, or when selecting words so hard the curser moves to another place not on the desired words or check box. The curser arrow tip should select the word but it does not recognize unless I put the tail of the arrow onto the word then it recognizes the misspelled word for spell check on two finger gesture.
    It looks like I need to take it back, I tried to call and check to confirm if the track pad intermittently and curser adjustment was serviced. In order to verify I had called three times to get that information to no avail. endless looped in the phone que, one would answer take info and then forward me to a endless loop dial ing phone that never was picked up, supposedly at the Bay street store tech section. Phone voice mail from apple support status on the repair, ...Juliano from Bay Street Apple repair store Emeryville, ca left a voice message... just generically said optical drive replacement is successfulI, I noticed right away three items were to be addressed but only the optical drive was mentioned, so I called three times to try and verify the other problems. One whole minute just to select this text and copy it to notes for a backup. It would not select at first, then after selected it would not copy it, then it would not paste to notes, it paste the last cut and paste I did 10 minutes ago.
    I do not have a easy excellent wifi connection for my wifi only phone and would prefer email or chat for repair help. apple Repair No: R142180337

    Try running the combo update. It fixes more files/data than the App Store upgrade.
    10.9.2

  • TS3694 My Ipod is not recognized by Itunes with my Windows 8 PC. Works fine with Windows 7 PC. Device sync test says "No device found". Already performed all of the Ipod device troubleshooting including reload Itunes, stop start Ipod device, changed drive

    Need help? Some of my Ipods are not recognized by Itunes with my Windows 8 PC. (Ipod Nano 4th gen  and Ipod Nano 6th gen), but on my Windows 7 PC, they work fine.  My Ipod 3rd gen and Ipod shuffle work both on Windows 8 and 7 PC's.  On the non-working Ipods, the  Device sync test says "No device found". Already performed all of the Ipod device troubleshooting including reload Itunes, stop start Ipod device, changed drive letter...
    any help is appreciated. Chris4sail

    Hello there, chris4sail.
    The following Knowledge Base article offers up some great step-by-step instructions on troubleshooting your iPod not being recognized in iTunes:
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/ts1369
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • My ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    my ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    Wow the customer service is even worse. Does Apple want me to go around jailbreaking my iPod now so I can use something that actually recognizes my product?

  • Ipod 7th generation. bought it 3 days ago. no problem then but now won't turn on. I keep getting a usb device not recognized (and i keep changing ports to no avail). what to do?

    ipod 7th generation. bought it 3 days ago. no problem then but now won't turn on. I keep getting a usb device not recognized (and i keep changing ports to no avail). what to do?

    wish i can rmber how mine was fixed i think i just waited tried again and likr magic it worked again left itunplugged, i was like you recently boughtand it happened to me, now i have another diffrent promblem with it.

  • My iSight is not recognized by my mac, even in the picture changing of my profile. Can anyone help?

    My iSight is not recognized by my mac, even in the picture changing of my profile. Can anyone help?

    http://discussions.apple.com/docs/DOC-6431

  • I changed internet providers and email accounts.  I have managed to set up a new Apple ID but my I-phone is not recognizing it.

    I recently changed internet providers and thus had to set up a new email account.  I managed to change my Apple ID but my I-phone 4S is not recognizing it.  It still brings up the old user ID.  I am also unable to retrieve Windows Mail (also wants old info)  I synced my phone.  What else can I do?

    cjm2004 wrote:
    ....  Do I have to set up a new apple id?
    No.
    Contact iTunes Customer Service and request assistance with your issue.
    Apple  Support  iTunes Store  Contact Us

  • When I try to send an email with photo attachment to a contact a screen appears stating "the sender name is not recognized by the server " what do I need to change so this will not happen in the future. I am a novice!!!!!

    When I try to send an email with photo attachment on my iPad a screen appears which states " the sender is not recognized by the server" . What do I have to change so I can always send emails fr om my iPad with or without attachments. I am a novice!!!!!!

    If you purchased about 2 years ago new I am sure it is a Intel iMac. To find out what type of iMac you have just click on the Apple menu item in the finder and select about this Mac. I would check the ISP mail site and get the correct outgoing mail server info.   

  • Changes are not recognized

    hi
    i am using JDeveloper 11g ADF web
    i have made some changes on the Java file but it is not recognizing it, it is like i haven't done anyhting. and when i put a break point it is ignoring the lines i have wrote.
    i have tried to erase the classes and recompile i also restarted my computer.
    i have also removed the break point and recompile and run again
    but no use
    please it is so urgent

    Dunno then, I guess I'd start checking the obvious stuff, such as "Am I changing the code that I am running?" - I've been known to edit a file in a different JDev project and get myself messed up on silly errors before.
    john

  • I'm running V10.6.8 and the system is not recognizing a San Disc adapter that I plug into the side of the keyboard. This always worked in the past. Whats changed?

    I'm running V10.6.8 and the system is not recognizing the presence of a San Disc (SDHC) adapter that I plug into the left side of the keyboard. This always worked in the past. Whats changed? I can't upload my images to a folder.

    Another item I'd found when getting an SD card for an older camera was the lack of backward support from the SD card if it was too new, while a newer camera can sometimes use an older SD card at a slower read-write speed. There are limits and ceilings on what kind of card works with old/new stuff.
    So I ended up taking a nice SD card back to one store and had to settle on a 'walmart kinda dubious kingston two pack a cure' for the older Panasonic Lumix. Smaller capacity but seems to work OK for the era. I don't trust kingston with macs, but this 10 y/o Lumix seems to not care about that.
    Hopefully you can obtain the correct cards, because some stores only sell parts for their inventory of cameras. And some adapters are limited too.
    Depending on what I'm doing with the card and the camera it goes with, I attach the camera to the computer and not just the card in a reader. That way I can file items inside the camera SD card in a way the camera won't overwrite them. Later when I save everything from the card into an external hard disk drive, all my filed folders of images by date (I created in the SD) appear in order, in the later archive. Easier too, when I burn to DVD or CD media, to create yet another archive away from the computer or the camera.
    Good luck & happy computing!

  • Extractor (Delta) not recognizing a change when field is set back to blank

    Good Day Experts,
    Any pointers on the issue below will be appreciated:
    I have a Delta extractor which picks up the value from a field in ECC when the field is changed. When I initially assign date value, extractor picks up the change and everything works. 
    However, when I change the field in ECC back to blank, the extractor is not recognizing this as a change and hence it does not bring the new value into BI... so my master data in BI still the "old" value, even though the value has actually changed.
    Please let me know if you would like me to clarify...
    Cheers and Thank You,
    Dmitriy

    Hi....
    Here you have mentioned that Delta extractor which picks up the value from a field in ECC when the field is changed...........is it a date field ? or time stamp.....
    Unfortunately I can't check this datasource in my system.....
    But when delta is coming based on this field..........if this field is blank then obviously delta will not get captured.........why this field in ECC is not getting updated ?
    Regards,
    Debjani......

  • I just changed my password in youtube account and now it is not recognizing the new password can someone help?

    I just changed my password in youtube account and now it is not recognizing the new password can someone help?

    Well, mobile me was elimated over the summer.
    http://www.apple.com/support/mobileme/

  • IPod Touch Passcode Change Not Recognized

    I changed my passcode lock, even noted it down so I wouldn't forget it, and now the passcode is not recognized. I tried using the old passcode just in case the new one hadn't been saved, and that isn't recognized either. Itried powering down. So now, I can't get into my iPod and I really don't want to do a full reset. Any ideas?

    There really aren't any other options at this point except to connect the iPod to your syncing computer and restore it.
    B-rock

  • HT1369 I updated itunes now my ipod or phone wont sync devices not recognized by itune. windows 8 sees the device  what changed?

    How do I get Itunes to recognize my devices? i5S and ipods have been synced to this pc prior to Friday's itunes update.
    if I uninstall and reinstall itunes will my backups and library be lost?

    Hi meccamark,
    If you are having issues with your iOS devices not being recognized by iTunes on your Windows machine, you may find the following article helpful:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Regards,
    - Brenden

  • TS1410 My IPod nano 7th generation all of sudden is not recognized by ITunes. I have tried every step provided by Apple on how to change this and nothing works. Please someone help!!

    For some reason my IPod nano 7th generation is not recognized by ITunes. It has recognized it up until today. I have followed every step that is provided for troubleshooting and nothing is working. Does anyone have any suggestions?

    Hello sipsy12,
    Thanks for using Apple Support Communities.
    For more information, take a look at:
    iPod nano not appearing in iTunes
    http://www.apple.com/support/ipodnano/assistant/itunes/
    iPod: Appears in Windows but not in iTunes
    http://support.apple.com/kb/TS1363
    Have a nice day,
    Mario

Maybe you are looking for