Answer Questions
Michael B. Price IE Mobile questions - post here?
I don't see a specific forum, so I thought Id ask my question here. Is there a way to place a button on my site that changes my visitors view of my site from One Column to Desktop view to Full Screen view I can't imagine this would be a hard thing to accomplish. Thanks to anyone who can offer a suggestion or point me in the right direction! Cheers, Chaser hi there, Yoy may use this script in your button should work out <SCRIPT LANGUAGE="JavaScript"> function Minimize() { window.innerWidth = 100; window.innerHeight = 100; window.screenX = screen.width; window.screenY = screen.height; alwaysLowered = true; } function Maximize() { window.innerWidth = screen.width; window.innerHeight = ...Show All
ACCOUNTINGONLINE.US Win CE 6.0 - Serial port enumeration and ioexception on serialport.open()
I'm developing using VS 2005 and CE 6.0 Platform Builder and C#. My target device is an eBox-2300 CEPC with two physical serial ports. All of my code thus far works on the development PC, but I have problems when I try to deploy to my device. I have two immediate issues that I need help with. First, I have a routine that attempts to enumerate the serial ports on the system. The code is as follows: ******************************************************** public static string SetPortName(string defaultPortName) { string portName; Console.WriteLine("Available Ports:"); foreach (string s in SerialPort.GetPortNames()) { Console.WriteLine(" {0}", s); } Console.Write ...Show All
Sukh1983 MediaPlayer host sample freezes on Blackjack & Dash?
I am trying to use the sample CEWMPHostML from: http://www.microsoft.com/downloads/details.aspx familyid=46ba698a-c00d-4b90-9177-460854f1b57c&displaylang=en My program based on that sample works in the emulator and I believe on most devices, but locks up on the Samsung Blackjack and T-Mobile Dash. Is this a CPU related problem or Media Player control problem or what Can anyone with one of these devices replicate this I tried both the Smartphone 2003 and Smartphone 5.0 targets. If anyone is able to test it on a Dash or Blackjack and get it to work, please let me know. I'm not certain it is failing on the Dash, only got one report of that, and several for the Blackjack. Hi , This forum is ...Show All
Vale Surfer Extending Context menu for Windows mobile 5.0 Samrtphone Contacts
I have a Cab project which extends contact's contextmenu items. But When I installed the same cab file on smartphone it installed successfully but contextmenu items remains same Could there be any change in the installation file. this is my ini file to built the cab file [Version] Signature = "$Windows NT$" Provider = "MyProject" CESignature = "$Windows CE$" [CEStrings] AppName = "MyWireless" InstallDir = %CE1%\%AppName% [Strings] NOW_PPC_Dir = D:\Projects\MyOffice\OriginalPocketPC\ ...Show All
Kiran P Patel Delegate and event handler to change the focus of dynamically created textboxes
I am working on pocket pc. I have created the number of textboxes dynamically. Now I want's to change the focus on keydown and key up event to the next textbox I know I have to create a delegate and event handler to achieve it.Can any body help me regarding this. No it is not that easy in pocket pc. If any body have a sample then please provide me thanks I would have thought this would be done automatically even if you programmatically create the textbox and add it to the form controls collection. You can implement the form's keyup/keydown event and then check the keypress event to see if they moved up/down using the Keys Enumerator, then focus on the next textbox ...Show All
ddlam Smart Device - FileNotFound Exception
Hi, I am still quite new to C# and especially to smart devices. I have created a simple game and am trying to get it to my device. The game runs just fine when I run the .exe file on my PC as long as my .bmp images are in the same folder. However, when I try to run the emulator or try to run the program once I have moved it onto my device I get a FileNotFoundError if I try to access any of my images. My actually code is quite lengthy. Here is an example line of code that causes the problem: private void pictureBox1_Click( object sender, EventArgs e) { pictureBox1.Image = new Bitmap ( "Bitmap1.bmp" ); } Can somebody let me know if there is a certain way that I need to configure my project so it knows where t ...Show All
prtonemy Convert this please. Windows Form app to SmartDevice app
I have snipet code from Windows app, but also I want to build SmartDevice app. could you convert my code please 3 codes : 1. code for browse network folder only Dim NetDrives As New List( Of String ) Dim drives() As System.IO.DriveInfo drives = System.IO.DriveInfo.GetDrives For Each dr As System.IO.DriveInfo In drives If dr.DriveType = IO.DriveType.Network Then NetDrives.Add(dr.Name) End If Next Dim dir As String = System.IO.Directory.GetParent(System.Environment.GetFolderPath(Environment.SpecialFolder.Personal)).FullName dir &= "\NetHood" Me .OpenFileDialog1.InitialDirectory = dir Me .OpenFileDialog1.FileName = String .Empty While Me .Open ...Show All
Cos_SQL Including DOTNETCF v2 in Platform Builder 4.2 OS
I am trying to include the .NET Compact Framework 2 files in an Platform Builder 4.2 project. I have installed all the monthly Platform Builder updates including the July update that included .Net Compact Framework 2 SP1. .NET Compact Framework 2 shows up in my catalog and I have added it to my project and rebuilt my OS. The OS compiles correctly however none of the .NET Compact Framework 2 files are included in the OS. Any ideas Thanks for the suggestion, but now I have a different problem. I removed NETCFV1 and NETCFv2 from the project and then added back NETCFV2. I did a clean and then build and now I get a compile error: Error: could not find file ...mscoree.dll I even tried creating a brand new ...Show All
Esp_99 Emulator 2.0 error opening images with mapped COM port
I am successully using the WM 5.0 MSF emulator to run TomTom5 (much larger picture than my PDA...). A bit slow and erratic to start (need 5 or 5 tries to start the image), but once started, it works. My question: since everyone says that 2.0 is faster and more stable, I installed it; problem is, it cannot open my images with the COM port once mapped (it opens fresh images with no mapped COM port) - same problem on my laptop, and 2 PCs. Problem both with bluetooth serial port and a wired GPS. Error #1: "Unable to open serial port "COM6" LastError=Access denied." Error #2: "The device emulator coud not start, possiblyif incorrect statup parameters" Any suggestion I would appreciate any help. ...Show All
fubnuts Loader log interpretation: Missing Type.
How do you interpret the Missing Type message in relation to the Loaded message Is there any relation If the MissingType message follows a Loaded (which I assume it always will) message, what conclusion may be drawn about the loaded assembly Is it the assembly where the problem occurred That seems reasonable, but you never know. What about when you get multiple MissingType messages in a row My application is getting Missing Type messages, what's the best way to track them down Here's a sample: ... Loading module [\Windows\GAC_System.Windows.Forms_v2_0_0_0_cneutral_2.dll] Loaded [System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC] from [\Windows\GAC_System.Windows.Forms_v2_0_0_0_cneutral_2.dll] ... Loade ...Show All
Arne Tauber Application to start up on windows startup in smartphone
I have make a Native C++ exe project.I wants it to always starts when windows starts up What Can I do. you need to place a shortcut to the application on the StartUp folder on the device This has been discussed before recently I believe: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=216471&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=210890&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=594011&SiteID=1 hope it helps! ...Show All
dave5631 Picturebox resize scrollbars
Hi. if I have an image showing in a picturebox, of course depending on the image size itself, if the image is larger than the screen, I have told it to resize the picturebox to the size of the image. This is all cool, and shows me the vertical and horizontal scroll bars. problem is, I am unable to scroll through the picturebox. How can I scroll through the picture box so I can view the image Maybe I shouldve made it clearer, I apologize! The picture box is larger than the screen (scrollbars are showing) but im unable to scroll it didnt really think it would matter but I guess it does! But thought it still wouldve had the same functionality - scrollbars appear therefore you should be able to scroll. :-) ...Show All
Valery Letroye pin image stops animating on mouse click
Hi, Imn one of my application using virtual earth, i am using an animated gif file in pushpin. when it loads the image starts animating, but when i click on the image it stops animating. It doesn't stop animating when i click on any other part of the map. The animation starts again when i refresh the page. I dont know what is the problem. I am not handling on mouse over event as i dont need it. When i searched the net i found a solution to handle mouse event as function EventHandlerOnClick(e) { if (e!=null) { document.getElementById(e.currentTarget.id + "_" + map.GUID).onmouseover(); } else { document.getElementById(window.event.srcElement.id).onmouseover(); } } but the pro ...Show All
Morten Dahl Tab Key
hi, I'm woking on a VB.Net CF (1.0)application (PocketPC). We a few controls(Combobox, Button, PictureBoxes, TextBoxes) on a panel. I would like to have a control over the "tabbing" across the controls on the panel. The idea is that when the tab stops over the "Button" control and the "Enter|Return" key is pressed on the Keyboard a "function|sub procedure" needs to be called. An event has been associated with the button-click which gets fired when the button is clicked with the stylus|stick. We need trap this event with keyboard too! 1) How to recognise TabStop positions over the controls 2) Is there any event that is normally fired on the click of the "TAB" key which can be c ...Show All
sbuster More efficient way to draw a circle then this...?
I got this code form the VIAEarth website... it works great but it pretty slow to use. Does anyone know or have code that can produce the same effect but more efficiently this.circle = function(id, latin, lonin, radius, polygon) { // ref: http://viavirtualearth.com/Wiki/Draw+a+filled+Circle.ashx // returns polygon (if polygon != null) and polyline if not var locs = new Array(); var lat1 = latin * Math.PI/180.0; var lon1 = lonin * Math.PI/180.0; var d = radius/3956; var x; for (x = 0; x <= 360; x++) { var tc = (x / 90)* Math.PI / 2; var lat = Math.asin(Math.sin(lat1)*Math.cos(d)+Math.cos(lat1)*Math.sin(d)*Math.cos(tc)); lat = 180.0 * lat / Math.PI; var lon; if (Math.cos(lat1)==0) { lon=lonin; // endpoint a pole ...Show All
