Write A Single Program That Uses OOP Concepts?

Mar 11, 2010

I am very new to VB.NET coding..My manager assigned me to write a Single Program that uses OOP concepts like Abstraction,Encapsulation,Inheritence and Polymorphism.As there is a time limit.

View 1 Replies


ADVERTISEMENT

Forms :: Write A Program For A List Box Having 10 Items In That Just By A Single Click On One Of The Item?

Dec 6, 2011

how to write a program for a list box having 10 items in that just by a single click on one of the item it should be written on the button if a list is containing notepad than by clicking on the button it should open the notepad?

View 2 Replies

Write Data Inputs To A Single File?

May 13, 2010

I am trying to write the inputs retrieved from a form into a single csv file. The code that I currently have creates a new csv file everyttime I click the upload button. Is there anyway that I can alter my code to save all the data into a single csv file? [code]....

View 3 Replies

Write Small Single Function Wrapper?

Jul 15, 2009

I am looking to write a small application that will mount an image using imagex and show a progress bar as to how much of the image has been mounted.

View 2 Replies

Write All Actions's Latencies To A Single File From All Objects?

Feb 3, 2011

I have a really modular application in which modules interact with each other for many, many tasks. Lately I have been making some changes to fix some bugs and some processes are now taking longer (not making the application unusable though).I now want to log the times it takes to perform each action, also taking into account interactions with other objects, to identify where is it taking long. This logging code would most likely be temporary. So, the question is: How can I write all these actions's latencies (or timeStarted and TimeEnded perhaps) to a single file from all the objects?

View 2 Replies

Write Code For Single-answer Multiple Choice Tests?

Nov 28, 2009

I am struggling to write code for single-answer multiple choice tests (i.e. Choices A, B, C, D).

View 11 Replies

Write An Application That Performs Common Systems Tasks From A Single Location?

Feb 26, 2010

I am wanting to expand my programming knowledge base and the only way I know to do that is to actually do stuff. I am wanting to write an application that performs common systems tasks from a single location. Just simple things like deleting text files, maybe displaying drive space, etc. In order to even begin to do this I have to understand more about the my.computer class in VB. Does anyone have some good info that breaks this class (and possibly related classes) down hierarchically? MSDN offers a lot of info but doesn't really give a lot in the way of explaining how certain classes are interrelated.

View 5 Replies

.net - Stop Using Asp Concepts In Asp.net?

Sep 30, 2010

I get the feeling I am still using asp type scripting techniques in the script below instead of proper asp.net scripting...

If this is true, how do I do the below the proper .net way?

<%@ Page Language="VB" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>

[Code].....

View 2 Replies

Does VB Support OOPS Concepts

Aug 12, 2010

Does VB Supports OOPS Concepts?

View 1 Replies

Stuck Understanding OO Concepts?

Dec 14, 2010

so i have a class called FOOTBALL,then another 3 classes/forms that inherit FOOTBALL, they control score (SCOREBOX), possession (POSSBOX), and quarter (QUARTERBOX).the FOOTBALL class has 4 variables, "score" (array of 2 ints), "teams" (array of 2 strings), "possession" (boolean), and "quarter" (int)after that i have another form called MAINBOX, which creates new instances of the 3 classes (SCOREBOX, POSSBOX, and QUARTERBOX) (like this: private scoring = new SCOREBOX)... however they all technically create their own FOOTBALL classes, so I cannot connect them.

View 4 Replies

[2008] Mixing Different Concepts Together?

Mar 15, 2009

This is my first post as I don't like to ask questions without making sure I've exhausted all other means. I'm new to VB2008 and programming in general but I'm learning. I want to do several simple tasks. Doing each separately is easy but when I put them together I don't know what to do. For one thing to work all the code must be changed and everything else doesn't work.

1. Plot a graph of data from a DAQ. I can do this by using a Timer1_tick method and displaying the data on the linegraph as long as the timer is turned on. I've decided to stick with this method of acquisition. I want to acquire data for long periods of time (perhaps 3 hours) so a timer is pretty good. No problems here.

2. Apply a filter to remove noise from the plot dynamically as the data comes in so that I get a smooth curve instead of a jagged graph. I know I can do this with for loops if I'm using an array. But how do I do it since I'm using a timer? Here the problem begins.

3. Log every piece of the filtered data that the timer is getting to be exported to a CSV file. I learned how to do this with do loops but not with a timer or array. But I really need to use the timer this time.

4. Acquire statistics for the data like maximum value, minimum value, and average value dynamically as the data changes. I know how to do this with an array of data after all the data is acquired. But How do I do this with a timer while the data is still being collected?

5. Monitor the data coming in to execute an alarm (Or event, like stopping the acquisition) when the data coming in has plateaued and is constant (eg: The voltage I'm monitoring starts to become constant and becomes one constant value) - Ok I don't know anything about this.

6. Execute a mathematical operation on the data that has been acquired (post acquisition) like finding gradients and such. Basically this means "How do I now manipulate the data I have and where is this data stored?"

Here's my starting code that gathers data with a timer. How do I work from here?:

Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As
System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Timer1.Enabled = False

[code]....

View 3 Replies

[VB 2008] Merging Different Concepts Together?

Mar 15, 2009

I want to do several simple tasks. Doing each separately is easy but when I put them together I don't know what to do. For one thing to work all the code must be changed and everything else doesn't work. I want to:

1. Plot a graph of data from a DAQ. I can do this by using a Timer1_tick method and displaying the data on the linegraph as long as the timer is turned on. I've decided to stick with this method of acquisition. I want to acquire data for long periods of time (perhaps 3 hours) so a timer is pretty good. No problems here.

2. Apply a filter to remove noise from the plot dynamically as the data comes in so that I get a smooth curve instead of a jagged graph. I know I can do this with for loops if I'm using an array. But how do I do it since I'm using a timer? Here the problem begins.

3. Log every piece of the filtered data that the timer is getting to be exported to a CSV file. I learned how to do this with do loops but not with a timer or array. But I really need to use the timer this time.

4. Acquire statistics for the data like maximum value, minimum value, and average value dynamically as the data changes. I know how to do this with an array of data after all the data is acquired. But How do I do this with a timer while the data is still being collected?

5. Monitor the data coming in to execute an alarm (Or event, like stopping the acquisition) when the data coming in has plateaued and is constant (eg: The voltage I'm monitoring starts to become constant and becomes one constant value) - Ok I don't know anything about this.

6. Execute a mathematical operation on the data that has been acquired (post acquisition) like finding gradients and such. Basically this means "How do I now manipulate the data I have and where is this data stored?"

7. Know any good free linegraphs with autoscaling?

Here's my starting code that gathers data with a timer. How do I work from here?:

Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As
System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
Timer1.Enabled = False

[Code].....

View 5 Replies

C# - Use The Multithreading Concepts And Deadlock Concept?

Mar 27, 2009

I will connect with one database from several machines. In all machines they need to insert the data in single table. In that time: how to use multithreading and deadlock concepts? Using the MySQL database and also MS Access.

View 2 Replies

Forms :: Any Way To Implement Inheritance Concepts?

Jul 4, 2009

I m new to vb.net need some ideas about how to implement inheritance concepts in vb.net

View 1 Replies

Game, Unable To Grasp Certain Concepts?

Jul 1, 2010

Ok, I've researched for hours about classes, creating classes, creating obj's of that class, but every tutorial I've seen has either talking about things that are different from what I'm doing, or they were written with the assumption that I understand X or Y. What I want seems simple enough but it's just not clicking. Here's what I'm trying to accomplish:

1. Player chooses from a list of characters
2. That character has specific attributes (power level, experience points, ect..)
3. When entering the combat page, the specific attributes are displayed in text boxes
with respective labels.
4. When battle is over, experience points are handed out and saved in player class.

It's probably laughable to some how simple this is but I'm really struggling with it.

View 1 Replies

Same Project Concepts And Funtions But Different Outputs?!

Sep 12, 2010

I started programming 6 months ago, Visual Basic is kind of easy and I made lots of programs. Now I am confused now. I have a serious problems about DLL's but I didn't made them but I knew how to make use of them. Okay I have 2 programs and one was having a problem and other one has no problem, they have the same framework, same code, but they have problems.url...

View 12 Replies

Vb Figthing Game Concepts/Thoughts?

Jun 11, 2012

Recently I decided it might be kind of neat to make a "fighting' game in Vb similar to a Mortal Kombat or Street fighter style game. If I understand everything it should be mostly collision detection and a lot of animation? What does everyone else think?

View 2 Replies

[2008 Express] Merging Different Concepts Together

Mar 15, 2009

This is my first post as I don't like to ask questions without making sure I've exhausted all other means. I'm new to VB2008 and programming in general but I'm learning. I want to do several simple tasks. Doing each separately is easy but when I put them together I don't know what to do. For one thing to work all the code must be changed and everything else doesn't work.

[Code]...

View 1 Replies

Write A Program To Write In A Xml File?

Sep 14, 2010

I want to write a program to write in an xml file in this format:

<?xml version="1.0" encoding="utf-8" ?>
- <Orders>
<Item id="1" SKU="998123" Description="Super Widget" Quantity="100" />

[Code]....

View 2 Replies

Convert Single Instance Program To Network "Multi-Seat" Program

Apr 26, 2012

I have developed some programs for processing and issue-coding electronic documents. I am teaching myself how to work with SQL Server because I want these programs to work with electronic documents imported into SQL Server as opposed to messing around in a folder stuck on the desktop, for example. From there I want to expand on the program so that it is a network enabled program.

[Code]...

View 1 Replies

VS 2008 Write A Program To Create A Shortcut In The Startup Folder Of A Different Program?

Jun 15, 2009

how i can write a program to create a shortcut in the startup folder of a different program. So i have one program on my computer that should run at startup, i just need another program to create a shortcut to it, and then copy this shortcut into the startup folder.

View 20 Replies

Write A Program For VB Class That Consists Of A Resistance Checker Program?

Sep 20, 2010

i have to write a program for my VB class that consists of a resistance checker program. I've searched like a madman to help me through this and I have found nothing >. The program consists of 2 combo boxes, the first one is the nominal resistance drop down list of the numbers :100, 150, 220, 330, 470, 680, 820 and 1000. The second list is of the tolerance numbers; +/- 0.4%, +/-0.6% and +/-0.8%. Now what i want to do is select a number from the first combo box and select the tolerance level of the second combo box and i input the resistor of said value into the text box. when i click the check resistor button it should display a message saying if the resistor is in or out of tolerance. For now I have the form all laid out and the values inputted into both combo boxes and i can go to run the program i am able to select said values. Now my problem is trying to get the right code so that i can check the resistors value.

View 2 Replies

Read And Write To A Python Program Through Program?

Aug 10, 2011

I am currently making a GUI for Minecraft Coder Pack. MCP works off a system of batch files that launch python programs. I want to be able to read and write to these cmd windows throught vb.net. So that I can tell when a process has finished or to answer a yes, no question i nthe python program, with a gui from vb.net[code]\...

View 1 Replies

Write A Program In Program That Works In Windows ME?

Jan 24, 2011

How do I write a vb10 program that works in windows me. I am getting an err message saying MSCOREE.DLL expects a newer version of windows.

View 3 Replies

Error: A First Chance Exception Of Type 'System.NullReferenceException' Occurred In Click Game Concepts.exe

Nov 29, 2011

Here are parts of my

Dim setting As My.MySettings
lvl As Integer
Dim xp As Integer
Dim xpt As Integer

[code]....

I have done the settings as type integer and set the values that I wanted but I get this error: A first chance exception of type 'System.NullReferenceException' occurred in Click Game concepts.exe

View 10 Replies

A Program The Finds Element By ID With A Single Click?

Jun 2, 2011

Is there a program where i can launch a website, click on a button or textfield and it will give me the getElementByID? I searched around for this and i have found nothing? Why doesn't this exist? I am writing a program that will enter information into a copiers web interface for scanning. The problem is the copier's web interface uses Java and XML. I cannot get my program to enter the information into the apprioate field because i cant find the tag to reference it! its very annoying, this is the last stage to my program.

View 1 Replies

Convert Single Column Of A DataTable To Program?

Aug 22, 2011

Using VB.NET, what is the most concise way to convert a single column of a DataTable to a CSV? The values are integers, so I don't need to worry about character escaping or encoding.

View 1 Replies

Program Deletes Either A Single Folder Or Multiple

Feb 24, 2012

So I have been working on this small project for a little while now Basically I need this program to be able to delete a single folder or multiple folder depending on the text in the textbox.So far, I can do the single file just fine, this is the code for that.[code]Simple as it sounds...I haven't figured it out...then again I am pretty new to VB, being I started programming in it literally 2 weeks ago.I am guessing that I have to set a variable for the textbox...which leads me to believe I need to use something other than a textbox to do this...I was thinking of using a DataGridView...I not sure how I would make it check if there is anything in a cell then delete it if there is.

View 13 Replies

Select A Single Object Using Linq In Program?

Mar 18, 2011

I have done a lot of searching to what appears to be a simple LINQ problem but I can't figure out how to do grab an object out of a collection that has a specified minimum (or max value) without resorting to a sort like this[code]...

View 3 Replies

Validate Two Textboxes At Single Button Click Using Program?

Nov 22, 2010

How to validate two textboxes at single button click using vb.net ?[code]...

View 3 Replies







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