|
|
okay,
we know that we can reference third party DLLs in a Visual studio project. But while referencing we need to set copy local=true. So that the referenced dll is copied to the start up path. But i failed to reference a dll that will be located to some other folder. For example my project is in D:\\MyProject. And i want to reference a dll in C:\MyDLLs, without copying the dll to my prjects start up path.
How can i do that? I have tried many approaches like editing the codebase element in app.config file.
|
|
|
|
|
Why do you need to do that ? The whole paradigm of .NET is to copy dlls locally.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
actually i want to place all required dlls to a separate folder other than the application.startup folder. So that while shipping the product all the executables refer to a same directory of dlls. Are there any methods so that i can change the default folder where the dlls are copied instead of start up path?
|
|
|
|
|
change the output path for each project class library to your directory, and reference the dlls of your main project from that particular directory.
Also place 3rd party dlls inside that directory and reference it from there.
If 3rd party dlls are installed in GAC, select the dll after being referenced, and go to properties(from 2008 IDE). In the properties window set CopyLocal to true.
|
|
|
|
|
|
Hi
I'm trying to create PowerShell Cmdlets from C#, I'm able to create the Cmdlets and register it and it works fine as well. It looks like i need to create a separate class for every Cmdlet, Is it correct? Let's say following code is to create one Cmdlet and if i want to create another Cmdlet called Get-Process do i need to create new class and write?
[Cmdlet(VerbsCommon.Get, "Proc23")]
public class TouchFileCommand : Cmdlet
{
private string path = null;
[Parameter(Mandatory = true)]
public string Path
{
get
{
return path;
}
set
{
path = value;
}
}
protected override void ProcessRecord()
{
if (File.Exists(path))
{
}
}
}
|
|
|
|
|
First i thank every one replay to my message
but I demand idea not person helping me in making project
i said 50:50 that mean the idea not defficult and not easy
finaly thanks for you and I still not find the good
and i want heping from any body and i will not forget any body who will help me
action57392@hotmail.com
|
|
|
|
|
I'm not sure what's dumber. Posting a thank you like this, instead of within the thread, or posting your email address, which means that web spiders will find it and spam you.
I got what you meant, I also clarified it. However, your overall request was dumb enough that people thought the worst.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Abdaqader wrote: I demand idea
Oh dear. I appreciate that English isn't your first language, but you don't demand things, you request them. Demand implies a command and, frankly bubba, I don't answer to you.
Abdaqader wrote: and i want heping from any body and i will not forget any body who will help me
The point is, it's your course. The subject has to be something that you will feel comfortable with. I have no idea what your skill level is. What's easy to me could prove mind blowingly impossible to you.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Why don't you ask the same person who did all your work that got you into your final year? Has you doctor made you cut back on salty intake?
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Abdaqader wrote: helping me in making project
I've got the answer to your problem! Bunnies! I like bunnies and lets face it who doesn't!
You could write an AI bunny, maybe call it a Rabbot (my little joke there). Just start out simple with the Rabbots hoping about. Then you could add in boy bunnies with blue bow ties, and girl bunnies with pink bonnets. A little bit of inheritance never hurt; unless your mom and sister are one and the same.
Once you've got your different bunny rabbots working you could then try and make them interact and see how long it takes for them to tell you to feck off and do something useful instead of creating lots of dirty bunny pron!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
, but you may get accused of being over flippant.
|
|
|
|
|
Richard MacCutchan wrote: over flippant
Bunny pron does that...
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Hi,
I need to use Redemption.RDOSession class in my code to get internetHeaders of emails..I don't know what reference to be added in my project to use this Redemption namespace..Can anyone help me with this..
Thanks..
|
|
|
|
|
nirmalsat wrote: I need to use Redemption.RDOSession class in my code to get internetHeaders of emails
Do you think maybe Outlook Redemption[^] could help?
|
|
|
|
|
hello sir
i have one raw image file ...how to add 16 bit bitmap header to this raw image file ...please respond me
thanks
|
|
|
|
|
Do you mean how to save it as a 16 bit image ? How raw is raw ? Your best bet is to load it into a Bitmap and save it to a stream as a 16 bit BMP.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks for your replay sir ..
FileStream reader = null;
FileStream writer = null;
writer = new FileStream(OutputFileName, FileMode.OpenOrCreate, FileAccess.Write, FileShare.Write);
byte[] data = new byte[reader.Length - position];
reader.Position = position;
reader.Read(data, 0, data.Length);
writer.Write(data, 0, data.Length);
writer.Close();
the output of raw image data are in FileStream writer.. but how to add bit map header in this raw data ..
thanks
|
|
|
|
|
I'm not sure that you've added any info that I can use.
1 - what do you mean by 'raw', where did it come from ?
2 - why can't you just use the bitmap class to do this for you ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
1 - what do you mean by 'raw', where did it come from ?
2 - why can't you just use the bitmap class to do this for you ?
raw means its unknown file format its not standard ..its coming from DICOM (dcm ) medical image file
|
|
|
|
|
OK - well, adding a header won't remotely help you, why would you want to do that, you'd basically break the file.
The DICOM format does support raw data, but it also supports about 20 different types of compression, including JPEG. You should do one of two things
1 - pass the file into a Bitmap to see if it can work it out, and if not, forget about being able to view it. Adding a 16 bit header sure as hell won't turn the data into a 16 bit bitnmap
2 - buy the Atalasoft DICIOM library, it will decode DICOM images for you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I have 2 forms, Form1 and Form2.
When I select the item from listbox in Form2 and press 'OK', I would like to show the selected item in the textbox in Form1.
Thank you very much in advance. 
|
|
|
|
|
Form2 should expose a delegate on which Form1 will subscribe. When item is selected in list box, you call this delegate instance.
Best wishes,
Navaneeth
|
|
|
|
|
Thank you for your fast response Navaneeth. Really appreciate that.
But care to explain about the delegation? I am a programming noob. Just became a programmer last week.
Thank you..
|
|
|
|