Results 1 to 20 of 20

Thread: anyone wants to test a little app for me...

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    anyone wants to test a little app for me...

    It's supposed to load a vs.net solution file (2002 or 2003) into a treeview control. I just want people to load different solutions with it and check to see if everything that's showing in the treeview is right. I expect a lot of bugs

    When you run the program, click on File, then Import Solution File. Other things in the app dont work...

    update: should work with namespaces + interfaces
    any kind testers?
    Last edited by MrPolite; Jan 16th, 2004 at 03:35 PM.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    looks like this
    I also wnat to check for the correct icons (ie, a protected function has a different icon from a public function)


    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  3. #3
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    In Build HTML Documentation Browse button does not work, and if 'Build' faces a problem, the progress bar remains at the position it was.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  4. #4

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Lunatic3
    In Build HTML Documentation Browse button does not work, and 'Build' faces a problem, the progress bar remains at the position it was.
    umm yeah, only use the Import menu... other things dont work now. I'm just trying to make sure it can load a solution file

    umm another problem that I found: I forgot to add support for Interfaces so it doesnt detect any interfaces right now... fixing that
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  5. #5
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    If a soultion contains a setup project it just shows the name of the setup project and nothing else from that project. Is that by desing?
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  6. #6

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Lunatic3
    If a soultion contains a setup project it just shows the name of the setup project and nothing else from that project. Is that by desing?
    hmm I never even thought of a setup project hehe

    If you have a setup project, in vs.net click on View/Class View. I tried it with a blank setup project and the classview is empty (makes sense because it doesnt have any objects in it I guess). My app is supposed to show the items as they would appear in the ClassView of the visual studio (at least similar to it).

    My app detects the following items:
    Solutions
    Projects
    Namespaces (doesnt work at the moment but detects them)
    Classes
    Modules
    Structures
    Variable Declarations
    Properties
    Subs/Functions
    Events
    Delegates
    Enums (and the declarations inside it)
    Interfaces (just added this, have to download the file again from the first post)


    I guess none of the above is to be found in a setup project becuase setup projects dont have code (I think this is the case, right?)

    anyways, is there anything else that I should add to that list? am I missing anything?


    umm bunch of problems right now:
    -doesnt add the namespaces correctly
    -doesnt work with multiline definitions (if you have a "_" at the end of the line and you continue your code on another line)
    Last edited by MrPolite; Jan 15th, 2004 at 10:56 PM.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  7. #7

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    works with namespaces now
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  8. #8
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    It doesn't do Events or at least doesn't show the name in the treeview although the actual info does show in the form (on the right).

    Correction it works fine if you declare the event like a method (i.e Public Event OnSomething(ByVal sender As Object, ByVal e As System.EventArgs)) but not if you declare the event as a delegate, the same way you would in C# (i.e. Public Event OnSomething As EventHandler).

  9. #9

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Edneeis
    It doesn't do Events or at least doesn't show the name in the treeview although the actual info does show in the form (on the right).
    hmm can you give me the line of code for that/


    and by even, you mean an event declaration (like Event someEvent?) or and event handler?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  10. #10
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Here is what I mean:


  11. #11

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Edneeis
    Here is what I mean:

    Thanks, that;s a result of my dumbness I didnt even know you can declare an event like that I'll try to fix it
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  12. #12

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    aah btw I uploaded the wrong file (or for some reason the file didnt get updated when I edited the post ).. thsi is newer, lotsa things fixed... download this
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  13. #13
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    It also doesn't show inherited items that are not overridden. Also the treeview will let you edit the text of the nodes, its not set to read-only.

    Also I have a solution with over 40 classes in it, but I can't upload it. It has 3 projects the most 1 project has is about 25 classes. It loads fine though and I like the new one with the namespaces.

  14. #14

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Edneeis
    It also doesn't show inherited items that are not overridden. Also the treeview will let you edit the text of the nodes, its not set to read-only.
    umm yeah I didnt make it readonly on purpose... in case you want to change/edit something


    what do you mean by inherited items though?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  15. #15
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    For instance view this class:
    VB Code:
    1. Public Class ClickableToolbarButton
    2.     Inherits ToolBarButton
    3.  
    4.     Private _ClickHandler As EventHandler
    5.  
    6.     Public Property ClickHandler() As EventHandler
    7.         Get
    8.             Return _ClickHandler
    9.         End Get
    10.         Set(ByVal Value As EventHandler)
    11.             _ClickHandler = Value
    12.         End Set
    13.     End Property
    14.  
    15.     Public Sub New()
    16.         MyBase.new()
    17.     End Sub
    18.  
    19.     Public Sub New(ByVal text As String, ByVal clickHandler As EventHandler)
    20.         MyBase.new(text)
    21.         _ClickHandler = clickHandler
    22.     End Sub
    23.  
    24. End Class

    It doesn't show any of the properties it inherits from the Toolbar class. Although in another class I inherit but override a lot of the methods and the ones I override do actually show up but the others don't.

  16. #16

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    I fixed the issue with the Event declaration (will upload it later)

    damn I can find no way to fix the inheritance though
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  17. #17
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Are you just parsing the text to get the info? Or are you using the CodeDom object?

    If the items were already compiled you could use reflection to get the info easily enough.

  18. #18

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Edneeis
    Are you just parsing the text to get the info? Or are you using the CodeDom object?

    If the items were already compiled you could use reflection to get the info easily enough.
    hehehe I'm just reading the files line by line... what the heck is codeDomyou're proving me more dumb that I considered myself dont tell me there is a way to do all these without reading the code line by line
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  19. #19
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I've only seen the CodeDom used in add-ins and macros but it works kind of like the XMLDom. You can AddMethods via a method and it writes the method for you sort of. Actually I don't know much about it, see I'm just as dumb as you are.

    Actually reading some of the help file article 'Using the CodeDOM' it seems that the CodeDOM is used to create the code not to convert code into an object model.

  20. #20

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Edneeis
    I've only seen the CodeDom used in add-ins and macros but it works kind of like the XMLDom. You can AddMethods via a method and it writes the method for you sort of. Actually I don't know much about it, see I'm just as dumb as you are.

    Actually reading some of the help file article 'Using the CodeDOM' it seems that the CodeDOM is used to create the code not to convert code into an object model.


    umm it'd be hard to add the inherited items, specially if they don't inherit from a class that's included in the project. I'll think of something anyways, thanks for noticing
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width