|
Yes the PDB file is the mapping between the IL code and the source file.
|
|
|
|
|
Yes, you can use the pdb file. The magic word here is the ISymbolReader.
See this discussion here[^]
|
|
|
|
|
if i am having the source code file with me, can i display the source code using the line info from pdb?
how can i do that?
My small attempt...
|
|
|
|
|
I guess you can do that, at least the article I linked in does mention it.
You'll have to do the research, but since you writing a profiling app that shouldn't be so hard for you.
Most of the time you'll get directions here, not complete solutions.
|
|
|
|
|
i know i know anyway i will continue the same will post if i get any info
My small attempt...
|
|
|
|
|
I just delete them.
|
|
|
|
|
no problem it will generate when you start the app from IDE
My small attempt...
|
|
|
|
|
As you see, whenever installing an new software, you must have a license number to register your application.
Now, i have assigned to do that license part in my task but i don't know how to generate a license num or how to make a license checker professionally (in C#). So, anybody can help me this?
|
|
|
|
|
Well, no-one is going to tell you how they make THEIR license keys, b/c that would let you generate your own. There's all sorts of ways to do it, the simplest is probably a variation on hashing the username, perhaps salting it first.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi all experts,
as i'm new to this, can someone plz advice me?
my project requirements:
1. images upload with adding texts/descriptions attached to it (save it in notepad/html??) using microformats (not too sure also as need details from lecturer)
2. search images via information in the notepad/html saved to the images
3. display searched results images
should i use C#, VB, C++ for this project? as i want to start on the right path... can someone plz refer to any guide?
i've found this:
http://www.codeproject.com/KB/aspnet/netimageupload.aspx
is this the right on to start on? so i can add on later...
please help thanks a million.. waiting on your reply!!
my email/MSN : narmon@gmail.com
plz help
|
|
|
|
|
I think that article's a good start. Though I don't think you'll be using C++. You can choose between C# and VB.Net, whatever you're comfortable with.
|
|
|
|
|
Wow - you cross posted teh whole site. How rude....
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
"as i'm new to this, can someone plz advice me?"
Not really relevevant to the specific question, but:
1.) You have a "Shift" key - Don't be afraid of it (Seeing as the only capitals are C#, VB, C++, KB, MSN)
2.) Encrypt your given e-mail address. People can Phish it. Change to something like 5narmon5@gmail.com - And ask people to remove the 5's. (If they DESPERATELY want to e-mail you, they can use your Profile )
Hey - It's a start
-= Reelix =-
|
|
|
|
|
Is there something in WPF which would be an equivalent of CustomLineCap in GDI+? How do I implement a custom line ending in WPF? Thanks!
|
|
|
|
|
Not much WPF traffic here, but what there is, is mostly in the WPF forum.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I have a windows form application. How do you detect if a form is shown within your process. I have no control of other forms that are shown in my application cause some of them are inside a dll.
MyMainForm (exe)
|--> ModuleDLL (dll)
|--> Forms (I have no way to know when they will be shown)
Thanks,
BJ
|
|
|
|
|
If you have the source code to the DLL, you could post an event to your main form from the child forms' "Shown" event. However, I can't for the life of me come up with a valid reason that the parent form would want to know when a child form was shown.
However, without knowing the nature of the app *and* the DLL, it would be impossible to comment with any authority.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Thanks for the reply. I have no source code for the DLL. I wanted to know if a form is being shown because I wanted to replace or modify the controls on the form that is being shown (i.e. set a background, change colors of a button).
|
|
|
|
|
The forms are created inside the dll ? Then how can you add stuff to them ? If you have a reference to the form, to interact with it, then you can subscribe to it's events and check it's properties
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes I have a reference to the form using Application.OpenForms. But I just thought that there would be an event that I can attach to if a form is currently being shown. Hmm, I think I should see if there's such an event in the Application.OpenForms collection.
|
|
|
|
|
OK, then, there is a Visible property on the form, if you want to know if it's currently visible. An event fires when it becomes visible, not when you grab a reference and want to know if it was shown before you got it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I think Application.OpenForms is your friend.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Thanks, I'm actually using that. You gave me an idea, I'm gonna check if there's such an event in the OpenForms collection to see if a form is being shown.
|
|
|
|
|
Hi,
I'm encountering problem while trying to load unverifiable assembly (mixed managed and unmanaged code written in c++.net) using Assembly.Load(byte[] buffer). An "Unverifiable code failed policy check" exception is awlays thrown. The same error did not appear when I tried loading using Assembly.LoadFile. Unfortunately, I can only use Assembly.Load because I'm only given the assembly image in an array of bytes and I'm not allowed to write to any other storage devices due to security reason. Did I miss out anything? or Does anyone know any alternatives to load assembly other than Assembly.Load?
Regards,
chew
|
|
|
|
|
Very odd. On this Windows Server 2003 R2 box that my client has, the call to "ShowDialog" in the OpenFileDialog and SaveFileDialog classes are crashing. No useful information is provided other than "External Exception".
Anyone encounter this?
Marc
|
|
|
|