| Author |
Message |
   
sebastian
New member Username: sebastian
Post Number: 5 Registered: 03-2011
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, March 28, 2011 - 08:50 am: |
|
Hi Randem, So far, it seems that it's working perfectly now. Thanks. |
   
randem
Moderator Username: randem
Post Number: 1828 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Sunday, March 27, 2011 - 10:18 pm: |
|
Here is a fix for the conditional compilation statements and WithEvents Definitions. See how this works for you. Just replace the exe with this one.
|
   
randem
Moderator Username: randem
Post Number: 1826 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Sunday, March 27, 2011 - 10:05 am: |
|
Ok, I will take a look and let you know what I see and can do. |
   
sebastian
New member Username: sebastian
Post Number: 4 Registered: 03-2011
Rating: N/A Votes: 0 (Vote!) | | Posted on Sunday, March 27, 2011 - 08:10 am: |
|
Project 1 with code added p1st.zip (1.0 k) |
Project 2 with code added p2st.zip (1.0 k) | Hello Randem: I found two problems. 1) See it in Project 1, the conditional compilation variable cVersionX is set to 0 (go to the project menú -Make- to see it). But VST adds the pre-code as it was set to 1. 2) See it in Project 2. It adds a pre-code after the declaration 'Private WithEvents mImage1 As Image'. PD: I saw that the latest version works with UserControls, many thanks for your work. Regards. (Message edited by sebastian on March 27, 2011) |
   
sebastian
New member Username: sebastian
Post Number: 3 Registered: 03-2011
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 22, 2011 - 12:09 am: |
|
OK |
   
randem
Moderator Username: randem
Post Number: 1805 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, March 21, 2011 - 03:35 pm: |
|
Yes, sometimes it is in the coders style that may throw the VBSourceTrace off. that is why I asked for a module that you saw the problem with. When you find one that has the issue please send it to me so that I can verify and fix it. |
   
sebastian
New member Username: sebastian
Post Number: 2 Registered: 03-2011
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, March 21, 2011 - 04:25 am: |
|
Hello: I made a new simple project with a conditional compilation variable and it worked fine. I should test it with my real project, and try to isolate the situation. I also remember that there was some problem with the events declarations such as: Public Event EventName (SomeArgument as Boolean)... As I said, I should test it with my real project because with a very simple sample that I just wrote, there was no problem conditional compilation and with an Event declaration either. But I have a lot of work to do right now... Thanks Randem. |
   
randem
Moderator Username: randem
Post Number: 1800 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Saturday, March 19, 2011 - 07:38 pm: |
|
User Controls support has been added in the new version that was just released. Visit the download page at VBSourceTrace for Version 2.1 Build 0 If you could supply a module or two with those conditional statements we can begin work on that also to get you working. |
   
randem
Moderator Username: randem
Post Number: 1797 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Friday, March 18, 2011 - 10:01 am: |
|
Aloha Sebastian, If you could supply a control module and a module or two with such conditional statements in them we could look at them and find a solution for you. Please zip them before posting. |
   
sebastian
New member Username: sebastian
Post Number: 1 Registered: 03-2011
Rating: N/A Votes: 0 (Vote!) | | Posted on Friday, March 18, 2011 - 02:45 am: |
|
Hello: I've used your tool a few times, it was useful to find run time bugs, but I faced two important problems: The UserControls are ignored by the tool, and I frequently need to find such elusive errors in an ActiveX Control that has an UserControl (that is subclassed), so I face this strong limitation. I also have conditional compilation statements, such as #If Condition Then, #Else, #End If And the tool interprets some statements as a new procedure. Regards. |