Click here to Skip to main content
15,899,314 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Parsing Inside XML Pin
jitforce258517-Aug-12 5:16
jitforce258517-Aug-12 5:16 
SuggestionRe: Parsing Inside XML Pin
Eddy Vluggen17-Aug-12 9:37
professionalEddy Vluggen17-Aug-12 9:37 
AnswerRe: Parsing Inside XML Pin
Richard MacCutchan16-Aug-12 21:20
mveRichard MacCutchan16-Aug-12 21:20 
GeneralRe: Parsing Inside XML Pin
jitforce258517-Aug-12 5:17
jitforce258517-Aug-12 5:17 
QuestionHow do I get the current module? Pin
JoeRip15-Aug-12 11:43
JoeRip15-Aug-12 11:43 
AnswerRe: How do I get the current module? Pin
Wes Aday15-Aug-12 11:51
professionalWes Aday15-Aug-12 11:51 
AnswerRe: How do I get the current module? Pin
JoeRip15-Aug-12 11:54
JoeRip15-Aug-12 11:54 
AnswerRe: How do I get the current module? Pin
Eddy Vluggen15-Aug-12 23:36
professionalEddy Vluggen15-Aug-12 23:36 
JoeRip wrote:
what is the difference between a module and an assembly?

You're missing the question-icon, most forum-members will assume it's an answer to the original question and skip reading the post. To answer;
MSDN states[^]:
A module is a portable executable file, such as type.dll or application.exe, consisting of one or more classes and interfaces. There may be multiple namespaces contained in a single module, and a namespace may span multiple modules.

In short, an assembly can contain multiple modules (not to be confused with the VB.NET concept of a Module, which is a static class).

The code below shows an example of how to use the StackTrace-class, as proposed by another poster;
VB.NET
Dim mod = New System.Diagnostics.StackTrace().GetFrame(0).GetMethod()
Console.WriteLine (mod.Module)
Console.WriteLine (mod.Name)

Hope this helps a bit Smile | :)
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: How do I get the current module? Pin
pt140119-Aug-12 10:12
pt140119-Aug-12 10:12 
AnswerRe: How do I get the current module? Pin
Abhinav S15-Aug-12 20:55
Abhinav S15-Aug-12 20:55 
AnswerRe: How do I get the current module? Pin
Bernhard Hiller15-Aug-12 23:05
Bernhard Hiller15-Aug-12 23:05 
QuestionSending SMS through ASP.NET Pin
komalridda14-Aug-12 19:58
komalridda14-Aug-12 19:58 
AnswerRe: Sending SMS through ASP.NET Pin
Richard MacCutchan14-Aug-12 20:46
mveRichard MacCutchan14-Aug-12 20:46 
AnswerCross Post Pin
DaveyM6914-Aug-12 23:24
professionalDaveyM6914-Aug-12 23:24 
QuestionC# ASP.net Pin
Sibonelo Mbatha13-Aug-12 22:26
Sibonelo Mbatha13-Aug-12 22:26 
AnswerRe: C# ASP.net Pin
Pete O'Hanlon13-Aug-12 22:32
mvePete O'Hanlon13-Aug-12 22:32 
AnswerRe: C# ASP.net Pin
Eddy Vluggen13-Aug-12 23:02
professionalEddy Vluggen13-Aug-12 23:02 
QuestionSignature PictureBox Error !!! Pin
jitforce258513-Aug-12 5:00
jitforce258513-Aug-12 5:00 
AnswerRe: Signature PictureBox Error !!! Pin
jitforce258513-Aug-12 5:20
jitforce258513-Aug-12 5:20 
AnswerRe: Signature PictureBox Error !!! Pin
Dave Kreskowiak13-Aug-12 5:28
mveDave Kreskowiak13-Aug-12 5:28 
QuestionRemove non-empty remote directory in Webserver Pin
ulasoc12-Aug-12 12:21
ulasoc12-Aug-12 12:21 
AnswerRe: Remove non-empty remote directory in Webserver Pin
Eddy Vluggen12-Aug-12 22:01
professionalEddy Vluggen12-Aug-12 22:01 
GeneralTracking system Pin
kipchirchir11-Aug-12 20:50
kipchirchir11-Aug-12 20:50 
GeneralRe: Tracking system Pin
Richard MacCutchan11-Aug-12 21:42
mveRichard MacCutchan11-Aug-12 21:42 
QuestionEncrypting File Problem Pin
jitforce258511-Aug-12 10:40
jitforce258511-Aug-12 10:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.