|
hi all,
I want to develop a plugin for pocket windows media player, prefarably in c++, and I do not know where to start... can you plz provide any useful information or links???
What do I need?? Where to start??
Thanx alot
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
I need to catch the vScrollBar events such as largechange event
using Interop.
George
|
|
|
|
|
First question: how can I set the background of a DateTimePicker control to a particular colour? Since there's no BackColor property I guess the only option is to create a custom control and override Paint or OnPaintBackground right? Anyone got a better (simpler!) idea on how I can do this?
Second question: I have a config file which I load up at app initializtion which defines the colour names for things like form background, default text color, button color, etc, etc. I want to convert the names of those colors (eg: AliceBlue) into a Color object but I'm not sure how to do that... it must be simple but nothing I've tried works. I think you can do this in normal winforms but not in CF.Net AFAICS.
Cheers,
Mike
-- modified at 3:29 Friday 28th July, 2006
|
|
|
|
|
Hi Friends,
I created a dialog based application VC++ .net platform. I placed edit box on the dialog form. When I place the mouse on the edit box and right click it, add variable in the pop up menu is disabled. I want the edit box to accept string input only for this purpose , I not able specify the type of input the edit box will accept.
For example CString m_accept. I am not able to do this .
Can any one tell me were I can enable the "add variable" in the pop menu?
from
PHIJO
-- modified at 0:17 Friday 28th July, 2006
|
|
|
|
|
Please check the following code:
string myHost = System.Net.Dns.GetHostName();
IPHostEntry localhost = Dns.Resolve("localhost");
client.LocalIPEndPoint = new IPEndPoint(System.Net.Dns.GetHostByName(myHost).AddressList[0], 5060);
Is it ok if I use the above code for Windows Mobile Application , VS 2005.
Right now i am testing with emulator causing problem to register with SIP Server.
Please give the solution.
|
|
|
|
|
I'm creating a prototype of a Cf.Net 2.0 PDA app for a prospective client and I've gone through and designed, built and populated a database using SQL Server 2005... and then realised where I really need it is on the PDA! Without going through all the pain of setting up SQL replication is there a way to export a 2005 database to SQL Server Mobile so it results in an .SDF file?
TIA for any help...
Mike
|
|
|
|
|
What we used to do in the SQL Server 2000/SQL Server CE 2.0 generation was to design the database as a SQL Server 2000 database in Enterprise Manager, then use the Generate Script feature to produce a suitable script to execute, then remove any features that SQL Server Mobile doesn't support and split the script between statements, since SQL Mobile does not allow multi-statement batches (as far as I know - SQL CE 2.0 did not, as I recall).
Scripting the data is trickier - you'll need to generate loads of INSERT...VALUES statements, and I don't think there's a built-in SQL Server tool for doing this. It appears that Management Studio cannot Import Data from a file into a SQL Server Mobile database in the same way that it can for a SQL Server database. You might try using Red Gate's SQL Data Compare[^] tool.
|
|
|
|
|
Thanks Mike - I needed to get it done so I did exactly that... created a script from the main DB, altered it so it ran on SQL CE and then created insert statememts with an excel macro and data copied from the enterprise manager "Open table" grids... works OK but what a ridiculous amount of effort for two products that really should be to do this sort of thing. Perhaps when SQL Everywhere comes out we won't have these issues as, from what I've read, the database is one and the same whether on the PDA or on the desktop/server.... bring it on is all I can say!!
|
|
|
|
|
I think Microsoft are still intending the main use of SQL Server Everywhere Edition to be as a subscriber to a replication publication, so I suspect that there won't be any improvement in the tools in that area.
You can contact the SQL Server Everywhere team through their blog's Contact link at http://blogs.msdn.com/sqlservereverywhere/contact.aspx[^].
|
|
|
|
|
Hi Everyone,
I'm hoping you can help me as I have a really simple problem, which I suspect someone will know a really simple answer to, but I just can't seem to find the answer and I've spent hours reading the help and searching the Internet!
Having looked in eVC++ 3.0 Help under Text Headers it says to use a static text with a line (1 pixel) under it instead of a group box (more space efficient).
So all I want to do is to draw a dividing line on a dialog window - just like I might drop a static text component on the form I'd like to drop a line.
But how????
Can't believe it is that easy!
|
|
|
|
|
Hi fellows,
given a CListCtrl in a dialog with a report style, how can I change the color of the selected row? I'm doing the following on my handler of the ON_NOTIFY_REFLECT:
<br />
void CCvList::OnDrawList(NMHDR* pNMHDR, LRESULT* pResult)<br />
{<br />
int iRow;<br />
static bool bHighlighted;<br />
NMLVCUSTOMDRAW* pLVCD = reinterpret_cast<NMLVCUSTOMDRAW*>( pNMHDR );<br />
<br />
*pResult = CDRF_DODEFAULT;<br />
<br />
if (CDDS_PREPAINT == pLVCD->nmcd.dwDrawStage)<br />
{<br />
*pResult = CDRF_NOTIFYITEMDRAW;<br />
}<br />
else if (CDDS_ITEMPREPAINT == pLVCD->nmcd.dwDrawStage)<br />
{<br />
COLORREF crText;<br />
<br />
iRow = (int)pLVCD->nmcd.dwItemSpec;<br />
bHighlighted = ListView_GetItemState(m_hWnd, iRow, LVIS_SELECTED) != 0;<br />
<br />
if (bHighlighted) <br />
{<br />
crText = RGB(255, 127, 0);<br />
}<br />
else<br />
{<br />
crText = RGB(255, 255, 255);<br />
}<br />
<br />
pLVCD->clrTextBk= crText;<br />
<br />
ListView_SetItemState(m_hWnd, iRow, bHighlighted? 0xFF : 0, LVIS_SELECTED);<br />
<br />
*pResult = CDRF_DODEFAULT | CDRF_NOTIFYPOSTPAINT;<br />
}<br />
else if (CDDS_ITEMPOSTPAINT == pLVCD->nmcd.dwDrawStage)<br />
{<br />
if (bHighlighted)<br />
{<br />
iRow = (int)pLVCD->nmcd.dwItemSpec;<br />
pLVCD->clrTextBk = RGB(255, 127, 0);<br />
<br />
ListView_SetItemState(m_hWnd, iRow, bHighlighted? 0xFF : 0, LVIS_SELECTED);<br />
}<br />
}<br />
}<br />
following this article, but it is not working. Any clue will be really appreciated.
Regards,
FG.
A polar bear is a bear whose coordinates has been changed in terms of sine and cosine.
|
|
|
|
|
Hello,
I'm trying to write a little app that displays the number of voicemails the user has on the Today screen. I see that .NET has a function to retrieve this info, but I have scoured MSDN and can't find a native function or a registry key that retreives this info. It's gotta be simple - anyone know?
-Wright
|
|
|
|
|
Dear all,
I want to develop a DMO in Windows mobile 5.0, but I don't know how to work. Can you give me a sample code or some articles?
Thanks.
my email: smartzhi@hotmail.com
|
|
|
|
|
Dear all,
I want to develop a DMO in Windows mobile 5.0, but I don't know how to work. Can you give me a sample code or some articles?
Thanks.
my email: smartzhi@hotmail.com
|
|
|
|
|
Roy Wong wrote: but I don't know how to work.
Well, if you don't know how to work, I don't know if we can help you.
This statement is false.
|
|
|
|
|
|
Does any know how to change the color of the each cell of the datagrid in compact framework?
I am using VS.Net 2003
blue
|
|
|
|
|
I have looked around a lot and hard , it is not easy enough to color the cell or the text within. So all the .Net gurus please help me out of this :->
Wake Up wake up..............
blue
|
|
|
|
|
I'm not 100% sure but I think you can only do this using CF.Net 2.0 with SP1 - they upgraded the datagrid so you can have more control over row and column styles - but as for shading/colouring individual cells I'm not sure, you might have to have a column style which would affect all cells in that column.
Anyway, I could be wrong so if somebody knows better please fill us both in.
Mike
|
|
|
|
|
Correct. Here's the blog report of the enhancement:
Clickety[^]
Alternatively some limited grid color work can be done from here:
Clickety[^]
This statement is false.
|
|
|
|
|
how can i connect mobile with Vb.Net 2005 ???
i m trying to make window based application for sending and reciving messages from Mobile.
so plz help me!!!!
Thanks In Adavance.....
viral Upadhyay
-- modified at 5:12 Tuesday 25th July, 2006
|
|
|
|
|
You can start with COM and AT language or if you don't have plenty of time to work with the connection, you could search any ActiveX control or OCX files that work with mobile application e.g:
- MobileFBUS (you can download it from www.Softwarecave.com
- Oxygen Mobile (work with almost all connection method : DLR-3, IR, etc)
?InsideThePandoraBox?
|
|
|
|
|
Thanks akang_cupez.
It work for me lot and i m finding very easy by this help.
Thanks for you help.
Sir one more question???
Did i connect my Mobile why a ports??? Using coding???
|
|
|
|
|
I don't understand what's your question, but if you ask for the connection mode, then you could connect via port COM, Serial or USB. If you use instant OCX downloaded from www.softwarecave.com, then you just input simple code such as : MFBUS15.Connect "COM1" etc. Otherwise, you could look for other connection method reference when you intend to connect to phone by your self.
for further information e-mail me to: akang_cupez@yahoo.com
?InsideThePandoraBox?
|
|
|
|
|
I need show in my aplication htmls files generatily programaticaly too in the RAM of Palm, how i do this? Thanks
Israel Lins Albuquerque
|
|
|
|