Answer Questions
pjhunter Why can't I ping outside of the Emulator?
Hello All, I have tried to ping the IP and hostname of the Vs2005 Arm Device Emulator without any trouble but I can't seem to ping even the machine the emulator runs on. I get PING: transmit failed, error code 11010 Any thoughts would be appreciated :) Bob Hanson No sorry, I didn't know that was required. Thanks for the reply, it is working great :) Have a great day (I am now) Bob Hanson Hello All, Unfortunately I spoke too soon. When I start the CTP Arm emulator it can be pinged for the first 2-3 minutes and then I lose the ability. Any thoughts as to what is causing this Perhaps a known issue with this emulator as it is still a CTP. -Bob Hanson Hello Andrew, I am invoking from ...Show All
allison_h Sample Applications/Projects that use Data Access & Business Logic Layers
Hi all, I am after some sample C# (.NET 2.0) sample applications for Smart Devices that make use of Data Access (for SQL Server mobile ) and business logic layers so that I can make use of them as references for when I'm developing layered applications for Smart Devices. Hope you can help me. Thanks Tryst Best way to learn the Mobile Smart Client Factory is to download the sourcecode and go about navigating the dB access code. It contains ported version of Data Access Application Block. More info on the block here http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnpag2/html/daab.asp Hope this helps Manav Hi, mgaur, thanks for the reply, and the link. But what I was after was some kinda references on how ...Show All
hypo COM port issues in a MFC Smart Device App (dialog based)
I am having some issues with using the serial port on the Pocket PC 2003 SE Emulator (built into visual studio 2005 professional edition). Serial port 2 (COM3) of the emulator is being mapped to my computer's internal COM4, but opening the port is causing some issues. handle = CreateFile(L"COM3:", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); dcb.DCBlength = sizeof (DCB); printf( "dcb.DCBlength=%i\n" ,dcb.DCBlength); GetCommState(handle, &dcb); printf( "dcb.DCBlength=%i, dcb.BaudRate=%i, dcb.ByteSize=%i, dcb.StopBits=%i\n" ,dcb.DCBlength,dcb.BaudRate,dcb.ByteSize,dcb.StopBits); //set dcb struct variables SetCommState (handle, &dcb); GetCommState(hand ...Show All
DJV Redeploys DLLs Every Time
I'm using VSTS to develop an application for Windows Mobile 5 devices. All my DLLs are redeployed every time I hit F5, even if no changes. Is this a known problem Are there any workarounds When you say that you are developing an application for WM5 devices using VSTS, I am assuming that you are talking about writing Unit Tests also and the behaviour you mention is to do with running the Unit Tests If that is the case then, this behaviour is known. In VSTS it is possible to run old tests. In the test results window, the dropdown will show previous test runs. Selecting any one of them will load the previous runs. One can then re-run that run. This behaviour enables the scenario where you can compare the r ...Show All
MartinMalek Efficient approach, or not? Loading Data into memory from db
Hi all, I have an application that loads quite a bit of data from teh database and loads it all into its Objects equivalent memory (thus I now have data in the database, and in teh object model in memory). I then use the application to work with this data in the Object model, and then save the data to the database as needed. Is this a recommended approach on handheld devices Or should each Form really be reading from the database Its just that I have been told that have two places that hold the same data (although one is only temp in memory whilst the application is running) is bad practice :-s Thanks in advance. ...Show All
Tian coredll.dll
where is my coredll.dll I'm trying following api function [DllImport("coredll.dll", SetLastError = true)] private static extern bool KernelIoControl(Int32 dwIoControlCode, IntPtr lpInBuf, Int32 nInBufSize, byte[] lpOutBuf, Int32 nOutBufSize, ref Int32 lpBytesReturned); and following is the exception Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) somebody please help me From error message it looks like you're running that on a desktop which can't work since there’s no coredll.dll on desktop. If that’s the case you should use API appropriate for desktop. Yet another reason it won’t work on desktop… Actua ...Show All
R3dD0g Robot Invaders final results?
The official rules state that: "Potentially winning Participants will be so notified via e-mail the week of on or about the week of October 15, 2006, (based on the contact information provided and maintained by Participants on the Site), subject to verification and acceptance as specified in these Rules." It is of course possible that I am not a potentially winning Participant (although I hope I actually am), but the rules also state: "In addition, Contest Prize winners will be posted on the Site on or about October 15, 2006. " I haven't seen or heard anything about the results of the contest. Has anybody got news about it I would like to know what is happening, because the judging period is real ...Show All
Ariel S Designing multiple threads
Hi, I'm trying to build an application which keeps sending messages to a server as user inputs some values. The application should also recieve messages from the server and update the interface. These processes should continue until the user wishes to quits. I'm not sure about how many threads I should create and how to handle them. Can anyone please advise me on this regard Thank you so much Daffodils wrote: Hi Andrew, I'm using Asynchronous socket communication between client and server. Thanks then yeah, probably just three, unless you're expecting multiple, simultaneous messages in a single direction, in which case make sure you spawn a thread in response to ...Show All
JasonFx 3G stream video
Hello All. The problem is following. I need to transfer little video file over 3G mobile network (using ASP.NET). Now our local operator provide such functionality in test reasons. I know how to transfer this video file over http stream, but I am not so expirienced in mobile technologies so a lot of questions appears. 1) Which specificity exists in transfering stream video over 3G network (can I transfer any video format that mobile phone support or only .3GP format Can I simply transfer video file like in usual http video stream (using appropriate content-type and stream of bytes) or I should do some "magic dances with tambourine" to transfer) 2) If I should use some specific formats is there are any .NET libraries that ...Show All
Brian Matalus Robot Invaders - The Bonus Round!
Robot Invaders “The Bonus Round!” Build a Robot by next Wednesday and you could be one of 5 people to win $200.00 Who Will Win The 1st 5 people that submit their valid robot entries, which means: Submitted between today 8/29 and 9/6 11:00am PST This is for new Robots, those that have already been submitted will not be considered Your Robot must be integrated with the Messenger Activity window and 1 other great Windows Live service! Download the Activity SDK here Pick another great Windows Live service, please see http://dev.live.com or http://ideas.live.com for a list but some ideas would be ( Search , Alerts , Spaces , Virtual Earth , or Expo ) Your robot must be submitted correctly, whic ...Show All
JulianRidley CF Today Screen example
Hey guys, I have tried to get the following to work; http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/ today scrn.asp But there seems to be files missing... Could someone point me in the direction of a quick start on building Today Screens... Thanks Keni I was able to build the Today Screen Plug-in Host via eVC. After building the TodayScreenWizard.msi I proceeded to install it... I tried the Device installation but I couldn't find the TodayScreenSupport.msi... It is then I relised that the Managed code solution hadn't built it as it wasn't a part of the solution... I have tried to add it, but it seems as the folder containing the files is empty... I have reinstalled this ...Show All
Naheem Update Data in MS-ACCESS in PC from PPC
Hi all, I would like to update data in a MS-Access Database which is in the Local IIS Server. I have to update the data from the PPC which is connected to the PC using Cradle. Can anyone get me some Ideas on this... Thanks in Advance. Biju S Melayil Hi Manav, The PPC is Connected through the Cradle using the NEtwork connection option(Direct Connection). when its Connected its able to Browse the websites but its not able to access the Local Host or the IIS Server of the Connected Machine. I checked the Connection Properties in which we havent mentioned any IP Address for the PPC. when i tried to specify an IP to PPC, its not getting connected... Am using BlueBird BIP 3000 Device which has CE .NET 4.2 Th ...Show All
Skip123123 Problems with Emulator & SQL Mobile 2005
Hi - I am having problems using the Windows Mobile 5.0 Pocket PC Emulator connecting in code to a SQL Server 2005 Mobile database file. I created the Database just fine and created some tables without problem from within VS 2005. Following is a code snipet of my connection attempt: (real password not shown) Dim myCnn As New SqlCeConnection( "Data Source=C:\Mobile\Test.sdf;Password=secretPassword;" ) Dim strGuid As String = Guid.NewGuid.ToString Dim strSQL As String = "INSERT INTO TestSig(ID,Signature) Values( , )" Dim cmd As New SqlCeCommand(strSQL, myCnn) Try Dim encryptData As Byte () = Crypto.Encrypt( _ [Global].Settings.GetString(SettingKeys.CryptPassphrase), _ ...Show All
barkingdog Messenger Hangs
I've downloaded the new Live Messenger, and it was working perfectly. I got the free gift for testing the Beta, and now it just hangs, and won't respond. I can't get in to the programme to remove the backgrounds and animated display picture. I even tried removing and re-installing, but it still does the same thing. If anyone else has had this problem, or knows how to solve it, can they please let me know. Many thanks. Lenoire77 same thing is happening to me. It was working perfectly, now everytime i start live messenger it hangs. I tried downloading messenger 7.5 , still having the same problem!!! please help I'm VERY VERY new to this kind of tec ...Show All
Herru Perdana Getting the Assembly Version
hi! i'm writing an application for a Pocket Pc2003 using Visual Basic 2005 & would like to show the Assembly version in my program...ie in Help About. tried to use AssemblyVersionAttribute but without any success. anyone can help ! thanks Dave Hello Dave, Here is the sample code. May that help you. Imports System Imports System.Reflection Imports System.Threading Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Label1.Text = Assembly.GetExecutingAssembly.GetName.Version.ToString End Sub End Class Thanks, Zero Dai - MSFT ...Show All
