473,789 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about going into WindowsForm(.NE T) in managed c++

Hello!

I was able to compile my aplication in Managed /clr code.
How can I refere one form (Windows Form(.NET)) in my app. It's ok to add it,
but how can I go into that form? I was thinking of having a button click on
one form, and go into the .NET form on that click. But I can't figure out
how to do this.
I can't refer it to the namespace, can I?

I included the Form01Net.h file in my app.
in the button Click I have this code.

void CTestdotnetView ::OnBnClickedBu tton1()
{

testdotnet::For m01Net* Larsi = new testdotnet::For m01Net();
}

I receive C3828 error msg
--
- Lars
Nov 16 '05 #1
0 797

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

Similar topics

13
1588
by: Jonathan Li | last post by:
Hi there, I posted a thread in another group. I could not get satisfactory feedback. I would like to try if anybody in this group can help me out. My plan was, to develop components at server side (something like EJBs). For data entry and operation application functions, I can use C#.Net. For reporting and enquiry functions, I can use ASP.Net. You may aware that these two packages have a lot in common. Under J2EE environment, I know...
1
4165
by: Mamatha | last post by:
Hi I am doing small application like video capturing,i had code to create avi file,but i want the same video file output in the form of wmv file format. How can we convert avi file to wmv file in C#.Net? I want the source code to convert avi file into wmv file in C#.NET. If you know the solution please let me know. Thanks in advance. Mamatha
7
8233
by: Klaus Bonadt | last post by:
I have an existing VC6 application using the MFC. I am able to pass CString and other parameters from such a VC6 dll to an unmanaged MFC dll (compiled in Visual Studio .NET). Now I want to use .Net functionality, i.e. calling methods in managed code. How do I pass CString variables for input and output usage, i.e. providing and retrieving char arrays? Regards, Klaus
44
1915
by: Mantorok | last post by:
Hi all We are an organisation that use C# currently and we have some members who are not yet trained in .Net or C#, some staff have requested they use VB instead (probably due to their background). Given that we are already using C# I think adding VB into the mix is a bad idea - not with regards to the language itself but the fact that the VB.Net coders won't learn C# and possibly vice-versa.
1
916
by: dotnettester | last post by:
Hi, I am using the Calendar control. Instead of using the buttons to move to next month, I want to put a dropdown list , and display the calendar based on that selection. Same for the year. Any help/links would be greatly appreciated.
5
2465
by: rabidus | last post by:
> class UnmanagedClass > { > public: > gcroot<ManagedClass *>pMc; > > UnmanagedClass(ManagedClass * in) > { > pMc = in; > } >
21
1803
by: Galen Somerville | last post by:
My application receives and displays Heart sounds and ECG's in real time. This data comes from a proprietary USB 2.0 device. Unlike most USB devices, this data comes in short bursts of about 24 bytes. These bursts could come as fast as every millisecond. The display of the sound and ECG traces is similar to an oscilloscope display except a blank space of about 5 pixels is shown as it sweeps across the screen. This means that not only is...
4
1160
by: Chuck B | last post by:
I have a .NET application installed on a server. It runs fine when I run an instance on my PC. My question is, is it possible to run a .NET app hosted on a server without having the framework installed on the client PC?
1
1401
by: Shree | last post by:
On Aug 22, 1:01 pm, "Brian Stoop" <b.st...@consultant-spam.free.com> wrote: A simple way could be to keep a static counter which can be updated in the call back function "TestThread1". Make the main thread wait while this counter is not maxed out; 10 in your case.
0
9666
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, 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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10412
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, 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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10200
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9986
tracyyun
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9021
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5422
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.