How to get pointers to variables and file location


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to get pointers to variables and file location

  1. #1
    Benzsoft Guest

    How to get pointers to variables and file location


    Hai,
    Please clear my following doubts.
    1.Is there any VB 6 functions or WinAPI functions to return pointers
    to variables & file location? Does programming with pointers work well with
    VB 6?
    2.What type of files can be opened and accessed through VB6 during runtime?
    3.For a spell checking program in VB, which dictionary file formats are
    best, that can be used in VB.
    4.What type of files are .HSE.

    Please send replies to the above queries.


  2. #2
    Mark Alexander Bertenshaw Guest

    Re: How to get pointers to variables and file location


    "Benzsoft" <benzsoft@sify.com> wrote:
    >
    >Hai,
    > Please clear my following doubts.
    > 1.Is there any VB 6 functions or WinAPI functions to return pointers
    >to variables & file location? Does programming with pointers work well with
    >VB 6?
    > 2.What type of files can be opened and accessed through VB6 during runtime?
    > 3.For a spell checking program in VB, which dictionary file formats

    are
    >best, that can be used in VB.
    > 4.What type of files are .HSE.
    >
    >Please send replies to the above queries.
    >


    "Benzsoft" -

    1. VarPtr() gives you a pointer to most simple variable types, except strings
    for which you use StrPtr(), and objects for which you use ObjPtr().
    As for "pointer to file location" - are you talking about the exact cylinder/track
    location - sounds rather hardcore!
    As for programming with pointers: there are no pointer types as in C or Pascal.
    You have to treat all pointers in Win32 as simply type Long. You will also
    have to do dereferencing using the CopyMemory() function, and sufficient
    memory.
    2. VB will open any file, assuming the current user has file permissions
    set up correctly.
    3. No idea - you might want to follow the "Calling MS Office Spell Checker
    from VB/VBScript" thread in this group.
    4. No idea.

    --
    Mark Alexander Bertenshaw
    Programmer/Analyst
    Chordiant Software, Inc.
    Brentford
    UK

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