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

.NET (Core and Framework)

 
QuestionCustom Controls Problem Pin
arorakapik1-Jun-06 2:58
arorakapik1-Jun-06 2:58 
AnswerRe: Custom Controls Problem Pin
Ed.Poore2-Jun-06 13:56
Ed.Poore2-Jun-06 13:56 
QuestionIs there any application block for personalization for winforms of .net framework 1.1 ? Pin
Kent Liu31-May-06 23:41
professionalKent Liu31-May-06 23:41 
AnswerRe: Is there any application block for personalization for winforms of .net framework 1.1 ? Pin
Ed.Poore2-Jun-06 14:00
Ed.Poore2-Jun-06 14:00 
Questionarchitecture/design of the component 'System.Web.Mail' Pin
Ashuu31-May-06 23:28
Ashuu31-May-06 23:28 
AnswerRe: architecture/design of the component 'System.Web.Mail' Pin
Ed.Poore2-Jun-06 14:05
Ed.Poore2-Jun-06 14:05 
QuestionUsing C# DLL on another mechine Pin
Sanjeet Sachan31-May-06 22:16
Sanjeet Sachan31-May-06 22:16 
AnswerRe: Using C# DLL on another mechine Pin
Stephan Samuel1-Jun-06 6:51
Stephan Samuel1-Jun-06 6:51 
I think what you're trying to do is link a DLL on a remote machine. You can do this compile time or run time.

If you do it compile time, everyone has to have the same mapping to the server path where the DLL is. This is easier but more prone to breaking. All you have to do is map the server drive on the development machine as you'll want it mapped on all the clients. Then add a reference to your project (assuming you're using VS.NET), browse for the DLL, and find it on the server drive.

If you do it runtime, you have to find the DLL then load it into the app domain. You'll need to deal with configuring each user machine to find the server and the right path on it to your DLL. Once you know the path to it, execute:

<br />
using System.Reflection;<br />
<br />
...<br />
<br />
Assembly myAssembly = Assembly.LoadFile(myPath);<br />


After that, you'll need to use reflection to discover what you're looking for. GetTypes() on the assembly will give you a list of classes as Type objects. Each of those will report its public methods as MethodInfo objects.

Doing this runtime is much more complicated but all procedural. If you want a bulletproof application and you're willing to take the time to code it, do that. Otherwise save the hassle and compile-time link it.


Stephan
GeneralRe: Using C# DLL on another mechine Pin
Ed.Poore2-Jun-06 14:01
Ed.Poore2-Jun-06 14:01 
QuestionIs there a way to change the original value in the DataRow? Pin
NewSilence31-May-06 21:17
NewSilence31-May-06 21:17 
AnswerRe: Is there a way to change the original value in the DataRow? Pin
ApurvaShah1-Jun-06 11:47
ApurvaShah1-Jun-06 11:47 
QuestionJavascript Scripting Engine for application framework? Pin
copper000231-May-06 3:05
copper000231-May-06 3:05 
AnswerRe: Javascript Scripting Engine for application framework? Pin
Dustin Metzgar31-May-06 3:57
Dustin Metzgar31-May-06 3:57 
QuestionHow to call Visual Studio Command Prompt in VB.NET Pin
asifhameed131-May-06 2:13
asifhameed131-May-06 2:13 
AnswerRe: How to call Visual Studio Command Prompt in VB.NET Pin
Craig Gilchrist31-May-06 2:32
Craig Gilchrist31-May-06 2:32 
GeneralRe: How to call Visual Studio Command Prompt in VB.NET Pin
asifhameed131-May-06 3:40
asifhameed131-May-06 3:40 
GeneralRe: How to call Visual Studio Command Prompt in VB.NET Pin
Craig Gilchrist31-May-06 3:47
Craig Gilchrist31-May-06 3:47 
QuestionPRoblem while adding field to the data set of reports(.rdl) Pin
kiran015331-May-06 2:01
kiran015331-May-06 2:01 
Questionadding fields to the dataset of report in .net reports project Pin
kiran015331-May-06 0:07
kiran015331-May-06 0:07 
Question.NET dependent executables [modified] Pin
Imtiaz Murtaza30-May-06 21:42
Imtiaz Murtaza30-May-06 21:42 
AnswerRe: .NET dependent executables [modified] Pin
leppie31-May-06 2:41
leppie31-May-06 2:41 
GeneralRe: .NET dependent executables [modified] Pin
Imtiaz Murtaza31-May-06 3:00
Imtiaz Murtaza31-May-06 3:00 
GeneralRe: .NET dependent executables [modified] Pin
leppie31-May-06 6:21
leppie31-May-06 6:21 
QuestionAddIn not responding in VS.Net 2003 Pin
Ruhina30-May-06 2:53
Ruhina30-May-06 2:53 
QuestionWebBrowser control and Flash in .NET Compact Framework Pin
jseiler29-May-06 21:55
jseiler29-May-06 21:55 

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.