|
Please send Window 6.0 OS supported mobile list?
Gopal.S
|
|
|
|
|
Hi all,
I have the following queries:
1. If a WM5 application is running in background mode and application window is not having the screen focus , so in this case can event be send at Key press.
2. How can we hard map any key to a WM5 application ? Can we do it by registry !!
Thanks in advance
|
|
|
|
|
|
|
private void R1RecCount()<br />
{<br />
if (RAMDataSetUtil.DesignerUtil.IsRunTime())<br />
{<br />
R1Count.Visible = true;<br />
conn = new SqlCeConnection("Data Source = \\My Documents\\RAM.sdf");<br />
conn.Open();<br />
SqlCeCommand cmd = conn.CreateCommand();<br />
cmd.CommandText = "SELECT COUNT ([StatusCode]) FROM R1Time";<br />
SqlCeDataReader rdr = cmd.ExecuteReader();<br />
while (rdr.Read())<br />
{<br />
count = count + 1;<br />
if (count >= 1)<br />
{<br />
this.rAMDataSet.R1Time.AddR1TimeRow(<br />
rdr.GetValue(0).ToString(),<br />
rdr.GetValue(1).ToString(),<br />
rdr.GetValue(2).ToString(),<br />
rdr.GetValue(3).ToString(),<br />
rdr.GetValue(4).ToString(),<br />
rdr.GetValue(5).ToString(),<br />
rdr.GetValue(6).ToString(),<br />
rdr.GetValue(7).ToString());<br />
}<br />
<br />
}<br />
<br />
}<br />
this.r1TimeTableAdapter.Fill(this.rAMDataSet.R1Time);<br />
conn.Close();<br />
}<br />
This doesn't seem to count? I also tried creating a new query in the Dataset, doing a count like
SELECT COUNT(1) AS R1<br />
FROM R1Time<br />
then calling it as the fill.
Thanks for your help!
Paul
|
|
|
|
|
Well I know I didn't do it the correct way.. However it does work...
private void R1RecCount()<br />
{<br />
R1Count.Visible = false;<br />
conn = new SqlCeConnection("Data Source = \\My Documents\\RAM.sdf");<br />
conn.Open();<br />
SqlCeCommand cmd = conn.CreateCommand();<br />
cmd.CommandText = "SELECT * FROM R1Time";<br />
SqlCeDataReader rdr = cmd.ExecuteReader();<br />
while (rdr.Read())<br />
{<br />
countr1 = countr1 + 1;<br />
if (countr1 >= 1)<br />
{<br />
this.rAMDataSet.R1Time.AddR1TimeRow(<br />
rdr.GetValue(0).ToString(),<br />
rdr.GetValue(1).ToString(),<br />
rdr.GetValue(2).ToString(),<br />
rdr.GetValue(3).ToString(),<br />
rdr.GetValue(4).ToString(),<br />
rdr.GetValue(5).ToString(),<br />
rdr.GetValue(6).ToString(),<br />
rdr.GetValue(7).ToString());<br />
}<br />
}<br />
R1c.Text = countr1.ToString();<br />
R1c.Enabled = false;<br />
this.r1TimeTableAdapter.Fill(this.rAMDataSet.R1Time);<br />
conn.Close();<br />
}
Computer Programmer Web/Mobile .NET
|
|
|
|
|
Hello,
I am new in mobile programmation.
I am programming in VB.NET 2005 Pocket PC 2003.
I have a textbox that its value entered by the user must be a number.
I check this on validating event of the textbox.
The problem is I would like to allow for empty string too.
When I ma entering the following it returns me "Frequency must be anumber"
The textbox is empty???
Private Sub FrequencyTextBox_Validating(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles FrequencyTextBox.Validating
Try
If FrequencyTextBox.Text <> "" AndAlso Not IsNumeric(FrequencyTextBox.Text) Then
StatusBar1.Text = "Frequency must be a number!"
e.Cancel = True
End If
Catch ex As Exception
ErrorHandle.ErrorMessage("FrequencyTextBox_Validating", ex.Message)
End Try
End Sub
Thank you for help
Shay Noy
|
|
|
|
|
by default, the value of a text box in vb.net is a string.'
so leaving the text box empty also returns a string.
so when the text box is empty, you would stub to get the value as 0. so your requirement for a number is matched.
Raja
|
|
|
|
|
Thank you, I may haven't explain myself as well in my first message.
I know that empty string is default in VB, the problem is that I didn't get an empty textbox but a null one
If you see my code (first message) you will see that I am asking for textbox.text<>"" but I anyway getting the message "...must be a number"
If the string was empty as you said the message was not suppose to appear.
Is it normal that textbox by default is null in VB for pocket PC and not empty as usual?
Shay Noy
|
|
|
|
|
Hello Friends
I am developing a application. It has two function
1) Backup of cemail.vol
2) Restore back cemail.vol
If any have any code or idea related to this post please help me
I am working with Vs2005 C#
Thanks.
|
|
|
|
|
Hi all,
Is there any way to load a form without seeing
the Desktop behind?
Somthing Like this:
Form2.Show
Form1.Hide
|
|
|
|
|
i have trouble solving the problem below, am new to programming, so people please help.
Problem
Create a simple Maze game. You must submit multiple iterations where each iteration is in its own directory and has associated structure charts, pseudo code, and flowcharts as required.
This game is played as follows:
1. The maze contains a number of Rooms.
2. A room has a title, a description, and a number of doors which lead to other rooms.
3. Each door leads in a direction (North, South, East or West). Tthere can be multiple exits in one direction.
4. One room is the goal or target, the game ends when the player reaches this room.
5. A player starts in the starting room, the first room declared in the maze, e.g. room 1, although this could be a parameter in the data file.
6. The player is shown the title and room description of the room he is in, as well as a list of exits, from which he can choose one to take.
7. When the player goes in a direction (through a door) he is in the next room, and step 6 above is repeated.
8. The rooms for the maze are read from a text file. The following map is for the accompanying text file.
9. The format of the text file is as follows:
a. The number of rooms (int)
b. The goal room number (int)
c. For each room
i. Room title (string)
ii. Room description (string)
d. Number of exits from rooms (int)
e. For each exit
i. From room (int), to room (int), direction (char, separated by spaces on a single line)
|
|
|
|
|
Great. So, in fact you are asking to do your homework for you, right ?
|
|
|
|
|
Google for "A*"
What has this to do with embedded development?!?!?
|
|
|
|
|
hi Everyone
i am doing project on GSM modem using AT commands in VC++ programming.
I am not getting how to send,read and receive a sms from GSM modem using AT commands.I am opening port and connecting modem.it is working.But i am not getting how the message shold me send to particular
persons in the list.whether i have to write a function for AT commands or wt.if it is so then tell me how can i do it.
Thanks,
Savitri
|
|
|
|
|
I've just starting in VB.NET and would like to know if someone could help me out with a minor issue I have.
When I use INPUTBOX(), the textbox is shown on the screen but the text message isn't.
Anyone would know why ?
Again, must be something very easy.. just new to this .NET world
|
|
|
|
|
Not sure what text are your referring to by the line " the textbox is shown on the screen but the text message isn't".
Are you talking about the Prompt, Title or the Default text?
The code below worked for me:
str = InputBox("Prompt", "Title", "Default text in the textbox")
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
hi all,
i am using following procedure to get all contact
Private Sub LoadPhoneBookContact()<br />
TempTable.Rows.Clear()<br />
Dim ContactList As New OutlookSession<br />
For i As Integer = 0 To ContactList.Contacts.Items.Count - 1<br />
TempTable.Rows.Add()<br />
TempTable.Rows(TempTable.Rows.Count - 1).Item(0) = ContactList.Contacts.Items(i).FirstName<br />
TempTable.Rows(TempTable.Rows.Count - 1).Item(1) = ContactList.Contacts.Items(i).LastName<br />
TempTable.Rows(TempTable.Rows.Count - 1).Item(2) = ContactList.Contacts.Items(i).MobileTelephoneNumber<br />
Next<br />
dgvPhoneBookContacts.DataSource = TempTable<br />
End Sub
but my problem is that how can i uniquely identify the contact? Also how can i sort the contact in particular order?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Hi,
Is there a way i can see if activesync is connected?
(I need to know wether to use External Or Internal IP Address)
|
|
|
|
|
I created a Mobile application (C#) for windows mobile 5, and also a custom downloader, I used OpenNetCF.ORG's desktop communication library to bulid the downloader, it has support for ActiveSync in it.
Paul
|
|
|
|
|
For .NET CF, check the Microsoft.WindowsMobile.Status namespace. The status is actually stored in a registry key and I actually figured which one a few weeks ago, but can't remember since I didn't end up using it.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
hi all,
i m using datagrid to show data.Each column of this datagrid have fixed length(width). How can i increase the width of particular column?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
you can use TableStyles:
For Example:
Dim ts As New DataGridTableStyle()
ts.MappingName = "TblEmployees"
GrdEmployees.TableStyles.Clear() 'GrdEmployees=Name of your datagrid
'Define all your columns
Dim ColID As New DataGridTextBoxColumn
With ColID
.MappingName = "EmployeeID"
.HeaderText = "ID"
.Width = 100
End With
With ts.GridColumnStyles
.Add(ColID)
End With
GrdMoves.TableStyles.Add(ts)
Hope it helped
|
|
|
|
|
Thanks a lot.
its work for me.
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
Hi Guys,
Im New to writing mobile apps so..
Can anyone show me how to open GPRS Connection on a smartphone
(Windows Mobile 5) and close it.
the application is a simple receive and send data over the internet.
Thanks in advance.
|
|
|
|