Topics Topics Help/Instructions Help Edit Profile Profile Member List Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  
Randem Systems Support Board * VBSourceTrace - Wish List * Support for UserControls and Conditional compilation < Previous Next >

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this 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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Hi Randem,

So far, it seems that it's working perfectly now.
Thanks.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.

application/zipConditional Compile Statements / WithEvents Definitions
VBSourceTrace.zip (174.1 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Ok, I will take a look and let you know what I see and can do.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

application/x-compressedProject1
p1.zip (0.9 k)
application/x-compressedProject 1 with code added
p1st.zip (1.0 k)
application/x-compressedProject 2
p2.zip (0.9 k)
application/x-compressedProject 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)
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

OK
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration