I keep getting an IOException trying to do this:
VB Code:
Dim myAssembly As [Assembly] = [Assembly].Load("\Program Files\Sleuth Mobile\Plugins\Skids.dll")
This is on the Compact Framework. The file is most definitely there. Any ideas?
TIA,
Mike
Printable View
I keep getting an IOException trying to do this:
VB Code:
Dim myAssembly As [Assembly] = [Assembly].Load("\Program Files\Sleuth Mobile\Plugins\Skids.dll")
This is on the Compact Framework. The file is most definitely there. Any ideas?
TIA,
Mike
This returns true:
VB Code:
MsgBox(File.Exists("\Skids.dll"))
This gives me an IOException:
VB Code:
Dim myAssembly As [Assembly] = [Assembly].Load("\Skids.dll")
This is my first attempt at late binding. Seems like I'm mimicing code
examples I've seen. Searched to no avail (yet). Any pointers?
TIA,
Mike
I'm not familiar with the Compact Framework but in its big brother that should be LoadFile. It may need to be the full path to but I don't think so.
VB Code:
Dim myAssembly As [Assembly] = [Assembly].Load[b][color=blue]File[/color][/b]("\Skids.dll")
You're right. Stupid/newbie mistake on my part. I think the correct syntax is LoadFrom rather than LoadFile (at least in the Compact Framework).
Thanks Edneeis, I needed a brain jog there.
Regards,
Mike
The super size Framework has all three actually Load, LoadFrom, LoadFile for a cornucopia of options. :D
ok - good to know. This is the first time I've tried to do this type of thing, and I've opted to do in with the Compact Framework.
Not opted just for kicks mind you, but because I think I'm going to need it soon. My very first try at a mobile app has gone commercial - thanks to Visual Studio - and I see the need to make it extensible.
VS 2003, IMHO, opened up RAD mobile app programming like you've never seen it before. Of course it's a subset of the available features of the "super size" side of it. But you have what you need, and if it doesn't exist, you can build it.
I guess not to many folks around here use CF, as reflected by this poll, but for me right now, it's a main focus. Plenty of people are paying big money for simple applications on mobile devices.
Apologies for straying off topic,
Mike
<edit>
As of now, a whopping three people have bothered voting in this poll - lol - I'm the only one who answered "Yes, I have an app in production". Don't you hate being a newbie and on your own?
</edit>
I'm one of the nos on that poll. It seems you found a good niche right on. I've been meaning to get a handheld but haven't been able to justify the cost just for curiosity's sake, YET.
Yeah, no doubt, I don't blame you for not wanting to purchase hardware if it's not justified. That's just plain smart.
Of course, if you want to play, the emulator is pretty dang good - not the same as a mobile device, of course, but it's close.
I work for a small company. Had this little app in VB6 that we sell, when VS 2003 came out and I saw how easy it could be to port to the compact framework, and knowing that the app itself is naturally a mobile app, I told my boss I could do it. More or less ported it in two weeks. Sold right away.
I think I got lucky in this case, actually I know I did. What fun :)
Yeah I just got done playing with the Emulator. Thats pretty cool! I didn't even know it was there. Although it makes me want to play with a really device more.
I know what you mean. A *nice* device will set you back at least 500 bucks. You can get them cheaper, of course, maybe $200, but then you have to deal with limited functionality.
I had my company buy an iPAQ 5555 a few months ago. Top of the line. Cost was huge. We recooped the cost with our first sale.
The emulator is cool, but if you're going commercial, you have to test on the device that you will deploy. Then of course you need your own device for support.