Thanks for replying leppie. I was hoping you might help.
I want to specify any member of a class in a way that the compiler can check. For instance, this is not acceptable because it will not work if you rename the field, or even "Find all references".
var fi = typeof( Class ).GetField( "Field" );
So, I thought I could use a lambda which I can pass as a delegate that the compiler can check. The code in the lambda must be just a call the the member you want to specify. The only way I can think of to get at the code is to look at the IL.
I may well be barking up the wrong tree, but I can't think of a neater way...
Be excellent to each other
I want to create a program that launches when I hit some combination of keys e.g. <ctrl> + 1.
My goal is to let a copy operation <ctrl> + c to be pasted into a file for e.g. c:\file1.txt no mater from which program the user is copy information from.
I am trying to automate the powerpoint 2003 application using C# and Microsoft Powerpoint Object Library 11.0 but MSDN and Dev Center are lacking the documentation for this COM library. We have a few articles in CodeProject and they are good for the beginning but I believe I still need the SDK for the library. My google searches also turned me down. Any suggestions?
The Hough Transform (http://en.wikipedia.org/wiki/Hough_transform[^]) is perfect for finding circles and lines in an image. It even works if the image is noisy, i.e. random errors, uneven lighting, or missing/overlapping pieces!
"To determine if hyperthreading is enabled for the
processor, compare NumberOfLogicalProcessors and
NumberOfCores. If hyperthreading is enabled in the
BIOS for the processor, then NumberOfCores is less
than NumberOfLogicalProcessors. For example, a dual-
processor system that contains two processors enabled
for hyperthreading can run four threads or programs or
simultaneously. In this case, NumberOfCores is 2 and
NumberOfLogicalProcessors is 4."
Basically, our application sends out an email with a custom X-Header. On the dev box, the header comes out in mixed case (eg "X-EmailID"), but when we move the app to the live box, the header in the email is converted to lower case (e.g. "x-emailid")
I need to keep the capitalisation. Has anyone seen this before, and did you find a solution?
I've googled this but haven't found much, other than people saying they have seen the problem but no fix - there has to be some config that is different between the two boxes, surely!?!
This is crucial need for me and please help me.
I need to generate the crystal report. What I like to do is. I have a detail information of peoples. I have listed the name of the people in the listbox. I want to generate the report and print the detail information for selected people listed in the listbox at a single click to button.
I am not sure that I understand your intention for using Crystal Reports but if the subject is as simple as printing a bunch of people, I suggest you not to use Crystal Reports since it will extremely slow down your operation. Crystal Reports require a number of assemblies to be loaded before it can be run.
If you insist I may on CR I may suggest writing the detailed information to a dataset and then pass this dataset to Crystal Reports as the data source.
If you have a database for the detailed information, operations may be a lot simpler. You may command CR to connect to your db from the code.
Hope this helps,
Always keep the Murphy Rules in mind!
Last Visit: 31-Dec-99 18:00 Last Update: 20-Jun-21 10:00