sg

Çarşamba, Kasım 23, 2005

MSVB 6 help needed (Was: MSVC 6 help needed)


On 11/22/05, willi1s <willi1s@hotmail.com> wrote:
>
> Thanks for the response.
> I've changed VARIANT var to CComVariant var, the same problem is
> there.
>
> It doesn't crash, it just returns 0x80070057 ???

My VB6 demo does the same thing. Using the following code:

Dim desc As Variant
desc = Array("Title", "GDS_Source", "Description", "A sample data
feeder", "Icon", "none")
Dim reg As Object
Set reg = CreateObject("GoogleDesktopSearch.Register")
reg.RegisterIndexingComponent "{87E8F39A-F6BF-41b7-ABE2-9F01146B0370}", desc

An error of the same code (80070057h) will be thrown at the last line
("Invalid component description").

When I check "VarType(desc)", it is equal to "vbArray or vbVariant".

What is up with that?

--
Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık