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

.NET (Core and Framework)

 
GeneralRe: .net 2.0 installtion problem Pin
uowzd0119-Apr-07 16:09
uowzd0119-Apr-07 16:09 
GeneralRe: .net 2.0 installtion problem Pin
Dave Kreskowiak20-Apr-07 1:55
mveDave Kreskowiak20-Apr-07 1:55 
GeneralRe: .net 2.0 installtion problem Pin
Vega0219-Apr-07 16:08
Vega0219-Apr-07 16:08 
GeneralRe: .net 2.0 installtion problem Pin
uowzd0119-Apr-07 16:14
uowzd0119-Apr-07 16:14 
GeneralRe: .net 2.0 installtion problem Pin
uowzd0119-Apr-07 17:48
uowzd0119-Apr-07 17:48 
GeneralRe: .net 2.0 installtion problem Pin
Dave Kreskowiak20-Apr-07 1:56
mveDave Kreskowiak20-Apr-07 1:56 
GeneralRe: .net 2.0 installtion problem Pin
Vega0220-Apr-07 6:29
Vega0220-Apr-07 6:29 
QuestionSecurity problem with Word 2007 add-in Pin
Eagle_Wizard19-Apr-07 2:45
Eagle_Wizard19-Apr-07 2:45 
In the add-in itself I use reflection.
An other programmer can give me a DLL file with actions (functions) and with the class, namespace and the path of the DLL
I can use these functions in my add-in.

I tested everything in a windows application and it worked perfect.
After that I tried to use the same code in my Word add-in but I got a Security error.
Here is the code where I had the problem:

Assembly ass = Assembly.LoadFile(this.FilePath);<br />
if (ass == null) return;	//compilatie liep wellicht verkeerd<br />
System.Type T = ass.GetType(this.Namespace + "." + this.Class);<br />
<br />
object o = System.Activator.CreateInstance(T);<br />
T.InvokeMember(this.Method, System.Reflection.BindingFlags.InvokeMethod, null, o, new object[] { (object)dicArgs, (object)sConfig });


The program gave a securityerror on the InvokeMember method.
Probably I have to register the used dll somewhere in the .NET Framework 2.0.

Can anybody help me fix this?

Programming code is like magic, just use the right code (magic words) to make happen what you want..

QuestionQuestion about Trace Pin
Tristan Rhodes18-Apr-07 23:57
Tristan Rhodes18-Apr-07 23:57 
Questionuser & directory for webservice Pin
LittleWhiteDog18-Apr-07 22:58
LittleWhiteDog18-Apr-07 22:58 
AnswerRe: user & directory for webservice Pin
LittleWhiteDog18-Apr-07 23:03
LittleWhiteDog18-Apr-07 23:03 
QuestionWeb Service not running Pin
dancelicious18-Apr-07 9:00
dancelicious18-Apr-07 9:00 
AnswerRe: Web Service not running Pin
kubben19-Apr-07 2:09
kubben19-Apr-07 2:09 
QuestionHow to make TrackBar vertical? Pin
Zhendalf18-Apr-07 8:12
Zhendalf18-Apr-07 8:12 
AnswerRe: How to make TrackBar vertical? Pin
Dave Kreskowiak18-Apr-07 14:58
mveDave Kreskowiak18-Apr-07 14:58 
GeneralRe: How to make TrackBar vertical? Pin
pbraun18-Apr-07 15:34
pbraun18-Apr-07 15:34 
GeneralRe: How to make TrackBar vertical? Pin
Dave Kreskowiak18-Apr-07 16:06
mveDave Kreskowiak18-Apr-07 16:06 
GeneralRe: How to make TrackBar vertical? Pin
Zhendalf21-Apr-07 9:14
Zhendalf21-Apr-07 9:14 
GeneralRe: How to make TrackBar vertical? Pin
pbraun21-Apr-07 12:17
pbraun21-Apr-07 12:17 
GeneralRe: How to make TrackBar vertical? Pin
Zhendalf22-Apr-07 5:42
Zhendalf22-Apr-07 5:42 
GeneralRe: How to make TrackBar vertical? Pin
pbraun22-Apr-07 7:07
pbraun22-Apr-07 7:07 
QuestionStatically Linking to MSVC Pin
Programm3r18-Apr-07 2:54
Programm3r18-Apr-07 2:54 
AnswerRe: Statically Linking to MSVC Pin
sthotakura18-Apr-07 8:30
sthotakura18-Apr-07 8:30 
GeneralRe: Statically Linking to MSVC Pin
Programm3r18-Apr-07 19:34
Programm3r18-Apr-07 19:34 
QuestionSerialisation Pin
John.L.Ponratnam18-Apr-07 0:46
John.L.Ponratnam18-Apr-07 0:46 

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.