About the source from the Opennetcf.org

  • Thread starter Thread starter A_PK
  • Start date Start date
A

A_PK

a lot of people recommend opennetcf.org. there are also a lot of sample and
source.....

i have a question here, how come when i open the source, i am able to see
all the source code, but i can not run the project ?
below is the error message i got

Cryptographic failure while signing assembly 'C:\Program
Files\OpenNETCF\Smart Device
Framework\Source\OpenNETCF.Data\obj\Debug\OpenNETCF.Data.dll' -- 'Error
reading key file 'C:\OpenNETCF\OpenNETCF.SDF.snk' -- The system cannot find
the path specified. '


could someone guide me, where is the correct path ?
 
Comment out tej line in Assembly.cs that refers to OpenNETCF.SDF.snk - you
cannot sign this assembly since the key is not public. Alternatively you can
create an SNK file by running
sn -k OpenNETCF.SDF.snk
 
Well, i am a bit confused.....

I now open VB.net to write a application. i found some code from the
opennetcf.org

Dim vProcessor As OpenNETCF.Win32.Core.SystemInf­o
vProcessor = OpenNETCF.Win32.Core.GetSystem­Info()

Label1.Text = "Processor Type: " & vProcessor.ProcessorType.ToStr­ing


when I try to write "Dim vProcessor As OpenNETCF.Win32.Core.SystemInfo"

there is error for underline "OpenNETCF.Win32.Core.SystemInfo"

I believe that I have to add an Object or File which is from
OpenNETCF.Win32....but I just do not know what is the actual file ? is it a
DLL format ? or SNK ? or whatever format....

So basically I just open a VB.net Project, and dim all the source that I get
from OpenNETCF....and ALL just got error...
so, please guide me what object/file/reference that I need to add to my
project in order to use all the source that I got from OpenNETCF...

REALLY SORRY....BUT I JUST NO IDEA HOW TO DO....

THANK YOU FOR ALL YOUR HELP
 
Since all the OpenNETCF code is C# you'll need to build it separately into a
dll first, or you could just install the compiled binary version:-
http://www.opennetcf.org/sdf/

Once you've done this, in your VB project select Project > Add Reference
from the menu and add OpenNETCF.dll. You'll then be able to use classes
within that assembly (repeat as required for other dlls in the package).

Peter
 
You might be best off to just install the SDF already compiled, then create
a new SDF project. That way you won't have to worry about compiling the SDF
source itself.

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
 
Back
Top