Access VB

Sharky Forums


Results 1 to 3 of 3

Thread: Access VB

  1. #1
    Reef Shark flyersguy85's Avatar
    Join Date
    Oct 2003
    Location
    Delaware
    Posts
    437

    Unhappy Access VB

    Is there something different about VB in Access as opposed to VB other places? I try to copy and paste code that I find people sharing on the internet into access and it can't find half of the data members. It can't find things like SearchFile or it says it doesn't understand Me.Enabled = True to simply enable the current form. What is going on here? Could anyone point me in the right direction of an Access VB reference where I could find things that it actually does know. Thanks alot
    Logitech Z-5500 5.1 Speakers

    Sharky's Extreme 3DMark Team

  2. #2
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203
    VB inside Access is actually "VBA" or Visual Basic for Applications. VB you'll see elsewhere will be VB5 or VB6 code, possibly even VB.NET. There are considerable differences between VBA and other flavors of VB.

    You may have some luck searching on "VBA" for example code.

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

  3. #3
    Reef Shark flyersguy85's Avatar
    Join Date
    Oct 2003
    Location
    Delaware
    Posts
    437
    Can anyone help me by giving me ideas on how i would search a directory (C) for files that begin with a certain Code (123). I want to use a text box and button to search and have all the files appear in a list box. I am doing this in ACCESS so it would need to be VBA i just found out lol. Maybe you know some sites that have good example code for this or you know how to do it yourself. Either works. Thanks for the help.
    Logitech Z-5500 5.1 Speakers

    Sharky's Extreme 3DMark Team

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •