473,386 Members | 1,736 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,386 software developers and data experts.

Wrapper Dll Question

sm
Hi All,

Dropping a COM control on to a vb.net form builds a wrapper dll which is
required to access the control's members during design time.

I want to design a console application which uses a COM control. What is the
procedure that needs to be followed to be able to access the COM controls
members at design time?

Thanks

Nov 21 '05 #1
4 1163
Your saying you want to use the designers right? But since its a console
application you can't have any forms.

use a component instead, try dropping your object on there, then you should
be able to access its properties through the designer.

HTH,
CJ

"sm" <sm@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
Hi All,

Dropping a COM control on to a vb.net form builds a wrapper dll which is
required to access the control's members during design time.

I want to design a console application which uses a COM control. What is the procedure that needs to be followed to be able to access the COM controls
members at design time?

Thanks

Nov 21 '05 #2
sm

Thanks.

I am sorry but I don't find any components tab in the tool-box! Wonder
whether I am looking in the right place!

The toolbox in a console application shows only Clipboard ring, General and
Pointer!
"CJ Taylor" wrote:
Your saying you want to use the designers right? But since its a console
application you can't have any forms.

use a component instead, try dropping your object on there, then you should
be able to access its properties through the designer.

HTH,
CJ

"sm" <sm@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
Hi All,

Dropping a COM control on to a vb.net form builds a wrapper dll which is
required to access the control's members during design time.

I want to design a console application which uses a COM control. What is

the
procedure that needs to be followed to be able to access the COM controls
members at design time?

Thanks


Nov 21 '05 #3
Sorry, should have clarified. A Component class. You'll create that in
solution explorer, add component...
"sm" <sm@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com...

Thanks.

I am sorry but I don't find any components tab in the tool-box! Wonder
whether I am looking in the right place!

The toolbox in a console application shows only Clipboard ring, General and Pointer!
"CJ Taylor" wrote:
Your saying you want to use the designers right? But since its a console application you can't have any forms.

use a component instead, try dropping your object on there, then you should be able to access its properties through the designer.

HTH,
CJ

"sm" <sm@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
Hi All,

Dropping a COM control on to a vb.net form builds a wrapper dll which is required to access the control's members during design time.

I want to design a console application which uses a COM control. What is
the
procedure that needs to be followed to be able to access the COM

controls members at design time?

Thanks


Nov 21 '05 #4
sm
Thanks.

I could add a component class using the Solution Explorer. The toolbox comes
up with all the controls. My Activex control which I had added initially is
shown disabled; thereby I cannot drop in on to the component design form!

Have no idea as to why the Activex control got disabled!

"CJ Taylor" wrote:
Sorry, should have clarified. A Component class. You'll create that in
solution explorer, add component...
"sm" <sm@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com...

Thanks.

I am sorry but I don't find any components tab in the tool-box! Wonder
whether I am looking in the right place!

The toolbox in a console application shows only Clipboard ring, General

and
Pointer!
"CJ Taylor" wrote:
Your saying you want to use the designers right? But since its a console application you can't have any forms.

use a component instead, try dropping your object on there, then you should be able to access its properties through the designer.

HTH,
CJ

"sm" <sm@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
> Hi All,
>
> Dropping a COM control on to a vb.net form builds a wrapper dll which is > required to access the control's members during design time.
>
> I want to design a console application which uses a COM control. What is the
> procedure that needs to be followed to be able to access the COM controls > members at design time?
>
> Thanks
>


Nov 21 '05 #5

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

Similar topics

5
by: niidjan | last post by:
I would like to know more about C++ wrappers. What is a wrapper object in C++ and why is it neccessary? I am trying to create a templated linked list data structure to store any object or primitive...
15
by: Steve Richfield | last post by:
To All, First, some of your replies to me have been posted through DevelopersDex, and these are NOT posted on USENET for the world to see. DevelopersDex appears to be trying to hijack USENET,...
0
by: DotNetJunkies User | last post by:
Background: I am creating a VC++ .NET wrapper for a C++ DLL; the aim is to use this wrapper in C# as shown below: Range r = new Range( 2, 2 ); r = new Cell( “Hello Mum” ); Range is a...
9
by: WithPit | last post by:
I am trying to create an Managed C++ Wrapper around an unmanaged library which contains C++ code. Some of the unmanaged methods returns an returntype which is of the abstract base type (for...
4
by: Gary Bond | last post by:
Hi All, Can anybody point me to some 'how-to' documentation, tutorials, etc as to how to write a shrink/protect wrapper for .Net exes/dlls, (like the Shrinkwrap product for instance). I have...
22
by: linwu02 | last post by:
I am trying to write a Wrapper for our web wrapping engine, Cameleon. Currently Cameleon is able to answer certain SQL queries but with a restriction that all SQL queries must have a predicate....
0
by: Kurt | last post by:
I have an MFC static lib which exports som classes, it still needs to be available to MFC apps and now C# apps as well. For C# I am creating a wrapper dll that will link in the library. My question...
9
by: Julien Biezemans | last post by:
Hi! Here is the problem: I'd like to restrict local filesystem stream operations to one directory just like a root jail. fopen('/file.bin') would actually open /some/path/file.bin. One goal...
8
by: Seth7TS | last post by:
Hi everyone, i need to make a protection for a fortran software(a line command in linux). My desire is to write a C wrapper that control the execution of the program. Can someone help me? i dont...
16
by: Knute Johnson | last post by:
I'm trying to write a C wrapper to run a Java program. I need to distribute a CD with the Java runtime, my application and a C startup program. I've put the C wrapper program, my java app and the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.