Some Good Object Oriented Books?
May 21, 2009I'm looking for some good quality OO books, if any exist for VB .Net
View 10 RepliesI'm looking for some good quality OO books, if any exist for VB .Net
View 10 RepliesI never touched the crystal reports topic before but i hae been through certain articles and found that i't not hard as it sounds. however, i need names of some good books on this topic..
View 2 RepliesI'm creating a rather large and complex application and was wondering if any of you had any recommendations for good books on application and project architecture. Multi-user - database - heavy interaction with windows api for shell extensions.Not the standard maintenance or reporting app I usually write!
View 2 RepliesI begain in 1971 learning TRS-80 Model III Basic language...later taught myself Lotus 1-2-3 and then DBase. Later, graduated to Visual Basic Stopped at VB 6.0. Now I need to move up to VB 2010...I have been programming for our company for sometime and use VB 6.0 as a front end for numerous Access DB applications.Can you recommend a good book (or books) out there that can help me with using VB 2010 as a frontend for Access?..just need the basics to be able to make connections, query the tables, return the data, update data, etc.
View 6 RepliesI probably confused memory usage issues with the UI sharing same thread as the processing (as pointed out by MusiGenesis below). However regarding the Memory usage. I am still not able to find VB.net specific syntax, although people have pointed out some great .Net and C# information below (and if I were more versed in those technologies, one could adapt to make work with VB.net).The general concepts are working fine, however I am having issues where the Mem Usage on Task Manager keeps growing as the program is used to load more and more files.On Startup, before doing anything, the VB application has 27,000 K.Once the file is parsed and even after I dispose of the File handle as well as the the data increases a lot. I strip out everything in the code and it still seems that memory in Mem Usage remains captured. There is no rhyme or reason as to why the Mem Usage is growing (i.e. sometimes it can grow by 20 mb when reading a 7mb file, however other times it does not increase at all, when reading a 3mb file). Sometimes, it appers to release some memory when the parsing is complete and other times it just holds.I have looked at .Net Memory Profiler and have not really been able to make heads or tails from that.I have read a lot on internet regarding Memory Management on .Net in General about Dispose and "Nothing" and DataSets, etc, however have not really found anything regarding VB.Net specifically.My General Question is: Are there any good tutorials/books/blogs/etc that show a more in depth tutorial on managing memory in a VB.Net application (i.e. how/when to dispose/close, etc), or does anyone have some specific tips from there experience.
View 5 RepliesI try to convert vb.net code to an object-oriented design. This help page talks about doing it: [URL] I plan this:
[Code]...
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 RepliesI'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.
Is Visual Basic an Object Oriented Programming Language ?Working as a software engineer
View 2 RepliesOur 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 RepliesI 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]...
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].....
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 Replieshow 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.
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.
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.
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 RepliesI 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]....
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 RepliesAlright, 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]...
Can somebody post a GOOD and short example of serialization and deserialization of an object?Where it can produce an output to string and later be crypted for database purpose. ^.^
View 4 RepliesI 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 RepliesSo 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,
I'm starting a new project to handle info from some text files, a kind of sorting module so I'd like to give it a try using LINQ but looking for a book I realized that there are more c# books than vb, so I wonder if c# have better support or if it is more suitable than vb.
You think there is some advance on use c# or vb.
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 RepliesI have an Access 2007 database connected to SQL Server 2005. I want to use VB to create an application that will retrieve and manipulate data in our SQL database. I'm familiar with VB and I'm familiar with Access. What I don't know is how to get started creating forms in VB that's accessible through Access. Are there any books out there that will help me get started?
View 3 RepliesWhat would you recommend as the "best" VB.NET and C# books for learning Design Patterns?eferably books that actually give examples of when to use the patterns. I need torecommend some books to a group of C# and VB.NET developers.
View 19 Replieswhile creating Excel files in vb.net, all is fine, except when I want to close my PC and there are many popups to save or delete "bookx.xls". How do I prevent these blank books from being made??
View 2 RepliesI 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?
Are there any books written with the focus on how to control MS Office (Excel, Word, Powerpoint) through VB.net applications? I only have checked the book Professional Excel Development that shows a little bit on automating Excel from VB.net. I would need a much more comprehensive book (or links to web learning pages) on the issue.
View 6 Replies