|
How to stablish WIFI connection using vb.net2005 in a mobile application?
start a new beginning in every ending; thats what life for......
|
|
|
|
|
Hi
I have following scenario:
1. Form 1 has a treeview control on it.
2. Treeview control is populated with nodes.
>> How to:
3. When a user taps a stylus on the tree node. The need is to get the x,y coordinates of the stylus position.
4. I can get the stylus position on the Form 1, But when I try to capture the stylus position on the treeview control, could not find a way.
5. This is needed to show the Node Specific Context Menu. Like one menu for Parent and another one for the child nodes.
Help !!
Regards
Arun
|
|
|
|
|
I'm sorry I can't help you.
But I would be interested in how you get the CursorPosition in the Form at all.
I want to draw a line on a Bitmap Graphic from a Point to the position of the cursor.
In .net Framework System.Windows.Forms.Cursor.Position should work.
But I use .net compact on Windows Mobile, where the property Position doesnt seem to exist.
Pls help me.
|
|
|
|
|
Hi
I have an interesting problem here, and looking a way out of it:
1. I have three forms in my PPC application.
2. Form 2, has a webbrowser control in it: On a button click:
private void menuItem2_Click(object sender, EventArgs e)
{
//Load the the Login page.
String uritest = "https://login.abc.com";
Uri test = new Uri(uritest);
webBrowser1.Navigate(test);
menuItem2.Text = "Please Wait";
}
3. Form 2, Then there is Document completed event:
private void webBrowser1_DocumentCompleted(object sender,
WebBrowserDocumentCompletedEventArgs e)
{
//Return URL from abc.com, gives me a authentication Key
Uri ttt = webBrowser1.Url;
String trial = ttt.AbsoluteUri;
if (trial.StartsWith("http://"))
{
//Do Something with Authentication Key.
}
}
4. Now I wish to call this Form 2 webBrowser1 control in next form that is Form 3.
5. Form 3, I wish to call the webBrowser1 here. Further the need is to refresh the url "https://login.abc.com". So that a new authentication Key can be retrieved from the "https://login.abc.com".
How this can be achieved in Form 3?
Regards
Arun
|
|
|
|
|
Hi All!
I have simple application running under Windows CE 4.2, using compact framework 1.0 SP3.
There are two timers (threads) operating in the program which read/manipulate a common variable of type integer. To prevent critical section collisions I am using the Threading.Monitor.Enter / Exit methods to acquire and release a lock on the variable in question.
The Enter method call works. The Exit method call throws an exception, and I don't know why.
Here is a sample chunk of code.
<br />
Public Class FormMain<br />
Inherits System.Windows.Forms.Form<br />
#Region " Windows Form Designer generated code "<br />
<br />
Public Sub New()<br />
<br />
MyBase.New()<br />
<br />
'This call is required by the Windows Form Designer.<br />
InitializeComponent()<br />
<br />
'Add any initialization after the InitializeComponent() call<br />
<br />
End Sub<br />
<br />
'Form overrides dispose to clean up the component list.<br />
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)<br />
MyBase.Dispose(disposing)<br />
End Sub<br />
<br />
'NOTE: The following procedure is required by the Windows Form Designer<br />
'It can be modified using the Windows Form Designer. <br />
'Do not modify it using the code editor.<br />
Friend WithEvents inputTimer As System.Windows.Forms.Timer<br />
Friend WithEvents outputTimer As System.Windows.Forms.Timer<br />
<br />
Private Sub InitializeComponent()<br />
Me.inputTimer = New System.Windows.Forms.Timer<br />
Me.outputTimer = New System.Windows.Forms.Timer<br />
'<br />
'inputTimer<br />
'<br />
Me.inputTimer.Enabled = True<br />
'<br />
'outputTimer<br />
'<br />
Me.outputTimer.Enabled = True<br />
Me.outputTimer.Interval = 500<br />
<br />
Me.Text = "Threads"<br />
<br />
End Sub<br />
<br />
Public Shared Sub Main()<br />
Application.Run(New FormMain)<br />
End Sub<br />
<br />
#End Region<br />
<br />
Private _inputs As Integer = 0<br />
<br />
Private Sub inputTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles inputTimer.Tick<br />
Try<br />
Threading.Monitor.Enter(_inputs)<br />
<br />
_inputs += 1<br />
<br />
Threading.Monitor.Exit(_inputs)<br />
Catch ex As Exception<br />
MsgBox(ex.Message)<br />
End Try<br />
End Sub<br />
<br />
Private Sub outputTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles outputTimer.Tick<br />
Try<br />
Threading.Monitor.Enter(_inputs)<br />
<br />
_inputs = 0<br />
<br />
Threading.Monitor.Exit(_inputs)<br />
Catch ex As Exception<br />
MsgBox(ex.Message)<br />
End Try<br />
End Sub<br />
End Class<br />
So if you can tell me what I am doing wrong in the .Net Compact Framework, I would appreciate it.
Thanks,
j.
|
|
|
|
|
hi
i need to display my data in a grid view, with row headers. the application is in C# .net 2003 compact framework. does anybody have any suggestions?
thanks
|
|
|
|
|
Hello,
i'm using VS Orcas beta 2 for developing Windows Mobile 6 application. On my pc is installed .Net CF 2 SP2 and .Net CF 3.5 Pre-release.
I want create a windows mobile application for sending "ping" at remote host.
In VS Help Local and Online, is used the namespace System.Net.NetworkInformation in which are avaible ping, pingreply, pingoptions classes.
On my pc there isn't this namespace, why? where's it?
Moreover other classes are missing.
Is necessary to install OpenNETCF ?
Regards.
Force and honor!!!
|
|
|
|
|
Thank you for care this thread.
I'm writing a program to manage my Phone Numbers . I want to list simple informations in a listview . It's fine. But I want to add a operator that doubleClick one ListViewItem than switch to another view to edit or show details.
That's my question .
I don't know how to catch ItemClick event or DoubleClick event or Click event.
wait....
I didn't found the way . Thank you .
|
|
|
|
|
can we set gprs connection trough vb or c#?
@h3aR
|
|
|
|
|
What do you mean with "can we set gprs connection trough vb or c#"?
Do you want to establish a gprs connection with C# or VB.Net?
Regards,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
|
|
i want to setup the gprs connection programaticaly so that user don't need to set it up manually.how can wet set the new gprs connectionin vb.net compact framework.;)
can we Create a CAB-File which will setting up the GPRS-Settings
-- modified at 5:46 Monday 20th August, 2007
@h3aR
|
|
|
|
|
can we define our own file type to be use in compact framework.what other file type can be used other than .txt .Is it better to used .txt file or other file type .
@h3aR
|
|
|
|
|
Same question: What do you mean with "define our own file type"?
You can use any type of file in your own programs (txt-files, binary-files, ...);
maybe a good choice is XML (there are very good parsers in the .NET CF).
Regards,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
Hello, is it possible to delete or hide columns (columns containing id-s for example) in a datagrid WITHOUT deleting the corresponding column from the datasource (a datatable in a dataset). I have only found solutions for the full framework but none worked for the compact framework.
... is this really so hard to accomplish?
-- modified at 10:20 Wednesday 8th August, 2007
|
|
|
|
|
Is there a way to get the serial comm. working using Embedded EVC++ 4.0 does the serial program that work with VC++ work on EVC4?
Samuel
|
|
|
|
|
Hello,
it's very important for my project to be able to use the "VisibleChanged" event on the System.Windows.Forms.Panel.
But unfortunately it is missing in the CF, so could anyone please help me to implement this event on my own in a control i derive from Panel? I tried to override the Visible property and fire the event in there, but i wasn't able to override it. Any ideas?
Thanks a lot in common,
Daniel
|
|
|
|
|
I have created an user control, and I want to make it so that it can be dragged and dropped in a form freely. Unfortunately user controls are not DND enabled, so i have to write my own events on mouseclick, mousedown and mousemove
I am able to mouse the control using my stylus, however, as i move it, the control seems to flicker alot and travel everywhere. It seems like everyother mouse coordinate detected by the mousearg in the mousemove event is off.
is there anyway to fix this?
|
|
|
|
|
Hi
I have just found my old Ipaq 3970. Checking the Asset Viewer, it has ROM Revision 4.00.08 ENG and OS Version : Windows CE 4.20.
Any idea what the latest version if of both / either of these? I've googled around and can't really find a definitive answer.
Cheers
Malc
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.
|
|
|
|
|
Which, after reading the post below is either WIndows Mobile 2003 or if I am lucky, Windows Mobile 2005.
Any other info appreciated.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"I haven't spoken to my wife now for 48 hours. I don't like to interrupt her.
|
|
|
|
|
Hi,
I have a Pocket PC device with windows mobile 5.
I need to write a small program that can detect IR signals sent from other simple device (such as remote controls).
How can I open the IR port on my PPC programmatically and how can I detect signal sent to my device?
If someone can show me a simple C# example code, or simple MFC example code this would ne very helpful.
Thanks
|
|
|
|
|
Hello
Help me!!!!!
I have some weird problems connecting to SQL Server 2005 and I hope you can help me:
I have written a c# app on an acer n300. My app is connected to a SQL SERVER 2005 database. This app works fine. So I decided to install the app on a second pda. Both pdas have wireless lan and windows ce 5.0. But my app does not run on the new PDA.
//
// ConnectionString="Data Source=192.169.71.10,1433;Initial Catalog=MyDataBase; User ID=sa; //Password=server;";
I have installed Compact Framework 2 SP2, but as soon as I try to connect to the database a get the error SQL Server does not exist or access denied. I am absolute sure that my connect string is OK, as it works on the acer pda. The configuration of SQL Server should also be ok, as I can connect from the acer devices.
Network connection is also OK, as I can connect with remote Terminal Services to the machine hosting the database without any problems.
Can you give me a hint whats wrong? Are there any cab files that I must install on the pda before SQL Server 2005 Client is working? I only installed .net Compact Framework.
Nasanbat Ts ( Jason )
|
|
|
|
|
Hi,
Does anyone know how to do speech synthesis on windows mobile?
I have a urgent need to output text files as speech.
Thanks in advance, Philip
|
|
|
|
|
Hi Philip,
I used the TTS (Text to Speech) from Fonix a few years ago. It works well.
http://www.fonixspeech.com/pages/dectalk_5.php
Voice recognition is difficult in non-automotive background, however.
Gary
|
|
|
|