Answer Questions
AVVIT Activesync on a headless Device Emulator OS design
Hello, I'm trying to get ActiveSync to connect to a headless (well, at least shell-less) OS image built atop the Device Emulator BSP that ships with Windows Embedded 6.0 Platform Builder. I've included SYSGEN_AS_BASE and run connmc.exe and the 'PC Connection' applet within control panel to generate the appropriate RASBOOK entry/selection within the registry. The RASBOOK entry (called `DMA) is setup to connect via Serial over DMA, using the default 19200, 8, N, 1, Hardware settings. I cradle my device emulator via the device emulator manager and then attempt to manually run repllog.exe from the target control shell. Note that I haven't hooked into an event to launch repllog.exe automatically yet (is this OK ). The typical ActiveSync connect ...Show All
gdwinslow how to get a form object through the form name
Hi, I need to get a form instance, by supplying the form name i.e, i need some thing similar to Class.forName() in Java. I tried it using System.Type.GetType() method passing the form name as object. But the prob here is i'm getting an exception saying "System.Type can not be casted to a System.Windows.Form". How can i get the form object based on the form name. Any one plz suggest. Thanks, Hari You must be using NETCF V1 which has no Name property so it can't be accessed because it does not exist. Hi Ilya, I understood. So i've to precede the type with the namespace in which ...Show All
DINESH CHAUDHARI Compact Framework 2.0 Install Problems
I have an iPAQ 2795 with Windows Mobile 5.0. ActiveSync has never worked for me, that is a separate issue. For this reason I install all programs on it by first obtaining a .CAB. I put this .cab into a .zip and post it to my local website. From there I use pocked ie to download. I exctract this zip on my mobile device with functionality built into the Resco File Explorer. I have verified that Resco is extracting files without issue from a .zip. With the .cab file on the mobile device I simply double click and the install starts. Everytime I do this I see the following message: "Installation of CF.cab was unsuccessful". CF.cab is file "NETCFv2.wce5.x86.cab" simply renamed. Using cgacutil.exe I can see that Comp ...Show All
alexey.polovinkin CabWiz Info
This is just a quick post to hopefully save someone some of the pain and agony that I have suffered over the last 2 days trying to get a CAB built for a new PocketPC app. If CabWiz reports an error similar to: Error: CAB file "D:\CabFile.CAB" could not be created one of the first things that you should check is that you do NOT have 8.3 file naming turned off. If registry entry HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation is set to 1, then CabWiz will either not work or will only work intermittently (depending on whether you are working in a directory that has short names or not). If it is set to 1, change it to 0 and then reboot. You will also need to recreate all existing directories that do not ...Show All
Bluehunter How Can I Change Msn State(Online,Ofline)?
I Want To Change Msn State(Online,Ofline) So How Can I Change :):) you don't understand :) i want,when someone click button will change msn state What button and state are you refering to exactly, can you be more precise, you may get more answers if you give more information on what you are trying to do Thanks Mark. You should probably ask this in a more relevant forum like: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=646&SiteID=1 Windows Live Id forum, you may get more answers there. Mark. thanx . . . You can do that with a so called Add-In. Look at this page for more information, especially the User.Status part is interesting for you ...Show All
Chris128 Device softreset/shutdown question
Hi, I have a question about device reset/shutdown, I have a block of code that running in an "infiinite" loop (thread) and right below it I have block of code that will save some data that used in the thread. I do not want the data being write/save to the disk everytime it being used in the thread, so I'm wondering will Windows (smartphone) notify all the running processes that the device is going to reset/shutdown Thanks in advance. Hi, Thanks for reply, is there any other ways instead of using timer and save data on timely basis Because timer is not really that "safe" actually what if the user softreset before the timer being called ....This problem really giving me headache.... ...Show All
Enolan Read and write XML files
Hi, I want to build a software for pc pocket on Windows Mobile 5.0 using VS 2005. I create solutions and add one xml file item into the project, called "data.xml". My application when loading will load xml file like this: myData = new XMLDocument() myData.load(" \\data.xml "); There are 3 things: 1. Is this the right way to load xml data Any suggestion for a good way to do it 2. Is data.xml automatically deployed together with the application or do I need to do any step to include it when deploy on to the emulater 3. I got this error so far: Could not find file " \\data.xml " Thanks Bao Nguyen 1. It is the right way to load it into XML DOM. Whatever it’s suitable for yo ...Show All
zhiwood Direct3D Mobile SDK
This link below refers to samples for D3D Mobile in certain paths in the D3DM SDK. Is it possible to get this SDK outside the scope of a platform builder from a hardware vendor For example, the DirectX desktop SDK comes as a (large) standalone package. Is there anything like this for the Mobile version If not, then I cannot develop for mobile devices without having a Platform Builder that provides it right http://msdn2.microsoft.com/en-us/library/ms932530.aspx Thank you, George Hi George With Windows Mobile 5.0 the Direct 3D Mobile support is already included in the WM 5.0 SDKs. So you don't need anything else. As far as I know, Platform Builder is the only way to get these native ...Show All
el_co How many garbage collections is too many?
I'm developing an application on the .NET CF 2.0 for a WM 3.0 device and have been using PerfMon (through Remote Performance Monitor) to monitor the number of garbage collections being performed. Currently a garbage collection is being performed every 5 to 6 seconds when the application has entered its steady state. This seems excessive but I cannot find any literature containing guidelines. Also from PerfMon I can see a lot of boxing operations being carried which I think is due to some naievely implemented collection classes (not by me, my code makes use of Generics ). Can anyone offer me any insight based on their experiences I haven't seen a hard number myself, but you should try to make GC's as non frequient as possible. Every ...Show All
AIM48 Beta of Microsoft Certification Exam 70-540
Microsoft Certification Exam 70-540 is available in Beta form right now! This is a Technology Specialist exam for application developers in the mobility space. The Preparation Guide is available for the Exam at: http://www.microsoft.com/learning/exams/70-540.mspx . To register visit one of our independent testing providers: * Thomson Prometric: http://www.prometric.com/ContactUs/T...rs/default.htm * Pearson VUE: http://www.vue.com/ms/ Please use the following promotional codes when registering: Exam 71-540: BTA540 Best of luck! Howard Dierking Product Planner Developer and Database Certifications Microsoft Corporation Hi Howard, Is there any particular reason why results for the first ...Show All
Forch how to get the names of all applications running in the device
I need to get the names of all the applications running in the device like in windows task manager. The processes runing in the device can be captured using toolhelp functions. What are the functions that can be used to get the applications data . any idea Thank you.. Take a look at this old article of mine: http://msdn2.microsoft.com/en-us/library/aa446560.aspx I am not aware of any managed API that can do this task. For native APIs you can p/invoke to toolhelp as you mentioned. Roughly you would call CreateToolhelp32Snapshot to get the snapshot handle, then call Process32First and Process32Next to enumerate through the processes. For each proc ...Show All
Prabu Ramaraj pb with TCHAR strings in a DLL / Today screen
pb solved ...Show All
DamonPeng Toolbox Icon
Hi guys, How do I provide an icon to be displayed when my custom control is added to the toolbox with CF In the full version, its easy: [ToolboxBitmap .... ] but this seems to be missing in CF. Obviously it can be done, but having trawlled through here and MSDN, I cant find anything. Thanks in advance, Millie. Hi Millie All names (class Name, TooboxBitmap) must be fully qualified names (including all namespaces) Check that the ''Picker.bmp' is properly included as an embedded resource in your project. To get the proper name you have to specify in the XMTA file, use Reflector (Visual Studio prefixes the filename with the project default namespace). Michael M ...Show All
Sumit Chawla Pocket PC menu bars
Hi, I've added a command bar and menu using CCommand bar class. On the smart phone it is ok but on the pocket pc (2003) the buttons for Options and Quit get changed to 'File' and 'Go' Anyone know how to fix this The buttons also don't take up the entire bar and appear on the left hand side. Thanks. Hi avinash, I checked the rc2 files for both versions and they seem to be the same and are using SHMENUBAR. I'll look into it and get back to you - at the moment I'm only working on the smartphone version. Below is an example of one of the menu bars. Thanks, David IDR_MAINFRAME SHMENUBAR DISCARDABLE BEGIN IDR_MAINFRAME, 2, I_IMAGENONE, IDOK, TBSTATE_ENABLED, TBSTYLE_DROPDO ...Show All
MA2005 Debug using Emulator and VS 2005
I installed VS 2005 machine that had VS 2003 on it, but NEVER a beta of VS 2005. At first I could not even connect to an emulator with VS 2005 (VS 2003 worked fine), but then I was told to delete all the files in the %USERPROFILE%\local settings\application data\Microsoft\CoreCon\1.0 directory and that allowed me to connect. The new problem is I still cannot debug. I select debug with VS 2005 and I can see all the files being deployed, but when it goes to run the application that was deployed, it seems like the debugger cannot find it. The entire application is there, because I can select with the file manager in the emulator and actually run it. I ran sysinternals filemon to look at the files, and VS 2005 was trying to run d:\microsoft vi ...Show All
