Answer Questions
No-spam Sam Retrieving Path of the file
Hi Friends, I am presently using the path like "\\Program Files\\Images\\image001.gif" But If my application get install on memory card, path may get change. How can we know the path programatically. Thanks in Advance, I assume you want to know the startup path of your application in order to create valid paths If that is the case, you can probably used this: System.Reflection. Assembly .GetExecutingAssembly().GetName().CodeBase And then ofc wrap a System.IO. Path .GetDirectoryName(<codebase here>) around it to get the path only. If you use that in the very beginning of your application, it should work. (dont put it in a seperate dll as it probably could be stor ...Show All
BronwenZ How to get vga device emulation
none of the shortcuts emulate a hidpi device, i.e. vga. i created my own shortcut using the command line args, set video to 480x640x16 and it gave a vga screen, but it was not 'hidpi', it was the same as running sevga on a true vga device, i.e. not what the user normally sees. anyone got proper emulation of a wm2003se vga device With Visual Studio 2005 Beta 2, you have an entry called "Pocket PC 2003 SE VGA Emulator". This will load a Hi DPI 2003 SE VGA image and will behave exactly the same way as a VGA device. There is a similar entry for the Smartphone emulator. I was using the 2.0 version, but I tried the 1.0 too, didn't work. I'm using a shortcut: target: "C:\Program Files\M ...Show All
Jon Stroh Showing multiple layers
Hi, how can i show multiple layers (with different ids)on a map Now it show only once at a time, but i need to show different layers in the same time. Thanks Smincio ...Show All
Clein Error MSN Search When Putting Live
I've just finished testing an implementation of the MSN Search functionality into one of my projects. During debugging and testing on my local machine everything was working successfully, searches were being carried out and everything was fine. However when putting it onto the server I came across an error: The remote name could not be resolved: 'soap.search.msn.com' I believe that the problem will be down to permissions on the server. Before messing around with the permission settings I thought I'd ask and see if anyone else has had this problem and whether or not they managed to solve the issue. Thankyou James Try to check proxy configuration . . . I Have tried setting up the proxy server, stil ...Show All
Denis Pitcher Threading - using variables declared on the UI.
Hi all, I have created a thread in my application, that performs many updates to the database, using the following method... WorkerSignOffThread = new Thread(BackgroundProcessing); WorkerSignOffThread.IsBackground = true; WorkerSignOffThread.Start(); private void BackgroundProcessing() { processingDone = false; InspectionManager.FillInspectionGoodAnswers(SelectedInspectionUID); processingDone = true; } ...but as you can see, the FillInspectionGoodAnswers() method uses a variable ' SelectedInspectionUID '. This variable was declared in the Form that declares and starts this thread - is this ok The thread seems to run and update the database ok, but I was under the impression that the threads couldn't use UI objects/controls/ ...Show All
Abdul Muheed Correct use of Find with callback and index
Hi Could anyone give any pointers on how to use the find method with callback when changing the index when using wheres and whats. I've implemented a page where you're supposed to be able to navigate through results. When you click e.g. "next results", the index variable is increased by one and the find method fired off again. The next results button/link is only available when findResults.HasMore == true I seem to be getting weird results however. On some wheres and whats I get 1 more pin if I click next. Sometimes I get a lot more but the older pins aren't removed. I tried increasing the index variable by 10 for each click but that isn't the solution. Any ideas Cheers Aled ...Show All
_keith timeoutsession in pocketpc application
Iam using wm5 pocketpc.I want to create timeout session in my pocketpc application which is in vb.net.The application is webservice based.So that i want to create timeout session in my client device application.Is it possible Is there any code snippet for this Please help me Thanx in advance laja wrote: hi As iam newbie to this application,i do not understand what u r saying.Will u please explain me clearly or send me the code format for this thanks how about some pseduocode assuming you're talking about creating a session within the app itself: on app start: DateTime sessionExpires = DateTime.Now.Add(length of session) on any activity: if sessionExpires > DateTime.N ...Show All
kyus94 How can I deploy latest compact framework with my application cab
I am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I am using smart device cab application projectI am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. Hi Ilya, I have a problem after completing the walkthrough. My MSI got created and the installation process went smoothly. however the application is not installed on the pocket pc (WM 5.0) and neither the framewor ...Show All
InfiniZac file opened?
<deleted> You'd need to make second launched copy of your application notifying already running copy somehow. Any common IPC methods would do. <deleted> This would give you a clue (post by Michael Koster ): http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=767715&SiteID=1 Read the entire train of thought on this... it seems like it would have just been easier to leave things alone and let the user decide if they want a singleton or not ... Two reasons: 1. Your implementation of instance count can't possibly work since even static variables are not shared across instances. You’d ...Show All
goofaholix GPRS does not autoconnect to its server, C# CF
Hi, I am writing a C# application for pocket PC which connect to GPRS. I use the following code: HttpWebRequest wr1 = (HttpWebRequest)WebRequest.Create(URL); HttpWebResponse ws1 = (HttpWebResponse)wr1.GetResponse(); and XmlDocument xDoc = new XmlDocument(); xDoc.load(xmlURL); Both of the above codes work well with no problem as long as GPRS is connected before these codes run (i connect GPRS manually before running the code). However, when the GPRS is not connected, i always get a GPRS connection error when the application tried to initiate the GPRS connection. The GPRS somehow cannot connect to the server. Can you let me know what can possibly go wrong when the above code is executed If something is wrong, what needs to be added so that ...Show All
Falklian CE 4.2 which framework?
Hi All I'm new to the CE environment and am trying to write an application for a wireless handheld device. The device has CE 4.2 and I can't get a clear understanding of which combination of development tools I need to install and which framework I need. Can someone point me in the right direction Thanks, Thad CE 4.2 will only run CF 1.1. (2.0 isn't supporting CE 4.2) Visual Studio 2003 works with it. I haven't tried 2005, but it supposed to. You'll need: Visual Studio (2003 or 2005) ActiveSync 3.8 or later Manufacturers SDK to use some of the other CE tools (remote registry editor, etc) If the manufacturer of the CE 4.2 included the CF on the device, you won't need to install it. Although t ...Show All
zxdgsadf mobile applications..............how to start???????????????
how can i create mobile applications using .net technology I think you should start by looking at the .NET Compact Framework http://www.microsoft.com/downloads/details.aspx FamilyID=9655156b-356b-4a2c-857c-e62f50ae9a55&displaylang=en , and look through their blog http://blogs.msdn.com/netcfteam/ and forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=33&SiteID=1 for hints. If you have specific .NET CF questions, you'll find more expertise on that forum than this one. ...Show All
zhengh Any tips for plotting multiple GPS tracks
Hi, I am writing an application which will plot multiple GPS tracks on a virtual earth map. Each track typically contains a few thousand points. So far I am plotting a track as a series of polylines, it works but it all feels rather slow and clunky. Does anyone have any tips on how I can optimise drawing these tracks to maintain a good user experience Many thanks for any help! Jamie Hi Jamie, I am really stuck with the GPS plotting stuff.Could you please help me find a solution to this. I have to plot the GPS co-ordinates of multiple vehicles at the same time on map. :-( I am a newbie in this.Please Help. Regards, Salu It is an interesting question that you ask. T ...Show All
jerfoo Unable to Register COM/Activex in Windows CE .NET Emulator
Hello Sir, I want to register "OCX" control in Windows CE .NET Emulator. For that i copied "my.ocx" into the emulator. For registering, i opened command prompt and executed the command "regsvrce my.ocx".But i am getting the error "can't execute regsvrce.exe". How to solve this problem I need your help. Please Normally, you would get "regsvrce is not a valid application" for your target platform if you are trying to run regsvrce.exe which is not built for your platform/architecture. For example, trying to run "regsvrce.exe" built for PPC WM 5.0 on a PPC 03 will usually throw an error of this type. Also, about the "methodnotfound" exception, please note that your applicat ...Show All
redshock Error
I cant get windows live to work. I keep geting this error code:8004882c Anyone know what this error is OK i got it to work :) With my firewall and other progs. Good job with live by the way. you can add me if you want "my email is williamd1962@msn.com Hope to see some of you online soon. Hey Friends... I'm really so afraid with some Windows/MSN Developers, what kind of Impact Analysis they do I've got the last windows security update and my messenger stoped to work! Incredible, isn't it The same error code has been reported to me... what the hell can I do I'm using MSN 7.5 version and I really don't update to Live version because I don't wanna ...Show All
