Answer Questions
K Douglas VS2005 Control Library 2.0 User control is disabled in Toolbox, why?
Hello everyone, I have a vs 2005 solution with 2 projects: 1. Pocket PC 2003 Windows Application 2.0 2. Pocket PC 2003 Control Library 2.0 In the Control LIbrary I just have a User Control which has a textbox and nothing else. Everything compiles perfectly. Now in the Visual Studio 2005 Toolbox I dont see the My custom control but if I right click and select Show All I see the control and it's icon is disabled. Any idea why is this not working properly Thanks a lot. Yes, I have done that but it is still not showing it as it seems to be disabled Thanks Don't know whether have u tried this.... go to toolbox -> right click -> choose items-> c ...Show All
gmcbay CameraCaptureDialog on HW6965 will not set resolution
The followign code does not successfully take igh resolution (1280x1024) photos on an HW6965 (HW69xx) device. The code does work successfully with an iMATE JASJAR. The requirement is to take full resolution photos. The device supports resolutions of 1280x1024, 640x480 , 320x240, 160x120 in the HP Photosmart software. Any assistance or suggestions appreciated. CameraCaptureDialog dlg = new CameraCaptureDialog (); dlg.InitialDirectory = "/Storage card" ; dlg.DefaultFileName = "file" + DateTime .Now.ToString( "HHmmss" ) + ".jpg" ; dlg.Mode = CameraCaptureMode .Still; dlg.Resolution = new Size (1280, 1024); dlg.StillQuality = CameraCaptureStillQuality .High; ...Show All
microsoft_programmer Embed Data in Resource File
I am using a small SQL Everywhere database in a PPC and on the Desktop. App is developed with VB2005. I would like to embed the database to keep it safe from users. I can embed the db in the Project Resources, but I cannot figure out how to refer to it in a path statement for making the connection and using a data reader. I have it working fine on both platforms as a stand alone file, but not as part of a Resource file. Any Ideas Thanks, Dennis Lackey SqlCe engine will not be able to work with a database file inside an embedded resource. There must be a file. ...Show All
ShrikantBijapurkar the process does not exit when applciation form is closed
hi i m working on a mobile application, the app has a single form, which loads the different controls as per UI flow, say , login , dashboard etc, In My application i have an event broker running (it is mutiple threaded) ,it is used to passes messages to from different background component, and also provides an abstraction for different messaging mechanism. i have disable the SmartMinimize feature. but still when i closes the form with OK button ,the form closes but the process keeps on running , although it is not showing in the Running Program in Memory Settings on the device/emulator. but the memory consumed by the process is not returned and the process is visible with Remotre process viewer. for temporarily purpose, i put code on Fo ...Show All
venp launching external application on device from c#
Hello, Hopefully someone can help me... I have two c# apps, App1.exe and App2.exe. They are both in the same directory on the device, What i am trying to do is either... Have App1 to call App2 directly, Have App1 run a file that is associated with App2 (which would automatically open up App2) or Have App1 call App2 directly and pass a file name to it to open. I have tried... CreateProcess(txtApp.Text, txtParam.Text); and a few others that i have found but they all return errors and wont compile. and i have looked at the Process class from OpenNETCF but i have so far had no success. Does anyone have any example code they can share or know of any useful links to help me on my way... (preferrably without having to use the fi ...Show All
baddest Developing Messenger bot
Hi. I'm developing Messenger bot. It will be based on .NET 2.0 and be using DotMSN library to handle messenger protocol. I'm trying to enable activities handling in this bot. Right now I'm able to get data from activity sent using SendData method of Channel. But I need to send data to activity client from my bot. Could anyone help on this I've sniffed messenger packets and it seems that there is direct TCP connection for data exchange. Is there any docs on that protocol Thanks. sir i am devloping chat server application using java and j2ee ploatform .it should communicate with yahoo chat server with our yahoo login and password .it should login toyahoo messanger. it sent autom ...Show All
mistry_bhavin how to exit Application if cursor is not moving in any form
I'm using the smart device application in C#, how to exit application if cursor is not moving any form which means that I want to check if user forgot to logout the application then 10min later an application should be logout. pls give me a suggestion. I appreciate if anyone helps rgds kondas You mean not moving the mouse on any application or only your application. There are windows API function the can be called in a timer that will returen the mouse location. You can check the mouse location every one minute for example and have a counter for the Ten minutes, then if the location is the same you can end the application by calling 'End' inside the same timer. ...Show All
K. Ravinder Reddy What Are My Development Environment Options For Developing C#/.NET CF WM5.0 Apps?
Hi. What are my development environment options for developing Windows Mobile 5.0 applications in C# and .NET Compact Framework2.0 Am I limited to VS2005 Are there thirdparty development tools And if not, can I purchase only VC# instead of entire VS suite of development languages Thank you. I currently have VS C# Express Edition. As noted by Microsoft, there is not support for WM5.0 application development in any of the express editions. The problem is I am development applications for at-home personal productivity use. It is very doubful I would ever use the product beyond hobbie work. Please advise. Thank you. Thank you. Very helpful. -Leon S You might be able to use SharpDevelop. Details see: http://wiki.sharpdevelop.net ...Show All
foobarX Windows Live Messenger problem
hi all my Windows Live Messenger doesnt have Windows Live call (icon + in the tools menu) i just can call from pc to pc i try every thing ,, same problem ;/ please im waiting The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&cr=US&ln=en-us nntp://microsoft.publ ...Show All
Warren13 Making forms appear sooner
I'm developing an application in VB .net and have several forms that call one another. It basically works but it takes too long for the called form to appear sometimes. The desktop appears for a few seconds giving the momentary impression that the program has stopped. I have some lengthy initialization processing that has to occur in the load event of each form now. Is there another event where I can put the initialization processing so the form will appear before the initialization processing starts it depends on the nature of what you're doing in init. can you move the routines to Activated, Load, OnActivated, or something similar Use the IDE's Intellisense to explore the various events available to yo ...Show All
Jan L. short alignment issue
I'm seeing something very weird when compiling this code for an ARMV4i Smartphone target and running it on a smartphone emulator: INT foo(UINT16 *srcPtr) { short data; data = *(srcPtr+1); switch (*srcPtr) {... } If the memory pointed to by srcPtr contains: 11 22 33 44 55 66 77 88 data is set to 0x88776655 (endianism isn't the issue, but 32 instead of 16 bits is - it should be 0x4433) *srcPtr is evaluated as 0x44332211, again 32 instead of 16 bits, it should be 0x2211. Any ideas Cheers, Ken It wouldn't surprise me if intellisense gave you a different definition than the one really being used by the compiler. If you're in doubt about the actual width of a datatype ...Show All
Alexander Stoyan problem in binding dialer to hardware
i am trying to create a dialer programmatically and i have a 2 problems binding it to the hardware. i had few USB modem plugged to the computer ( only one modem at a time) and when i use RasEnumDevices i get a list that include all modems that installed on the computer but currently not connected.how can i know which one is currently plugged in some of the modems are from different vendors but they get the same DeviceName ( probably because the same company wrote their driver ) . using DeviceName and DeviceType in the RASENTRY cant distinguish between them and sometimes the dialer is using the incorrect hardware. open the dialer properties window and selecting the other hardware solve the problem but i need to do it programmatica ...Show All
Kevin619 Lock Device
Good Day. I am programing on WinCE and now I have a problem. I am writing a program which must lock SmartFone device.I found function SHLockDwviceandPromt and SHLock but they are not documented and I can not find ther implementation. Can you suggestion h ow to solve this problem. Thanks. This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forum for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati,. ...Show All
techlist Problem related to StreamReader.GetResponseStream() in compact framework
Hello Everyone, I am sending a Request to my Server and in return, I get a Conitnous Response which I have to interperate and extract the meaningful data from it. PS::Response I am getting is CONTINOUS. It never stops coming. My code works fine on dot net framwork but it hangsup on Compact Framework. I FIGURED the Where the Problem IS, but before that plz have a look at my code. ...(at the end of code problamatic part is described ) My code look like this. HttpWebRequest request = null ; WebResponse response = null ; request = ( HttpWebRequest ) WebRequest .Create(HTTP + requestURL); response = ( HttpWebResponse )request.GetResponse(); StreamReader reader = new StreamReader (response.GetResp ...Show All
xeondev adding layer and automatic Map panning
Does anyone know how to avoid the repositioning/repanning the map after adding a new layer I know I can try to reposition it back in the OnFeedLoad method attached to the layer after it loads but this creates huge confusion for viewers and makes the map fly arround and on slow connections it is unacceptable This is a MJOR scalability issue..users cannot be subject to constant repositioning/repanning of the map after updating layers that in my app is very frequent. I want to update/add/remove layers/reload WITHOUT users having the maps pan automatically on them... any help There should be a flag preventing that from happening....otherwise we have to keep coding hocus pocus to appraoch a normal solution Don't use th ...Show All
