|
Thank you João,
I'll give the list view control a shot and see what happens.
-Chris
|
|
|
|
|
i am developing a freeware app for pocket pc and am seeking an mp3
player component that from code, i can make play, pause, jump to a specific
time in the track, and read the elapsed time (pref in seconds) and
total track time. something that lets you control the play bar or view the
file graphically (waveform) as it plays and click on a portion to jump
play to that part would be nice but not necessary.
currently the only thing i've found is this cfcom product by odyssey
that lets you embed windows media player, but it's way too expensive and
has too limited license for the $ (i would pay for such a component as long as it was affordable but $400 ain't!)
does anyone know about anything that might work? someone at opencfnet.org found a way to p-invoke WMP, but you can't read the elapsed time or tell the player to jump forward to a specific time so that won't do for my purposes.
i am working in vb.net for compact framework, so either a .NET
assembly that i could include in my project, or vb.net or c# code would be
best c++ would be way over my head.
any information or advice would be most appreciated!
|
|
|
|
|
Hello !!
I have a question about making the cab file with cabWizzard (using an inf file).
I need to install a complete application on the pocket PC. This application supports multiple language. I have a resource directory in wich there is a sub-directory for each language. In each of these subdirectories, there are files containing the string in a specified language. So, the files from the different sub-directories have the SAME names.
For example:
....\MEC\NLS\FR -> contains the file PDI.str with the strings in french
....\MEC\NLS\ENG -> contains the file PDI.str with the strings in english
So now in my inf file (in order to construct the cab file), how do I specify that for the french resources, I need the PDI.str in the FR directory and for the english resources, I need the PDI.str in the ENG directory.
I wrote something like that:
[DefaultInstall]<br />
CopyFiles = BinaryFiles, FrenchResources, DutchResources<br />
<br />
[SourceDisksNames]<br />
1 = ,"Common files",,C:\MEC\Sources Pocket\Pocket Download\BIN<br />
2 = ,"French resources",,C:\MEC\Sources Pocket\Pocket Download\NLS\FR<br />
3 = ,"Dutch resources",,C:\MEC\Sources Pocket\Pocket Download\NLS\NEE<br />
<br />
<br />
[SourceDisksFiles]<br />
PDI Lite.exe = 1<br />
PDI.str = 2<br />
PDI.str = 3<br />
<br />
<br />
[DestinationDirs]<br />
BinaryFiles = 0, %InstallDir%\BIN<br />
FrenchResources = 0, %InstallDir%\NLS\FR <br />
DutchResources = 0, %InstallDir%\NLS\NEE<br />
<br />
<br />
[BinaryFiles]<br />
"PDI Lite.exe"<br />
<br />
[FrenchResources]<br />
"PDI.str"<br />
<br />
[DutchResources]<br />
"PDI.str"<br />
...And magically, that does work but I don't know why ? How can the cabwizzard differenciate the two PDI.str in SourceDisksFiles entry ???
Another little question: how can I copy dll's and register them automatically (with specifying something in the .inf file) ?
Thanks for your responses
|
|
|
|
|
Ooops... No sorry, in fact that doesn't work .
In this case, for the French and Dutch resources, the same file will be copied, that is the file in Dutch (the last one in the SourceDisksFiles entry).
How can I specify that in the %InstallDir%\NLS\FR I want the file that comes from the ....\MEC\NLS\FR directory on the desktop PC and that in the %InstallDir%\NLS\NEE directory I want the file from the ....\MEC\NLS\NEE directory ???
Thanks
|
|
|
|
|
Hi floks,
I want to download emails having attachements from email server (lets say hotmail.com) to PDA(wince3.0 and pocket 2002) into perticular directory(attachment only)
How can we download these files from sever ? Please let me know I am in urgent need.
Thanks in advance
Naresh
|
|
|
|
|
Hi All,
I am trying to store the large objects into SqlCe database. I have the datatype as image in the sql ce. The data to be stored is available as BYTES. Could anyone suggest me some solutions to achieve the same.
I tried to save by executing the commandtext. But i was not able to build a query using the byte data. I tried to use the IRowsetChange interface wherein i retrieve a rowset and update the same using the IRowsetChange->SetData(...) method. I was not able to store the data still and the program doesnt execute beyond the setdata method.
Any suggestion in this regard will be helpful.
Development environment:
EVC3.0
SqlCe.
rmkmani.
|
|
|
|
|
|
Hi~
Lei wrote
"I have 2 forms, form1 contains a ListView. What I want to do is, when
clicking an item in the ListView, hide form1 and show form2. Code for
ListView's SelectedIndexChanged: { form2.Show(); this.Hide(); }. When I
click the item, form2 shows with form1's title and menu. I noticed that when mouse down, the SelectedIndexChanged event was triggered and bring form2 to front. But when mouse up, system redrawed the selected item and bring title and menu back to form1's. I tried to handle MouseDown and MouseUp event of ListView but they were never triggered. Now I used a tricky way to solve the problem: start a thread and use Control.Invoke to switch forms. It is not good, I think there must be a better solution. Thanks."
I am facing the same problem. Someone solve it with setting timer. However, is there any other way to solve it?
Thanks~
|
|
|
|
|
Hi,
Is there any DataGrid ActiveX for eVC++ 4.0 ?!
Regards,
Hadi
|
|
|
|
|
Not an ActiveX, but one of the most successful articles here on CodeProject also works on CE:
MFC Grid control 2.25[^]
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Oh yes, i knew MFC Grid but i didn't know it could works on CE too
Thanks alot Chris, Thanks alot João
Regards,
Hadi
|
|
|
|
|
Hi~
Lei wrote
"I have 2 forms, form1 contains a ListView. What I want to do is, when
clicking an item in the ListView, hide form1 and show form2. Code for
ListView's SelectedIndexChanged: { form2.Show(); this.Hide(); }. When I
click the item, form2 shows with form1's title and menu. I noticed that when mouse down, the SelectedIndexChanged event was triggered and bring form2 to front. But when mouse up, system redrawed the selected item and bring title and menu back to form1's. I tried to handle MouseDown and MouseUp event of ListView but they were never triggered. Now I used a tricky way to solve the problem: start a thread and use Control.Invoke to switch forms. It is not good, I think there must be a better solution. Thanks."
I am facing the same problem. Someone solve it with setting timer. However, is there any other way to solve it?
Thanks~
|
|
|
|
|
I need to display data in a grid with bitmap (icon) in cell depending on the data
It's not possible to override the Paint methods of DataGridTextBoxColumn in the compact framework
Is there any way to have such a datagrid (with bitmap for each cell) based on the .NET compact framework datagrid ?
|
|
|
|
|
HI~
I have ever tried to use form as a dialog box but it occupy the whole screen
How to make a dialog box that not cover the whole screen?
I don't want it cover the parent application
thank
|
|
|
|
|
Hi,
I don't know what's wrong with below code, When I run this It always return the first record.
pRecCus->Find( _bstr_t("Code=" + strCusCode), 0, adSearchForward, 1L ); <br />
if( !pRecCus->adoEOF )<br />
{<br />
m_List.SetItemText( i, 1, (LPCTSTR)((_bstr_t)pRecCus->GetFields()->GetItem(_variant_t("Name"))->Value) );<br />
}
Regards,
Hadi
|
|
|
|
|
How to operate with this format. Actually i'd like to have a Server side (some terminal) and a lot of pocket pcs. And i want to transfer messages thru the GSM format between them. Is It Possible, and where to find info about this.
Thanks.
|
|
|
|
|
please explain more ; so we can understand
|
|
|
|
|
Hi,
I think that he has the same problem of mine. He wants to connect; using ppc with internal/external GSM cell phone like modem (my is internal), to another PC and transfert data in several ways. Like a terminal application, using AT command to connect ATDT ...
I've posted some question aboit TAPI, but if you know anything ... please any suggestion is gold for me.
Thanks in advance.
Montons
|
|
|
|
|
I have an ASP.NET application on a desktop that uses SQL server updates it and vs.
i want to design a mobile app that will be used to reach my main server
by online or ofline.
for exmp a have a pocet pc and a sell some products by my van.when i giive this inpu
to my pocet pc it updates its databse and when connected updates the main server.
my quastion is do i have to write two separete apps or can i convert my desktop api to my pocet pc.is it possible to convert a desktop project to mobile.
i m very new in mobile if you know link about using desktop and mobile devices simultanisly ( together ) please make me know!
resit2@yahoo.com
|
|
|
|
|
Hi,
I was wondering if it is possible to access at runtime the data (e.g. AssemblyTitle) that is entered in the AssermblyInfo file? I know it in possible with the full framework, but I have been unable to find any info regarding the cf.
Any help would be greatly appreciated.
Mark
|
|
|
|
|
I am sure there is a very simple solution to this problem but I am yet to find it, so your help is greatly appreciated.
I am currently writing an application that has a handheld component and a desktop component. I have several classes that I need to use in both places.
The solution that looked best to me was to place the files in a seperate project, compile it as a ClassLibrary than import the dll and use them in each project as I needed to. However when I do this I have one of two problems. If I make the class library to use the compact framework, it creates problems in my desktop application, as it wants to remap referances to match the framework used by my library. If I create the library as a standard .net application, visual studio complains that it cannot use the library because it uses full .net features.
My Eternal thanks,
Andy
|
|
|
|
|
hi,
how to change the background color of tree view and list view in c# .net cf?
thanks
|
|
|
|
|
Hi
I have a very odd problem that made me really crazy !
I've an member variable in my dialog class:
public:<br />
CArray < SomeStruct, SomeStruct > m_MrOdd;
In a function I added some values to m_MrOdd, like this:
void CMyDialog::SomeFunc1()<br />
{<br />
m_MrOdd.Add( SomeStruct( 1, 2 ) );<br />
m_MrOdd.Add( SomeStruct( 10, 2 ) );<br />
m_MrOdd.Add( SomeStruct( 1, 212 ) );<br />
}
And when i want to use of values, the array show me nothing !
void CMyDialog::SomeFunc2()<br />
{<br />
if(m_MrOdd.GetSize() == 0)<br />
MessageBox( _T("What did you do with my array ?!!!!!!") );<br />
.<br />
.<br />
.<br />
}
I don't know what to do ... plz help me.
The intresting part is when i debug the program
In Adding values, it shows that everything is ok and in using data in another function it shows there is not any value
Regards,
Hadi
|
|
|
|
|
Is m_MrOdd the same variable? By the way, you should be declaring it as:
CArray < SomeStruct, SomeStruct& > m_MrOdd;
(the second argument is a reference type).
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Hi dear João
And thanks alot for reply, You are the only one who helps me
Well, m_MrOdd is the member variable (public access) of CMyDialog class.
As you said I changed the m_MrOdd declaring to:
CArray < SomeStruct, SomeStruct& > m_MrOdd;
But I've still the problem
Best Regards,
Hadi
|
|
|
|