|
Hi all
I want to change ipdaddress on pda, which connected activesync
ip address "192.168.55.101" gateway "192.168.55.100"
I use IOCTL_NDIS_GET_ADAPTER_NAMES and IOCTL_NDIS_GET_ADAPTER_BINDINGS
but that name is "PPTP"
how to change ipaddress at activesync ?
|
|
|
|
|
Sorry, I don't know how you could change your IP address. What are you trying to accomplish by changing the mobile device IP?
|
|
|
|
|
Hi
I am developing Smart Device Application using .NCF 1.0 with Windows CE 5.0
Please help me to read registry vale using .net 2003
Thanks in advance...
|
|
|
|
|
I know there exists a RegistryKey class in the 2.0+ frameworks. I'm sure it will be found in the 1.0 framework to but don't know with 100% certainity.
|
|
|
|
|
thanks for your reply.... ok fine.
|
|
|
|
|
I m new to Windows Mobile programming so plz help me that whats the method to Run or Install windows mobile Application(simple hellowworld in c#)
on Mobile as currently working throgh emulator but Which file need send or install on mobile.......?
|
|
|
|
|
Hi Shaina,
I am using VS2005. I deploy to a device as follows.
1) Under Tools + Options + Device Tools in main menu, select the checkbox "Show device choices . . ."
2) Connect your device - USB
3) Select Build + Deploy Solution from main menu and then select the target Device from the Deploy dialog box.
Hope this helps.
|
|
|
|
|
Hi i m newbie can i develop iphone application on window vista if yes then how.
WANTED wasim khan(Killed 50 Innocent Buggs, Distroyed 200 Exception, make 5 Project Hostage) any Compnay Hire him will pay 30,000. Best place where u can get him is Sorcim Technologies Murre Road RWP
|
|
|
|
|
No, you need a Mac running OS X.
|
|
|
|
|
Hi
I am developing Smart Device Application using .NCF 1.0(vb) with Windows CE 5.0
Want to show popup notification for "low battery"
Please help me on this.
Thanks in advance
Yogesh Rishipathak
|
|
|
|
|
Hii,
Try this code.........
Dim psBattery As PowerStatus = SystemInformation.PowerStatus
Dim perFull As Single = psBattery.BatteryLifePercent
'Show the remaining battery power in percentages
MsgBox("Total battery power remaining: " & perFull * 100 & "%")
'Is the battery charging?
If psBattery.PowerLineStatus = PowerLineStatus.Online Then
MsgBox("Battery charge status: Charging")
ElseIf psBattery.PowerLineStatus = PowerLineStatus.Offline Then
MsgBox("Battery charge status: Not charging")
End If
Hope this solves ur problem......
Thanks
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
Hi
Thanks for your response, infact i am operating my device using RF remote, in this case i am unable to close the msgbox using remote. Hence,could you please help me regarding windows style notification for low battery indication.
Regards
Yogesh R.
|
|
|
|
|
I'm using sockets to communicate between a server (PC .NET 2.0 ) and a client (PDA .NETCF)
Everything works perfect also when I manually close the client program and starts it up again.
But when the PDA powers down automatic, I have big problems to establish the connection again.
I have tried many things using different timer and heart beat concepts. I'm able to detect the disconnection but trying to close/destroy and then listen again sometime messes up things.
So if anybody could redirect me to a sample that shows how client server communication is done in the right, robust and WLAN immune way, I would be very happy
Thanks in advance!
|
|
|
|
|
|
Hi.
Anyone knows if vector graphics is available in compact framework for use in smart applications?
Any thoughts are appreciated.
Thanks.
|
|
|
|
|
You won't find vector graphics in .NET CF. Maybe there are 3rd party libraries out there (such as Amanith VG) that you can use, but I haven't tried them out so I don't know what to recommend. I'm looking forward to Silverlight Mobile[^] which will provide vector graphics for Windows Mobile devices (plus other devices as Microsoft adds support).
What are you planning to do with vector graphics?
|
|
|
|
|
Hi.
Thanks for reply. I am experimenting on a interactive application using vector graphics.
Silverlight is only for web, not applications, or what?
br
|
|
|
|
|
Silverlight apps are delivered via the web, you are correct. I only mentioned it because it does support a type of vector graphics and will be available for some mobile devices in the future. This is great for me personally because I have invested a lot of time learning how to take advantage of the desktop Silverlight and related tools. The desktop Silverlight version 3, which recently released a public Beta, gives the apps the ability to install on the desktop and launch offline. I have no idea if or when this feature will translate to mobile.
Sorry I don't have better suggestions for vector graphics right now. I'm interested in learning more as your experiments and research progress.
|
|
|
|
|
I would like to determine which Item and SubItem has been hit within a ListView control.
C# Windows applications has a MouseDown event for ListView which can be used to retrieve the e.X and e.Y coordinates. The same event handler is not available for SmartDevice applications. Also, there is a GetItemRect() method for Windows applications which is not available for Smart Device.
The event handler along with GetItemRect can be used to determine which Item and SubItem has been hit within a ListView. How can I implement the same functionality on a SmartDevice?
Thanks.
|
|
|
|
|
|
Hi Gurge60,
Thanks for your reply. I am sure that this is the right solution but I do not know how to implement the subclass for listview with VS2005. The opennetcf domain seems to be expired so I can not follow any links. I have read some additional documentation but I am new to this and am stuck on how to proceed. Any additional information is appreciated.
Well, I have been at this for several hours now and feel like I am close but have one step to go.
1) Created a class:
namespace lvsc
{
public class asdf : ListView
{
public asdf()
{
ListViewSubclass asdf = new ListViewSubclass(new ListView());
}
}
public class ListViewSubclass : NativeWindow
{
. . .
}
}
2) Add a reference to the class in a new device application
3) Add a user control to the toolbox from this class
Now, I can add the new user control (asdf) to the device application. But I do not know how to trap the mousedown event.
I added an event handler to the device application as shown below. The asdf control has all the events and properties of a ListView plus mouse events . But the MouseEventHandler is never detected. In other words, when I run the application and click on the control asdf1_MouseDown is not called. What am I missing?
public Form1()
{
InitializeComponent();
asdf1.MouseDown += new MouseEventHandler(asdf1_MouseDown);
}
void asdf1_MouseDown(object sender, MouseEventArgs e)
{
}
Thanks,
d8
modified on Wednesday, March 25, 2009 2:58 PM
|
|
|
|
|
If you follow links that take you to opennetcf.net, change it to .com and they should show up. That way you can download the example code and play around with it (you'll also need their Smart Device Framework to compile).
The equivalent for the desktop framework NativeWindow class is the MessageWindow class (in Microsoft.WindowsCE.Forms.dll):
http://msdn.microsoft.com/en-us/library/microsoft.windowsce.forms.messagewindow.aspx[^]
Here is an old MSDN article (2004) that has some discussion on the MessageWindow class:
Add Keyboard Support to Compact Framework Apps by Trapping Windows Messages[^]
I'm not sure why mouse events were showing up in VS. Although you may be able to compile your code, the mouse events aren't going to work on the compact framework.
modified on Tuesday, April 28, 2009 2:04 PM
|
|
|
|
|
Hi Gurge60,
Thanks a bunch. That did the trick. I have the mousedown event trapped now.
d8
|
|
|
|
|
Is there a trick to hiding a CommandBar?
I am creating a CommandBar.
I am later on creating an additional CommandBar.
I want to hide the first CommandBar created, so I am using
CommandBar_Show(m_hWndCB, FALSE);
However it still shows until I tap on a CommandBar button on the screen then magically the new CommandBar appears.
Any ideas how to make this work?
|
|
|
|
|
SnWon,
Have you resolved your issue yet? If not, check out Ciro Sisman Pereira's Lightweight Image Viewer[^] article in which he takes a PPC app full screen (hides the default command bar).
|
|
|
|