|
Try someting like
Private Sub inputSip_EnabledChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles inputSip.EnabledChanged
If Me.inputSip.Enabled = True Then
mypanel1.Height -= Me.inputSip.Bounds.Height
Else
mypanel1.Height = 221 ' This is the height of you mypanel1
End If
End sub
JB
|
|
|
|
|
hi
How to find platform builder in PDA windows CE 5.0?
|
|
|
|
|
I need to validate user input with reg expressions but need a library (C++). Preferrably, one that is already part of the Mobile 6 OS. However, the Mobile 6 documentation doesn't appear to list one. Does anyone know of one for Mobile 6?
|
|
|
|
|
Hi. I recently let my PocketPC (old ViewSonic V37, MS PocketPC v3.0.11171) go idle and loose battery charge.
When I tried to synch with my desktop, for which I used to do in the past, it said that I have to go through the whole Partnership configuration process again. Ok....
However, the default Device Name of "Pocket_PC" was flagged as already in use.
How can I find the Device Name I originally used so that I don't have so many instances of Partnerships on my desktop - and can recover the next time I let my PPC loose charge?
Thanks,
Johnny
|
|
|
|
|
Remove the Pocket PC from the cradle and open ActiveSync. On the File menu, select the "Delete Mobile Device" option. Connect the Pocket PC and you should be able to synchronize it.
Regards,
João Paulo Figueira
DAD MVP
|
|
|
|
|
Thanks! I will try this.
|
|
|
|
|
Hi,
I know this isn't the right forum for this question. But i love this site, but i don't like the fact that it doesn't support java forum. So i'm posting my question here.
The problem is:
I'm using netBeans v 6.0 beta 2 and I have a problem with the system class
I write this simple line of code: system.out.println("something...");
And an error shows saying that system class does not exist.
But everything else works. The class java exists...
Thank you!
|
|
|
|
|
hi,
1.My QVGA device can display bitmaps perfectly alright.
However, when displaying the same bitmaps on a VGA(480x640) device the bitmaps
seem to appear only half the size seen on my QVGA(240x320) device screen.
Can someone advise me how do I enlarge those bitmaps accordingly
on my VGA device?
I would greatly appreciate if your advice can help me.
Here are bits of the code I have written:
-extract from a *.cpp file:
LRESULT CSIPMainWindow::OnPaint(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
CPaintDC paintDC(*this);
WTL::CDCHandle renderingDC(paintDC);
CDC memDC;
CBitmap memBitmap;
HBITMAP oldBitmap = 0;
RECT rect;
GetClientRect(&rect);
memDC.CreateCompatibleDC(paintDC);
if (! memDC.IsNull())
{
memBitmap.CreateCompatibleBitmap(paintDC,rect.right-rect.left,rect.bottom-rect.top);
if (! memBitmap.IsNull())
{
oldBitmap = memDC.SelectBitmap(memBitmap);
renderingDC = memDC;
}
}
int iBmpID;
if (m_pCurrentIMWnd == m_paInputMethodWnd[2])
{
iBmpID = IDB_BITMAP_SYMBOLS;
} else
{
if(m_bIsCapMode == true && m_bIsPredMode == true)
{
iBmpID = IDB_BITMAP_T9P_CAP;
}
if(m_bIsCapMode == true && m_bIsPredMode == false)
{
iBmpID = IDB_BITMAP_T9M_CAP;
}
if(m_bIsCapMode == false && m_bIsPredMode == true)
{
iBmpID = IDB_BITMAP_T9P;
}
if(m_bIsCapMode == false && m_bIsPredMode == false)
{
iBmpID = IDB_BITMAP_T9M;
}
}
int iLogox, iLogoy,iBmpX, iBmpY;
iLogox= k_iDallabLogoX;
iLogoy= k_iDallabLogoY;
iBmpX = k_iIMBmpX;
iBmpY = k_iIMBmpY;
DrawSingleBitmap(renderingDC,IDB_BITMAP_DALLABLOGO,iLogox,iLogoy);
DrawSingleBitmap(renderingDC,iBmpID,iBmpX,iBmpY);
if (static_cast<HDC>(renderingDC) == static_cast<HDC>(memDC))
{
//paintDC.BitBlt(0, 0, rect.right-rect.left, rect.bottom-rect.top,renderingDC, 0, 0,SRCCOPY);
paintDC.StretchBlt(0, 0, rect.right-rect.left, rect.bottom-rect.top,renderingDC, 0, 0,rect.right-rect.left, rect.bottom-rect.top,SRCCOPY);
memDC.SelectBitmap(oldBitmap);
}
return 0;
}
- extract from a *.h file:
const RECT g_rectScreenArea = {0,250,240,294};//OK
const RECT g_rectScreenAreaHorizontal = {0,170,320,214};//OK
const RECT g_rectClientArea = {0,0,240,44};//OK
const RECT g_rectClientAreaHorizontal = {40,0,280,44};//OK
//left,top,right,bottom//
const RECT g_vgarectScreenArea = {0,500,480,600}; //ok but must make it double the size
const RECT g_vgarectScreenAreaHorizontal ={0,340,640,430);//ok but size must be double
const RECT g_vgarectClientArea = {58,0,480,44}; //ok but must make it double the size
const RECT g_vgarectClientAreaHorizontal = {58,0,580,44};//ok but size must be double
2.Also, I have switched from the BitBlt function to StretchBlt function but it doesn't seem to help. S.O.S
Denise
|
|
|
|
|
Hi Denise,
ttarantula wrote: Can someone advise me how do I enlarge those bitmaps accordingly
on my VGA device?
See http://msdn2.microsoft.com/en-us/library/ms889979.aspx[^] and following pages.
You might use the DRA namespace functions located in <Microsoft Visual Studio 8>\VC\ce\atlmfc\include\DeviceResolutionAware.h.
Cheers,
AR
|
|
|
|
|
Hi,
Thank you very much for your kind help.
Somehow, now the bitmaps are displayed perfectly fine.
However, the device under test (DOPOD PU10), is not responding to any key press on the alphanumeric keypad.
Someone please advise me.
cheerios,
Denise Ema
|
|
|
|
|
ttarantula wrote: However, the device under test (DOPOD PU10), is not responding to any key press on the alphanumeric keypad.
Are you sure that your window has focus and handles the keyboard messages?
cheers,
AR
|
|
|
|
|
I'm not sure that my window has focus and handles the keyboard messages.
Basically I just reused an existing code which works perfectly fine on a device with numeric keypad.
So what should I do now?
Ema
|
|
|
|
|
|
I hv read some references previously before getting into the code.
Anyway thank you for your advice.
I will keep that in view.
Someone out there,
Can please give me some instant idea/clue on how do I make
some progress?
S.0.S
Ema
|
|
|
|
|
How does one transfer/access a WinCE Object Store data base via ActiveSync onto your local PC? This one happens to be all text (CSV format) and would like to access it once I get it onto my local PC?
Thanks, ohart
ohart
|
|
|
|
|
i wrote program for pocket pc CE 5.0 but i can show arabic. what i can do for reslove this problem?
123
|
|
|
|
|
hi techs
I have to create a packet pc 2003 applicaltion using visual studio 2005
The future of the application is:
The packte pc should access the webservice from our local server(system)
The problem is:
i have written the webservice while i am accssing the webservice using the ppc client
packet pc gives the error msg "error in connection."(details: some exceptions)
plz any reply the solution.
Madhav From Ceg
|
|
|
|
|
Hii!
I'm working about mobile with C#. If you have got some ebooks. Please share to me. I need it for my project. And you can send email to bangtam170685@yahoo.com/ bangtam170685@gmail.com/htpoanh_5th2@agu.edu.vn
A student from Viet Nam
|
|
|
|
|
Hi ,
How to connect to sql server 2005 to retrieve data from db using asp.net for mobile(wml). Is it possible to asp.net only for connecting to sql server.
Could anyone please give me some examples.
Thnaks
Aruna.G
|
|
|
|
|
Hallo All,
I have a problem with wml and asp.net. I wrote wml deck which calls an aspx page. when I try to test it on my emulator , its giving "Page not available" message. I didnt understand why is this. My supervisor told me its because of web.config but I didnt understand what kind of changes I should do to the web.config.
I found that there is Mobile Internet Toolkit using asp.net, is it compulsory to download the Mobile Internet Tool kit to work with wml.
Could anyone please tell me, things to be done while working with wml and asp.net.
Any ideas would be appreciated.
Thanking you very much,
Regards,
Aruna.G
|
|
|
|
|
Hi,
I have to create a Pocket PC database file (*.sdf) on my PC. I intended to call several web services to get data and create a 'localDB.sdf' with a program running on my PC. I have created windows application project but I could not add reference to the System.Data.SqlServerCE assembly.
The System.Data.SqlServerCe didn't appear in the .net references tab. I had browsed and added the assembly manually but it didn't work because my framework is 2.0 and the assembly looks for CF 2.0.
How can I use the SqlCeEngine class in a Windows application? Or can I create a *.sdf file using a different class?
thanks,
- ferudun
|
|
|
|
|
Don't cross post.
You've asked this same question in 4 different forums, all within a 10 minute time span.
The people here answer questions on a volunteer basis and may not respond in a timeframe you desire or find acceptable.
I've responded to your initial message here[^].
|
|
|
|
|
Can Any One Give Me List Of Academic Projects In .Net Mobile Development or Any Link Related To This Topic.
Advance Thanx.
Prabumj
prabumj@gmail.com
|
|
|
|
|
|
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
|
|
|
|
|