473,324 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

How to pass correct parameter to IAccessible.get_accValue(object varChild) with C#

The original parameter of get_accValue is a VAIANT

virtual /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE
get_accValue(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR *pszValue) = 0;
I don't know how to define/use a Vaiant type in C#

Se*********@hotmail.com
May 10 '06 #1
2 3513
V
Hi,

In most cases System.Object should work in place of a Variant. However,
it is important to understand that there are differences between a
variant and object.

Just type in Variant in C# in google and you will find multiple links
that tell you the minor differences.

Regards,
Vaibhav

May 10 '06 #2
my website about automation testing

http://www.softtesting.org/
May 23 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Aaron | last post by:
I have a data sructure setup and I populate it in a loop like so: y=0 while X: DS.name = "ASDF" DS.ID = 1234 list = DS; y = y + 1
7
by: James | last post by:
Why do I get the error C2597: illegal reference to non-static member 'ClientProxy::User' (plus a bunch of other errors)? Obviously I'm not defining the passing of an object into a class...
0
by: Nora McMacken via DotNetMonster.com | last post by:
Hi I'm trying to pass an object to a web service. The object is xml serialized. However, I'm getting an System.InvalidOperationException. I have never used web service before, and I don't know...
8
by: Li Pang | last post by:
Hi, I used following codes to pass a message item from CDO to Outlook. They worked fine when I used outlook 2000, but get an error of "Specified cast is not valid." when I used Outlook 2003....
13
by: andrea | last post by:
Sorry for the stupid question, I know, but sometimes is necessary starts from the basic. I don't know how to pass the result of a method generated from a DAL class to a BL class returning the...
0
by: Michael_R_Banks | last post by:
All, I'm trying to use SOAP to pass a serialized object from a VB.net application to a PHP application. Is this at all possible? Any help will be appreciated. I have included a copy of the...
0
by: MArgente | last post by:
Hello All. I've searched around and couldn't get a definitive answer for my case: I have a form that is sending information to a SQL Server and I am getting the error: Parameter object is...
2
by: antonmaju | last post by:
HI, I have problem with CR Server XI in my ASP.NET application. I created reports with dynamic cascading parameters. Everything was fine before I uploaded it into BO repository. I logon as...
35
by: Rick Giuly | last post by:
Hello All, Why is python designed so that b and c (according to code below) actually share the same list object? It seems more natural to me that each object would be created with a new list...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.