473,624 Members | 2,510 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiple Programs

Just wondered if you could give me some advice!

At the moment we code out systems in COBOL and we are
just starting to move everything to VB.net. Just
wondering how you all manage when designing system with
many screens.

Running of a single .exe would be unfeasible so have been
looking at using .dll's but after messing around we are
struggling to see how to get this to work! If we create
a class library with a user control that loads fine but
of course you can not use a menu within a user control
which is something we would like to do. If we create a
class library that contains a windows forms it just does
nothing.

Just basically wondering how you design your systems that
have many different parts? (we have around 400 different
screens per system)

Another thing is we intend to use inheritance, can you
inherit forms/controls accross multiple projects within
the same solution?

Hope someone can help!!

Martin
Nov 20 '05 #1
3 1033
I cann't answer all your ? but there are some very smart brains that lurk
about here that will be able to cover most items

My 2cents is that whilst it might be possible(not sure), to have a vb.net
app with 400 different form(name for a screen), I would have to say that if
that is the case, then you probably should go back and take a look at the
design of what you are trying to do. I would think if you grouped your
functionality by user role, you might be able to have 3 or 4 different apps
you could have instead on one big one.

One way around might be to implement a ASP.net web front end built using
VB.net. You then do not have an issue on the number of forms/screens you
will have, as they are just web pages. One checky thing is to acutally put
the Com web browser onto a vb.net form, and sort of get the best of both
worlds.

Not sure about cross project inheritance, but I would think no. Can you not
create user controls, and just use those in each project you need them ?

"Martin" <an*******@disc ussions.microso ft.com> wrote in message
news:05******** *************** *****@phx.gbl.. .
Just wondered if you could give me some advice!

At the moment we code out systems in COBOL and we are
just starting to move everything to VB.net. Just
wondering how you all manage when designing system with
many screens.

Running of a single .exe would be unfeasible so have been
looking at using .dll's but after messing around we are
struggling to see how to get this to work! If we create
a class library with a user control that loads fine but
of course you can not use a menu within a user control
which is something we would like to do. If we create a
class library that contains a windows forms it just does
nothing.

Just basically wondering how you design your systems that
have many different parts? (we have around 400 different
screens per system)

Another thing is we intend to use inheritance, can you
inherit forms/controls accross multiple projects within
the same solution?

Hope someone can help!!

Martin

Nov 20 '05 #2
Thanks for the info. With the applications you write do
you tend to have all your forms within one project? if
so, how many?

One question, how do you put the COM web browser onto a
vb.net, i have not really looked at asp.net as yet!

Cheers

Martin
-----Original Message-----
I cann't answer all your ? but there are some very smart brains that lurkabout here that will be able to cover most items

My 2cents is that whilst it might be possible(not sure), to have a vb.netapp with 400 different form(name for a screen), I would have to say that ifthat is the case, then you probably should go back and take a look at thedesign of what you are trying to do. I would think if you grouped yourfunctionalit y by user role, you might be able to have 3 or 4 different appsyou could have instead on one big one.

One way around might be to implement a ASP.net web front end built usingVB.net. You then do not have an issue on the number of forms/screens youwill have, as they are just web pages. One checky thing is to acutally putthe Com web browser onto a vb.net form, and sort of get the best of bothworlds.

Not sure about cross project inheritance, but I would think no. Can you notcreate user controls, and just use those in each project you need them ?
"Martin" <an*******@disc ussions.microso ft.com> wrote in messagenews:05******* *************** ******@phx.gbl. ..
Just wondered if you could give me some advice!

At the moment we code out systems in COBOL and we are
just starting to move everything to VB.net. Just
wondering how you all manage when designing system with
many screens.

Running of a single .exe would be unfeasible so have been looking at using .dll's but after messing around we are
struggling to see how to get this to work! If we create a class library with a user control that loads fine but
of course you can not use a menu within a user control
which is something we would like to do. If we create a
class library that contains a windows forms it just does nothing.

Just basically wondering how you design your systems that have many different parts? (we have around 400 different screens per system)

Another thing is we intend to use inheritance, can you
inherit forms/controls accross multiple projects within
the same solution?

Hope someone can help!!

Martin

.

Nov 20 '05 #3
Martin,

Interesting question because I just submitted a proposal for the company I
am with. We currently have probably around 300 different programs written in
RPG for an AS400 system. I want to go to .NET and use SQL as the access
point between the clients systems and the AS400 (the AS400 would be totally
disconnected except for the times of replication to and from the SQL
server).

My initial thought is to use ASP. I think it will be easier to build an
internal intranet and deliver web apps across the intranet. Windows form
apps can also be delivered across HTTP. This is opposed to creating a new
windows app for every current AS400 application we have out there now.

These are just my thoughts.

Brad

"Martin" <an*******@disc ussions.microso ft.com> wrote in message
news:05******** *************** *****@phx.gbl.. .
Just wondered if you could give me some advice!

At the moment we code out systems in COBOL and we are
just starting to move everything to VB.net. Just
wondering how you all manage when designing system with
many screens.

Running of a single .exe would be unfeasible so have been
looking at using .dll's but after messing around we are
struggling to see how to get this to work! If we create
a class library with a user control that loads fine but
of course you can not use a menu within a user control
which is something we would like to do. If we create a
class library that contains a windows forms it just does
nothing.

Just basically wondering how you design your systems that
have many different parts? (we have around 400 different
screens per system)

Another thing is we intend to use inheritance, can you
inherit forms/controls accross multiple projects within
the same solution?

Hope someone can help!!

Martin

Nov 20 '05 #4

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

Similar topics

2
1509
by: Nigel King | last post by:
Hi, I have (my son has!) implemented protection against multiple instances causing havoc by creating a directory. This fails if it exists and thus in a single instruction one gets both the acquire and the test. Windows has it's mutex which solves the problem. Is there any better version for UNIX. Thanks
1
7195
by: Primo | last post by:
Hello, I am building a data management application with the following processes: Process 1 is a Windows service which uses FileSystemWatcher to monitor a directory. Process 2 opens a file copied into the directory and inserts the data into a data warehouse. Process 3 queries the data warehouse and transfers the results to a data mart.
1
1140
by: Peter | last post by:
I have written several programs that need to run on different schedules. The schedules consist of multiple business rules. Until yesterday I was scheduling most of these applications through the NT scheduler, but now I can no longer do that. My Administer only will allow me to have one scheduled task that launches. So my thought was that I need to create a program that will launch all my applications at different times during the day....
2
1354
by: Steve | last post by:
Hi All I have several POS programs (Windows forms VS 2005) Some customers have multiple copies of the programs, all networked to the 1 SQL Server 2005 Database which resides on 1 of the computers The programs do auto updating from my website, where they download any new updates and the update program runs on the next restart of the computer
1
9377
by: dotnetnovice | last post by:
Hi dear fellows...i am a newbie in C# and practicing it hardly to learn it. Actually i am reading a table from data base through data reader and displaying it in the gridview and i am doing well the problem i want to read and display 2 tables at a time in the same grid view. Here is my Code in the class DBHandler. public class DBHandler { private const String ConnectionString = @"initial catalog=FinalProjectDB;Data...
0
8231
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
8168
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
8672
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
8614
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
8330
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
7153
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
6107
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
4075
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
4167
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.