VS 2008 ComboBox Programming?

Sep 24, 2010

I am not sure if this is the right area but I am new to Visual Basic and what I am trying to accomplish is creating a combobox in visual basic 2008. I have made the box and put in the list i needed but programming it to what I am needing is not working right. What I am looking for is the proper code when selecting an item in the dropdown and clicking next it will run an application (most are going to be .bat files). Like if I select Admin Batch in the list and hit next it will run admin.bat or if I select Printer Install then click next it will run printerinstall.bat.

View 9 Replies


ADVERTISEMENT

Best Programming Language For Programming Windows Applications?

Jan 28, 2012

I have recently taken a liking to programming, and have programmed a few games in C#,my friend has asked me to program an application for him to use in his shop. But I have no idea of what language is best suitable?

View 8 Replies

VS 2008 Combobox Properties - Make The Combobox Not To Be Able To Write Yourself?

May 13, 2009

I have completed my project and i have one remaining thing to settle... I want to make the combobox not to be able to write yourself. for example there are 4 options ,"A","b", "c","d".If i type w in the combo all the project is ruined!i want not to be able to type at all to prevent this...Which property should i change?

View 5 Replies

VS 2008 Parallel Port Programming In Vb 2008?

Jan 5, 2011

I am trying to access the parallel port and want to on off an LED connected to the parallel port. i have read from different tutorials and write the code. but it is not working.

vb.net

Option Strict Off
Option Explicit On
Module InpOut32_Declarations

[Code].....

View 21 Replies

MAC OS Excel 2008 VB Programming?

Apr 17, 2010

I have designed a application in MS Excel 2008 on Windows XP using Visual Basic Application (VBA).Each and every thing is going fine on my side.My client is using MAC OS and MS Office for MAC. When i deployed my application to Client end one serious problem comes arise.

The problem is that when my client is opening this project he is getting it into the Design Mode.

[Code]...

View 2 Replies

Programming Hexadecimals Using Vb In Vs 2008?

Jun 17, 2009

im programming this group of hexadecimals this group of hexadecimals are connected to a serial port(drag out from vs 2008 tool bar) so dat the serial port can trigger on or off

however i only need to change a certain portion of the hexadecimal...

View 3 Replies

Socket Programming In .NET 2008?

Jan 25, 2008

how to do socket programming in VB. I'm using VB.NET 2008 and i'm a novice but with a reasonable understanding of programming so I want to learn by examples and understanding it in a novice/intermediate point of view. Essentially, I want to create a simple TCP or UDP client that can connect to an IP and port and retrieve the stream for parsing of content.

View 5 Replies

VS 2008 Socket Programming?

May 4, 2010

i'm currently using my computer as host and client.. i ran the program and the console application for the server started.. but how will i be able to run the form application for the client? can VS run 2 programs at the same time?

View 6 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

Programming In VB 2008 Comb Box For Taxes?

Apr 26, 2010

States =
Dim decNeb As Decimal = .0684D
Dim decKan As Decimal = .0645D

[code].....

View 1 Replies

VB 2008 Console Beginner Programming?

Jun 12, 2011

I have been working on this all weekend and can't figure out what I am doing wrong. The objective is to collect 3 numbers from the user then display to them the numbers they entered, the lowest number entered, the highest number entered, the total, and the average. Can someone review this and tell me what I am not getting?

[Code]

View 3 Replies

VB 2008 Programming Projects For IT Class

May 27, 2010

I have encountered on my project that was due in 2 days ago. I have created a form that will not display correctly. Here is the assignment and what I need to accomplish. Major issue the display bill box.

[Code]...

View 4 Replies

VS 2008 - Create A Programming Language Using VB

Aug 21, 2009

Is it possible to create a programming language using vb.net?

View 4 Replies

VB 2008 Integer - (.exe) Execution File Programming

May 31, 2009

I am using Visual Basic 2008 and currently having a coding problems. I have coded a simple game in which I have energy that I can upgrade by 1 point on each click of a button. And so, when i start my program, it always loops this same coding without the need of another click on the button. It keeps looping until it gets to 999 then it stops sending the messagebox and lets me continue using my program. This is an (.exe) execution file programming.

Coding :

Private
Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[CODE]...

View 4 Replies

Ask Code In Visual Basic 2008 For Calculator Programming?

Oct 18, 2011

Build calculator using visual basic 2008

View 1 Replies

Communications :: [2008] Socket Programming - Receive / Send?

Mar 6, 2009

I realize this is a broad question, but how do I recieve / send packets. I know what packets I need to send and what Im going to recieve, but I dont know how to send / recieve them.

View 8 Replies

IDE - Calendar Programming And Database Linking - VB 2008 / Access 2003

Jul 21, 2009

The Calendar control (the Month Calendar) control in VB 2008. I am creating an attendance timesheet and I want the Calendar to color each date differently like e.g An employee Paul is selected from a list.

On the calendar I select the month. (The dates are not supposed to be selectable). Then lets say it is June. He is late on the 1st and the Second, so those days are supposed to be colored red (the whole block). Let's also say he is absent on the fourth and so I want that date to be coloured black. How do I do this? I tried finding a query and my friend told me that this functionality is not available in the current control and that I was best off making my own control (???).

I have tried selecting specific dates and bolding them (there is a function that allows this) but I am stumped trying to find two different ways to differentiate colours. Second:- How do I link a calendar with an Access Database?

View 10 Replies

Asynchronous Socket Programming Vb 2008(.net) Again Server Should Able To Send The Data To Client

Feb 2, 2011

I am facing problem in asynchronous socket communication.

1)I wanted to perform connect(from client to server) operation on enter button and send the data whatever client want to send and disconnect from server. And again client should get connect to server whenever client wanted to send data. this is the mechanism.

i.e how to reuse the socket.

2)Again Server should able to send the data to client.

View 5 Replies

Game Programming :: Creating A Hangman Program Using VB 2008 Express Edition?

Nov 30, 2008

Basically i am creating a Hangman program using VB 2008 Express edition and need some help.I would like some help on when a user is entering a letter for the word how can i make it so for example if the target word is "MAX" and they enter "M" i would like the lblstatus to update as "M--" obviously i would want it to be able to do it with all 3 letters.

View 2 Replies

Programming Login - Developing A Windows Application Using Visual Basic 2008 With A SQL Server Database

Feb 26, 2011

Iam developing a Windows application using Visual Basic 2008 with a SQL Server database. Throughout the program I give the user as many options as possible and have no problem with either the database or the windows forms. The program does not initially require a Login and I want toprovide the User with the opportunity to add a Login to the system. The default Login form is perfectly satisfactory.

The problem is that I can't figure out how to program the change sothat the Login from isopens the program rather then th form designated as the StartUp form. this forum I am able to prgrammatically change the form but I can't figure out how to make the requirement a permanent factor. I tried using a Constant, but if the User wants to change, you can't change the constant. Its an apparantly simple yes/no situation but if I set a varable to yes and then change it to no the next time the program runs, the change will be lost.

View 6 Replies

Game Programming :: Programming Such As OOP ?

Oct 30, 2011

I avidly create games in VB.net. Being a hobby programmer I give my games away for free. Since I'm a hobbiest without formal training I do try and educate myself on proper programming principles and follow them when programming such as OOP. There are however some things I have obviously missed being self-taught that perhaps I would know if I were formally educated. Once such issue that has really been my bane is how different classes (from now on referred to as objects) 'know' about each other WITHOUT programming specific interaction.

Okay imagine this, you have a space game and the following objects

[CODE]...............

Now each one of these objects has a Health, X,Y and Z private members and properties that are all inherited from clsSpaceEntity for argument sake. Now one way of programming collision between them would be to code out the following logic in the main game loop

[CODE].........................

Now this might seam okay if your talking about the simple example above but some of my games have tens or even HUNDREDS of objects that interact in this basic way. Is there a way in OOP to do the following... for each thing that inherits from clsSpaceEntity check against every other object that inherits this type (except itself) and if they collide then reduce health next? This sort of ability for a type of objects/class or whatever to be 'aware' of another and how they are the same/different and interact would save me tonnes and tonnes and TONNES of coding.

View 1 Replies

VS 2008 - Two Combobox With Properties

Nov 14, 2010

How to do this two combobox with properties

View 7 Replies

VS 2008 - How To Add Data To Combobox

Jan 5, 2011

I have 2 forms: form1 has a combobox form2 has a textbox for new names and a button to add

Basically I want to be able to type in a new name in the textbox and click add to add the new names to the combox in my form1.

View 13 Replies

VS 2008 - Loading In To Combobox

Jan 12, 2012

Im using this code to try and load in to a combobox from a table called tbltest and i keep coming across this error

[Code]....

View 8 Replies

VS 2008 1 ComboBox Is Not Comunicating With Other?

Sep 11, 2009

I'm back and needing your help again I have 2 comboboxes 1 has List of all the googles available on net

[Code]...

Like I said no matter what I select from my combobox 1 where list of all my google is it always brings back same list

View 1 Replies

VS 2008 Combobox All Of Them Have The Same Items

Dec 4, 2009

i have 6 combobox and all of them have the same items. the items are random numbers. the problem is that i want the user to select a number from the first combobox but i dont want him to select the same number from the second one or the third. I hope you can understand what i mean.

View 3 Replies

VS 2008 ComboBox Display?

Jan 25, 2011

I have a drop-down ComboBox, where the values are a range of indexes, followed by a key value. So one line looks like:01 : 01010101010101010202020202020202

I have set the ComboBox up so that on the form, only "01 :" is displayed, but the DropDownWidth allows the entire string to be seen when the dropdown arrow is clicked.However, once that is done, I am left with "0202" (the last four characters) showing in the ComboBox, rather than "01 :" until the control loses focus. How can I force "01 :" to display?

View 4 Replies

VS 2008 ComboBox Duplicate?

Jun 11, 2010

I'm new to VB and as every beginner i've begun with a browser, i've added a combobox that records the current url of the website and adds it to a "history" combo box, the problem is that when i go on a site once, the site name shows up multiple times in the combobox. I was wondering if there is a code to only add a certain value only once,

Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As
System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted

[code].....

View 3 Replies

VS 2008 Custom ComboBox On A DGV?

Jan 30, 2010

i have a list object that i am displaying on a dgv, most of the properties are straight forward but it contains a list within it. I am trying to display some of the properties of the list within a combobox column for the dgv but what i end up with is an identical combobox for each row which contains all the info for the entire list of items. here is the relevent code which constucts the combobox column.

Public Class frmJobs
Private Sub DataGridView1_RowsAdded(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewRowsAddedEventArgs) Handles

[Code].....

View 2 Replies

VS 2008 Get Combobox.valuemember?

Apr 11, 2010

I have a combobox and am binding it to a table like this...

vb
AccountsAdapter.Fill(AccountsTable)
AccountsComboBox.DataSource = AccountsTable

[code].....

View 6 Replies







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