Front Ends...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Front Ends...

    Hey all. I have downloaded the standard DMIS front end from the Wilcox script repository http://www.wilcoxassoc.com/perl/secu...trepository.pl and I can see how helpful this will be for the other guys here.
    I was wondering, is there anywhere else that has front end downloads & other scripts?
    Recently jumped from 3.5 Mr 2 CAD
    to 2012 CAD++

  • #2
    I've made my own. The repository is not a bad place to start for examples but it is old. The architecture is very basic and it is VB5/6 so if you are .net some things will be very different than what is in the repository. Like I said it is a good start though.

    Craig
    <internet bumper sticker goes here>

    Comment


    • #3
      Originally posted by craiger_ny
      I've made my own. The repository is not a bad place to start for examples but it is old. The architecture is very basic and it is VB5/6 so if you are .net some things will be very different than what is in the repository. Like I said it is a good start though.

      Craig
      Craiger, is there any chance of seeing it?
      Recently jumped from 3.5 Mr 2 CAD
      to 2012 CAD++

      Comment


      • #4
        OH, GROSS!
        Sorry.
        sigpic
        Originally posted by AndersI
        I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

        Comment


        • #5
          Originally posted by Matthew D. Hoedeman
          OH, GROSS!
          Sorry.
          lol



          edit.
          Last edited by \v/inston; 09-21-2006, 08:18 AM.

          Comment


          • #6
            Sure here is a screen shot. Essentially what happens is when you launch it I search my part programs directory and populate a dropdown with all of the part programs in that directory (after removing the .prg extension). The operator selects a part from the drop down. When a part is selected it goes to the set up instructions tab and looks for a .jpg with the same name as the part program (there can be multiple .jps I added button to scroll through the pictures). I also fill a text box with set up instructions that are in a text file with the same name as the prg. The operator executes the program he selects and PCDMIS generates a .rtf report. Upon completion of execution my front end picks up the .rtf and displays it in an .rtf box so the operator sees the same report he'd see with PCDMIS but never sees PCDMIS. If you'd like to see code let me know. It is my first automation application so I am sure my code is a mess to someone that is astute in VB but this app works well.

            http://i58.photobucket.com/albums/g2.../FrontEnd1.png

            http://i58.photobucket.com/albums/g2.../FrontEnd2.png
            <internet bumper sticker goes here>

            Comment


            • #7
              YOU GUYS!!!

              I'd love to see some code if thats OK Craiger. It looks great. Hopefullty If I look at the code for long enough I may be able to gain some knowledge.

              Cheers.




              F.
              Recently jumped from 3.5 Mr 2 CAD
              to 2012 CAD++

              Comment


              • #8
                Where is my Rep button????
                Links to my utilities for PCDMIS

                Comment


                • #9
                  Craig,
                  Do you keep PCDMIS hidden? (silent)
                  How does it handle faults?
                  What about marked sets? I could never figure out how to start a program with a particular marked set being used(without saving as different programs)

                  Very Very Cool!!
                  Links to my utilities for PCDMIS

                  Comment


                  • #10
                    It works pretty good. Reps to Craig How did you get your logo up on top. I didn't think of that?
                    PCDmis 3.5mr2 CAD++

                    Comment


                    • #11
                      Under my file menu I have an "administrator" selection that brings up a log on. After logging on I bring up an "administrator" form where you can change settings. One of the settings is a "Show PCDMIS" check box. It basically toggles the PCDMIS.Visible booleen between true and false. PM me your e-mail addy and I'll send you the code. It is VB.net and can not be migrated to VB5/6. You will need the .net framework on what ever PC you run it on but if you use VB.net you know that. If you'd like raw code only (not the VB project) I can put it in a text file for you. It can not even as raw code be run in VB 5/6 (that includes VBA) the laguage diferences from VB 5/6 to VB.net are huge in some important instances. I like .net to be honest. Like I said my code is messy in my opinion because I am new to this but I am willing to share and welcome feedback.

                      http://i58.photobucket.com/albums/g2...r_ny/LogOn.png

                      http://i58.photobucket.com/albums/g2...inistrator.png

                      BTW I removed the logo from what I sent you other guys. It is a picture box in one instance and an icon in another (I am not sure which one you are refering to).

                      Craig
                      <internet bumper sticker goes here>

                      Comment


                      • #12
                        Originally posted by cmmguy
                        Craig,
                        Do you keep PCDMIS hidden? (silent)
                        How does it handle faults?
                        What about marked sets? I could never figure out how to start a program with a particular marked set being used(without saving as different programs)

                        Very Very Cool!!
                        Oh yeah I have not tried marked sets. I can't find anything in PCDMIS's documentation about it. I use marked sets on one of my machines in operator mode but I don't think you can automate it.

                        I didn't address faults in my VB app. The execute options dialog is present and useable to the operator even when PCDMIS is not visible so the Stop, Cancel, Resume etc buttons are available to the operator. That is a nice feature with the automation. At first I thought that would not be available so I was beating myself up trying to figure out how I was going to script a pause and resume and cancel function. If PCDMIS encounters a false hit crash or no hit where there should be one the dialog box is right there just as it is when you run a program in the PCDMIS environment.

                        One word of warning is if you recall view sets or have view sets defined you might run into trouble. This runs PCDMIS as if the graphics screen is minimized which causes the program to stop when it reaches the view set call, it stops without an error. It is like when you program an infinite loop, it just hangs there. You can't use view sets with this.

                        I am trying to make this as operator friendly as I can, next I'm going to add a print button for printing the report so if anyone does that let me know.

                        If I get around to reorganizing it I'll let you know. I use a text file as a file for containing my application settings. I read from that file when this app is launched to get my search paths and other settings. I know this is a rookie way of doing things so if anyone has a more advanced, even encrypted way (I have just started to look at encryption with VB) of doing it please share. I am sharing this to improve it, like freeware. A lot of the stuff in the repository is built into an msi so you don't know what code was used in writing it, this is open for everyone. Maybe someday I'll be sorry, maybe not.

                        Craig
                        Last edited by craiger_ny; 09-21-2006, 07:41 PM.
                        <internet bumper sticker goes here>

                        Comment

                        Related Topics

                        Collapse

                        Working...
                        X