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

use control written in C#

Hello,

I have found a control that is written in C#.

It has source code included: cs-files, resx files and csproj files.

How can I use this control in VB.NET?
Must I have C# installed?
Must I build an ocx first (to add in my controls toolbar)?

Thanks
Nov 20 '05 #1
2 884
* "newbie" <ne****@nospam.com> scripsit:
I have found a control that is written in C#.

It has source code included: cs-files, resx files and csproj files.

How can I use this control in VB.NET?
Compile the C# project and add a reference to the resulting DLL, or add
the project to your /solution/. Notice that you can mix languages
inside solutions, but not inside projects.
Must I have C# installed?
Yes.
Must I build an ocx first (to add in my controls toolbar)?


No, you will have to create a DLL (class library).

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
"newbie" <ne****@nospam.com> schrieb

I have found a control that is written in C#.

It has source code included: cs-files, resx files and csproj
files.

How can I use this control in VB.NET?
Must I have C# installed?
Yes, if you wan to compile it.
No, if you've got a compiled DLL that you can set a reference to
(right-click on the toolbox -> add item, browse to the DLL file)
Must I build an ocx first (to add in my controls toolbar)?

OCX controls don't exist in the .Net world.
--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3

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

Similar topics

3
by: Thierry Lefevre | last post by:
Hi all, I have written a control in c# which heard an UDP port on a network broadcast address. In the other hand, a server send periodically (every 500ms) some messages to this broadcast...
0
by: Tom | last post by:
I am developing a page that will contain multiple instances of a Composite Custom Control that i have developed. The problem is that the user will determine at run time how many of the control...
3
by: sean | last post by:
Hi There, I am trying to display some textboxes on my page, When I run the code the textbox is written to the page (when I view source) but not to the screen. Could someone tell me if I have the...
3
by: Bijoy Naick | last post by:
I've written a simple file upload user control in VB .NET. It comprises of an InputFile HTML Server Control, an Upload button and a message label. User clicks on the Browse button of the...
6
by: Tico Tech | last post by:
Hi: I have a question about the Microsoft Communications Control Version 6.0 from visual studio .net. I have this code: Dim Buffer As String Do Buffer = AxMSComm1.Input() //Error, it does...
1
by: Fred Nelson | last post by:
Hi: I'm writing an error handling system for my vb.net windows application. I have an error trapping routine that is catching all unexpected errors, writing an entry in an sql database and...
3
by: Weston Fryatt | last post by:
Simple question I hope.... How do I send data to and from an ASP.Net (server side) web page to a ActiveX Control (client side) embedded in a web browser??? What I need to do, is I have image...
12
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
6
by: codoherty | last post by:
Is it possible to for a custom control to have 2 properties bound to 2 different fields from the same ADO.NET datasource. I noticed when writing updates to my datasource only 1 field or property...
3
by: Andrus | last post by:
Winforms appl creates customer edit form containing textboxes using Customer dataSource = Northwind.Customers.GetByName("Airbus"); MaskedTextBox tb = new MaskedTextBox(); Binding binding = new...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...

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.