Re: Microsoft and Trust Take 2
- From: "Michael C" <nospam@xxxxxxxxxxx>
- Date: Sat, 5 Apr 2008 17:36:09 +1100
"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:eZIVcxslIHA.5160@xxxxxxxxxxxxxxxxxxxxxxx
I see. Thanks. I'd never heard of IMAPI
before. I still don't get the Shell part, though.
VB needs typelibs, but .Net needs Interop
and "unsafe" code, as I understand it.
That is true, you will need to use interop. You don't need unsafe code I
believe, the definition of unsafe code as I understand it is the use of
pointers for direct memory access. My original point was the dot net can
handle these interfaces directly where VB needs a typelib or dll.
I would
think that, just as with Java, the Shell is pretty
much the last thing that .Net should be used for.
I'm not sure as I haven't looked into this myself but it sounds right.
Because it's managed code there are a few oddities I believe such as calling
dot net code from SQLServer 2000.
My last project was an Explorer Bar/BHO
combination. It works fine, written in VB, has no
dependencies, is compatible with Win95 up, and
weighs in at about 2/3 MB for everything including
an uninstaller, help file, etc. As I understand it,
I could do something like that in .Net but it's not
native and it's not recommended because there's
a risk of two plugins being installed with different
.Net versions, so that one might malfunction.
I'm not sure about that but as an example a dot net app can receive a file
dragged from windows explorer or it can allow files to be dragged out of it
to windows explorer. You can of course do this the simple way or you can use
more advanced options and stream files across. You'd use the more advanced
version if this files didn't actually exist as files. The point is to use
the shell functionality you don't need to be writing a shell.
Michael
.
- Follow-Ups:
- Re: Microsoft and Trust Take 2
- From: mayayana
- Re: Microsoft and Trust Take 2
- References:
- Microsoft and Trust Take 2
- From: Michael C
- Re: Microsoft and Trust Take 2
- From: Wolfgang Enzinger
- Re: Microsoft and Trust Take 2
- From: Michael C
- Re: Microsoft and Trust Take 2
- From: Tony Proctor
- Re: Microsoft and Trust Take 2
- From: Michael C
- Re: Microsoft and Trust Take 2
- From: Wolfgang Enzinger
- Re: Microsoft and Trust Take 2
- From: Paul Clement
- Re: Microsoft and Trust Take 2
- From: Wolfgang Enzinger
- Re: Microsoft and Trust Take 2
- From: Paul Clement
- Re: Microsoft and Trust Take 2
- From: Karl E. Peterson
- Re: Microsoft and Trust Take 2
- From: Michael C
- Re: Microsoft and Trust Take 2
- From: mayayana
- Re: Microsoft and Trust Take 2
- From: Michael C
- Re: Microsoft and Trust Take 2
- From: mayayana
- Microsoft and Trust Take 2
- Prev by Date: Re: SQLite to VB through VSFlexGrid?
- Next by Date: Re: Microsoft and Trust Take 2
- Previous by thread: Re: Microsoft and Trust Take 2
- Next by thread: Re: Microsoft and Trust Take 2
- Index(es):
Relevant Pages
|