-
strPtr()?
How does on use strPtr() from VB?
Is it not documented anywhere?
Are there other such undocumented features?
Thanks.
-
Re: strPtr()?
There is also ObjPtr and VarPtr. There others also, eg: the textbox has a
clear method.
To find them, push F2, right click and select Show Hidden Members
Mike
"- John of Arc -" <666@666.666> wrote:
>How does on use strPtr() from VB?
>Is it not documented anywhere?
>Are there other such undocumented features?
>
>Thanks.
>
>
-
Re: strPtr()?
> 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
---
Phil Weber
-
Re: strPtr()?
Why not look up the myriad of answers from where you posted elsewhere?
--
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/
"- John of Arc -" <666@666.666> wrote in message
news:39064efb@news.devx.com...
> How does on use strPtr() from VB?
> Is it not documented anywhere?
> Are there other such undocumented features?
>
> Thanks.
>
>
-
Re: strPtr()?
Open the object browser in VB and browse the VBA library.
If you right-click within the object browser you get a "Show Hidden members"
option.
If you switch this on, you will find StrPtr listed under _HiddenModule.
Note that with anything you find out about this way:
"Microsoft does not guarantee that they will be available in future releases
of Visual Basic."
Not that you should let that put you off using StrPtr if you really need it.
Just think
about the life-time of your source code and whether it matters if the
feature you use
isn't available in the next version of VB.
Adelle.
mike <m_culley@one.net.au> wrote in message news:39066c24$1@news.devx.com...
>
> There is also ObjPtr and VarPtr. There others also, eg: the textbox has a
> clear method.
>
> To find them, push F2, right click and select Show Hidden Members
>
> Mike
>
> "- John of Arc -" <666@666.666> wrote:
> >How does on use strPtr() from VB?
> >Is it not documented anywhere?
> >Are there other such undocumented features?
> >
> >Thanks.
> >
> >
>
-
Re: strPtr()?
> Why not look up the myriad of answers from where
> you posted elsewhere?
Michael: Where might that be?
---
Phil Weber
-
Re: strPtr()?
microsoft.public.vb.winapi is where I saw him post....
--
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:39067acd$1@news.devx.com...
> > Why not look up the myriad of answers from where
> > you posted elsewhere?
>
> Michael: Where might that be?
> ---
> Phil Weber
>
>
-
Re: strPtr()?
> 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
-
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.
-
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
-
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.
-
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
>
>
-
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
-
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
-
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! :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|