Answer Questions
Tall Dude Accessing sdf files on VS2003
Greetings! The company I'm working for has an ASP.NET system made using Visual Studio 2003 and the 1.1 Framework. Now we need a Pocket PC application to work with a subset of the main app's database. There is already a Microsoft Access file that does the same work which this PPC app must do, and we have in the ASP.NET system an import functionality that takes the generated .mdb file and extracts all the information. What I need is a way to extract from .sdf files the information that we currently obtain from .mdb ones. I searched around the web and it seems that the namespace needed for this is the "System.Data.SqlServerCe.dll" (or something to that effect), but I can't find the references to add to our project under Visual Stud ...Show All
Michel-Hugo Do I need to sign a today plugin dll?
I have developed a today plugin that works without any problem in the emulator. When I place that in my PocketPC's storage card, the item is not show in the Today item list. Did I miss something ----- Problem solved. It is not allowed to install Today item on a storage card. You posted the question along with the solution! Well this information might be useful for other people. Thanks, Achal VSD, Microsoft ...Show All
Siri29388 Using VB program to open file on a CDMA device - PPC6700
I'm trying to use the Shell command to run a .exe file on a mobile Pocket PC, but when I run/debug the program on the phone it keeps coming up with the FileNotFound error. I'm thinking it is the path that is wrong, but I can't find anywhere as to how to address the path on a mobile device.. i.e. Shell("c:\program files\calc.exe"). I have tried every combination i can think of, from My Device, to C: to just \... but nothing seems to work and I know I'm missing something. Any help would be appreciated. Nevermind, mis-typed something. Thanks for all your help! Still trying to figure this one out. Any idea on how to get the ID of a process I do a process.start on test.exe.. but I can't get an ID to close it with now. ...Show All
Hendro Wijaya Driving Directions Answer
Is there any way to add driving directions to your website where the user can define the start and the end of it I don't really know if this is what i'm asking for. I'm not very familiar with javascript, so that might be why. What i really want is basically what they have on the msn webpage; 2 boxes where the user can type the start location and the destination. but maybe that's what this is and i just need to learn javascript. Have a look at the online SDK: http://dev.live.com/virtualearth/sdk/ There is a section on "Get route and direction" that gives online exmaples with source code. The difference is instaed of a place name you need to pass the ...Show All
Chuck Cobb How to re-active an inactive modeless dialog box?
Hi, all, I am using a modeless dialog box as my main window item by calling CreateDialog(), without the menu bar in the initialization function for the dialog. Instead, I am inserting the menu to the windows seperately and hoping to get the control for menu and the modeless dialog at the same time. But when it is returned from the menu bar response, it lost the focus for the modeless dialog, how can I re-active the inactive dialog box and bring it into focus Thank you very much! Best Hi, Have you tried SetActiveWindow/SetFocus functions These functions are used to make a particular window as Active. I hope it helps. ...Show All
Steve Abel VS2005 smart device exe doesn't run
VS2005 smart device exe doesn't run My Pocket PC 2003 app has just one form, and a "hello world" msgbox from a button. I add a Smart Device Cab Project to this project. I the set its Primary output to my test app. This then creates all my dependences. These dlls are all set to exclude = true. Now because my pocket PC has just been hard reset (So I can test the set-up) I set the exclude = False for all the dlls. This I thought would be enough to create me a cab file for my test exe to run. I copy over the built cab file to the Pocket pc and run it from there. The app sits in its correct folder in program files but when clicked just doesn’t show. Any help would be most welcome. Thanks ...Show All
Dietz Symbol MC70XX series physical assigned button
Hi, I am working on Symbol MC70XX device. I assigned buttons from Start_Settings_Buttons to some programs but I can not find the right physical keys for these assigned keys to start the assigned programs. For example for Button 1, what key do I press on the device to start the assigned program Any advice would be appreciated. Thanks Bahman You can use RegisterHotKey to associate a key with running application. As for launching the app - MC70 simply does not have assignable keys I found 193,194,195,196 for these codes (xx) and changed GreenKeyOverride in the registry, but nothing happened. Anybody knows what is wrong Please. I don't believe there is one. ...Show All
ku19832001 HELP:processing KeyDown event.
Hi, I have a program written by .NET CF 2.0. I want to process the KeyDown event in order to do something when a key was pressed. The Left, Right, Up, Down keys are OK. But the Enter key, after running the codes I want, the button having focus will be pressed which I don't what this. I had added "e.Handled = true;" at the bottom of the MainForm_KeyDown method. How to solve this Many Thanks. Three questions: Which platform are you targeting: PocketPC/SmartPhone 2003, PocketPC/SmartPhone 2003SE, Windows Mobile 5.0 Which device are you targeting Does this repro in the device emulator Thanks Try processing KeyUp event in the similar man ...Show All
Doug DeBug Converting (N 48° 31' 28.79") to number values for VELatLong
Latitude: N 48° 31' 28.79" Longitude: W 123° 9' 26.96" If I have latitude and longitude such as the above coordinates, what do I pass into the VELatLong constructor for this Go here for a conversion utility. http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html The math is pretty straightforward. Divide the number of seconds by 60, 28.79 ÷ 60 = 0.5166. Add the result to the number of minutes, 31 + .47983. Divide the result by 60, 31.47983 ÷ 60 = 0.52466383. Now add that to the number degrees, 48 + .52466383. The result is 48.52466383° Do the same with the longitude, and then you can pass them into the constructor. Paul ...Show All
Bram Veenhof Installation problem
Hi, I'm trying run my setup program (for install my program to mobile device) on Windows Vista and this not work because not possible find Application Manager (ceappmgr.exe). I check SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CEAPPMGR.EXE key, but this not exist. Exist any solution This comes with WMDC (Windows Mobile Device Center), Vista version of Active Sync. Not sure it's available yet, so I would suggest testing on XP/Active Sync 4.x for now. Yes. Thanks. WMDC will be compatible with existing installation programs ...Show All
Johngeh How to bound DataGrid to datatable/dataset and create ComboBox Grid colums
I have a requirement to add, edit, and delete data displayed on datagrid in pocket pc application. But, I do not see the dataGrid allowadd, edit, delete properties (like win app). it seems those propertiess will not be supported in pocket pc application, not sure . How can I bound dataset to datagrid how can I replicate changes to dataset, made from datagrid Is there any round about way to achieve this I would also need to set some columns as combox columns. Please suggest any one. Thanks, You would also need .Net Compact Framework V2 SP1 installed" - do you have it installed no, I thought CF V2 is part of vs.net 2005 installation. Please make sure to rebuild the solution before browsin ...Show All
Mortsdeh Sending an Invitation for an Activity from a managed Add-In
Hi, I wrote a Messenger AddIn in C# which is working fine. I also implemented the Activities SDK to collaboratively watch video. My question is how do I send and accept an invitation programmatically from the AddIn. I cannot change the AddIn to a 3rd party Bot environemt as I already implemented most of the functionality in managed code. I feel that the AddIn API and the Activity API can be used in conjunction. Any help is highly appreciated! Thanks, Janakiram The ID for testing applications is 7, but it seems like using appID = 7 doesn't work... I guess that is because with appID = 7 messenger also needs a name of the application. I guess there should be a function to also pass th ...Show All
Dan Mikkelsen How can I download doc, jpg and other files to PDA via CF.Net?
Hi all, I really need some advice here - I'm developing a PDA app in Cf.net 2.0 with SQL Server 2005 on the server. The app allows medical professionals to take selected patients data with them when they go out to consult or to hospitals etc and as part of a patient's record there could be associated documents (say, referrals or letters from another doctor or text files or even JPG's/BMP's of xrays, etc) and what I need to do is when the user syncs with the server (via my CF.Net app) those files should be downloaded to the PDA so they can be opened there - so a .doc file will open with PocketWord for example. My problem is literally how to do this! ActiveSynch does this stuff automatically if you copy a file manually but I want to downlaod ...Show All
hazz How do I include a dll in my project
Hi everybody, I’m trying to use a dll in my Project using: [DllImport("shapelib.dll", CharSet=CharSet.Auto)] I add the dll file doing: right botton of the mouse over my project - > Add existing item -> And I select the dll file. The project compiles ok but when it uses the dll I get the following unhandled exception: System.MissingMethodException was unhandled Message="Can't find PInvoke DLL 'shapelib.dll'." How can I use a dll file in my Pocket Pc Application Thank you, Thank you, i have done exactly what you say but it happens the same error. Any other sugestion How can I know if the dll file works with Compact Framework 1. Pick ...Show All
Zep-- WM5 (or phone based device) giving problems for Maximized Forms
Hi all, I am having severe problems on Forms that have their WindowState property set to Maximized on WM5 based devices, or more prevailently on devices that have telephoney functionality. The problem is that the Windows taskbar frequently pops to the front and covers the top part of my application and is impossible to get the application to come to the front again. I think the cause of this is when the phone signal is updated, and also if blueTooth and WIFI are on then this makes Windows update the icons in the taskbar, which then puts to the front and ontop of my application. This has become very annoying to a client, and is a major problem in terms of usability. Is there anyway I can prevent the OS from bring the Taskbar to the front If ...Show All
