Way To Have Person Using Class Specify Something

Mar 14, 2012

I am working on a class and I need to make a way to have the person using the class specify something..I think the best way would be to put an example. [code]

View 4 Replies


ADVERTISEMENT

.net - Show Display A Person's Age Automatically In Textbox Whenever A Person's Name In Selected In List View?

Jan 2, 2012

My program has a textbox and a listview. In the list view i have added three person's name, John, Kat, Adel.

How do I make it such that when John's name is selected in list view, John's age is automatically displayed in the text box?

And when Kat's name is selected in list view, Kat's age is automatically displayed in the text box?

View 3 Replies

Error : Value Of Type 'Person' Cannot Be Converted To '1-dimensional Array Of Person'

Jan 30, 2012

I have a Person class, which contains two public properties. I am trying to add items to it as follows.

Code:

Class frMain
Dim persons As New List(Of Person())
Private Sub frmMain_Loaded(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles MyBase.Loaded
GetInfo()

[code]....

When I try to use the Object Initializer, I get an error Error"Value of type 'Person' cannot be converted to '1-dimensional array of Person'.

View 1 Replies

VS 2008 Make A Third Person View Program In First Person Game?

May 5, 2009

I wanted to know how to make a Third FOV program in a First Person shooter game.

View 16 Replies

Create Two Notepad Files: Module HelloWorld & Public Class Person?

Oct 6, 2009

i am working on the MSDN tutorials through virtual labs and am encountering a problem with the very first tutorial regarding consoles. I am required to create two notepad files: Module HelloWorld & Public Class Person which I have done without errors having triple checked them. When the files are created I compile the HelloWorld.vb file and a .exe is created

I follow the rest of the steps and encounter an error when i try to compile the Person.vb file using the line vbc Person.vb/t:library/out:HelloWorldLib.dll as i am getting the following errors:

vbc : Command line error BC2001 : file 'HelloWorld.vb/t:library/out:HelloWorldLib.dll' could not be found
vbc : Command line error BC2008 : no input sources specified

View 2 Replies

What Is Unique To One Person That I Should Be Looking For?

Aug 12, 2010

All my users can click on an image button accept one.When she hovers over the imagee it does not provide info on the status bar as if it doesn't even recognize there is a image button there.ALL the other users roll over it and the info comes up on the status bar and they can click the button and it works.What should I be looking for that one user can not access this button.There is not code specific that locks her out and the ahref links on her page work but not the image button.

View 4 Replies

Make A First Person Shooter In .NET?

Aug 28, 2011

I'd like a like to write a first person shooter, I don't want to do it from scratch, I'm wondering if there are SDK's, I plan to make my own 3D models. Maps, and of course weapons, I'm not looking for multiplayer?

[URL]

View 6 Replies

Way To Stop Other Person To Use Dll In Application?

Jul 2, 2010

We are developing an application in VB.NET 2008. We break the application into smaller multiple dlls so that we can easily update the program at the customer end.We want to know that is their any way to stop the other person to use my dll in their application?i.e we want to lock the dlls such a way that the dlls will be used by us only and not anybody in their application.Also we want to block viewing of dlls code using any code reflector

View 1 Replies

App Is Sending An Email To Wrong Person

Oct 5, 2011

I am still having some issues with the issue I posted last time regardin formview not updating correctly.I have managed to narraow the problem to one sub below:My issue appears to be on this line: tbl.Rows.AddAt(tbl.Rows.Count 1, row)Anytime I attempt to update a row, only the first row gets updated. Subsequent rows don't get updated. Instead, when I click "Update", the cursor moves down to the next record without updating it.When I commented out this tbl.Rows.AddAt(tbl.Rows.Count - 1, row), I can now update each and every row. After updating the row, an email goes out to the individual advising him/her about the update s/he just made. The problem is that email is getting sent to the wrong person and that's because of that one line that I just commented out.

View 1 Replies

Calculate Age Of A Person And Dispaly It In A Label

Nov 15, 2011

i need to calculate age of a person and dispaly it in a label. for example i have a textbox, with these values, 130790, from this number it should generate my age. DDMMYY

View 2 Replies

Check If Person Is Using Correct Syntax VB?

Apr 7, 2010

I have a code its for a pc game. Basicly it scans the chat using winapi calls. I'm trying to make when I type _place ammo (a vaild type of ammo that exists in game which is located inside dim vaildammo) I want it to make sure its a valid type of ammo to be placed. I used a for each statement but It doesn't seem to work.

[code]...

View 3 Replies

How To Work On The Same VB 2010 Project With Another Person

Mar 24, 2012

Better Explaination of question: Is it possible to work on the same vb project at the same time?

I searched over google for help and I found a forum but it looked very complicated and I diden't feel like screw stuff p so can someone please give me a link or tell me how?

View 4 Replies

Usable By A Person Or Company, That Uses Databases And .NET?

Aug 11, 2009

Okay, so, for school i have a project i need to completely program by the end of next semester. My graduation project. And it needs to be a full-blown piece of software that would be theoreticly usable for a person or company.assignment was simple:make an application, usable by a person or company, that uses databases and VB.NET

so i started brainstorming and i came up with the following:a client-server application where the server runs on the company's mainframe and it's employees (seeing as it would be an IT company or another company that would use a lot of computer files) can upload to, and download files from, where each file would have a description and additional information (extension, date,emplyees would also be able to exchange private messages so that collegues of the uploader can be notifies that the file they would need is uploaded.

in addition to that there would be an administrator (or multiple) that can overview all PM's (make sure there's no abuse of the system) and administrate the files (delete/edit/...)So really, i have no idea where to begin building this application, so i would think that if i get the interface done, i atleast have an overview of what and how i would need to code.

note: wow now i think about it this seriously sounds more like a website than an application... but still it sounds like a good idea to me and has to be done or else i would not graduate

View 5 Replies

Add A Song In Background While Person Is Playing Game?

Feb 16, 2009

I made a game, i wanna know how can i add a song in the background, while the person is playing game, or if its possible, on every level, it plays defferent song.

View 1 Replies

Auto Email Coming From Person That Entered?

Aug 26, 2009

how to code the "from" portion when an email via vb.net. I could easily do "mm.From= email@domain.com"...but for this project it needs to be sent automatically depending on which user is entering the information. So I have lets say a group of 10 users, anytime a specific user sends in an update on a project form, the email is sent to the manager from the person who it's been updated from. Any suggestion? They all have specific ID's. How would I code it to where I could get the program to find them by their ID and then get their email address from their ID?

Protected Sub SendEmail()
Dim ToAddress As String = ConfigurationManager.AppSettings("AstMgr").ToString()
Dim mm As New Net.Mail.MailMessage("Engineering.Systems@exchange.nscorp.com", ToAddress)

[Code].....

View 1 Replies

Can't Separate A Single Person To Display On My Listbox

Jul 2, 2009

I have problems figuring out how to separate a single person to display on my listbox.

I am currently working on an assignment called "Douglas Resort Reservation" and we are supposed to select a query from the combo box Guest Search. For example, when I select Barb Allen, I get the info to display properly, which is good. But, I still have a problem.

When I try to click my button 'Prepare Invoice', I want Barb Allen's info to be displayed in my listbox 'Invoice'. But, now I don't have that complete. I have a whole list of items generated when I load my whole thing from my Form Load event from the textfile RESORT.TXT. I get a whole list of items instead of individualized items.

My question for you is: "How can I get just ONE name and person's information to show up?" when I press the button 'Prepare Invoice'.[code]...

View 2 Replies

Compiling A Program In VB2008 .NET So That The Other Person Can Use It Without Downloading VB?

Aug 20, 2009

I am making a program for me and I told my friend about it and they said that they would like to test it. The only problem is that they don't have VB2008, and there seems to be no way to compile my program so that another person WITHOUT VB can use it. Does anyone have any tips, or perhaps I'm missing something? Let me know ASAP

View 2 Replies

Error BC30002: Type 'Person' Is Not Defined

Jan 2, 2010

I have a class named "Person" defined in the App_Code folder with Visual Web Developer 2008 Express Edition. It was working fine when I set it up the other day. Now, I get the message "BC30002: Type 'Person' is not defined" when I reference the class in my code behind page.

[Code]...

View 4 Replies

Separate A Single Person To Display On Listbox?

Jul 2, 2009

how to seperate a single person to display on my listbox. I am currently working on an assignment called "Douglas Resort Reservation" and we are supposed to select a query from the combo box Guest Search. For example, when I select Barb Allen, I get the info to display properly, which is good. But, I still have a problem.

When I try to click my button 'Prepare Invoice', I want Barb Allen's info to be displayed in my listbox 'Invoice'. But, now I don't have that complete. I have a whole list of items generated when I load my whole thing from my Form Load event from the textfile RESORT.TXT. I get a whole list of items instead of individualized items.

"How can I get just ONE name and person's information to show up?" when I press the button 'Prepare Invoice'.and display information like this:

Barb Allen 604 777 1234
# of Adults 3
# of kids 1
Check In 2008-12-01

[code]....

View 1 Replies

Separate A Single Person To Display On My Listbox?

May 10, 2012

I need to connect to a SQL Server from a network drive, I'm unable to due to the security settings on the network drive and I'm unable to have these changed.Is there any other ways of connecting to this SQL Server?

View 13 Replies

Simple PerformClick Vs Person Clicking A Button?

Dec 4, 2009

When executing a click event on a button is there a way to know if a user has clicked or if code has executed it by a performClick in the sub that handles the click event. Maybe a change in the sender?

View 3 Replies

Validate A Textbox For The EMAIL Address Of A Person?

Jun 12, 2011

I was wondering how i would be able to validate a textbox for the E-MAIL address of a person. For example it cant have anything like "`#[]-=+->~| etc. it MUST have an @ and a .com or .co.uk at the end of the e-mail. anyway i was wondering how i would be able to program this when the user types into the textbox they cant put in any of the other symbols?and IF there is a missing @ or .com then the user should receive an error message telling them to make sure that they put them in.how would i program that on a button?

View 1 Replies

180 Day Tracker - Count The Number Of Days A Person Is On Hold

Feb 2, 2010

I need to be able to count the number of days a person is on hold. easy enough! However i need to be able to stop the expression when I enter a stop date so it would look like this "start date 1 to today= x amount of days" but i need to be able to add a stop date to end the counter. and if they go down again start date 2 to today and add number of days from start date 1.

View 1 Replies

Address Book - Storing All Person Data In TXT File

Apr 10, 2011

I want to make a program that looks like an address book (name, birth date, phone, e-mail etc) and stores all the persons data in a txt file. If I add a new person, for example, it will be added after the last person that was added in that txt file.

View 2 Replies

Changing Users - Create A Feature While The Person Is Logged In

Apr 26, 2009

Well ive created a web browser programme and created a user login form for the users to login and that works fine. Now i want to create a feature while the person is logged in, he can change users, so loging as another user whilst already logged in, for example, Admin user might be logged in and now he wants to change user to a normal user without turning the programme on and off to do so.

View 2 Replies

Extract - Retrieve Mail From Only A Specific Person Through Outlook?

Mar 16, 2011

I got the following code from codeproject.com:

Dim objOL As Outlook.Application
Dim objNS As Outlook.NameSpace
Dim objFolder As Outlook.Folders

[Code].....

Now, I got as far as making the default folder the Inbox. What I would like to do is to extend the functionality by retrieving only a specific person's emails and extracting and saving whatever attachments he/she sends. Also, I get the following error when the code reaches the Dim Atmt as Outlook.Attachment part: Public member 'Attachment' on type 'Object' not found. I need this function to retrieve the attachments. I've tried different things, but nothing's worked.

View 2 Replies

Make A Application That Allows The Person To Script Config Files?

Jan 15, 2010

I'm trying to make a application that allows the person to script config files for an open game server project so they don't have to do it manually... I'm starting with 3 groups. Those groups are "NPC NAMES", "MONSTER NAMES", and "MONSTER WALK POSITIONS"... I want the user to be able to add as many items to the group as they want... Right now I'm using a listbox, but its very messy... I want the user to be able to add items to these groups, and then add the items of each group to a .txt file.

View 5 Replies

Nd Emails When Person Receives A Personal Message On Website

Sep 12, 2009

i have to send emails when a person recieves a personal message on my website and for that i use a StringBuilder to create the HTML markup of the email.also since it is required at many other places as well i have made a Shared Fucntion (i am using VB.NET). now my only concern is that since shared functions are shared among all objects and maybe asp.net sessions, can it be possible that before one person email is being formed and another person access the same function, it would cause the data in the stringbuilder to be overwritten. currently my site doesn't have many users but can this become an issue in the future...please advise me on this...is there any better way or standard procedure to follow when using shared functions.also at one time i made the mistake of using a shared connection object and it would cause close if many people were to access it

View 3 Replies

SelectIndexChanged - Separate A Single Person To Display On My Listbox?

Jul 2, 2009

how to seperate a single person to display on my listbox.I am currently working on a homework assignment called "Douglas Resort Reservation" and we are supposed to select a query from the combo box Guest Search. For example, when I select Barb Allen, I get the info to display properly, which is good. But, I still have a problem.

When I try to click my button 'Prepare Invoice', I want Barb Allen's info to be displayed in my listbox 'Invoice'. But, now I don't have that complete. I have a whole list of items generated when I load my whole thing from my Form Load event from the textfile RESORT.TXT. I get a whole list of items instead of individualized items.My question for you is: "How can I get just ONE name and person's information to show up?" when I press the button 'Prepare Invoice'.and display information like this:

Barb Allen 604 777 1234
# of Adults 3
# of kids 1[code]............

View 4 Replies

VS 2008 Securing DLLs - Way To Stop The Other Person To Use My Dll In Their Application?

Jul 3, 2010

We are developing an application in VB.NET 2008. We break the application into smaller multiple dlls so that we can easily update the program at the customer end.We want to know that is their any way to stop the other person to use my dll in their application?i.e we want to lock the dlls such a way that the dlls will be used by us only and not anybody in their application.Also we want to block viewing of dlls code using any code reflector

View 4 Replies







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