|
|
I`m working with .NET compact framework 1.1 unfortunatelly. Combobox does have event KeyPress, but it is not a design property. I suppose that th reason is that this event is "disabled" - so it never fires.
Could anyone please help me - how could I capture an key press event on combobox? Anyhow...
Thank you very much for any help in advance
|
|
|
|
|
hai
the application which i am trying to develop is
to record the client sound in a mobile site when the user press
record button inside a mobile webform save it to memmory of the mobile and
after pressing finish the saved audio file is send to the server
1. wat i need is, how to send instruction to mobile wen the record button is clicked
2. save to a particular record
3. after pressing finish how to get that recorded file so tht i can send it to server
thnks in advance
|
|
|
|
|
This is a new area for me and I'm still hacking my way through it, so I would greatly appreciate any insight or a push in the right direction. I have a process that needs to be notified when dhclient (which is launched by an unrelated process in another application) finishes configuring the network device and fetches the IP address and all. Is there a way to hook into dhclient for the first process to get notification events from dhclient? I'm currently considering doing it from the dhclient-exit-hooks script that is invoked on dhclient exit, but I am curious if OMAPI can be used instead? The man-page for dhclient says such control of dhclient is possible through the use of OMAPI, but the man-pages for OMAPI and and dhcpctl claim it's used to get info from the DHCP server only...
|
|
|
|
|
Hello All,
I'm trying to build a simple test from a command line ( MSVS 8 ).
If it is a WIn32 desktop program, I write:
cl.exe test.c user32.lib
and the test.exe is built successfully.
For a mobile binary with the same test.c I write:
cl.exe test.c user32.lib /link /SUBSYSTEM:WINDOWSCE
and get the following unresolved externals:
LIBCMT.lib(wincrt0.obj) : error LNK2001: unresolved external symbol ___ImageBase
LIBCMT.lib(pesect.obj) : error LNK2001: unresolved external symbol ___ImageBase
LIBCMT.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
Which library must I add to the command line to resolve them ?
Regards,
Alexander Kresin.
|
|
|
|
|
Building a mobile application from the command line was traditionally a real bitch, because you need to reset all sorts of paths. In Visual Studio, go to Tools, Options, then expand Projects and Solutions, VC++ Directories, and change Platform to Windows Mobile 5.0 Pocket PC SDK. Then look at Executable Files, Include Files and Library Files. To get a successful command-line build, you need to set the PATH, INCLUDE and LIB folders as per these settings.
Next, you need to understand that Windows CE changes some of the core DLLs and hence the import library you use. It does not have kernel32, user32, gdi32, or advapi32. Instead it has a single core library, coredll.dll. To use this you link with coredll.lib.
Coredll also implements the standard Windows CE C runtime library, rather than this being a separate DLL. Visual Studio 2005 does add a few extra functions not implemented by coredll in msvcr80.dll, but the coredll implementation is mainly used.
I generally avoid the pain by simply running devenv.com with the /Build switch. That saves having to get and keep both your build scripts and Visual Studio up to date and in sync with each other.
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
I am doing mobile application in .net 2005 .i want to save my all the form in formation when the mobile CE crash.I want to recovery that form when the Application again start.can u some one help me regarding this.
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
|
can anyone tell me how I can create a new shell for windows xp embedded
I want complete detail regarding this i.e. how do we apporoach this problem, what are the basic skills required and which tools are helpful
|
|
|
|
|
Define what you mean by 'a shell'. If you mean 'a program that can take the place of Explorer at boot time', any program can do that. You simply set a registry entry to define the program that is the shell. I can't find the details right now.
MSDN has more details on custom shells for XP Embedded at http://msdn2.microsoft.com/en-us/library/ms940134.aspx[^].
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
hi guys.
I'm trying to develop an application for mobile second edition 2003,i can deploy and install windows mobile application in Visual Studio 2005.
about my application :
its just a simple tutorials application about C programming language, where user can read and learn from this program, thats it.
so tell me any good one, what could be the best way to start and guide me to go through.
thanks!!!
so much of happy ending...
|
|
|
|
|
Hello to all,
what's the procedure to connect to the database and retrieve the data in mobile enumerator
Mogha Ritesh
|
|
|
|
|
Hello,
VS 2005
WM 5.0 & WM 6.0
I am creating some software and don't want the software to be installed on any other PDA devices.
I can give it to the customer, but how can I avoid the customer from installing it on other PDAs.
I think I need to create some license so that the setup I give them will not be able to install if it has already been installed on another PDA.
Which is the best practice when it comes to distributing software and to avoid the customer from installing on many PDA?
The customer will have to buy 1 license for each PDA they want the software installed on. However, the customer could easily pay for 1 license and install on many. This is what I am trying to avoid.
Many thanks for any advice,
Steve
|
|
|
|
|
Devices typically have a unique identifier - this is a requirement for Windows Mobile. You can commonly link a licence key to the specific device using this unique identifier - this is the approach taken by TomTom Navigator, for example.
However, you'll have to come up with some way of transferring licences - customers will have a reasonable expectation of being able to transfer the software to a new device. This is particularly true in enterprise software because the amount of abuse that these devices take is incredible!
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
hi frndz,
I want to upload an image file from mobile web form. i'm using asp.net 1.1..
while cheking with IE it's working fine..But it's not working properly when i'm checking with "Openwave V7 Simulator".. The response i'm getting is "Openwave simulator crashed!!!" ..Any one can help me???????????????
anoop
-- modified at 6:22 Wednesday 10th October, 2007
|
|
|
|
|
Hi all
Is there any way to get notification when a program launched,
terminated, or set active?
and then get the program's name...
thanks~
|
|
|
|
|
I need to write an agent that will monitor activity on the PPC device.
In order to do so I need to get notified when process is started.
As I understand it may be done using 'SetWindowsHookEx' function but that all I know for now.
I'll be happy to sample or explanations how to continue.
|
|
|
|
|
Hi all, just getting started with WinMo5/6 development after coming over from the PalmOS world. I used HandHeld Basic for my Palm development and would like to use VB in Visual Studio 2005 now.
A few questions:
1. Can anyone point me to a good tutorial for getting started?
2. My utilities generally work with backup and restore functionality - can someone point me to some good source code for copying files & directories using VB under WinMo?
3. Is there a good 3rd party book that you'd recommend?
Thanks very much!
Dave
|
|
|
|
|
Hi,
Following code is written in Visual Studio 2005 C++ for PDA(MC3000).
PDA is Motorola/Symbol's MC3000 and it has Windows CE 5.0 Operating System.
FTP Error Code 12029 meaning "Internet can not connect" as per Microsoft Documentation.
I am using following code to do FTP Send file to FTP Server:
int JSCFTPSendFile(TCHAR *tszLocalFileName, TCHAR *tszRemoteFileName)
{
HANDLE hInternetHandle = 0;
HANDLE hFTPHandle = 0;
TCHAR tszFTPServerName[256];
TCHAR tszFTPUserId[51];
TCHAR tszFTPPassword[51];
INTERNET_PORT ipFTPPortNo = 21;
_tcscpy(tszFTPServerName, _T("ftp.myftpserver.com");
_tcscpy(tszFTPUserId, _T("MyUserid");
_tcscpy(tszFTPPassword, _T("MyPassword");
hInternetHandle = InternetOpen(_T("Microsoft Internet Explorer"), INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, INTERNET_INVALID_PORT_NUMBER);
if ( hInternetHandle == 0 )
{
return FALSE;
}
hFTPHandle = InternetConnect(hInternetHandle, tszFTPServerName, ipFTPPortNo, tszFTPUserId, tszFTPPassword, INTERNET_SERVICE_FTP, INTERNET_FLAG_PASSIVE, 0);
if ( hFTPHandle == 0 )
{
InternetCloseHandle(hInternetHandle);
return FALSE;
}
// upto here code works fine but when it executes FtpPutFile() I get Error code 12029
iRetStatus = FtpPutFile(hFTPHandle, tszSendFileName, tszRemoteFileName, FTP_TRANSFER_TYPE_BINARY, 0);
if ( iRetStatus )
{
bFileSent = true;
}
InternetCloseHandle(hFTPHandle);
InternetCloseHandle(hInternetHandle);
return TRUE;
}
In the above function upto "InternetConnect()" code works fine but when it executes "FtpPutFile()" I get Error code 12029.
This code works fine to conect to any standard FTP Server.
I am first connecting to PC using ActiveSync(Version 4.1) and once ActiveSync Connection established I can connect to any FTP Server(Local Network or Remote thru the gateway ) and transmit file. But if I try to send file from PDA(MC3000) to ActiveSync Connected PC(FTP Server Name is V4000) then it does not work.
I tried server name as "ppp_peer", "localhost", "V4000"(which is actual FTP Server Name for the local PC ). and it did not work.
Your help will be greatly appreciated.
Regards,
Dev
|
|
|
|
|
Two points to start. One I'm not sure this is the right place for this post, please move as needed. Two, thank you for any help I get on this one.
I am developing a PocketPC application. The application has two pieces. One runs on the handheld and the other runs on the desktop. I am attempting to create a single installer that installs both.
I followed the directions here: http://msdn2.microsoft.com/en-us/library/aa446504.aspx on how to create a compact framework installer. It works correctly. I have also added a second "Project Output" to the installation that installs the desktop portion of the application.
However all of the shortcuts that I create to the desktop portion launch both the desktop application AND the handheld installer. Inspection of the shortcut shows that it does not point to the exe that is the desktop application.
Does anyone know how to create such a shortcut? I'm really at a loss.
Best Regards,
Andrew Nortrup
|
|
|
|
|
Dear friends,
I am going to develop a mobile application in .net. I dont have any prior experiance on this.. Could any people suggest best possbile way to move forward.
thanks
Regards
Azeem
|
|
|
|
|
Which library you are using for sending or receiving sms
|
|
|
|
|
hi Azeem plz check this URL... it'll be useful to you
http://samples.gotdotnet.com/MobileQuickStart/(S0uuvg1ztbkesza55m5qcjeac))/Default.aspx?
anoop
|
|
|
|
|
|
hi,
I want to upload an image file from mobile web form. i'm using asp.net 1.1..
while cheking with IE it's working fine..But it's not working properly when i'm checking with "Openwave V7 Simulator".. The response i'm getting is "Openwave simulator crashed!!!" ..Any one can help me???????????????
anoop
|
|
|
|
|
Hello all
Im trying to send an alert to a WM6 Device (Emulator) from my PC
Code on PC:
Dim tcpClient As New Sockets.TcpClient
Dim portNumber As Integer = 1414 '????
'ERROR10060 on next line
tcpClient.Connect(New IPEndPoint(IPAddress.Parse("192.168.55.101"), portNumber))
Code on PPC:
Private Sub listener()
Dim tcpListener As New Sockets.TcpListener(IPAddress.Parse("192.168.55.101"), 1414)
tcpListener.Start()
While (True)
' Look for notification
If (tcpListener.Pending()) Then
' Get notification message
Dim tcpClient As Sockets.TcpClient = tcpListener.AcceptTcpClient()
Dim s As IO.Stream = tcpClient.GetStream()
Dim buffer(250) As Byte
Dim bytes As Int16 = s.Read(buffer, 0, buffer.Length)
Dim message As String = System.Text.Encoding.ASCII.GetString(buffer, 0, bytes)
' Send back confirmation
Dim response As String = "OK"
Dim responseBytes() As Byte = System.Text.Encoding.ASCII.GetBytes(response.ToCharArray())
tcpClient.GetStream().Write(responseBytes, 0, responseBytes.Length)
tcpClient.Close()
showNotification(message)
End If
System.Threading.Thread.Sleep(1000)
End While
End Sub
What am i suppossed to write on the port number?? I have tried several numbers but all of them give me the same error 10060
To get that IP address i run this code on my PPC
'Dns.GetHostEntry(Dns.GetHostName()).AddressList(0).ToString
Thanks in advance for any answers
-- modified at 15:36 Thursday 4th October, 2007
Alexei Rodriguez
|
|
|
|