hexagon logo

PC-DMIS form display problem

Greetings,

I am very new to PC-DMIS and not a quality personnel, so please excuse me if I ask something very basic.

I am asked to automate our measurements in various ways and I have a good experience in using visual basic. We are using software version 2010 MR3 (as i remember, it's on another site so I couldn't double check) and I have experienced a problem with using forms, I create a form and save it with no problem, but in a sample program to test this, the program runs and ends without displaying the form (I did put the syntax to call the form). Maybe it flashes and continues on to execute without waiting for user input, I'm totally stuck here and I couldn't find any information online. I'm hoping someone can help me.

Best Regards,
Parents
  • Hello;

    The DMIS code is as follows,

    CS1 =BİÇİM/DOSYAADI= C:\USERS\KULLANICI.ADI\DESKTOP\FORM1.FORM
    PARAM/=
    BİÇİMBİTİŞ/

    And as i said, it is in my local language, Turkish. I can translate it to something like;

    CS1 =FORM/FILENAME= C:\USERS\USER.NAME\DESKTOP\FORM1.FORM
    PARAM/=
    ENDFORM/

    And in the EventInitialize subroutine, I added the line: form.visible=true, however, the problem persists. To check if execution enters this procedure at all, I made a syntax error by typing another line "asdf", and did not get an error, leading me to think that the sub is not called.

    Any help will be much appreciated.

    Thanks in advance,
Reply
  • Hello;

    The DMIS code is as follows,

    CS1 =BİÇİM/DOSYAADI= C:\USERS\KULLANICI.ADI\DESKTOP\FORM1.FORM
    PARAM/=
    BİÇİMBİTİŞ/

    And as i said, it is in my local language, Turkish. I can translate it to something like;

    CS1 =FORM/FILENAME= C:\USERS\USER.NAME\DESKTOP\FORM1.FORM
    PARAM/=
    ENDFORM/

    And in the EventInitialize subroutine, I added the line: form.visible=true, however, the problem persists. To check if execution enters this procedure at all, I made a syntax error by typing another line "asdf", and did not get an error, leading me to think that the sub is not called.

    Any help will be much appreciated.

    Thanks in advance,
Children
No Data