Object Oriented Design For Manufacturing Programs?

Sep 13, 2011

This is a continuation on a different thread of mine because it got off topic. I have a program that i use select case statements, quite a few of them and did a lot of copy and pasting of code and had 5000 lines of code and was still building on it, it was suggested to use OOD so i am making a new thread related to that.

View 1 Replies


ADVERTISEMENT

C# - Design Reference And Object Oriented Design Of A CRM

May 25, 2011

I searched codeplex and google. I have found so many such as tustena but unfortunately they are not domain driven based and in these solutions I could not find a good modelling documents or references. i am a newbie in CRM but I am sensetive to design it with solid object-oriented fundamentals. Any reference or open source solution especifically for CRM design and implementaion in .NET? Cheers

View 1 Replies

Object Oriented Design In Asp.net With VB

Apr 3, 2009

I try to convert vb.net code to an object-oriented design. This help page talks about doing it: [URL] I plan this:

[Code]...

View 1 Replies

Object Oriented Design Vs Procedural

Feb 27, 2009

Our company currently uses an APL model to illustrate our life products. We are in the process of converting this to Excel/VBA because the APL system is extremely difficult to maintain.APL is difficult to maintain because the code has become over the years (~15yrs) spaghetti and only a select people (who have worked here 5+years) really understand this to make updates when new products come out. APL is also not well known and difficult to understand. I just would like help on designing the system, my main career is not a programmer, and the design I was envisioning was a "Procedural" approach. (the APL is procedural rather then object oriented. I have not used object oriented code before)Basically the program illustrates a life insurance product. That just means it projects a fund out from the time the policy is issued to age 120. The illustration is given to the policyholder as a way of predicting what the value of their fund will be given some assumptions.The program does the following1.) Populate Variables2.) Calculate Premiums Types3.) Monthly processing4.) Output values to spreadsheetThe system has to illustrate different types of Products and we are adding new products to the system. Most of the main structure of the program (in VBA) is already written. It seems that (#3) monthly processing will vary by product, and I would like help with maintaining that part of the code. The other 3 parts of the program are not a problem maintaining.We will be continually adding products. We will start with about 5 products and maybe add about 5 per year.Here is the Monthly Processing code:... Call MonthlyProcessing(120, PremPayMode0, Assump0, True, DumpLumpSum0)

View 4 Replies

Object Oriented Analysis, Design & Implementation?

Apr 28, 2009

With this assignment, you are provided with an incomplete object-oriented implementation of the GAME MANIA software system based on Visual Basic 2008. The specification and the subsequent modelling are explained in a case study titled Game Mania: GAME AND GAME CONSOLE RENTAL STORE.

An implementation of the following classes are made available as the basis of your development work:

1.Member
2.Stock
3.Stock Item
4.Optic Reader
5.Card Writer
6.Membership Card

[Code]...

Note that the user interface provided is very basic. You need to change it, as you feel appropriate so that it will reflect the required functionality. For example, in the present implementation version, no provisions were made in the user interface for querying and handling fines associated with late returns.Providing this aspect in the user interface might be necessary as part of handling renting of games and game consoles.

View 6 Replies

Object-oriented Programming In .NET And C#?

Apr 16, 2011

good tutorials where i can read about the actual object oriented concepts which we use in real time scenarios. Not the "class is a container. fruit is a parent class and apple is a child class" kind of stuff.Recently i was developing a multithreaded GUI application in vb.net and found out many obstacles like using one form's element in another form, changing form property in other class, when to create objects to access elements and many other stuff stumped me.

View 4 Replies

Beginner's At Object Oriented Programming?

Sep 25, 2011

I'm trying to pick up some simple object-oriented programming skills so I am trying my hand at beginner's problem - and I am totally stuck...I'm trying to write a program that will print to a label, the area and perimeter of your shape of choice, dependent on the Length and Width (for Rectangles and Triangles) or Radius (For Circles) you input and the shape you select.

I know how to do this easily with simple event-driven programming, but I'm trying to do this by using classes and inheritance.The idea I have is that you enter in length/Radius and/or width into text boxes (txtLen, txtWid) and then you can click a button to display the Length, Width and Perimeter or Radius and Circumference, and Area.

I'd create a Super-Class: Shapes to define my overarching parameters - all shapes have area and perimeter. Then I would create sub-classes for each shape inheriting the overarching "Shapes" class - dim'ing all of their respective extra pieces. Then the buttons would display the appropriate info when clicked.I understand this seems like a lot - but really I just need help getting my feet on the ground for this.

View 4 Replies

Is VB An Object Oriented Programming Language

Jun 18, 2009

Is Visual Basic an Object Oriented Programming Language ?Working as a software engineer

View 2 Replies

Object Oriented Programming Using .net 2008?

Aug 4, 2010

I need to write an program with two players rolling a pair of dice and the highest tally wins with an Game class having with two member variables of the type PairOfDice. I can not get it to work.

[Code]...

View 8 Replies

Some Good Object Oriented Books?

May 21, 2009

I'm looking for some good quality OO books, if any exist for VB .Net

View 10 Replies

The Power Of Object Oriented Programming?

Oct 28, 2009

Say I want to create a functionTry 5 timesThe function takes a function pointer to another function

function dosomething() as boolean
end function
function tryfivetime (thefunction as what?)

[code].....

View 5 Replies

VB Language And Object Oriented Programming?

Apr 20, 2009

i am new to asp and am currently trying to get my head around the visual basic language and Object Oriented Programming.From what i have read you need to have a good understanding of these to create good ASP.NET webpages, but from reading about these in books and joining the website [URL]..i am getting fairly confused with the language and the OOP. Does anyone out there have any tips for me when it comes to learning about these. Is there a good way to learn about these as i just seem to be getting really confused from the start.

View 5 Replies

How To Do A Seemingly Simple Object-oriented In .NET 2010

Jun 17, 2010

how to do a seemingly simple object-oriented problem in VB.NET 2010. Basically, I want to be able to write code such that I could do the following:

Dim myObject as Object
myObject.Group1.Command1()
myObject.Group2.Command2()

[code]....

Very similar to how VBA handles objects, such as in Excel, I can use

Dim myBook as Workbook
Set myBook = ActiveWorkbook
myBook.Sheets(1).Range("A1").Value()

to get the value of the cell "A1" on the first sheet. This structure has been eluding me for some time now, and it would be great if anyone could suggest how to do it. I'm currently using a class and declaring all methods as Shared Friend inside subclasses, which throws warnings when I use it as I want to in other code.

View 4 Replies

Looping Through A Dataset - Object-oriented Approach

Feb 25, 2012

The problem is as follows, a group of users (~50k) must be filtered from a DB, four fields for each user must be saved into a variable, then a second process will take each user and proceed to enable some licences into another system/platform. Both processes will be developed into the same application.

My first attempt was basically a query looping through the users but I wonder if thinking in objects is a better approach.

I was thinking in a structure inside an object to hold the 4 parameters, then pass each user object to the other object however considering the amount of data I'm not sure if this is fine.

View 1 Replies

Object Oriented Programing, Where To Draw The Line?

Jul 10, 2011

I created a project in Excel-VBA (wich I'm also new at) that connect to a SQL. It retrieves data, puts it in arrays, calculates, writes it up nicely and mails it to a mailing list before it closes itself down. This works when Excel is stable on the server, which it is not. Therefore I'm set on rewriting it to VB.NET (just have to learn it first).Project:To build this project in VB.NET I wanted to try and make it Object Oriented (OO). I have read that OO is when I create a Sub or Module for different tasks. Are there any advantages in learning/doing this from the start? I plan on creating Subs for almost everything, and then call it from a Main sub.

Too much OO?:
These are the modules I plan to create (and call)
Connect to SQL moduleSet up a query and put data in arrays moduleCalculation moduleOutput

[code]....

View 1 Replies

Object Oriented Programming, Subroutines, Functions And Inheritance

Jun 29, 2010

I have been learning vb.net for about 6 months now and I red few books about basic visual programming as most to them have information about the basic concepts like what is Object oriented programming, subroutines, functions ,inheritance etc and bit about ADO connectivity to database. Having said all that I think I have good concepts about all these things but now I want to proceed further but can't find appropriate text books or online tutorials.

View 2 Replies

Visual Studio - Object-Oriented Black Jack

Feb 24, 2010

Alright, so I want to improve my programming and object orientation skills. I want to program a fully object oriented blackjack game in VB.net under Visual Studio 2008. The first thing I did was learn all the rules of BlackJack.

[Code]...

View 1 Replies

VS 2010 Way To Design An Object?

Sep 10, 2011

Firstly we need a deck object which in my case is a queue of type card. My question is relating to the card object.Would it be good programming to contain the card image within the card class so that the card object could be placed direct into some container or is it best to handle the card image within the main class.

View 4 Replies

VS 2005 Object To Design A Message?

Nov 3, 2009

I have program which is used to send emails. In this program I want to design a message body which contains, text, hyper links, images, draw boxes, etc. Rich Text Box object doesn't appeared to be the best object for this case. Can you suggest a good object to design "Body" part of a message?

View 3 Replies

Lifetime Of Multiple Instances Of An Object / Design Pattern?

Sep 5, 2009

having difficulty with understanding object lifetime / instantiation.I have a windows from with a datagridview and a panel. The datagridview has a checkbox column and a list of names which is populated from a database.The panel has a few text boxes (e.g. name, age, favourite sports team) and a 'save changes' button.

The idea is that when the user selects a person in the datagridview by checking the appropriate checkbox then the panel shows the relevant data for that person (name, age, fav sports team) by pulling the data from a database. If the user would like to update the person's details they can do so by typing in the textboxes and then clicking the 'save changes' button. All quite simple so far.

The way I have designed this is to have a 'panel' class and to create an instance when the user checks a checkbox.(NB - the reason I have created a 'panel' class is that I intend to replicate the datagridview and panel on other tabpages within my form and thought it would be useful to have a generic 'panel' class that I could re-use.)

My code looks a bit like this:

If CheckBoxClicked Then
Dim UpdatePanel As New UpdatePanel(MyForm.NameTextBox, MyForm.AgeTextBox, MyForm.FavSportTeamTextBox, MyForm.SaveButton)
UpdatePanel.GetData()
...

When the user clicks the SaveButton the data is updated to the database and I have a display message (simple textbox) which says "Update successful" and displays for 5 seconds before hiding itself.

Here is the problem:Suppose a user checks a checkbox, reviews the data and does not make any changes, and then checks another checkbox and decides to update the data by clicking the 'save changes' button. What happens is that the "Update successful" message is displayed twice.

I think this is because every time the user checks a checkbox an instance of UpdatePanel is created. If a I select five different people using the checkboxes and then hit 'save changes' I get five "Update successful" messages.

I am not sure how to overcome this. It feels like each time a checkbox is clicked I need to check if an instance of UpdatePanel exists and then destroy it. I tried using UpdatePanel = Nothing and also investigated IDisposable and GC.Collect() but with no luck.

[code]....

View 1 Replies

Opening Form In Design Mode - Cannot Access Disposed Object

Feb 22, 2012

When try to open in design mode a form (VB.NET), in which I have a custom UserControl, I see the message from Visual Studio:

Microsoft Visual Studio
The control MyNamespace.MyUserControl has thrown an unhandled exception in the designer and has been disabled.

Exception:
Cannot access a disposed object.
Object name: 'SplitterPanel'.

Stack trace:
OK

And the form is not displayed in designer. What to do?

View 1 Replies

VS 2008 - Can Data Binding To Object Properties Be Setup During Design Time

Feb 17, 2010

Im doing my first project with WinForms, and Im trying to get the DataBinding working. Theres no database in my project, but I'd like to bind some of the TextBoxes to objects' properties. In the other section of this forum (here) I found this line of C# code which does it: textBox2.DataBindings.Add(new Binding("Text", this.myPerson, "LastName"));

my question is can data binding to object properties be set up during design time (without writing code)? If so, how? P.S. I know how I would set up this binding if in WPF, but I'm forced to use WinForms.

View 1 Replies

Build A Class Or A Part Of A Program That Can Be Add Into Other Programs To Be Used In That Programs?

May 27, 2011

I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).

View 4 Replies

Coding Programs That Interacted With Other Programs?

Feb 2, 2010

I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..

View 1 Replies

Distributing Programs: Getting Programs To Users Who Might Want Them?

Feb 23, 2009

When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.

Sorry for not explaining it very well the first time.

View 2 Replies

C# - Start With Aspect Oriented Programming?

Mar 27, 2009

So having read some of the PostSharp documentation presented as an answer to my previous question regarding passive logging ([URL]), I am led to my next question: Where is a good place to start learning about Aspect Oriented Programming - I've done some searches on Google and I've read some articles - including the article regarding the topic on Wikipedia, but a lot of the material seems to assume you have a basic understanding of some of the terms which I seem to be missing, and that which doesn't just dives straight into integration leaving me not understanding what exactly it is I'm integrating.

Does anyone have any decent material targeted at someone who's never heard of Aspect Oriented Programming before today learn about the core concepts, terms/keywords etc? Even a birds-eye - i.e. These are the core concepts, keywords to look out for, what they stand for and how they fit together. After that, I can probably make some decent headway on my own. I'm most interested in AOP in relation to .NET development,

View 1 Replies

Draw Text Oriented Along The Direction Of Each Of These Lines?

Nov 6, 2011

I have some lines drawn in many different directions (2D y 3D enviroments). Is there any way to draw text oriented along the direction of each of these lines? It was an easy task in former versions of Visual Basic, but now it looks like a very tough -almost impossible- mission.

View 4 Replies

Css - Design A Webpage In Asp.net Design View Which Support Multi Resolution?

Nov 26, 2010

I have created my webpage in asp.net in 1024*768 resolution, my problem was that when i change my monitor resolution then the controls in my webpage will be displayed in unmanaged manner .

How to arrange items in my webpage which support multiple resolution ...

Whatever the resolution of my monitor the controls in my webpage will display as it is as managed in 1024*768 reolution !

View 1 Replies

Service-Oriented Database Stores Data Temporarily

Feb 28, 2011

I am working on a database for a program. I used the .mdf file, created a table, and tried to store data in it.I did not build the program yet. I am still using it on a test drive or debug mode.I added three records to the database.I closed the program for 10 minutes and went back to writing code for it.When I opened up the program again, the database only showed that I had one record.This happened before and after I wrote other code for my program.I only started having the problem today?Is it possible that there is not enough room in the database to store all the records? The variable sizes for 3 of the fields are 400, 500,500, and 1000 and the other fields are like 50 each.All together there are 7 fields. I encountered the error after i had made one of the fields a look up field.In this field, basically I loaded categories stored in an extra files into the comboBox so users can select values without having to retype it.

Can you tell me what the error is and how I can fix it or what I am doing wrong in the program?How do I set up another table and query it to pull the values I want for the comboBox field?

View 4 Replies

Form Design - Cannot Expand Vertically In Design View

Jun 27, 2011

I seem to have reached a limit on the size of the form. I cannot make the form longer and I need to add more fields. Is there a limit on how many fields can be included in a form?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved