Greetings,
I ve used Reflector, but he dont discompiled Vb.NET-Module.
Then I ve looked for, here in this website, I could found this answer

http://www.red-gate.com/MessageBoard/vi ... ght=module

So I hope its possible, but this answer care about MS-Office,
I have a VS-NET 2005 Setup-Project.
Is there any chance with Modules?
CAndrew
0

Comments

9 comments

  • Clive Tong
    Hi.

    Reflector won't be able to decompile a setup project because such a project isn't .NET code - however, once the application has been installed, it should successfully decompile any VB.NET assemblies that you point it at.
    Clive Tong
    0
  • CAndrew1
    Hi,
    (I´m Andrew, have lost my Account so had create a new)

    thanks for your answer. I had installed bevor I posted here. But The reflector show me only Cods of my class. I´m sure I dont understand :"...that you point it at ."
    Can you tell me what I have to "point", what does it means?

    Maybe its a simple thing but I can´t find more options like to choose exe, klick ok button, and then I call again that menu from reflector "explore your decompile.."
    CAndrew1
    0
  • Clive Tong
    From the dialog that is shown by ".NET Reflector/Choose assemblies to debug" you can decompile assemblies that interest you, either by checking the ones which are listed (because they are associated with the current solution you have open), or by using browse to select an arbitary assembly.

    Once they have been decompiled, ".Net Reflector/Explore decompiled assemblies" will show them in the object browser. Note that you may need to change the object browser filter to "All components" to prevent them being filtered out of the view.

    There is a video that might help: http://www.red-gate.com/products/reflec ... eo_pro.htm
    Clive Tong
    0
  • CAndrew
    I can handle the reflector, the problems are the modules.
    CAndrew
    0
  • CAndrew
    I like to repeat my Question. Is there any chance to get back Vb.Net - Code who was wrote in Modules instead of class?
    CAndrew
    0
  • Clive Tong
    What type of project are you looking at in Reflector?

    If I build a standard console application project with the followng Module definition
    Module Module2
        Sub Foo()
            Console.WriteLine("akakak")
        End Sub
    End Module
    
    then I can see the code as a Class Module2 in the relevant namespace. The class has the attribute <StandardModule> to show that it is a compilation of a Module.
    Clive Tong
    0
  • CAndrew
    my modules were create with VS.08 , VB.NET. And your example its just the way I have done it too.
    CAndrew
    0
  • Clive Tong
    Can you send me your assembly so I can take a look at it? [clive DOT tong AT red HYPHEN gate DOT com or via the forum messaging mechanism]

    Thanks.
    Clive Tong
    0
  • CAndrew
    Hi Clive, thanks for this message,
    I have send 2 messages to your privatebox, here in this forum, but my sentbox is still 0%.

    One message I have send some days before, to your mailadress you has wrote in your last answer here, but it has wrong .
    CAndrew
    0

Add comment

Please sign in to leave a comment.