|
Dear all,
I 've been trying to query database (Pocket Access) using GROUP BY in SQL command but it returns fail.
I wonder does ADOCE support GROUP BY in SQL command?
Thanks in advance.
-BHKien
|
|
|
|
|
Check the help file of eVC on the Data Access 3.0 or 3.1 topic. The GROUP BY clause is not supported by Pocket Access.
Regards,
João Paulo Figueira
|
|
|
|
|
How do you programatically catch the power off button in an iPAQ 2200 Pocket PC using eMbedded Visual C++. Which event(s) should I monitor and which functions can use to check the Power Off button.
Any help is appreciated.
Jose
|
|
|
|
|
Try the RegisterHotKey function and listen for the VK_SLEEP key.
Regards,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
I'm writing a Pocket PC 2003 application in C#. I have what should be a simple requirement: I want to persist applicatoin options between sessions; the most logical place seems to be in the registry, but I can't seem to find how to do it.
There's the Microsoft.Win32, but this doesn't seem to exist in the .Net Compact Framework.
There's System.Runtime.InteropServices which allow me to call Win32 APIs, e.g., RegOpenKeyEx. I've used these before in desktop apps.
The Embedded Visual C++ Version 4.0 help says "Although the registry is directly accessible, accessing the registry through the metabase is the preferred method for updating settings. This is accomplished by using the CSP specific to the settings that require an update." But I can't find any guidance on how to call CSP.
Can some one give me a clue on where to start? What is the recommended method? And perhaps some sample code.
Thanks!
|
|
|
|
|
|
This is a nice looking library, and its free. Possibly the Configuration settings namespace is more suited to my needs - saves application configuration in an XML file, presumably in the application directory. This would be much better than the global registry database, which was one of the worse ideas (IMHO) Microsoft ever had.
Thanks for the link.
|
|
|
|
|
Hello,
I'm a student in training period.
I have to develop my own plaform using Platform Builder.
Then I have to develop using eMbedded Visual C++ 4.0.
This is the first time I use eMbedded Visual C++. I'm not use to develop this visual C.
I 'm looking for tutorial, samples,.... that can help me.
But I didn't found something.
Can you help me in my research.
No one in my society know this type of platform.
Thank you.
Sorry for my poor English
|
|
|
|
|
|
Hello All,
I was pointed to some code that will allow me to raise some of the settings dialogs through my application. Here is the code:
CString strParam;
strParam.Format(_T("cplmain.cpl,%d,%d"), 16, 1);
PROCESS_INFORMATION pi;
if (!::CreateProcess(_T("\\Windows\\ctlpnl.exe"),
strParam, NULL, NULL, FALSE, 0, NULL, NULL, NULL, &pi))
{
//Cannot start Control Panel process
}
So im trying to implement this in c# through the pocket pc os. I was attempting to use the Process class to create the ctlpnl.exe process, but it seems its not supported. Is there another way to implement this code easily?
Thanks,
Ryan
|
|
|
|
|
Alright, I've figured this out to some extent, any idea's on what im doing wrong here, because .net cf exception explanations are so detailed, lol
[System.Runtime.InteropServices.DllImport("coredll.dll")]
private static extern bool CreateProcess(string sApplicationName, string sCommandLine, long lProcessAttributes, long lThreadAttribute, long lInheritHandles, long lCreationFlags, long lEnvironment, long lCurrentDirectory, long lStartupInfo, long lProcessInformation);
private void btnTest_Click(object sender, System.EventArgs e)
{
try
{
if(CreateProcess("\\windows\\ctlpnl.exe", "cplMain.cpl,16,1", 0, 0, 0, 0, 0, 0, 0, 0))
{
}
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}
}
|
|
|
|
|
Hi friends,
Sorry for such kind of question. I am newbiee for Win CE.Is there any kind of utility available for viewing OutputDebugString output?
Like Dbgview for Winnt\98\2K
VikramS
|
|
|
|
|
Hello Vikram,
for win CE you should use the following:
include windows.h and use following declaration...
#include <windows.h>
extern "C" void WINAPIV NKDbgPrintfW(LPCWSTR lpszFmt, ...);
use the function like:
NKDbgPrintfW (_T("%s(%i) : Warning : something went wrong here!\n"), _T(__FILE__), __LINE__);
Hope this gets you along....
|
|
|
|
|
If you are attached to the application (in debug mode) with the development tool, like eVC++ you can see all debug outputs in the output box of the development tool!
Regards,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
Okey. That is nice. But is there any kind of application like DbgView which will run on the device So that I can see these outputdebugstrings...
|
|
|
|
|
Not that I know, but you can create your own DbgView application for your device, like Paul DiLascia's TraceWin 4.0 .NET for the normal Windows OS.
Regards,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
http://www.xs4all.nl/~itsme/projects/xda/tools.html
http://www.pocketgear.com/software_detail.asp?id=1622
|
|
|
|
|
Hi....
i am newbie in using evc and also using wtl/atl...
this questions were in my mind for a long time.....
1.can i use atl classes too?as wtl is extension to atl....
2.what is the best way to show another form?for example by clicking a button....i know it in pure api but not in wtl...so how in wtl?
and also i always in pure call createdialog....can i also use createwindow...whats diffrence?
3.is there any good controls for using in evc?
for example color buttons,dialogs and things like this[for smartphone..ie in pure api or wtl(
4.Thanks
|
|
|
|
|
rozbeh wrote:
can i use atl classes too?
Yes. Look at WTL 7.1: it now supports the embedded compilers (eVC3 and eVC4).
rozbeh wrote:
what is the best way to show another form?
Please be more specific on your question.
rozbeh wrote:
is there any good controls for using in evc?
You can find a lot of good articles here on the embedded section and also on www.pocketpcdn.com.
Regards,
João Paulo Figueira
|
|
|
|
|
Thank you....
i mostly looking for controls for smartphone as smartphone doesnt support mfc i havnt find good things for it....
but by the way as it supports wtl so i think i can use some usefull controls here in wtl/atl section without a lot modification i guess..huh?
The very thing i am looking for is a control i can display texts with diffrent sizes and styles...something like richedit.....any thing?
|
|
|
|
|
Anonymous wrote:
The very thing i am looking for is a control i can display texts with diffrent sizes and styles...something like richedit.....any thing?
No, I think not. Anyway, the best place to ask these questions is www.smartphonedn.com
Regards,
João Paulo Figueira
|
|
|
|
|
Im curious, we are developing a c# compact framework application. It is imperative that the user verify the date/time of the device before using the application. I know of the api calls to set the system date and time, but its somewhat difficult because I've only been able to find a date control for the framework. Does anyone know of a way to use an api call to bring up the standard date/time settings page in the windows ce operating system?
Thanks,
Ryan
|
|
|
|
|
|
Exactly what I was looking for, thanks!
|
|
|
|
|
when i compile any mfc application in evc 3
it compile succesfuly
but when i run it with pocket pc emulator
it will take two minute and then start emulator
but it will give time out error
how i will see my application work or not where i check or import it iam new to evc 3 pleaze help me
whole procedure how exe will run in pocket pc emulator
|
|
|
|