Announcement

Collapse
No announcement yet.

TreeView

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

    TreeView

    Hello to all members!

    This time, after one and a half year, I have to do something with PBDLL 6.0.
    For this reason I have downloaded the EZGUI free Dialog Designer.
    It works very fine and there is much time not spended for creating
    dialog-boxes.
    But, then I had to implement a TreeView-control and the compiler
    crashed trying compile the file.
    So, I tried to create a box, where is only a treeview an nothing else.
    No menubar, no other controls. All options in EZGUI are selected,
    except the Layers-option. The whole skeleton is pastet in a new file.
    But, the compiler hangs while compiling the file.

    Is there someone, who can say me, what I have done wrong?

    best regards to all

    Christian Weilguny
    Vienna/Austria

    ------------------

    #2
    Show us some code!!!!!!!!

    Cheers,
    Cecil

    ------------------

    Comment


      #3
      Originally posted by Cecil Williams:
      Show us some code!!!!!!!!

      Cheers,
      Cecil

      Sorry, Cecil, I cried and PB had it done!
      The compiler hangs, but the .exe file is created.
      I have not believed this!

      When I go to Window/Options/Compiler and check 'Display Results'
      the compiler doesn't hang and displays the results.

      I've forgotten to say, I use W2K pro as OS, may be, that's the
      fact.

      If you think, I can poste the whole code of the 'test.bas' with
      the treeview alone. But it's very long (generated by EZGUI).
      I don't know, what's the opinion of the forum-admin to this.

      Christian Weilguny
      Vienna/Austria

      ------------------

      Comment


        #4
        Christian;

        Email the source code to me and I'll take a look at it !

        mailto:[email protected][email protected]</A>



        ------------------
        Chris Boss
        Computer Workshop
        Developer of "EZGUI"
        http://cwsof.com
        http://twitter.com/EZGUIProGuy

        Comment


          #5
          Christian;

          You can also go to my online forum for discussing my freeware
          tools and post your code there.

          http://ezgui.com/page3.htm

          Click on the link for the forums !


          ------------------
          Chris Boss
          Computer Workshop
          Developer of "EZGUI"
          http://cwsof.com
          http://twitter.com/EZGUIProGuy

          Comment


            #6
            There are no known issues with running any PowerBASIC product under Windows 2000... I use Win2K myself on a daily basis.



            ------------------
            Lance
            PowerBASIC Support
            mailto:[email protected][email protected]</A>
            Lance
            mailto:[email protected]

            Comment


              #7
              Now, in the meantime I have tried something and this is the result:

              PB/DLL compiles correct, but sometimes it 'sleeps' while compiling.
              Maybe half an hour, maybe an hour later I get the result-display
              and the .exe is created correctly.
              I can force the process when I do something like open other apps,
              playing a game or so. Then PB shows the result-display earlier.
              This is not a matter by the TreeView or (I think so) by EZGUI. It
              happen's also without any 'custom control'.
              Before it happened first time I had a wrong classname for the
              TreeView defined (I created it manually in code).
              Maybe, something in system on my computer has crashed at this
              time.

              Now I think not, the code is wrong, because the created .exe
              works fine (sometimes in seconds, sometimes 30 minutes later).

              Tomorrow I can try it on some other machines (NT 4.0 and Win98),
              then I can tell more.

              Thank you for helping me

              best regards

              Christian Weilguny
              Vienna/Austria

              ------------------

              Comment


                #8
                Christian;

                As I explained in my email to you, I tested the app you sent me
                on my WIN95 system and it compiled OK and ran OK.

                Have you considered the possibility that the problem may be the
                result of another app running on your PC which is causing havoc
                for the PB compiler ?

                Programs like AntiVirus software can cause problems when they are
                running in the background. Some AntiVirus software actually checks
                the harddrive , every time an EXE is written to the harddrive (or
                an EXE is modified). I would suspect something like this may be
                happening and when the PB compiler attempts to write the new EXE
                to disk (when compiling), some software running in the background
                is messing things up.

                If there was a problem with the compiler there would have been
                hundreds of reports by now. A good number of PB programmers are
                using WIN2k and they would have found a problem if it existed.

                Likely, if you try to compile your apps on another computer you
                may not experience a problem.



                ------------------
                Chris Boss
                Computer Workshop
                Developer of "EZGUI"
                http://cwsof.com
                http://twitter.com/EZGUIProGuy

                Comment


                  #9
                  Chris, Christian and others...
                  I think this problem (with WIN2K) is reported.
                  I think Semen have mentioned it, and myself have too....
                  In my Win2K it affect UEDIT32, as well as PBDLL/PBCC compiler.
                  I kill the hanging app and logs out and in again.
                  ---
                  I have un-installed Norton antivirus and that did not solve it
                  so I have also un-installed "ZipMagic", and I have not seen the
                  problem since, but it is too soon to ring the "all clear" bell


                  ------------------
                  Fred
                  mailto:[email protected][email protected]</A>
                  http://www.oxenby.se

                  Fred
                  mailto:[email protected][email protected]</A>
                  http://www.oxenby.se

                  Comment


                    #10
                    Originally posted by Chris Boss:
                    Christian;

                    Have you considered the possibility that the problem may be the
                    result of another app running on your PC which is causing havoc
                    for the PB compiler ?

                    Hello Chris!

                    There is no antivirus running on my PC.
                    All other apps running are services (in the tray)
                    The only unusual service is 'NetSupport' from PCI-software,
                    a client for a supportprogram that allows me to control my PC
                    from anywhere (like PC-Anywhere).

                    Best regards

                    Christian Weilguny
                    Vienna/Austria

                    ------------------

                    Comment


                      #11
                      I suggested AntiVirus software could be the problem only because
                      it is a more common app that runs in the background.

                      Any app that runs in the background (even one that is a Tray
                      Icon) can possibly cause problems.

                      It only makes sense that if the majority of PB users don't
                      report a problem, that the problem must be unique to a particular
                      PCs installed apps.

                      Don't under estimate the problems some installed app can cause !

                      In some instances the problem is caused , not by an apps running,
                      but by its mear installation. Some apps modify system wide settings
                      and overwrite operating system DLLs during installation, which can
                      cause problems for other apps later on.

                      An example of an unsuspecting culprit, is your web browser. By installing
                      Plugins, you can change your system. The RealAudio plugin caused
                      problems on my system, since it installed itself as a tray icon app
                      when the PB boots. It caused all sorts of problems for my system and
                      they only disappeared after I uninstalled it.

                      Any background app, including some loaded as drivers can cause
                      problems for Windows. Check your WIN.INI and SYSTEM.INI files for
                      stuff loaded when Windows boots. Check your startup folder. Check
                      apps loaded as Tray Icons. Apps loaded as Tray Icons are not
                      necessarily safe, just because they are tray icons.



                      ------------------
                      Chris Boss
                      Computer Workshop
                      Developer of "EZGUI"
                      http://cwsof.com
                      http://twitter.com/EZGUIProGuy

                      Comment


                        #12
                        Hi Chris!

                        Thanks for your hints about Win.ini, etc.
                        In the meantime I tried it on a NT 4.0 machine 10 or 15 times and
                        it works properly all times.
                        I know, the problem is in the configuration of my PC.
                        Last I've said, it's possible, something crashed with the wrong
                        classname I used at the first time compiling. Now I'll try to
                        reinstall PB. When this not solves the problem I search some other
                        things like your hints and, finally, there is my most famous
                        command: "fdisk" followed by "format c:".
                        After this it WILL work properly.

                        Now, another question: What in detail is the difference between
                        the free Designer and the registered version of EZGUI?
                        Can you tell me some features?

                        Best regards

                        Christian Weilguny
                        Vienna/Austria

                        ------------------

                        Comment


                          #13
                          Regarding compiler "hanging": I have encountered this a few times,
                          while running other 16-bit applications in the background. Could
                          be some 16-32 bit thunking conflict?

                          Exact same thing has also happened after a few severe crasches, when
                          General PF has fired his famous "blue screen death" cannon. Whenever
                          any of this has happened (not often), a reboot of the system has been
                          the only solution. Then all is ok again.


                          ------------------

                          Comment


                            #14
                            I have also encountered compiler "hanging" after moving from NT4 to Win2000.
                            I have no anti virus installed, and no 16 bit apps running (AFAIK).
                            The problem "comes and goes" and one way I've found to "loosen up" is to
                            "start" multiple new compiles (from UEdit), then the problem is gone (for a while...)

                            -p



                            ------------------

                            Comment


                              #15
                              Christian;

                              I'll post a message in the Third Party forum which answers your
                              question about the difference between EZGUI and the Freeware Designer.



                              ------------------
                              Chris Boss
                              Computer Workshop
                              Developer of "EZGUI"
                              http://cwsof.com
                              http://twitter.com/EZGUIProGuy

                              Comment


                                #16
                                I have run into this occiasionally as well. It appears the the VDM is hanging for some reason. I usually kill the VDM process and immediately the completion dialog appears from the compiler. No reboot, or anything required.

                                My system..

                                PB/DLL 6.0
                                UEDIT 32 v8 (linked to command line compiler)
                                Win2k Pro sp1
                                384k RAM


                                ------------------
                                George W. Bleck
                                Senior System Engineer
                                KeySpan Corporation
                                <b>George W. Bleck</b>
                                <img src='http://www.blecktech.com/myemail.gif'>

                                Comment


                                  #17
                                  Originally posted by George Bleck:


                                  the the VDM is hanging for some reason.

                                  Hello George!

                                  In the meanwhile I've seen, if I start compiling, and then start
                                  excel or word or something in this case, the result-window is on
                                  top before I'm able to close the other application.

                                  Best regards
                                  Christian Weilguny
                                  Vienna/Austria


                                  ------------------

                                  Comment

                                  Working...
                                  X
                                  😀
                                  🥰
                                  🤢
                                  😎
                                  😡
                                  👍
                                  👎