Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 2nd, 2004, 11:41 AM
gjnave gjnave is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 1 gjnave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Reflection Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT