-
- Example of using delegates and callbacks from managed to native code needed
by rgalgon
- 1 Replies
- Last post
by Ilya Tumanov
- In C# I call a function from a native code dll and need to get a callback so I know when to continue. Currently the native code sends a message on successful completion which I can get by overriding WndProc but I think a callback from the native code would be a much better solution. Because the native code writes a file and for various reasons its not really acceptable to constantly be checking to
-
- Web service fails to conect from code
by levyuk1
- 5 Replies
- Last post
by alex2233
- I have a web service which I wish to connect to from my PDA using .net 2.
I can browse the web service from IE so that works. The URL for the web service is set in my service class so that should be fine. The only problem is that I get a message saying "Unable to connect to the remote server". I've checked the suggestions on the forums and nothing seems to work...any suggestions
-
- usb hid
by Sir_Charles_Flores
- 4 Replies
- Last post
by Sir_Charles_Flores
- hi, i'm writing an application for Windows Mobile 5.0 that uses an hid device, this device is a specific development of my company. The device is correctly detected by the OS and drived by USBHID.dll, i can get a handle to the device with Device Manager functions. The problem is that i don't know how to set or get the reports from the library. (The device is correctly working under XP) I will ap
-
- System.Data.SQLClient not showing up in references
by Joshua_W_Wise78
- 1 Replies
- Last post
by Zero Dai - MSFT
- Hi all,
Trying to put a sql connection object into a windows mobile app for Pocket PC. However, I can't seem to get the right reference dll to show up. System.Data will show, but System.Data.SQLClient doesn't show up when I click Add References.
Am I missing something here I have the WM 5.0 SDK installed, and I'm working in a Smart Device Windows Application.
Thanks,
Joshu
-
- Writing a Win32 DLL and calling from vb.net CF - Need a little help
by Carlosp_uk
- 4 Replies
- Last post
by gudiya
- Hi there - I am almost going mad with a problem I'm having and have spent DAYS trying to solve it - please can anybody help ! Apologies in advance for being a bit out of my depth here. It's been a while since I coded any C++. I want to PInvoke a DLL (written by me) from a VB.NET project to access some API functions in Windows Mobile 6 Professional. I have written a test solution in Visual Studio 2
-
- Help for a newbie
by MarcsMedia
- 2 Replies
- Last post
by MarcsMedia
- Hello, I am new to web gadgets and was hoping fro some help.
I tried to create an IFRAME example based on something I saw online. I've been testing it out on a page but I've gotten nothing more than a blank white screen. Browsing to the HTML page itself works just fine. Any help would be much appreciated.
Location of my files are at:
http://kibbibble.com/mgadgets/games/mineswe
-
- Recognizing Phone Numbers in Mobile Web Page
by Matthew McDermott, MVP
- 3 Replies
- Last post
by Peter Nowak (Germany)
- I imagine this has been asked a million different ways, but I have not been able to find the answer.
I have a web application that displays phone nummbers. In Mobile IE (WM6) I can see the phone numbers but they are not "clickable" in order to place a call.
Is there some code or tag that I have to use to tell the mobile browser that a phone number is a phone number
L
-
- Trouble to using WebClient
by seattle21
- 2 Replies
- Last post
by seattle21
- Hi, I am new C# developer. I am using Visual C# 2005 / .NET Framework 2.0 I found that WebClient is avairable from Framework 2.0, however it does not apear to me. (System.Net.(should be apear WebClient here)) Is there any missing statement I added "using System.Net;" already. Any help would be appreciated!! -seattle21
-
- Tab width of TextBox
by davidbrit2
- 2 Replies
- Last post
by davidbrit2
- First of all, allow me to disclaim the fact that I'm relatively new at .NET CF development, though I'm coming along well enough. Is there any way to control the width of tab stops within a TextBox control The Font property of the TextBox doesn't offer anything that I've found. I also tried extending TextBoxBase and TextBox to look for non-public properties related to tab width but didn't see anyth
-
- error creating device projects with any templates in C++
by Joel555471
- 5 Replies
- Last post
by Joel
- Hi, I can't create device projects with any templates in Visual C++ following "Smart Device Walkthroughs" on the MSDN web page. I could do it for the walkthroughs that use Visual C# and Visual Basic, but not for C++.
Has someone know about this
Thanks
Joel
Before I posted:
I'm tring to do the "Walkthrough: Hello World: A COM Interop Example for Sma
-
- How to hide the taskbar in WM5 Device?
by Alex Poon
- 6 Replies
- Last post
by Rik78
- I want to hide the taskbar in WM5 Device. I am using VS2005 and CF2.0. It is similar to this case:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=567600&SiteID=1
I tried to max. the windows form and the taskbar has gone. Seems working fine. but....
I found that when I new another form (also setted to max) the taskbar will usually, but not everytime, show the taskbar f
-
- Smartphone 2003
by Cika
- 10 Replies
- Last post
by Cika
- Hi! I want to write a game for a Smartphone 2003 using .Net Compact Framework (C#). I would like this game to be multiplayer to using Bluetooth. Please tell me a simple way to do this! A sample Bluetooth chat application would be perfect.
-
- Problems with install
by nickwilliams
- 13 Replies
- Last post
by nickwilliams
- When i package all the contents of the folder and rename the zipfile to .gadget i double click it and it says install/uninstall and then when i click install it does NOTHING! :S
I have had problems before with my computer saving the encoding of the xml file and i think this may be the issue! Its annoying because i cant even test what i am trying to create! :(
Any ideas on a solution
-
- Is there a bug in the Remote Tools 2005?
by german_MasterOfDesaster
- 5 Replies
- Last post
by german_MasterOfDesaster
- I hope my post is correct in this forum.
I had problems in using the remote tools of Visual Studio 2005 with my smart device.
I have a smart device with WinCE 5.0 without ActiveSync. There was no problem to connect with it in Visual Studio 2005. But when I connected in one of the Remote Tools there popped a message box up with following text:
"%1 is not a valid win32 Applicat
-
- How to call remote SQL Server store procedure from CF?
by Michael Wang
- 1 Replies
- Last post
by Ilya Tumanov
- Hi Folks, As title, is it possible to call remote SQL Server sp from smart client TIA
-
- How to turn CHAR[] to CString
by billqu
- 5 Replies
- Last post
by Ilya Tumanov
- My program store data to a CHAR[],
Then I need to turn it to a CString.
My code below:
CHAR recvbuf[100]= "";
bytesRecv = recv(mySocket, recvbuf, sizeof(recvbuf), 0);
CString str; str.Format("%S",recvbuf);
But error launch when str.Format("%S",recvbuf);
the system notify that
error C2664: 'void ATL::CStringT <BaseType,StringTraits >:
-
- Invalid SHA1 hash format--need help
by rookie_rockie
- 1 Replies
- Last post
by Zero Dai - MSFT
- Hi, i'm using visual studio 2005, developing smart device application for windows mobile 5.0,writing in c#. i encountered some errors ,any advice is appreciated. error is in building CAB file: SignTool Error: Invalid SHA1 hash format need advice.thanks in advance
-
- MediaPlayer host sample freezes on Blackjack & Dash?
by Mike Chapman
- 11 Replies
- Last post
by Ilya Tumanov
- 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 an
-
- Streaming Data from a Web Service
by Finkster
- 14 Replies
- Last post
by Finkster
- I am consuming a web service on a handheld that is parsing an XML file. The XML represents table/row/column information which is applied to a SQLCE database. The problem I am now encountering is an OutOfMemory exception because the XML is being loaded into a String object.
The error is being caused because the XML is exceeding the available RAM on the device before all of the data is
-
- Why no managed C++?
by Kamen
- 10 Replies
- Last post
by Christopher Fairbairn
- I am wondering what is the specific reason why there is no support for managed C++ (CLR projects) in smart device development Is it because this area is not very popular and since most .Net programmers use C# and VB, MS figured the resources are better spent elsewhere Or is there some other, technical reason I have done plenty of Win32 and MFC development and I have no problem using Win32 (or shou
-
- NE2000 PCMCIA network adapter selection
by Marco9976
- 8 Replies
- Last post
by Marco9976
- Hello,
I am trying to set up Pocket PC emulator for the internet connection without using Active Synch.
I am trying following steps described in http://nino.net/blogs/nino/archive/2006/01/20/WM5EmulatorInternetConnectivityWithoutActiveSync.aspx
But in my case I am having following problems:
From Emulator:File -> Configure->Network I can check "Enable NE000 PCMCIA network a
-
- Is compact framework 2.0 not already installed on Windows Mobile 5 devices?
by bm0061
- 2 Replies
- Last post
by bm0061
- Hi,
My experience with Windows Mobile 2003 was that the compact framework version 1 was already installed. This made deployment quite easy for my Framework 1.1 applications.
I am now preparing to release a Framework 2.0 application and was hoping to be able to similarly expect the runtime to be already installed on today's devices.
To test this out, I purchased a brand new Dell Axim 51V,
-
- SetPreference does not always work?
by incendy
- 7 Replies
- Last post
by incendy
- I never had this problem before, but in my latest gadget it seems that setpreference does not always work! Has anyone else had this happen Or know why! Thank you in advance
My code is straight forward so I don't know what I could be doing that would make it only work most of the time
function updateinfo(){
m_module.setPreference( "feed" , feedinput.value);
m_module.setPr
-
- How to Save User Preferences on Spaces?
by abowman
- 9 Replies
- Last post
by Marijke S
- Can someone explain to me how to save user preferences on Spaces or point me to some instructions If there is a way to determine whether a gadget is on Spaces or Live,
that would be good to know too so that I can hide the preference link
in Spaces view mode. I got one of my gadgets to save user preferences on Live but it's not working on Spaces. Thanks
-
- How to determine if invoke is required
by Evgueni
- 8 Replies
- Last post
by Evgueni
- Hello,
I have a component that is hosted in a CF 2.0 form. This is a multithreaded scenario where component raises events. I want to be able to determine if I need to invoke events on the UI thread, but I don't have access to Control.InvokeRequired since I am inside the component, not inside the form.
In a desktop app, I was able to use ISynchronizeInvoke in combination with GetInv