DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24

Thread: Need Help with my project

  1. #16
    Join Date
    Mar 2008
    Posts
    130
    Code:
    frmLogin.CashierName
    method or data member not found..

    i think because CashierName is not on the list of suggested syntax to be next to "frmLogin."
    Last edited by chokies12; 07-24-2008 at 06:00 AM.

  2. #17
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Do you have CashierName declared as a Public string on frmLogin?

  3. #18
    Join Date
    Mar 2008
    Posts
    130
    hahaha i got it i do it the other way..

    i add the syntax in the frmLogin not in the frmMain much easier

    CashierName = frmMain.lblName
    ^_^

  4. #19
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    As long as it works and does what you need it to.

    Does this mean your problem is resolved, or do you still have issues regarding your initial question?

  5. #20
    Join Date
    Mar 2008
    Posts
    130
    no more problem at all..thank you for you help im solving my problems with your help..im making them as my guidelines..ill be back again for more problems..haha...thanks hack..

    you help me in the past with my mp3 player..hehe

  6. #21
    Join Date
    Mar 2008
    Posts
    130
    is it possible to show the list of all the file stored in my folder like

    1.txt
    2.txt
    3.txt
    4.txt

    is it possible that i can show it in the list like this

    1
    2
    3
    4

  7. #22
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    What do you want to show it in? ListBox? ListView? Something else?

  8. #23
    Join Date
    Mar 2008
    Posts
    130
    i want to show it i a list box..how will i able to read all the names of that files in the folder without including the .txt file?

    im making a simple ordering system where the order is save by their table number..and i want to show all the numbers that are save in my folder so i can tell which table is not yet occupied..so i want to list it

  9. #24
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Try this
    Code:
    Private Sub Command1_Click()
    Dim strLoad As String
    List1.Clear
    strLoad = Dir("d:\*.txt")
    Do While strLoad > vbNullString
       List1.AddItem strLoad
       strLoad = Dir
    Loop
    End Sub

Similar Threads

  1. Control Arrays in VB.NET
    By Gary Nelson in forum .NET
    Replies: 277
    Last Post: 10-01-2003, 12:00 AM
  2. Good Editorial by Russell Jones
    By Robert G in forum .NET
    Replies: 84
    Last Post: 02-08-2001, 03:38 PM
  3. Replies: 0
    Last Post: 09-13-2000, 10:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center