|
It's pretty easy - or at least it is in the Pro version of VS210, I don't have the Express version. So if any of this doesn't work, let me know...
Open your solution, and look at the Solution Explorer pane.
Right click your solution name, and select "Add...New Project..." from the drop down list.
In the dialog, Select "Class Library" from the middle panel, and give it a sensible Name. Press OK.
Build your solution.
Now, open your EXE project in the Solution Explorer pane, and right click the "References" branch.
Select the "Add Reference..." option.
In the dialog the appears, select the "Projects" tab from the list on the left, then select your new DLL project on the right.
Press the "Add" button.
Done! You can now use classes in the DLL project in your EXE project. (You may want to add the appropriate using statement to your code files)
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
Works in Express also.
Use the best guess
|
|
|
|
|
Looking at these messages[^], OP is either a very fast learner or just going through every language until he/she finds one that he/she can understand.
Use the best guess
|
|
|
|
|
Gawd! Looks like he did a two week course in C++ in May and then panicked...
Interesting choice of project to start with "develop your own language" - they didn't give us that on day one of the first year! (They didn't even get us to write a BASIC interpretter until year 3)
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
Why aren't you out in the sunshine frolicking in the meadows with your sheep? Me; I'm just gathering my strength for a cycle ride to Windsor and back this afternoon.
Use the best guess
|
|
|
|
|
Cause I've spent the day hoovering, fixing the hoover, cleaning out the hoover so the damn thing sucks properly, cleaning the bathroom, dumping dead vermin in the river and hoovering up the remains, etc., etc.
And I've got to pick Herself up from work in an hour, then wash the car this arvo before cooking supper.
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
Hi ,
What is the difference between integral heiight for Combobox.
Can u show the sample for this .
|
|
|
|
|
|
Hi,
How to identify the event for Form Clousing by pressing keyboard or mouse.
|
|
|
|
|
Winforms, asp,WPF, Silverlight, a little info about the UI might be useful.
Most has a Closing event .
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
hi
i got full source code with report of e-prescription system in visual studio.
my skills with visual studio is poor and i have a deadline in 20 days..i was hoping if someone can turn the source code into a working system; everything in one folder and send it to my email.
my email is mo599@live.com
i will send the full report with source code..
please i need help im so stressed!
|
|
|
|
|
You would need to go to www.vworker.com and hire someone to do this for you. Good luck as you will probably get what you pay for.
And posting your email address in a public forum is just an invitation for spammers.
|
|
|
|
|
Hi,
I am using Crystal Report in my c# application; how I can get row information from crystal report while double clicking on it.
Thanks & Regards
Thahir
|
|
|
|
|
This has little to do with C#. You'd probably get a better/more responses on the Crystal Reports forums.
Try here[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi
I am using Crystal Report in my c# application, I have two printing options is that immediate print and preview and print. In immediate without showing the print format it directly creates hard copy. I am using the below code for achieving this
ReportClass myCrystalReport;
myCrystalReport.SetDataSource(ds);
crystalReportViewer1.ReportSource = myCrystalReport;
crystalReportViewer1.PrintReport();
My problem is that immediate print is not picking the default paper size! Its go to Letter!. But preview and print is working fine.(My paper size is A4)
And I have also try set A4 in my code
myCrystalReport.PrintOptions.PaperSize = PaperSize.PaperA4;
but I am getting same output . please help me on this issue.
Thanks in advance
Thahir
|
|
|
|
|
|
how to trace hardisk serial no,processor,ram through C#
|
|
|
|
|
Why don't you key you question into Google instead of asking simplistic question in a programming forum.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Please read http://www.codeproject.com/Messages/1278604/How-to-get-an-answer-to-your-question.aspx
|
|
|
|
|
i want to run local computer on my website
|
|
|
|
|
That question made no sense at all. Are you asking how to run a website on your local computer?? What version of Windows are you running?
|
|
|
|
|
If you mean that you want to run a website from your "home" PC - then it might not be a good idea: from a security POV it's certainly quite dangerous.
However, if you don't care about that too much, there are many guides on the internet as to how to do it. Here's one: http://www.boutell.com/newfaq/creating/hostmyown.html[^] but Google will find you loads of others.
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
hi,
How to copy listbox values into gridview column
|
|
|
|
|
You could build another datasource and assign it to the grid view.
|
|
|
|
|
Loop all the values in the listbox, add them to the gridview.
..of course, that might not be a very efficient solution; depends on what's loaded in the listbox. Alternatively, you could virtualize the datagridview and fetch the values directly from the listbox.
Judging by the way the question is formulated, I think you'd be interested in this[^] book.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|