Device Emulator Manager Hello,
I can't access the device Emulator Manager from the tools Menu of my Visual Studio 2005.
Can someone please help me
Thanks. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
rtsp for mp3 Hi,
I am using windows mobile 5.0. C++.net 2005 MFC for development purpose. I want to stream mp3 through Media player 10, builtin Windows Mobile 5.0.
I have tried this rtsp://granton.ucs.ed.ac.uk/domsdemo/v2003-1.wmv and its working with no video just audio..but i dont know why mp3 is not streaming through our server. is mp3 streaming is not supported in media player 10 or anything else
Please give me if u have related to public address for mp3 file over rtsp so that i will confirm it.
Thanks
-Salman Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
How to read text files and print them ? Then can I use list box to do the same functionality Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
VS 2005 for Gadget development? You might try the Orcas CTP that was recently published. I haven't tried it myself (yet), but it claims to have better JavaScript intellisense. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Send text data/file accross Windows CE device and Desktop PC. FTP the data. We do it here. If you need more info I will try to get with you tomorrow. I am leaving the office shortly for the rest of the day. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Error System.MissingMethodException when using a DLL Hello Ilya,
Thank you for your kind reply, my DLL is correctly deployed, I set its properties to "content" and "copy always" and it was compiled for Mobile 5.0 pocket pc in VS2005. In fact if I remove the call to the function in the library and I write something like return 500, my application works, the DLL is invoked correctly and I can write 500 on the screen.
The problem is when I insert a call to a function in the library and recompile the DLL, I get the System.MissingMethodException when I deploy my application.
The libraries were written in C and they are linked during the compilation of the DLL.
doing >dumpbin /exports rutinasASR.dll I see that the entry point is the same to the one I am using.
Is there another option that can give more information than /exports
I have a demo that was written as MFC project in C++ that uses the same library and it works, what I want to do is to wrap the call to the methods in the library and use C# for the GUI Interface.
Kind regards. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
pocket pc to pc communication vb.net hi all thnks for reply. i tried the link given below for the client side in smart device application(pocket pc) in vb.net (http://msdn2.microsoft.com/en-us/library/Aa478452.aspx) and had these errors which i don't really understand. errors are underlined and in bold. help me out here! thanks! lastly, if theres any1 who has something similar to this program (windows application kind) eg using formload to initialize the socket pls do share it with me. desperately need help thanks! Imports System.Text Imports System.Net.Sockets Public Class Form1 Inherits System.Windows.Forms.Form Friend WithEvents txtDisplay As System.Windows.Forms.TextBox Friend WithEvents txtSend As System.Windows.Forms.TextBox Friend WithEvents btnSend As System.Windows.Forms.Button Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu Public Delegate Sub DisplayInvoker(ByVal t As String) Private mobjClient As TcpClient Private marData(1024) As Byte Private mobjText As New StringBuilder Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load mobjClient = New TcpClient("localhost", 5000) DisplayText("Connected to host" & vbCrLf) mobjClient.GetStream.BeginRead(marData, 0, 1024, AddressOf DoRead, Nothing) Send("New client online") End Sub Private Sub btnSend_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click Send(txtSend.Text) txtSend.Text = "" End Sub Private Sub Send(ByVal t As String) Dim w As New IO.StreamWriter(mobjClient.GetStream) w.Write(t & vbCr) w.Flush() End Sub Private Sub DoRead(ByVal ar As IAsyncResult) Dim intCount As Integer Try intCount = mobjClient.GetStream.EndRead(ar) If intCount < 1 Then MarkAsDisconnected() Exit Sub End If BuildString(marData, 0, intCount) mobjClient.GetStream.BeginRead(marData, 0, 1024, AddressOf DoRead, Nothing) Catch e As Exception MarkAsDisconnected() End Try End Sub Private Sub BuildString(ByVal Bytes() As Byte, ByVal offset As Integer, ByVal count As Integer) Dim intIndex As Integer For intIndex = offset To offset + count - 1 If Bytes(intIndex) = 10 Then mobjText.Append(vbLf) Dim params() As Object = {mobjText.ToString} Me.Invoke(New DisplayInvoker(AddressOf Me.DisplayText), params ) mobjText = New StringBuilder Else mobjText.Append(ChrW(Bytes(intIndex))) End If Next End Sub Private Sub MarkAsDisconnected() txtSend.ReadOnly = True btnSend.Enabled = False End Sub Private Sub DisplayText(ByVal t As String) txtDisplay.AppendText(t) End Sub End Class Error description - Too many arguments to 'Public function Invoke(method As System.Delegate) As Object'. - 'AppendText is not a member of 'Systems.Windows.Form.TextBox'. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
forums in Side Bar Gagets Hello,
apart from from this RSS-Feeds thing, some forums have some kind of "external access".
For example, SMF support a special site for this: http://docs.simplemachines.org/index.php topic=400
you can call this functions with URLs like http://www.example.com/SSI.php ssi_function=recentPosts and a XMLHttpRequest .
Maybe your forum software have similiar functions.
Peter Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
How to bound DataGrid to datatable/dataset and create ComboBox Grid colums it seems there is a sample in given link, but I was unable to build the application.
Error 3 'DataGridCustomColumns.DataGridCustomColumnBase. Paint( System.Drawing.Graphics, System.Drawing.Rectangle, System.Windows.Forms.CurrencyManager, int, System.Drawing.Brush, System.Drawing.Brush, bool)': no suitable method found to override C:\Program Files\Microsoft\Custom DataGrid Sample\DataGridCustomColumns\DataGridCustomColumnBase.cs 278 33 DataGridCustomColumns Error 4 The referenced assembly "C:\Program Files\Microsoft\Custom DataGrid Sample\DataGridCustomColumns\bin\Debug\ DataGridCustomColumns.dll " was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. CustomDataGrid Error 6 Type 'DataGridCustomTextBoxColumn' is not defined. C:\Program Files\Microsoft\Custom DataGrid Sample\CustomDataGrid\CustomDataGrid.vb 33 42 CustomDataGrid Error 7 Type 'DataGridCustomTextBoxColumn' is not defined. C:\Program Files\Microsoft\Custom DataGrid Sample\CustomDataGrid\CustomDataGrid.vb 50 42 CustomDataGrid Error 8 Type 'DataGridCustomUpDownColumn' is not defined. C:\Program Files\Microsoft\Custom DataGrid Sample\CustomDataGrid\CustomDataGrid.vb 66 42 CustomDataGrid Error 9 Type 'DataGridCustomCheckBoxColumn' is not defined. C:\Program Files\Microsoft\Custom DataGrid Sample\CustomDataGrid\CustomDataGrid.vb 82 42 CustomDataGrid Error 10 Type 'DataGridCustomComboBoxColumn' is not defined. C:\Program Files\Microsoft\Custom DataGrid Sample\CustomDataGrid\CustomDataGrid.vb 98 42 CustomDataGrid Error 11 Type 'DataGridCustomDateTimePickerColumn' is not defined. C:\Program Files\Microsoft\Custom DataGrid Sample\CustomDataGrid\CustomDataGrid.vb 114 42 CustomDataGrid
If double click on Component class,
The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: DataGridCustomDateTimePickerColumn --- The base class 'DataGridCustomColumns.DataGridCustomColumnBase' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Horrible experience, stupid device emulator Hi
I¡¯ve seen the iPhone yesterday, and I decided to have a look on the Windows Mobile emulator before I decide between Window Mobile and iPhone, and people, I can¡¯t just get the Windows Mobile emulator to work as it should.
Connecting the Windows Mobile 5 emulator to the internet was not possible; I tried the blogs on the internet, reading this message board and still was not able to browse the internet from Windows Mobile.
The problem is, Windows Mobile is written by people who expect you to know about NE2000 or mini port something whatever crap does that mean.
It asks me if I have an ISP, or I want to setup a VPN, or if I am at Work, and do I want to cradle ¡°whatever the hell it means¡±, and do I want to enter the IP address manually or automatically, and what is my Wins, DNS, #!$@#$@#$@#$@#$
After half an hour struggling with Windows Mobile 5, I wished if Microsoft do the following:
- Find who wrote that UI panel on Windows Mobile.
- Take their cars, yes, driving an automatic car is a privilege, they must experience a bit of Microsoftiness.
- Give each one of them a new car, a one that need 5 drivers to get it on the road, a driver to steer the car with 3 steering wheels, I have no idea what the additional two are for, but after having a look at Windows Mobile, I guess they will find a use for them.
- Another driver to operate the gas and car oil system, and let¡¯s give him 5 gas pedals, and 20 buttons to do something with the engine oil, and so on with the rest of the team.
People, whoever is writing Windows Mobile, the device is like you car, I don¡¯t care about the engine details while I am driving, I don¡¯t care about the oil distributions, I don¡¯t care about the car settings, all what I care about when I am driving is if the car is operational, and if there is something wrong with the car.
I hope you learn from the iPhone!
I got my first Windows CE device in 1999 and today 2007, it has been 8 years and nothing changed!
but iPhone, it is close to perfection from its first release! Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Directory Chooser Does anyone have code to display a dialog that allows the user to browse a win mobile 5.0 device and select a directory The openfiledialog does not seem to have this functionality on a mobile device. All I need to do is prompt the user for a location anywhere on the device, including SD card, to store a file and return this path to the device.
Thanks in advance.
Jack Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
General question about XMLHttpRequest I'm having to set onreadystatechange each time, otherwise it is only called on the first use of the object (maybe calling abort resets this)
Anyway, the code I'm using now, which seems to be working fine, is as follows:
Code Snippet
var xhr=new XMLHttpRequest();
function fetch(url, form_data) { if (xhr.readyState!=0) { xhr.abort(); } xhr.onreadystatechange=xhr_handler;
if (form_data) {
xhr.open("POST",url,true); xhr.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded; charset=UTF-8"); xhr.send(form_data);
} else {
xhr.open("GET",url,true);
xhr.setRequestHeader("Content-Type","text/html; charset=UTF-8"); xhr.send(null);
}
}
function xhr_handler() {
if (xhr.readyState!=4)
return;
if (xhr.status==200) {
// [Completed OK]
} else {
// [Error]
}
xhr.abort();
}
You may of course need to change the content types to suit your requirements.
One other function I have been using which can help to trace problems using XMLHttpRequest is a debug handler that shows the current status of the request, which can be called from within the xhr_handler (or anywhere else you refer to the object)
Code Snippet
function debug_XHR(where, obj) { var rs; var st; var sv; try {rs=parseInt(obj.readyState,10); } catch(e) {rs=0; } try {sv=parseInt(obj.status,10); } catch(e) {sv="-"; } try {st=obj.statusText; } catch(e) {st="-"; } System.Debug.outputString(where+": "+rs+"."+sv+"."+st); }
function xhr_handler() {
debug_XHR("xhr_handler",xhr)
if (xhr.readyState!=4)
return;
....
Hope that someone finds this of some use/help (and I hope that I've not made any silly mistakes with this...)
Regards,
Keith. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
WinCe Logging I saw that, now how would I go about saving the data recieved by that hook to a text file Thanks RNBY Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
how to play sound in PhoneCallTalking hi
I need to play sound in phone call talking.
I have try MessageBeep() and PlaySound() to play sound.
They can work right at the phone not call talking.
But they can not play sound at phone call talking.
I need play sound in PhoneCallTalking.
How should I do
Thank you.
In symbian, nokia pda can play sound when Phone Call Talking. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
How to sign my application? I followed the steps in exercise 4 and installed a "Smartphone 2003 Unprivileged Test Signing Authority" certificate. I am developing on HP6915 which is more like a PDA than a SmartPhone. The first time I built (F7) and debugged the project (F5) it didn't ask me for permission to execute the code. However, after I made some changes in my code it went back to ask me every time I deploy my project. What did I do wrong Thanks. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Backlight Hi,
Please send code for to get backlight off event.
Regards
Ravi Tiwari Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
[WinCE6.0 in C#] Error in Serial port and click event Hi,
This is error that's shown when I run my application on WinCE OS that I did myself:
France_CE.exe IOException in System.IO.Ports.SerialStream.WinIOError() in System.IO.Ports.SerialStream..ctor() in System.IO.Ports.SerialPort.Open() in France_CE.ModBus.openComunication() in France_CE.Form1..ctor() in France_CE.Bunner..ctor() in France_CE.Program.Main()
The code to Serial port in my application is:
SerialPort PSerial1 = new SerialPort ();
...
PSerial1 = new SerialPort(); PSerial1.Parity = Parity.None; PSerial1.BaudRate = 19200; PSerial1.ReadTimeout = 3000; PSerial1.WriteTimeout = 3000; PSerial1.Handshake = Handshake.None; PSerial1.PortName = "Com1"; PSerial1.Open();
The methods I use are:
PSerial1.ReadByte();
PSerial1.Write(bufferTx,indCom,1);
Then I have a question:
what is stack trace where I can find it
Thanks a lot. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Gadget behavior on spaces vs live.com? Thank you Todd0s! I do use the random link, however even with the random link spaces seems to cache the rss feed. I suppose I could get rid of this all together as long as I let the user know that once they refresh they will see the updated feed. Just thought is was weird that spaces did not update the content like I expected it to. As for the xml and xpath I am not too familiar:)
The one thing about css that really surprised me on live.com was my borders which are specific colors get overridden although they show exactly as I pictured on Spaces. Thanks again for the feedback, I really appreciate it! Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Populating Combobox with Enumeration Values Hi,
I was trying to build a sample windows mobile application.
I am accessing a webservice which exposes 1 function and 1 enumeration value.
I want to bind a combobox to the values retrieved from the Webservice's enumeration value.
How to do this I found the following code
comboBox1.DataSource = Enum.GetValues(typeof MyValues);
but this is only for ordinary windows application. In compact framework the function Enum.GetValues() doesnt exists.
How to go about Please help me with a sample code for the same.
Thanks in advance for your help.
Regards,
Ram. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Using gadget from a 3rd party place. I realized, that the possible problem is, that my webserver runs on port 8080, instead of the standard 80, and that is why I can't add the gadget. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Slow Control Visibility Changes I'm converting a paper form into a digital one. There are a lot of things that needs to be filled out. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
callbackfunction causes VS2005 to crash (tapi) this is all true, but normally I would expect VS2005 to give a warning (crossthread, ...) but it actually crashes... Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Streets and Maps GPS on Motorola "Q"...? [not sure if this is the correct forum, so please redirect me if you know..]
Does anyone know if there is any way to get the Pharos GPS USB device (I have a Bluetooth Cradle for it as well) to work with the Motorola ¡°Q¡± phone. I have both Streets and Maps Mobile edition and Virtual Earth.
There is another third party product GPS hard/software combination made for the ¡°Q¡± which uses a Bluetooth connection for their GPS device.
Any advice would be appreciated! Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
SDK install problem I am having a similar problem, the install for the SDK will not complete. It hangs during the 'clean-up' phase of the repair and never completes. Should I remove VS2005 Standard and reinstall Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
pocket pc popup control Yes, I know. On Lost Focus I hide this Popup, but Lost Focus fire only if I click on other button or textbox. So I wrote the hide method to Form Click event, but this is not still perfect. If you try for example combo box, if you click on other button when the popup is shown, the button does not fire its event. But it is not enabled, so I do not know how to do this effect. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
SSL Handshake failure Just sent you an email about this, thanks for your interest. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
WM 5.0 - Contacts Disappear When Running a Compact Framework 2.0 Application That's exactly what I will be trying over the weekend, thanks for your suggestion; it is what I was going to try next anyway but wanted to check no-one else was having the same problem before I went digging Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Clearing user inputs I really appreciate the response. It is a little extra housecleaning to implement, but definitely seems like that would do the job.
Thanks again,
Juan Foegen Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Problem installing .NET Compact Framework 2 on PocketPC Version 3.0 NETCF V2 does not support anything older than PPC 2003 (4.2 in terms of base OS version). Sorry, but your device is too old for NETCF V2. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
Stupid DataGrid tricks I18n = Internationalization (18 for # of chars between the "I" and the "n").
Just sounds like it's not the best option if you want to keep your data normalized. Tag: .NET Compact Framework How to get the handle of the control from its name. Smart Device Development
zimitsu
Could any one can help me in finding the handle of a textbox control from its name.
I dont have its incstance. I have only its name which is a string.