mapping network drive

  • Thread starter Thread starter glenn
  • Start date Start date
G

glenn

I am trying to have my PDA map a network drive in code. I have been
informed and am currently testing the OpenNETCF classes to perform this but
I'm getting errors when deploying to PDA. Is there another file or dll that
I must move to the PDA to have access to these new functions?

I am trying to access the registry via these components and the mount
functions.

Thanks,

glenn
 
I have already installed that and everything works on my emulator. However
when I deploy to my PDA I get the following error when it attempts to mount
the file.

OpenNETCF.Runtime.InteropServices.MarshallEx Could not type...

I have copied all the dlls that were created in my deploy directory to the
PDA folder where the exe resides but thinking I'm suppose to be installing
something else on the PDA to have access to these libraries. I've looked on
OpenNETCF site but for some reason they have zero info on how to use their
components in the respect of deployment...

Thanks,

glenn
 
When you deploy the project to your device does it indicate it copied and
installed OpenNETCF.SDF.[your platform.cpu].cab to the device?
Does "OpenNETCF SDF v1.2" show up in Remove Programs on the device?

If not you can manually install the package, you can find the cab file at
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wcexxx\[CPU]
Where you will need to pick the folder with the specific wce version and
processor architecture for your device. All Pocket PC cabs are in wce300
folder tree, all CE.NET 4.x cabs are in wce400
Pocket PC 2003 is a special case since it's based on CE.NET 4.2 but files
relating to it are placed in
wce300\ARMV4 (for devices) and wce300\wce420x86 (for emulators)
You can copy the specific cab file to the device and tap it to install.

Peter
 
That did it. Thank you very much. I don't know why the guys at OpenNetCF
don't have a menu item for how to deploy on their site. It sure would help
us newbees a lot...

Thanks for the help...

glenn
Peter Foot said:
When you deploy the project to your device does it indicate it copied and
installed OpenNETCF.SDF.[your platform.cpu].cab to the device?
Does "OpenNETCF SDF v1.2" show up in Remove Programs on the device?

If not you can manually install the package, you can find the cab file at
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wcexxx\[CPU]
Where you will need to pick the folder with the specific wce version and
processor architecture for your device. All Pocket PC cabs are in wce300
folder tree, all CE.NET 4.x cabs are in wce400
Pocket PC 2003 is a special case since it's based on CE.NET 4.2 but files
relating to it are placed in
wce300\ARMV4 (for devices) and wce300\wce420x86 (for emulators)
You can copy the specific cab file to the device and tap it to install.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

glenn said:
I have already installed that and everything works on my emulator. However
when I deploy to my PDA I get the following error when it attempts to
mount
the file.

OpenNETCF.Runtime.InteropServices.MarshallEx Could not type...

I have copied all the dlls that were created in my deploy directory to the
PDA folder where the exe resides but thinking I'm suppose to be installing
something else on the PDA to have access to these libraries. I've looked
on
OpenNETCF site but for some reason they have zero info on how to use their
components in the respect of deployment...

Thanks,

glenn
namespace,
so
http://www.opennetcf.org/PermaLink.aspx?guid=3a013afd-791e-45ef-802a-4c1dbe1cfef9 this
but dll
that
 
I think they should also guarantee a 6 hour response time to the free
support they offer in this group for the free product they provide.

--
http://www.danielmoth.com/Blog/


glenn said:
That did it. Thank you very much. I don't know why the guys at OpenNetCF
don't have a menu item for how to deploy on their site. It sure would
help
us newbees a lot...

Thanks for the help...

glenn
Peter Foot said:
When you deploy the project to your device does it indicate it copied and
installed OpenNETCF.SDF.[your platform.cpu].cab to the device?
Does "OpenNETCF SDF v1.2" show up in Remove Programs on the device?

If not you can manually install the package, you can find the cab file at
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wcexxx\[CPU]
Where you will need to pick the folder with the specific wce version and
processor architecture for your device. All Pocket PC cabs are in wce300
folder tree, all CE.NET 4.x cabs are in wce400
Pocket PC 2003 is a special case since it's based on CE.NET 4.2 but files
relating to it are placed in
wce300\ARMV4 (for devices) and wce300\wce420x86 (for emulators)
You can copy the specific cab file to the device and tap it to install.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

glenn said:
I have already installed that and everything works on my emulator. However
when I deploy to my PDA I get the following error when it attempts to
mount
the file.

OpenNETCF.Runtime.InteropServices.MarshallEx Could not type...

I have copied all the dlls that were created in my deploy directory to the
PDA folder where the exe resides but thinking I'm suppose to be installing
something else on the PDA to have access to these libraries. I've looked
on
OpenNETCF site but for some reason they have zero info on how to use their
components in the respect of deployment...

Thanks,

glenn
The code is referencing the OpenNETCF.Runtime.InteropServices namespace,
so
in order to use it download and install the SDF from here:


http://www.opennetcf.org/PermaLink.aspx?guid=3a013afd-791e-45ef-802a-4c1dbe1cfef9

-Alex
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org
My blog: http://blog.opennetcf.org/ayakhnin

:

I am trying to have my PDA map a network drive in code. I have been
informed and am currently testing the OpenNETCF classes to perform this
but
I'm getting errors when deploying to PDA. Is there another file or dll
that
I must move to the PDA to have access to these new functions?

I am trying to access the registry via these components and the
mount
functions.

Thanks,

glenn
 
Or you could be a smart elick if you like. I see no sense in your comments
and I was only offering a suggestion to those spending the time writing the
components. Why would you want to write something and provide it for free
if no one can use it because you don't provide instructions. Perhaps one of
the experts like yourself could offer to help them out with that. I'd do
it, however, I'm not skilled enough with it yet to do so.

So instead of being ugly perhaps you could spend that time writing a
manual... :-)

have a good day,

glenn


Daniel Moth said:
I think they should also guarantee a 6 hour response time to the free
support they offer in this group for the free product they provide.

--
http://www.danielmoth.com/Blog/


glenn said:
That did it. Thank you very much. I don't know why the guys at OpenNetCF
don't have a menu item for how to deploy on their site. It sure would
help
us newbees a lot...

Thanks for the help...

glenn
Peter Foot said:
When you deploy the project to your device does it indicate it copied and
installed OpenNETCF.SDF.[your platform.cpu].cab to the device?
Does "OpenNETCF SDF v1.2" show up in Remove Programs on the device?

If not you can manually install the package, you can find the cab file at
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wcexxx\[CPU]
Where you will need to pick the folder with the specific wce version and
processor architecture for your device. All Pocket PC cabs are in wce300
folder tree, all CE.NET 4.x cabs are in wce400
Pocket PC 2003 is a special case since it's based on CE.NET 4.2 but fil es
relating to it are placed in
wce300\ARMV4 (for devices) and wce300\wce420x86 (for emulators)
You can copy the specific cab file to the device and tap it to install.

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

I have already installed that and everything works on my emulator. However
when I deploy to my PDA I get the following error when it attempts to
mount
the file.

OpenNETCF.Runtime.InteropServices.MarshallEx Could not type...

I have copied all the dlls that were created in my deploy directory
to
the
PDA folder where the exe resides but thinking I'm suppose to be installing
something else on the PDA to have access to these libraries. I've looked
on
OpenNETCF site but for some reason they have zero info on how to use their
components in the respect of deployment...

Thanks,

glenn
The code is referencing the OpenNETCF.Runtime.InteropServices namespace,
so
in order to use it download and install the SDF from here:
http://www.opennetcf.org/PermaLink.aspx?guid=3a013afd-791e-45ef-802a-4c1dbe1cfef9
-Alex
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org
My blog: http://blog.opennetcf.org/ayakhnin

:

I am trying to have my PDA map a network drive in code. I have been
informed and am currently testing the OpenNETCF classes to perform this
but
I'm getting errors when deploying to PDA. Is there another file
or
dll
that
I must move to the PDA to have access to these new functions?

I am trying to access the registry via these components and the
mount
functions.

Thanks,

glenn
 
Back
Top