Re: fetch a fragment of source code
- From: Spam Catcher <spamhoneypot@xxxxxxxxxx>
- Date: Wed, 09 May 2007 18:16:37 GMT
=?Utf-8?B?QU1lcmNlcg==?= <AMercer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:35C710CF-B651-48C3-BB2C-35FCC86A958F@xxxxxxxxxxxxx:
I have a vb.net program that needs to display a few fragments of its
source code, typically one to five lines for each fragment, and each
line contains one assignment statement. I need to do this in a few
places (about 10) in a medium size program (about 10k lines).
In the old C days, I would use the stringize operator to capture a few
source fragments. No such thing in VB (too bad, actually). I need
this to work in both debug and production environments. I'm currently
at .NET 2003 FW 1.1, and I'll upgrade if needed to solve this problem.
Where are you fetching the source code from? From within the assembly? I
don't believe the source code is embedded within the built binaries ... so
you'll have to cross reference with the original source code files.
.
- Prev by Date: Re: Qualifying a .NET object in VB6
- Next by Date: Re: Needed: Book Recommendations for .NET Certification
- Previous by thread: Problem with null value for datetime field in a tableadapter
- Next by thread: printing a text file, printdocument1_printpage gets called TWICE for each page?!
- Index(es):
Relevant Pages
|