Answer Questions
Kobingo Bug in VEMap.GetLeft() ?
If you call the function VEMap.GetLeft() before calling VEMap.GetTop() then GetTop returns zero. eg. alert("GetTop() = "+map.GetTop()); // ok alert("GetTop() = " +map.GetTop()); // ok alert("GetLeft() = "+map.GetLeft()); alert("GetTop() = " +map.GetTop()); // returns 0 This can be seen at http://maptest.eeens.com/getleft.html by right clicking on the map. GetLeft() also writes data to the status bar. Looking at the respective code in http://local.live.com/veapi.ashx we have - VEMap.prototype.GetLeft=function(){ var curleft=0; if(this.mapelement.offsetLeft) curleft=this.mapelement.offsetLeft; else{ if(this.mapelement.offsetParent) while(this.mapelement.offsetParent){ w ...Show All
John Hennesey Bug? Pushpin text gets misplaced if pushpin located at the bottom of map
Popup cloud gets misplaced when the pushpin located at the bottom of a map AND the browser window is smaller that the “height” value of the map’s DIV (there needs to be some space below the map’s DIV to reproduce the bug in IE). See the code sample to reproduce the bug. The code sample provides a map in a DIV with “height:500px” and some extra space below the DIV. There is a single pushpin in the very bottom of the map. If browser window height is bigger than 500 pixels then everything works fine. To reproduce the wrong behavior change your browser window height so that it is shorter than 500 pixels in height and scroll the content to the bottom of the page. Now, if you move your mouse over the pushpin the pushpin text appears way below th ...Show All
Bas de Zwart Web service is very slow in device
Hi, We have Window CE application in Device which sends some datas and signature (in byte format) to the server machine. Currently we are using web service to transfer the datas from the device to server machine using GPRS connection. It is very very slow and even sometime we get error while acessing the Web service. Is any other way to updated the datas in the server instead of using web service or any other options. Device Details : BlueBird BIP 3010. OS: Windows CE 4.2 Server Details: IIS 5.1 SQL Server 2000. Check this article, especially the chapter 'Building Interactive Server Components'. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/httpcomm.asp I built a GPRS applicat ...Show All
NeederOfVBHelp Update Control on Loading/Splash Screen in Separate Thread
Hi all, I am working on an CFv2 app that needs to run a few processes before displaying the main form of the app. I want to have a loading screen with a progress bar and label that are updated to reflect where we are in the process of initializing the app. The loading screen is the first one the user sees, but FormMain is loading first and opens the loading screen in a separate thread while the main form continues processing. I currently have the app loading the loading screen while the rest of the app initializes and then it unloads and displays my main form as it should. I based my code off of a webcast by Maarten Struys (Creating a Windows Mobile Line of Business Application - episode 6 of 13, User Interface) and it is working fine. The ...Show All
avinashraj no window appliation
Is it possible to have an application that doesn't have a window. I want to be able create an application with the following design. I want a windowless application to launch a Flash player. The windowless application will communicate over a localhost socket to the Flash player. In Windows XP, the equivalent application would be console application that spawns another process that contains the Flash player. When the app terminates, the spawned process gets killed too. I think what you mean is a Windows Service. On Windows CE it will be... a console application. All you need is to find a Flash player for CE and spawn it. As far as I remember there’s even console application template in VS 2005. ...Show All
Raju Sreenivasan Route line not displayed in IE
Hi all, Has anyone experienced a route highlight line not being displayed on a map under IE, although all the route points are correctly displayed Works fine in FF (which is annoying!!!) Thanks, Gerry I know, silly me, changed it now. Again thanks to everyone for their help. Gerry Found the problem! You have to include the META element in the header that declares the utf-8 charset: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> That nifty line is REQUIRED for rendering lines. Add that, and you should be all set. Cheers, Caleb Is it possible then that the ...Show All
Gaoqiang DEP blockin Live Messenger 8.1
Why does DEP keep block my Live Messenger how do i overcome this problem This is usually caused by an older version of Flash that has a bug which crashes under DEP. If you upgrade flash, things should be fine. If upgrading flash doesn't help, please let me know so we can look into it. I have an Acer computer and went to the link above. Unfortunately i'm not exactly a computer genius so had no idea what it was on about. Can anyone help me out I tried this, but when I click on the advanced tab, those options are greyed out, even though I am the adminstrator on my computer, is there a way to ungrey them Thank you I'm having the same problem with al ...Show All
AlucardHellSing Dialog background won't erase.
I have a dialog the I have created in the resources. In this dialog I create some dynamic child windows like this: m_pSuperTR1Ctrl->CreateEx(0,L"STATIC",L"", WS_CHILD|WS_VISIBLE|SS_CENTER, ctrlTr1Rect, this,1240); then I m_pSuperTR2Ctrl->ShowWindow(SW_SHOWNORMAL); and m_pSuperTR2Ctrl->ShowWindow(SW_HIDE); but they don't hide, it looks like they become part of the background and if an original control on the dialog updates then that part of the dialog updates leaving fragments of the dynamic control visible. How do I get the dialog background to refresh Thanks, Thanks for your reply and let me try and explain myself a little better. Ye ...Show All
Ian Wallace prting pocket access to sql server ce
Hi, i'm porting my application from vb3 (with pocket access DB) to cf2 (vb2005 with sql server CE), accessing to the same database (about 20 tables with 1 to 1000 records per table) in the same device (HP ipaq hx 2790) when I need delete all the reocrd of a table and insert in it all the new records (reading from e file ascii) in the CF2 is a lot slow, I need about the doble o f the time. I mast do so or may be I mede some of wrong I do in this way: Dim TscCmd As SqlCeCommand = Conn.CreateCommand() TscCmd.CommandText = "SELECT * FROM TABSCO" Dim TscAdp As New SqlCeDataAdapter(TscCmd) Dim TscBc As New SqlCeCommandBuilder TscBc.DataAdapter = TscAdp Dim TscDs As New DataSet( "test" ...Show All
NetProgrammer PC/SC Connect()
Hi, I'm trying to use the PC/SC API to connect to multiple smartcard readers, but i have trouble using the SCardConnect() function when there is no card in the reader. I need to know for example if the port (USB or SERIAL) is used or not. This is done by calling SCardGetAttrib() but this function needs a 'hCardhandle' but in the previous call to SCardConnect() returned a NULL pointer for hCardHandle because no card is inserted... so... How can I determine the reader attribs without offering a card Hi , This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forums for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx Po ...Show All
Izzy545 Did something bad happen to the v3 api/endpoint? My maps are now all failing
Did something bad occur to the v3 version as a result of this new release My maps are all failing. Is this still the js reference - http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js Thanks,. Jeff Me too, all my maps have failed including several applications with rely on the maps... If any one knows what’s happening/happened then id love to no Im getting the following error returned by the veapi.asjx that the mapcontrol.js loads up... /* #vesb */var err = new Object();err.message="The server is temporarily unavailable. Try again later.";throw err; Hi all, We became aware of this issue a couple of hours ago, as soon as we flipped the ...Show All
xt_knight tcpclient beginRead problem
Hi, I am working on a project whereby several devices need to talk to each other using TCP. When I use TCPClient to receive packets, I use this method: client.GetStream.BeginRead(clientReadBuffer, 0, CLIENT_BUFFER_SIZE, AddressOf ClientRead, Nothing ) ClientRead is the function that handles the incoming packet as follows: Private Sub ClientRead( ByVal ar As IAsyncResult) Dim BytesRead As Integer Dim strRead As String Dim reader As BinaryReader Try SyncLock client.GetStream ' Finish asynchronous read into readBuffer and return number of bytes read. BytesRead = client.GetStream.EndRead(ar) End SyncLock If BytesRead < 1 Then ' If no ...Show All
nancy77 How to create my own Soft INput Panel?
Hello, usually I’m in Compact framework Development but I think there is no way to create my "dream" :) So, I need your help, is there any tutorial or something like that, that shows me how to write my own SIP I’ve got an XDA Orbit / HTC P3300 and there is no more DPad. Now you’ve a Ring that you can rotate left and right and a Trackball. So, I would love to create a new SIP tha acts in the following way: You will use the Ring to write Text. When you rotate the Ring it scroll through a list of al Letters and you select the one you need by pressing the Trackball. Do you think that would be possible Any Idea how I could start. Infact I found no Information on how to create a custom SIP ! Thank you so much twickl ...Show All
ParkerJ21 monitor wince Os Messages
No Even using C++ won't allow this because the underlaying OS does not support the required APIs for this. Michael Hi Yes, the OpenNETCF.org SDF 1. 4 provides a class ApplicationEx that can be used to handle/monitor windows messages of your own application. It implements a desktop compliant version of the IMessageFiler interface. Monitoring systemwide messages is not possible because of missing functionality in the .NET CF 1.0 Michael Thx Michael Thank you very much for u'r help Mahesh Kumara Thank you very much Michael for u'r help Can it be monitored system wide messages using EVC++ Standard SDK Mahesh ...Show All
pure159112 How to plot lots of points without slow down?
I'm working on an app that plot zip code boundaries, each zip code boundary can be potentially thousands of points. Just to plot 1 zip code can take 2-3 seconds... I can't imagine if I was plotting half a dozen how long it may take. Does anyone know a workaround for lag time on drawing points Should I use MapCruncher and a custom zip code map to show the boundaries instead of drawing them And if so, how could I color those regions Sorry - if you want a quick fix try rendering the lines in small batches and using a setTimeout( "ProcessData()" ,50); This gives the user responsiveness and your lines have this cool effect of slowing being drawn Play with how many you draw per bat ...Show All
