DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Page 2 of 5 FirstFirst 1234 ... LastLast
Results 16 to 30 of 75

Thread: strPtr()?

  1. #16
    Larry Triezenberg Guest

    Re: strPtr()?

    Interesting. Question being: how (or why) would you use a textbox.clear? I
    see .additem, .clear, .removeitem but get an error 438 (Object doesn't
    support this property or method) if I call it. Don't know why I'd want to,
    does it (they) serve some purpose?

    mike wrote in message <39066c24$1@news.devx.com>...
    >
    >There is also ObjPtr and VarPtr. There others also, eg: the textbox has a
    >clear method.



  2. #17
    Larry Triezenberg Guest

    Re: strPtr()?

    Interesting. Question being: how (or why) would you use a textbox.clear? I
    see .additem, .clear, .removeitem but get an error 438 (Object doesn't
    support this property or method) if I call it. Don't know why I'd want to,
    does it (they) serve some purpose?

    mike wrote in message <39066c24$1@news.devx.com>...
    >
    >There is also ObjPtr and VarPtr. There others also, eg: the textbox has a
    >clear method.



  3. #18
    Phil Weber Guest

    Re: strPtr()?

    > Question being: How (or why) would you use a TextBox.Clear?
    > I see .AddItem, .Clear, .RemoveItem but get an error 438 (Object
    > doesn't support this property or method) if I call it. Don't know
    > why I'd want to; do they serve some purpose?


    Larry: AddItem, Clear, _Default and RemoveItem are defined for most of VB's
    intrinsic controls. I suspect that these controls implement a standard
    interface which includes these methods, but only certain controls (such as
    List- and ComboBoxes) actually support them.
    ---
    Phil Weber



  4. #19
    Phil Weber Guest

    Re: strPtr()?

    > Question being: How (or why) would you use a TextBox.Clear?
    > I see .AddItem, .Clear, .RemoveItem but get an error 438 (Object
    > doesn't support this property or method) if I call it. Don't know
    > why I'd want to; do they serve some purpose?


    Larry: AddItem, Clear, _Default and RemoveItem are defined for most of VB's
    intrinsic controls. I suspect that these controls implement a standard
    interface which includes these methods, but only certain controls (such as
    List- and ComboBoxes) actually support them.
    ---
    Phil Weber



  5. #20
    Larry Triezenberg Guest

    Re: strPtr()?

    Phil, that's kind of what I figured, but since it was posted as (potentially
    useful) information I thought that I might be somehow missing something...

    Larry Triezenberg
    "What should it be if it shouldn't be fun?" (John Hartford)

    Phil Weber wrote in message <3906c69f$1@news.devx.com>...
    >Larry: AddItem, Clear, _Default and RemoveItem are defined for most of VB's
    >intrinsic controls. I suspect that these controls implement a standard
    >interface which includes these methods, but only certain controls (such as
    >List- and ComboBoxes) actually support them.




  6. #21
    Larry Triezenberg Guest

    Re: strPtr()?

    Phil, that's kind of what I figured, but since it was posted as (potentially
    useful) information I thought that I might be somehow missing something...

    Larry Triezenberg
    "What should it be if it shouldn't be fun?" (John Hartford)

    Phil Weber wrote in message <3906c69f$1@news.devx.com>...
    >Larry: AddItem, Clear, _Default and RemoveItem are defined for most of VB's
    >intrinsic controls. I suspect that these controls implement a standard
    >interface which includes these methods, but only certain controls (such as
    >List- and ComboBoxes) actually support them.




  7. #22
    Michael \(michka\) Kaplan Guest

    Re: strPtr()?

    LOL, no problem. I just wish people would pick a place and then give people
    a chance to answer before picking somewhere else..... considering how
    quickly people posted answers and all.

    I do not think multiposting to msnews and devx is useful as it forces
    conversations to not be easily followable in both places, etc.

    --
    MichKa
    (insensitive fruitarian)

    random junk of dubious value, a multilingual website, the
    54-language TSI Form/Report to Data Access Page Wizard,
    and lots of replication "stuff" at the (no scripts required!)
    http://www.trigeminal.com/


    "Phil Weber" <pweber@teleport.com> wrote in message
    news:39068886$1@news.devx.com...
    > > microsoft.public.vb.winapi is where I saw him post....

    >
    > Michael: Thanks. I searched on deja.com before I asked, but couldn't find
    > anything. I was mostly concerned that he may have multi-posted to this
    > server, where I can do something about it. ;-)
    > ---
    > Phil Weber
    >
    >




  8. #23
    Michael \(michka\) Kaplan Guest

    Re: strPtr()?

    LOL, no problem. I just wish people would pick a place and then give people
    a chance to answer before picking somewhere else..... considering how
    quickly people posted answers and all.

    I do not think multiposting to msnews and devx is useful as it forces
    conversations to not be easily followable in both places, etc.

    --
    MichKa
    (insensitive fruitarian)

    random junk of dubious value, a multilingual website, the
    54-language TSI Form/Report to Data Access Page Wizard,
    and lots of replication "stuff" at the (no scripts required!)
    http://www.trigeminal.com/


    "Phil Weber" <pweber@teleport.com> wrote in message
    news:39068886$1@news.devx.com...
    > > microsoft.public.vb.winapi is where I saw him post....

    >
    > Michael: Thanks. I searched on deja.com before I asked, but couldn't find
    > anything. I was mostly concerned that he may have multi-posted to this
    > server, where I can do something about it. ;-)
    > ---
    > Phil Weber
    >
    >




  9. #24
    Karl E. Peterson Guest

    Re: strPtr()?

    Hi Phil --

    > > How does one use strPtr() from VB? Is it not documented
    > > anywhere? Are there other such undocumented features?

    >
    > John: A search for "StrPtr" at http://search.microsoft.com/us/dev/ turned up
    > the following:
    >
    > http://support.microsoft.com/support.../q199/8/24.asp
    > http://msdn.microsoft.com/library/bo...b5/Ch08_31.htm


    Thought DevX would've found http://www.mvps.org/vb/tips/varptr.htm <sniff>

    Later... Karl



  10. #25
    Karl E. Peterson Guest

    Re: strPtr()?

    Hi Phil --

    > > How does one use strPtr() from VB? Is it not documented
    > > anywhere? Are there other such undocumented features?

    >
    > John: A search for "StrPtr" at http://search.microsoft.com/us/dev/ turned up
    > the following:
    >
    > http://support.microsoft.com/support.../q199/8/24.asp
    > http://msdn.microsoft.com/library/bo...b5/Ch08_31.htm


    Thought DevX would've found http://www.mvps.org/vb/tips/varptr.htm <sniff>

    Later... Karl



  11. #26
    Phil Weber Guest

    Re: strPtr()?

    > Thought DevX would've found
    > http://www.mvps.org/vb/tips/varptr.htm


    Karl: It does, it's the number one hit! I searched MSDN because John asked
    whether it was "documented," by which I assumed he meant by Microsoft.
    ---
    Phil Weber



  12. #27
    Phil Weber Guest

    Re: strPtr()?

    > Thought DevX would've found
    > http://www.mvps.org/vb/tips/varptr.htm


    Karl: It does, it's the number one hit! I searched MSDN because John asked
    whether it was "documented," by which I assumed he meant by Microsoft.
    ---
    Phil Weber



  13. #28
    Phil Weber Guest

    Re: strPtr()?

    > I do not think multiposting to msnews and DevX is useful
    > as it forces conversations to not be easily followable in both
    > places, etc.


    Michael: I completely agree. Unfortunately, we have no jurisdiction over
    what people post to other servers. All I can do is try to make these groups
    so much more valuable that people won't feel the need to post elsewhere
    (looks like our shill David Mark is doing a good job at making msnews less
    appealing. :-).
    ---
    Phil Weber

    P.S. -- That's a JOKE, people! :-)



  14. #29
    Phil Weber Guest

    Re: strPtr()?

    > I do not think multiposting to msnews and DevX is useful
    > as it forces conversations to not be easily followable in both
    > places, etc.


    Michael: I completely agree. Unfortunately, we have no jurisdiction over
    what people post to other servers. All I can do is try to make these groups
    so much more valuable that people won't feel the need to post elsewhere
    (looks like our shill David Mark is doing a good job at making msnews less
    appealing. :-).
    ---
    Phil Weber

    P.S. -- That's a JOKE, people! :-)



  15. #30
    Karl E. Peterson Guest

    Re: strPtr()?

    Hi Phil --

    > > Thought DevX would've found
    > > http://www.mvps.org/vb/tips/varptr.htm

    >
    > Karl: It does, it's the number one hit!


    Kewl! :-)

    > I searched MSDN because John asked
    > whether it was "documented," by which I assumed he meant by Microsoft.


    Well, I guess having an article by Matt Curland *clearly* wouldn't qualify in that
    regard, especially given it's posted as "undoc'd." ;-)

    Thanks... Karl




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