Answer Questions
MarcGrushcow SqlConnection - PlatformNotSupportedException
Hi! When I'd like to use SqlConnection.Open() in a Pocket PC 2002 application, I get an error message - PlatformNotSupportedException. I've tryed it on Windows CE Emulator and my PDA Device, but the result was the same. There is my code snippet: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cn As New System.Data.SqlClient.SqlConnection("User ID=sa;password=sa;database=Test;ser ...Show All
saff_cossie CDialog::OnOK() does not close Modal DIalog
I am developiong using Embedded C++ 4.0 for a device by a company called Advantech. The unit is a TPC-60S and uses WIndows CE .Net 4.2 I have a problem with CDialog. I have searched newgroups and MSDN and have not found a solution or anything like this problem. Basically I have a dialog based app and have 4 nested modal dialog boxes all create using DoModal like this: dlg1 has a button that calls dlg2 and button calls dlg3 and button ca ...Show All
gidon Loading images as embedded resource: How to optimize
Hi!!! I have a pda application that uses a dll that I made. That dll has some images that i load as an embedded resource, when i run the application, it takes some time t load all images and i can see in the emulator the images loading... What can I do to make the images load at the same time Thanks in advance Shouldn't this: this .pictureBox0.Image = ((System.Drawing.Image)(resources.GetObje ...Show All
Equisilus couldn't find resource assembly
Hi, I'm getting "couldn't find resource assembly" msg. when i execute the apps in wireless mode. (via AP) In USB connection it's working well. PDA is pinging with notebook. i refered : http://blogs.msdn.com/netcfteam/archive/2004/08/06/210232.aspx http://www.google.com/search hl=en&q=Could+not+find+resource+assembly I added system.SR.dll as a reference.Still getting the same error. What could be the reason how to ...Show All
eugene7_11 Stored Procedures in SQL CE version
Sorry but SQL Server CE doesn't suport stored procedures. May be in the next version. Regards, Brian Hi, I would like to execute a batch of SQL Statements in my Pocket PC application. Currently we are executing them individually, for every SQL Connection we are opening new SQLCeCommand and using the .ExecuteNonQuery Method as mentioned below cmdDDL = new SqlCeCommand(ddlCmdStr, conn); // These two are paramete ...Show All
Bobmc11 Create apps for windows ce 3.0
I have buy VS2005 enterprise. I must create PocketPC apps for Windows ce 3.0 and next(Pocket PC 2002 and 2003). I create and apps in C# on "New Project", "Visual C#", "Pocket PC 2003", "Device Application" After, I created a CAB file and when i try to install my app on PocketPC(window ce 3.0) , i have a error msg for system operating version don't compatibilies. How can i resolve this problem Thanks Aless ...Show All
TomBilly4554 VB 2005 Smart device HRESULT E_FAIL COM failure
Attempts to create a new smart device app with VB 2005 compiled for PC 2003 or Win CE 5.0 result in an immediate error message of: "HRESULT E_FAIL has been returned from a call to a COM component." No other info about the error A console VB app ( not smart device) can be created and compiles correctly. Sorry for the delay in a reply - Hurricane Wilma took our power out for 5 days. We have now done a clean install of Visual Studio 20 ...Show All
Master81 Back Key Problem
I am writing a Smartphone App. I have things running pretty smoothly but I have hit a brick wall with an error I can not trap. Basically I call the data input form like this: Private Sub MenuItem1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click 'New Record Dim f As New frmRecord f.ShowDialog() End Sub THe problem is that if the user pr ...Show All
Matt Honeycutt Help: Failure to create .CAB file based on .INF file
I have a EVC++ project targetted toward Pocket PC 2003 and Smartphone 2003 devices. Recently I joined VS2005 beta2 and migrated the EVC workspace as a VS2005 solution. Since the build needs to be automated outside the IDE, I have a script that calls devenv.exe and cabwiz.exe to do the job. The trouble is that cabwiz.exe seems simply throw an error message without any other warnings or other errors: Error: CAB file "u:\VS2005\build\<XXX>_de ...Show All
mikeisaac Determine the height of a wrapped string drawn to a control
Hi! The method public void DrawString( string s, Font font, Brush brush, RectangleF layoutRectangle ); enables me to apply a word wrap functionality according to the width of the layoutRectangle. However, I want the hole wrapped string to be visible, that means I need to determine the height of the string in advance so I can set the rectangle height accordingly. How can I figure out the height Thanks, kolya ...Show All
Jeremy Riley A problem about the menus in Smartphone 2003
I created a new MFC Smart Device Application Project for Smartphone 2003 using VS2005. And then I found the menu didn't work right. So I searched the solution here and found the article: http://blogs.msdn.com/johnkenn/archive/2005/08/22/454858.aspx I followed the all instructions in the artcile but I still have a little trouble. Here is a part of the Test03sp.rc: IDR_MAINFRAME MENU BEGIN MENUITEM ...Show All
Ahsan Ali Will more processor types be supported in the VS 05 release
Hi - A question to somenoe 'on the inside': On the 'Platforms' panel we get: Instruction sets: ARMV4 When the 'real deal' gets here, will there be some other goodies like Mips and SH3... Thanks - John This is a retransmit that hopefully a Microsoft person will see. About other processor support in VS8 could you say if: A) They havn't decided. B) They havn't informed us. It affect development decis ...Show All
vision2020 Developing app for custom SDK with VS'05
I created an SDK for my platform with Platform Builder 5. I then installed this SDK. The SDK shows up in embedded visual C++ 4.0 and it shows up in Visual Studio 2005 Beta 2 in the Tools\Options\Device Tools\Devices section. However it does NOT show up when I try to create a project for Win32 Smart Device. How do I target an application at my SDK Note that this is a headless device and it doesn't have .NET and it won't support ActiveSync so I ...Show All
kaizenn Visual Studio not working with Compact framework projects
I have previously been able to develop Compact Framework exe's using Visual Studio 2004 Enterprise architect version but after installing 2005 and subsequently uninstalling both then reinstalling 2003 I can no longer open/edit/compile compact projects. The designer wont work, references arent found and compiling comes up with errors like error CS0518: The predefined type 'System.Byte' is not defined or imported. Standard .net projects are fine. ...Show All
Obliterator Very strange about Timer
Hi, I am working on a project that uses the timer control, but very strangely when i create a timer, i try to double click on it to write its code (as VS.net 2003) but it does nothing, i don't know where to write the code!!!! however i tried to access it from the dropdown menu at the top of the code window of the form but it leads me to a part of the auto-generated code (which is generated by the form). Please HELP, i don't know where ...Show All
