GPSfan
12-26-2004, 10:22 AM
I am making a program in Visual Basic .net 2003 for my hx4700, and need to know how I can access the registry to read/write a couple of values. Anyone here know how???
|
Click to See Complete Forum and Search --> : Registry GPSfan 12-26-2004, 10:22 AM I am making a program in Visual Basic .net 2003 for my hx4700, and need to know how I can access the registry to read/write a couple of values. Anyone here know how??? AnswerDude 12-26-2004, 11:36 AM If you already have Resco Explorer, it has registry editor built-in. Or you can use free PHM Registry Editor; http://www.phm.lu/products/PocketPC/RegEdit/ GPSfan 12-26-2004, 12:59 PM Thanks, but I am more looking for accessing the registry through programming. Bokkie 12-26-2004, 04:15 PM Originally posted by GPSfan Thanks, but I am more looking for accessing the registry through programming. It is possible, but right now, I can't actually think where I've seen it done. You might have a look at www.codeproject.com as that's one of the better programming sites. I think you have to register to see the solutions but I never understood why, unless they like to harvest email addresses for resale to spammers. Bokkie 12-26-2004, 04:15 PM Originally posted by GPSfan Thanks, but I am more looking for accessing the registry through programming. Another thing, if you actually work out how to write a deployment installer for a PPC applcation, will you let me know how it's done? Bokkie 12-26-2004, 04:22 PM GPSfan, I just found this for you and it looks like it's what you are after? Here's the link (http://www.opennetcf.org/PermaLink.aspx?guid=0b99da71-9aac-44af-ac0e-c5dbeedb898c). Hope it helps. GPSfan 12-26-2004, 07:11 PM Thanks! The sample is written for C#, but I will try to use the DLL in VB. An installer is an another thing I am have I hard time figuring out... I will get to that later in my project. Bokkie 12-27-2004, 04:02 AM Originally posted by GPSfan Thanks! The sample is written for C#, but I will try to use the DLL in VB. An installer is an another thing I am have I hard time figuring out... I will get to that later in my project. That's the beauty of .Net - the framework works regardless of the language. You'll be able to convert the c# fragment easily enough. You also drop it into a project as you can mix-and-match different types of source without a problem. When you are ready to try an installer, I'll email you the one I have that I set up using a walkthrough. It does not quite work but between us we could probably solve it collectively. The simpler format is to build the .cab file and copy it to the activestink files folder so it get's copied to the device. Then, you can tap on it in the device and it should install everything. I have tired that and it works, but I prefer a full .msi file as you can enter install time data and options. GPSfan 12-27-2004, 10:02 AM Yes, prefer an installer too, so the user can choose ehere to install the program, because a CAB-file doesn't let you choose. How did you make the installer? I can't find the option at all, like it was in Embedded VB. GPSfan 12-27-2004, 03:16 PM I have installed the OpenNETCF framework, but can't find the file OpenNETCF.Win32.Registry.dll.... GPSfan 12-27-2004, 05:29 PM I am trying to add the Win32 namespace as described in the example, but cannot find it all. Is there anything else I need to download? I have tried to search myself, but with no success... http://surl.se/bilder3/4053.jpg Bokkie 12-28-2004, 03:24 AM Originally posted by GPSfan Yes, prefer an installer too, so the user can choose ehere to install the program, because a CAB-file doesn't let you choose. How did you make the installer? I can't find the option at all, like it was in Embedded VB. Send me your email by pm and I'll send you a zip file of the project that shows the concepts. You need to add a deployment project to the solution of your application. Then, by adding an installer class you can add the code to do specific install/uninstall functions and you can 'glue' the various items (dlls, etc) that you need to have installed when the .msi is run. The sample I have is the one I mentioned that does not quite work, but maybe you can solve the final problem with it! Sonme of the published references on the internet do not work as well as they claim. Microsoft do publish a zip file containing a project. As I say, send me you email and I'll research it again and let you know the link. Bokkie 12-28-2004, 11:25 AM GPSfan, pm received and I replied to it and your email address. Check your inboxes! Iman74 12-28-2004, 02:53 PM You really need a registry editor if they still have not fixed that white font issue on the Start Menu after flashing to ROM 1.1 using Win2003. GPSfan 12-28-2004, 04:10 PM Is there a 1.1 ROM upgrade available for Ipaq hx4700?? PDA Street
Copyright Internet.com Inc. All Rights Reserved. |