Groups | Blog | Home
all groups > dotnet compact framework > june 2006 >

dotnet compact framework : GetType returning null



bill
6/21/2006 4:20:49 PM
Hi, I'm loading an exe from my program as follows

Assembly a = Assembly.LoadFrom(exePath);
Type fType = a.GetType(formName) // formName = frmMain.vb

however GetType returns null, the LoadFrom is fine. What actual string
value do i need to pass to GetType here assuming my form in my exe
is called frmMain.vb

Using VS2005 CF1.0

bill
6/21/2006 5:05:56 PM
I had not used the namespacee ie MyNamespace.frmMain
as the formName, so that fixed it

[quoted text, click to view]

AddThis Social Bookmark Button