Answer Questions
Doug Huff Adding designer support for C# NETCF project
How do you make the form designer find the image without having to comment in and comment out the lines you're resp. using and not using This doesn't work: #if NETCFDESIGNTIME bitmap = new Bitmap(@"C:\Proj VS 2005\GUI\ColourButtonTest\bin\Debug\button.bmp"); #else bitmap = new Bitmap ( @"\Program Files\colourbuttontest\button.bmp" ); #endif It still can't find the image when I'm in the form designer. I always have to have two lines and comment out the Win CE device path when I'm in the designer. /Lars I will later. But why won't it work now The paths are correct. bump It's not working on my PC. ...Show All
lagu2653 connecting data with MS Active Sync, howto?
is there any way to connect a database (desktop) from PPC2003 to a desktop with Active Sync 4.1 I can't do it with this code: imports system.data.sqlclient Public Function GetConnectionString() Dim connectionstring As String = "Data Source=desktop;Initial Catalog=table-name;Integrated Security=True" Return connectionstring End Function Private Sub click() Dim connection As New SqlConnection(GetConnectionString) connection.Open() Dim queryString As String = _ "SELECT Layer FROM dbo.MasterLayer" Dim adapter As SqlDataAdapter = New SqlDataAdapter( _ queryString, connection) Dim mstmap As New dataset Dim mst As DataRow ...Show All
Dave_Novak Question on DRK
I am currently using Visual Studio 2005 Professional Edition. I looked at the link for Windows Mobile 5.0 Developer Resource Kit and ordered the free copy but have not installed it. I was wondering, do I need to install the Windows Mobile 5.0 Developer Resource Kit if I already have the Visual Studio 2005 Professional Edition I am sorry, I understand what you have be saying!!!!!!! I am loading WM 5.0 now. Sorry for asking dumb questions whether they're on that disc (or discs) or not, you will need: Compact Framework SDK Windows Mobile Smartphone SDK Windows Mobiel Pocket PC SDK ActiveSync (preferably 4.2) The "developer resource kit" I _believ ...Show All
John Cogan Writely
Is it possible to post in Live Space with Writely I tried to post using the following parameters: My own server / custom API: MetaWeblog API URL: https://storage.msn.com/storageservice/MetaWeblog.rpc User name and Password as usual The test response is: (xmlrpc) unespected response type. After some days the test response is changed: Server returned HTTP response code 403... Any idea Does Writely support SSL Thanks Dare. Writely seems not providing SSL. I obtained the second response changing https:// with http:// in the URL. ...Show All
Danny Jr Can’t find “sms.dll” file
Hi, I read in this link “http://support.microsoft.com/kb/555578/en-us” that the .NET Compact Framework brings the followings dll. COREDLL.DLL AYGShell.dll – Pocket PC shell functions CommCtrl.dll – Common control lib WinSock.dll – Windows Sockets Phone.dll – High level phone control SMS.dll – SMS messaging API I’m working on VB 2005 whit .NET Compact Framework v2 trying to develop an application that sends SMS but in all the code examples that I could find they call an dll file named ”sms.dll”: <System.Runtime.InteropServices.DllImport( "sms.dll" )> I been searching in the internet, in all the directories of my computer looking for that file. If some body knows were I can find it please le ...Show All
voltagefreak Not enough storage is available to complete this operation
Folks, I'm trying to play a media file on PPC 5.0 emulator and I get the following error message "Not enough storage is available to complete this operation". Does it really mean that it doesn't have enough memory If so how can I increase the memory for the emulator When I did google for the same message I found this page http://www.microsoft.com/windows/windowsmedia/player/faq.aspx#3_12 which indicates that the file might be corrupt but I used the same URL on my PC browser and loads properly. Any ideas Regards, Uday I was having the same problem with SQL Mobile, a 65Mb database, and a Compact Framework application. After using the program for a while (which intensively uses the database), it would give me the "N ...Show All
OvernightGeek Can'nt execute DeviceApp.exe on HP(JPN) Mobile5.0 PPC
I created a test Mobile5.0 PPC program by VS2005. It's a simple "Hello" program. On the emulator that runs well. I deployed it to the device and then tryed to run. The HP iPaq2490 device messages in Japanese, "newer CF is needed to run this program." Because HP iPaq2490 is Mobile5.0 PPC. Is there any service Pack for Mobile5.0 What's "designer's definitions" SP installation should have no effect at all on existing projects. Plese see this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=663101&SiteID=1 Ilya Tumanov wrote: Does it go away if you rebuild the application Yes, if you have to rebuild so many appl ...Show All
tradle directshow issue
Hi, I am using directshow graphs in my application for accessing the embedded camera(PPC and SPs). I am not using a graphmanager; I contrust the graph manually, by adding the required filters. An overview of my Graph: To the VideoCapture filter, I connect the SmartTee. The Render Output pin of the SmartTee is connected to the VideoRenderer; The Capture Output Pin of the SmartTee is connected to the input pin of my custom NULLRenderer filter. In this filter, I register a custom app callback function in which I perform my image processing operations on the frames received. Ok. Now the problem I am facing is changing the camera / viewfinder properties. In varying lighting conditions, I need to be able to adjust the properties like ...Show All
apple_pie WaitAll, WaitAny
Hi I see that this functions are not supported in Compact Framework 2.0. Is there other functions or other way to wait for more than one WaitHandle event. OpenNETCF SDF offers a class EventWaitHandle that has a WaitMultiple method ...Show All
KevinBurton How to reproduce [ThreadStatic] behavior ?
I am porting an in-house framework to .NET CF 2.0 SP1. In some places, we use the [ThreadStatic] attribute. It does not exist on CF, so how would you replace it I could use Thread Local Storage (Thread.GetData/SetData), but I would prefer another solution if possible. Thanks ! Sebastien I think using TLS is the right workaround - I don't think there is another alternative. - Roman ...Show All
Keyano Losing Databinding with ResultSetViews
I am programming in C# for the .net compact framework 2.0. I am binding controls on the screen to my SqlCe database using ResultSetViews. Everything works fine, as long as there are rows in the table when I create a ResultSet. If I create a ResultSet when there are no rows in the table, and then later add rows to the table, and after that set up the databindings, the bindings won't work (Controls who's Text property is bound display no text at all). Do I need to do something to update the resultSetViews This is (sort of) how I am doing it: cmndDB = new SqlCeCommand("SELECT * FROM MyTable", dbConn); SqlCeResultSet rs = cmndDB.ExecuteResultSet(); ResultSetView rv = rs.ResultSetView; ... cmndDB.CommandText = ...Show All
Chrismanster File Path Problem in Smart Device Deployment
I have a SmartDevice project application within E:\Wireless folder in development environment. I have an XML file App.Config under this folder. While I try to deploy the application in debug mode in a Simulator, it says the current path to the file is \Program Files\Wireless\App.Config , but could not find the file. How to deploy the application so that my application can find the file. Do I need to copy the same file to debug folder Yes Ankur, I discovered this much later Hi Rupesh, I am aware of the fact that Smart Devices dont have a drive and their root folder starts from [ / ], so I coded in such a way so that the program looks for the App.Config file from the program's current working folder within the device, bu ...Show All
dev_bih Noob help...if you will
hi there, Im just starting out. Is there any source code available in vb for the fetching reports Cheers The adCenter developer blog has a VB sample for a basic "Hello World" application ; this should get you started. Once you have it working, it's recommended to take a look at the report sample (C#) in the documentation file, which I have pasted below for convenience, and do the translation to VB. HTH, Shai KeywordPerformanceReportRequest reportRequest; int accountId = 65535; String reportId = null; int bufSize = 100000; int reportLength = 0; // Create keywordPerformanceReport reportRequest = new KeywordPerformanceReportRequest(); reportRequest.AccountId = accountId; report ...Show All
Andrew Buyan How to optimize the loading time
How To Optimize The Map Loading Time Hi, I'm novice to VE Api, when i run my page it's take some time to load the map in the browser, is't any way to optimize the loading time of the map, this is the code i used to display the map, We had an interesting discussion here recently about whether the js files are completely optomised, cached and compressed. They should be and this is really a MS issue. The best solution that Yuki and I are tring to get right at the moment (i thought i had a solution some time ago) is to allow the VE js to be loaded after the page is loaded. In simple terms this would allow your page to come up very fast (assuming your page is light weight!) show a loading status and then d ...Show All
GeeZuZz KeywordPerformanceReport
Hey Guys This might be a bit of a newbie question, that was asked a long time ago on these forums. I am trying to pull a Keyword Performance report using the PHP-NuSOAP library to interact with the MSN-AdCenter API I am posting a set of SOAP requests-response, along with the SOAP fault I got. SOAP REQUEST <xmp>POST /v3/Reporting/Reporting.asmx HTTP/1.0 Host: adcenterapi.microsoft.com User-Agent: NuSOAP/0.7.2 (1.94) Content-Type: text/xml; charset=UTF-8 SOAPAction: "http://adcenter.microsoft.com/syncapis/RequestBIReport" Content-Length: 937 < xml version="1.0" encoding="UTF-8" ><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.o ...Show All
