Wrox Programmer Forums
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 23rd, 2007, 01:43 AM
Registered User
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to olink
Default PDA programming using VB 05

i need to do programming inside the Pocket PC to save data received through Bluetooth. The data is come from the the Blood Pressure hardware
in form of ASCII code. The problem is..i don't know how to save it into my Pocket PC..what should i do first..help me out plz...:):)

 
Old March 23rd, 2007, 01:52 AM
Registered User
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to olink
Default

can i rite it like this????

'Show the Save dialog and if the user clicks the Save button,
        'save the file
        If SaveFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
            Try
                'Save the file name
                strFileName = SaveDialog1.FileName
                Dim filePath As String
                Dim txtFile.Text As String


                'Open or Create the file
                filePath = System.IO.Path.Combine( _
                    My.Computer.FileSystem.SpecialDirectories.MyDocume nts, _
                    strFileName)
                'Replace the contents of the file
                My.Computer.FileSystem.WriteAllText(filePath, txtFile.Text, False)
            Catch ex As Exception

            End Try
            My.Computer.FileSystem.WriteAllText("C:\Test.txt", "Text", True)
        End If
    End Sub



but it has errror because the "txtFile.Text" cannot be declare...how to declare this "txt.File.Text" ???








Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET C# programming for PDA [email protected] Pro Java 2 March 10th, 2008 10:45 PM
How create Wordobject of Office2003 in vb.net 05 patel_mitesh VS.NET 2002/2003 0 September 13th, 2006 04:38 AM
PDA Programming Tanvi .NET Web Services 1 September 28th, 2004 01:29 AM
Applications in PDA with asp and vb rdigala Oracle 1 November 21st, 2003 09:08 AM
Using VB.NET to develop PDA applications aadz5 VB.NET 2002/2003 Basics 0 November 14th, 2003 08:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.