Is it possible join in the same project a visual basic net
form and a c sharp form?? if the answer is yes, how can I
do it?
Thanks for your answers 4 1233
Only if you compile the C# form in a project and reference it from VB
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
"jose" <jo********@ini cia.es> wrote in message
news:0b******** *************** *****@phx.gbl.. . Is it possible join in the same project a visual basic net form and a c sharp form?? if the answer is yes, how can I do it? Thanks for your answers
when you say reference it, are you saying add to vb
project??? Pleaseee,helllp p!!! -----Original Message----- Only if you compile the C# form in a project and
reference it from VB -- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all
from you ------------------------------
"jose" <jo********@ini cia.es> wrote in message news:0b******* *************** ******@phx.gbl. .. Is it possible join in the same project a visual basic
net form and a c sharp form?? if the answer is yes, how can
I do it? Thanks for your answers
.
You will add it as a component
--
Ceers,
Crirus
------------------------------
If work were a good thing, the boss would take it all from you
------------------------------
<an*******@disc ussions.microso ft.com> wrote in message
news:0a******** *************** *****@phx.gbl.. . when you say reference it, are you saying add to vb project??? Pleaseee,helllp p!!!-----Original Message----- Only if you compile the C# form in a project and reference it from VB -- Ceers, Crirus
------------------------------ If work were a good thing, the boss would take it all
from you ------------------------------
"jose" <jo********@ini cia.es> wrote in message news:0b******* *************** ******@phx.gbl. .. Is it possible join in the same project a visual basic net form and a c sharp form?? if the answer is yes, how can I do it? Thanks for your answers
.
Hi Jose,
Not in the same <Project> but yes, in the same <Solution>.
Each would have its own Project and you would reference the C# project
from the VB one.
Compile the C# project and then Right-Click the VB project in the Solution
Explorer and select Add Reference. On the dialogue box which comes up, select
the Projects page. You'll find your C# project there. Click the [Select] and
[Ok] buttons. You'll then be able to see the C# project in the VB project's
list of references.
You may also have to add an Imports statement to your VB code. If so, type
Imports at the top of the code and then get intellisense to guide you from
there.
Regards,
Fergus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mark |
last post by:
Here's the most concise description I can give you of my
problem...
I'm trying to create a narrow form in Visual Basic.NET
2003. The form is about 95 pixels wide by 325 long. I
resized it to these dimensions in the development
environment. I've set the FormBorderStyle property to
FixedSingle. I've set controlbox, minimizebox, and...
|
by: K. Shier |
last post by:
when attempting to edit code in a class file, i see the bug "Visual Basic
..NET compiler is unable to recover from the following error: System Error
&Hc0000005&(Visual Basic internal compiler error) Save your work and restart
Visual Studio .NET."
has anyone seen this bug and can you confirm one way or the other whether or
not it can corrupt...
|
by: jose |
last post by:
Is it possible join in the same project a visual basic net
form and a c sharp form?? if the answer is yes, how can I
do it?
Thanks for your answers
|
by: Bruno Jouhier [MVP] |
last post by:
I'm currently experiencing a strange phenomenon:
At my Office, Visual Studio takes a very long time to compile our solution
(more than 1 minute for the first project).
At home, Visual Studio compiles the same solution much faster (about 10
seconds for the first project).
My home computer is only marginally faster than the one I have at...
|
by: Dave Taylor |
last post by:
I have a VB.NET WinForms project that has about 15 forms in it. When I
opened the project yesterday, one of the form files does not open as a form
(i.e. double-clicking it in Solution Explorer opens up the code file, not
the form designer). Also, it does not appear to recognize the code
file....there are no outlining indicators, typing in...
| |
by: Steve |
last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains
custom functions. I believe I need to use COM interop to allow VBA code in
Excel 2002 to access it. I've studied everything I can find on COM Interop
and .NET. I've also tried many of the 'Walkthroughs' on the MSDN site
relating to COM add-ins, .NET and Office XP...
|
by: Ronm |
last post by:
Hey Guys,
I have a problem which has been driving me crazy for the last days.
I'm working on a small project involving:
Visual Basic
Acces Database
ASP
and adobe/macromedia Flash,
|
by: dancer |
last post by:
In Visual Basic 2005 Express Edition When I choose Console Application for
the project, the source code page automatically comes up with:
Module Module1
When I choose Windows Application, the page automatically comes up with
Public Class Form1
Why not Module in the Windows App page?
Also, ASP.NET Web Application is not one of the...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |