Click here to Skip to main content
15,912,504 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Editing the app.config file using a window form application during runtime Pin
drexler_kk7-May-08 19:53
drexler_kk7-May-08 19:53 
AnswerRe: Editing the app.config file using a window form application during runtime Pin
Mycroft Holmes7-May-08 19:33
professionalMycroft Holmes7-May-08 19:33 
GeneralRe: Editing the app.config file using a window form application during runtime Pin
drexler_kk7-May-08 19:55
drexler_kk7-May-08 19:55 
AnswerRe: Editing the app.config file using a window form application during runtime Pin
Mycroft Holmes7-May-08 20:27
professionalMycroft Holmes7-May-08 20:27 
GeneralRe: Editing the app.config file using a window form application during runtime Pin
drexler_kk7-May-08 20:54
drexler_kk7-May-08 20:54 
GeneralRe: Editing the app.config file using a window form application during runtime Pin
Mycroft Holmes7-May-08 21:14
professionalMycroft Holmes7-May-08 21:14 
GeneralRe: Editing the app.config file using a window form application during runtime Pin
drexler_kk7-May-08 21:56
drexler_kk7-May-08 21:56 
QuestionReflectionOnly question Pin
cstrader2327-May-08 11:12
cstrader2327-May-08 11:12 
I'm wondering if someone might be able to help me. I've spent a bunch of time on this, read everything I could find, but still can't seem to crack it.

I want to load an assembly .dll into a separate appdomain, from the root directory c:\.

The assembly asm is loaded into the new appdomain fine, BUT ONLY IF ShowForm.dll is in the application default path. I've monkeyed with Applicationbase to request that the load look elsewhere, to no avail. Do I need to specify a security policy?

In any case, is this really the way to load an application into a new appdomain (one which I can subsequently unload)?

Thanks in Advance


Dim Asm = System.Reflection.Assembly.ReflectionOnlyLoadFrom("c:\ShowForm.dll")

Dim ads As New AppDomainSetup()
ads.ApplicationBase = "C:\"

Dim ad As AppDomain = AppDomain.CreateDomain("App2", Nothing, ads)

Dim Asm2 = ad.Load(Asm.fullname)
QuestionPrinting with precision Pin
Vikas Sethi Ji7-May-08 8:03
Vikas Sethi Ji7-May-08 8:03 
AnswerRe: Printing with precision Pin
Christian Graus7-May-08 12:05
protectorChristian Graus7-May-08 12:05 
GeneralRe: Printing with precision Pin
Vikas Sethi Ji7-May-08 15:47
Vikas Sethi Ji7-May-08 15:47 
GeneralRe: Printing with precision Pin
Christian Graus7-May-08 16:37
protectorChristian Graus7-May-08 16:37 
GeneralRe: Printing with precision Pin
Vikas Sethi Ji7-May-08 18:13
Vikas Sethi Ji7-May-08 18:13 
QuestionHow can I clear the cells of DataGridView that is not bind ? Pin
masoodp6667-May-08 7:45
masoodp6667-May-08 7:45 
AnswerRe: How can I clear the cells of DataGridView that is not bind ? Pin
helelark12311-May-08 4:01
helelark12311-May-08 4:01 
QuestionDataGridView column with multplie types of controls Pin
Kschuler7-May-08 6:44
Kschuler7-May-08 6:44 
AnswerRe: DataGridView column with multplie types of controls Pin
Dave Kreskowiak7-May-08 7:21
mveDave Kreskowiak7-May-08 7:21 
GeneralRe: DataGridView column with multplie types of controls Pin
Kschuler8-May-08 6:50
Kschuler8-May-08 6:50 
Questionhow can i use DataGridView [modified] Pin
asha_s7-May-08 4:07
asha_s7-May-08 4:07 
AnswerRe: how can i use DataGridView Pin
Ashfield7-May-08 4:47
Ashfield7-May-08 4:47 
QuestionRe: how can i use DataGridView Pin
asha_s7-May-08 5:00
asha_s7-May-08 5:00 
AnswerRe: how can i use DataGridView Pin
Ashfield7-May-08 5:08
Ashfield7-May-08 5:08 
AnswerLazy? Pin
leckey7-May-08 8:03
leckey7-May-08 8:03 
AnswerRe: how can i use DataGridView Pin
Christian Graus7-May-08 12:05
protectorChristian Graus7-May-08 12:05 
GeneralRe: how can i use DataGridView Pin
asha_s7-May-08 22:34
asha_s7-May-08 22:34 

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.