473,770 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to parsing values from class library to Windows form

ano
Hi all,

I'm a C# newbie. My application contains several projects. One of project is
Windows Form application. Others are a class library.

My question is how to parsing messages from project A (class library) to
show on a ListBox in project B (Windows Application)? How to make project A
calls a ListBox in project B?
Mar 29 '06 #1
2 1672
Hi

I am not exactly sure what you are mean ...
Maybe this helps:

In projectB:
projectA.class myProjectA = new projectA.class( );

Fill Listbox like:
this.listBox1.I tems.Add(myProj ectA.GetMyMessa ges());

Best regards
Frank Uray

"ano" wrote:
Hi all,

I'm a C# newbie. My application contains several projects. One of project is
Windows Form application. Others are a class library.

My question is how to parsing messages from project A (class library) to
show on a ListBox in project B (Windows Application)? How to make project A
calls a ListBox in project B?

Mar 29 '06 #2
ano
Thanks you vary much. Now I can solve my problem.

"Frank Uray" wrote:
Hi

I am not exactly sure what you are mean ...
Maybe this helps:

In projectB:
projectA.class myProjectA = new projectA.class( );

Fill Listbox like:
this.listBox1.I tems.Add(myProj ectA.GetMyMessa ges());

Best regards
Frank Uray

"ano" wrote:
Hi all,

I'm a C# newbie. My application contains several projects. One of project is
Windows Form application. Others are a class library.

My question is how to parsing messages from project A (class library) to
show on a ListBox in project B (Windows Application)? How to make project A
calls a ListBox in project B?

Mar 29 '06 #3

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

Similar topics

5
3639
by: me | last post by:
I have a Class Library that contains a Form and several helper classes. A thread gets created that performs processing of data behind the scenes and the Form never gets displayed (it is for debug puposes only and is not normally visable to the user.) The Thread function is actually in the Form class. Now.. What I am seeing is that when I create an instance of this Class Library's Form, which starts the worker thread, it seems to hose up...
3
3055
by: glenn | last post by:
I am assuming that Microsoft has renamed their (dll's) and are now calling them class libraries since I can't find anything related to dll's in Visual Studio. If I am correct in this assumption then can anyone help me with how to have my class library display a MessageBox.Show. I can't seem to add the proper using statement to get access to that class. Can dll's access messageboxes? On a side note: Is is possible for a class...
2
2187
by: Miky | last post by:
Hi, I have the following problem: I have a .CFM web page and I have to populate, from VB, two textboxes on it. I was thinking using sendkeys (even if I don't like it too much) but when I open the web browser and navigate to the selected page, I cannot set the focus to the html part of the control (only the web control takes the focus) so I can't use sendkeys to populate the fields I need.
4
1413
by: Cath Victor | last post by:
Hi... I have a windows form that calls/uses a class to do some processing. I want this class to return values or append text to the form's textbox as it processes data. Any of you guys know how I could do this? I was already able to do this before but unfortunately, my code has been deleted and I can't reconstruct it. Thank you very very much... :D
3
1642
by: eBob.com | last post by:
I have several applications which mine web sites for personal information which they publish. They publish the info in one form, I transform the info into Excel spreadsheets. So all these programs pick up name, telephone number, age, sex, etc.. And as they pick up the information they display it in text boxes. The text boxes are display only, and the info is displayed only for debugging purposes. Right now I have a lot of duplicate...
0
1266
by: Tony Johansson | last post by:
Hello! I have one solution file that consist of three project. One project that build the exe file. called A One project that build a user control dll called B One project that build a class library dll called C In the constructor for this user control is a call to a method in the class library. public (){
5
4916
by: muzilli | last post by:
Howdy all, I would like to know how can I insert a Timer object in my class library? This timer object will start and stop in a determinated part or event of my program. I know how to do this in Delphi or using a RAD tool and insert the Timer object in a form, but how to do in C# by hand and in a class library (without form), I don't know.
1
1641
by: Dale | last post by:
I have a user control on a Windows Form that, in its Load event handler, calls a method from a class library to initialize an array of objects that are then used to populate a ComboBox. When I run the app, the method runs just fine. The class library returns the array of objects and the ComboBox is loaded. The problem I am having is when I try to open the form that contains the user control in the designer. Instead of the form, I get...
2
5370
by: danphillips1977 | last post by:
Hopefully this hasn't been asked already - apologies if so I have a Windows Form running inside C# - built using the form designer I've built a number of methods inside the form Events which I now want to strip out into External class files (in order to try and make the app a bit more architecturally correct so to speak). To do this, I have created a new Project which I've added to the Solution. I've managed to connect the class to...
0
9454
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10259
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
10101
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...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
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
7456
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
6710
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
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.