Click here to Skip to main content
15,904,023 members
Home / Discussions / Mobile
   

Mobile

 
QuestionAvailable memory for mobile applications Pin
Chris Cochran16-Dec-08 10:12
Chris Cochran16-Dec-08 10:12 
AnswerRe: Available memory for mobile applications Pin
Giannakakis Kostas16-Dec-08 23:54
professionalGiannakakis Kostas16-Dec-08 23:54 
QuestionFollowing code io not working as expected, can any one please find out what is the problem? Pin
chandan Srivastava16-Dec-08 2:44
chandan Srivastava16-Dec-08 2:44 
QuestionHow can I select multiple items in a listview? [modified] Pin
JUNEYT16-Dec-08 0:10
JUNEYT16-Dec-08 0:10 
AnswerRe: How can I select multiple items in a listview? Pin
Joel Ivory Johnson16-Dec-08 6:05
professionalJoel Ivory Johnson16-Dec-08 6:05 
GeneralRe: How can I select multiple items in a listview? Pin
JUNEYT16-Dec-08 8:56
JUNEYT16-Dec-08 8:56 
GeneralRe: How can I select multiple items in a listview? Pin
Joel Ivory Johnson18-Dec-08 16:13
professionalJoel Ivory Johnson18-Dec-08 16:13 
QuestionOpenFileDialog question (.Net C.F.) Pin
Hurricane300013-Dec-08 3:25
Hurricane300013-Dec-08 3:25 
Hi all,

I have a little (and I hope simple) problem with using of OpenFileDialog in a .Net C.F. aplication:
When I open OpenFileDialog1 to choose the file to open/read, it remains active/visible for all time that the choosen file is reading.
And as to reading the file sometime need also 4 minutes, I would like that OpenFileDialog1 remain visible only for time needed to choose the file, and immediately after it disappears to show again the main form.
But I don't know to do it (OpenFileDialog1 doesn't accepts .close).

Here a piece of my code:

Private Sub MenuItem2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles MenuItem2.Click

openFileDialog1.InitialDirectory = "\My Documents"
openFileDialog1.Filter = "wpt files (*.wpt)|*.wpt|txt files (*.txt)|*.txt"
openFileDialog1.FilterIndex = 1

If openFileDialog1.ShowDialog() = DialogResult.OK Then

myStream = openFileDialog1.FileName
NomeFile = myStream
Me.Text = "Waypoints Manager - " + myStream

Using sr As StreamReader = New StreamReader(myStream)
CountLines = 0
Do
line = sr.ReadLine()
If line = Nothing Then Exit Do
CountLines = CountLines + 1
Loop Until line Is Nothing
sr.Close()
End Using

Can someone help me please?
Thanks
Ignazio
AnswerRe: OpenFileDialog question (.Net C.F.) [modified] Pin
Joel Ivory Johnson14-Dec-08 10:14
professionalJoel Ivory Johnson14-Dec-08 10:14 
GeneralRe: OpenFileDialog question (.Net C.F.) [modified] Pin
Hurricane300014-Dec-08 10:53
Hurricane300014-Dec-08 10:53 
Questionjust starting WM development trying to use VS 2008 Pro 90 day trial Pin
uzziah012-Dec-08 9:03
uzziah012-Dec-08 9:03 
AnswerRe: just starting WM development trying to use VS 2008 Pro 90 day trial Pin
Joel Ivory Johnson14-Dec-08 10:41
professionalJoel Ivory Johnson14-Dec-08 10:41 
QuestionPrinting from Window Mobile Using VB.Net 2005 Pin
~Khatri Mitesh~11-Dec-08 20:41
~Khatri Mitesh~11-Dec-08 20:41 
AnswerRe: Printing from Window Mobile Using VB.Net 2005 Pin
Joel Ivory Johnson14-Dec-08 10:46
professionalJoel Ivory Johnson14-Dec-08 10:46 
QuestionMemmory allocated by CPU Pin
Chandan_srivastava11-Dec-08 20:04
Chandan_srivastava11-Dec-08 20:04 
AnswerRe: Memmory allocated by CPU Pin
Joel Ivory Johnson14-Dec-08 10:21
professionalJoel Ivory Johnson14-Dec-08 10:21 
GeneralRe: Memmory allocated by CPU Pin
evden eve nakliyat20-Dec-08 15:15
evden eve nakliyat20-Dec-08 15:15 
Questioncapture still images in backgorund on windows mobile 6 Pin
sherinsabry9-Dec-08 3:58
sherinsabry9-Dec-08 3:58 
AnswerRe: capture still images in backgorund on windows mobile 6 Pin
Giannakakis Kostas10-Dec-08 1:26
professionalGiannakakis Kostas10-Dec-08 1:26 
QuestionJ2ME error Pin
Parasmani Swamy8-Dec-08 21:04
Parasmani Swamy8-Dec-08 21:04 
AnswerRe: J2ME error Pin
Giannakakis Kostas10-Dec-08 1:48
professionalGiannakakis Kostas10-Dec-08 1:48 
Questionhow do I add a IMessageFilter to catch mouse down event [modified] Pin
Ola E8-Dec-08 9:48
Ola E8-Dec-08 9:48 
AnswerRe: how do I add a IMessageFilter to catch mouse down event Pin
Giannakakis Kostas10-Dec-08 1:39
professionalGiannakakis Kostas10-Dec-08 1:39 
GeneralRe: how do I add a IMessageFilter to catch mouse down event Pin
Ola E10-Dec-08 5:06
Ola E10-Dec-08 5:06 
GeneralRe: how do I add a IMessageFilter to catch mouse down event Pin
Giannakakis Kostas10-Dec-08 6:32
professionalGiannakakis Kostas10-Dec-08 6:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.