
January 2nd, 2004, 11:41 AM
|
|
Junior Member
|
|
Join Date: Jan 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Reflection Problem
2 part question..
1. Does anyone have any idea why this doesnt work? I have an application in my WWROOT that I want to load over the wire.
It crashes on .show saying that the myForm object reference is not set to an instance of an object.
** code**
Dim MyAssembly As System.Reflection.Assembly = _
System.Reflection.Assembly.LoadFrom("http://{IP-ommitted}/MAS_LIVE.exe")
Dim myForm as Form = myAssembly.CreateInstance("MAS_LIVE.loader")
MyForm.show()
**end of code**
2. Weird thing is that I can cut the whole MyForm bit out and it will load... sometimes.. which brings another weird thing. When using localhost, i can run the application off of my virtual directory (wwwroot/ywam/mas_live.exe)... but when using the IP I cannot.
However, using the IP I can hit it off of the wwroot. weird.
ANy ideas whats going on?
|