Post A Simple Code Using VB That Start Building Simple Games?

Jun 10, 2011

Is there anyone can post a simple code using vb,that start building a simple games ?


Building A Simple Form Which Allows The User To Update The Data On It?

Apr 23, 2009

I am building a simple form wicht allows the user to update the data on it.I use this

Imports System
Imports System.Data
Imports System.Data.OleDb[code].....

View 8 Replies View Related

DB/Reporting - Simple DB Steps - Building Two Forms With One To Many Relation

Aug 4, 2009

With a 1-many relation. Ok, I have constructed the schema, and now I want to make the appropriate forms in which a user would scroll for a customer and then by pressing a button, a new form would appear showing all the orders that he has made.

I am interested in the way of building two forms that would have a one to many relation. That is basically what I would like to know. Also, Do you have any good book to suggest in order to create a real world app, in VB2008, Emphasizing in data-binding and connecting controls with underlying DB, one to many forms, searching etc.

View 6 Replies View Related

Build A Simple App That Will Start Another Program?

Jan 22, 2011

I am trying to build a simple app that will start another program.The command line that works in a dos batch file is c:program filespixellWall Controlwallctl.exe -layout=c:1.lay with my code below this works,  c:program filespixellWall Controlwallctl.exe  but the switch info above doesnt get passed, I get a run time error.

Public Class Form1
Dim layout1 As String
Dim layout2 As String


View 4 Replies View Related

Make A Simple Browser With Some Simple Addon's?

Dec 9, 2011

Trying to make a simple browser with some simple addon's. What Ive done is setup a menu(forum) for the user to enter their email providers web address and it will save it in a xml file. When they click on the email link, it should load the email xml iformation and place that info in the tb_html.text and navigate. I keep getting a null exception and im not sure what going on here. Here is the code:

Private Sub btn_Email_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Email.Click
'Load Action
Dim SavedEmailObj As Storage


View 2 Replies View Related

VS 2010 Create A Simple Stop / Start Stopwatch

Apr 15, 2012

I am a total newbie when it comes to VB but I'm starting off with a few simple projects I've completed already! Basically Ive seen MANY stopwatch tutorials but none so far have been able to do a simple format of Second and Milliseconds 00:00 and NONE have been accurate in the slightest and have been totally off! create a simple stop / start stopwatch that is actually accurate that would be great as Im going around in circles trying to find a tutorial on this!

View 23 Replies View Related

Start Windows Form Project Using Simple Text Editor?

Jul 12, 2011

I want to start a Windows Forms Project (VB.NET) using a simple text editor like notepad. I'm not interested in creating a button and other controls from scratch, I just want to know how to create a form, initializing controls without using the to use command-line to compile the whole project?

View 2 Replies View Related

Code For Simple Calculator?

Jul 12, 2009

code for calculator using

View 2 Replies View Related

Get A Simple Code To Connect .net And MSAccess?

Aug 14, 2009

provide me a simple code to connect .net and MSAccess? also provide me the details of where to find ADODB control.

View 6 Replies View Related

Inserting Simple Button Code?

Jun 9, 2010

I'm trying to do the very basic add "hello" to a button. The instructions tell you to click on the button the tutorials say the code that is supposed to show starts with "public class form1" but when I double click the button it seems to open the whole code of the template, not the button. (and no where in the code shows the "private sub button1_click")

View 17 Replies View Related

Simple Code Lookup To Get Description

Jun 11, 2011

Simple Code lookup to get Description I have a static list of Street Type Abbreviations and their associated Street Type Descriptions: RD to Road. I have the complete list needed. There are 37 elements in the list - 37 Street Type Abbreviations with their associated Descriptions. The lookup will only happen once. The input lookup field is in a single field: stType. Not trying to get fancy. but what is the best approach? Dictionary, List, two dimensional array, etc. Started with Dictionary but the .Add was getting redundant. Two dimensional array let me initialize the values, but searching an old school loop.

View 1 Replies View Related

Write Simple VB Code With *= Operations

Apr 18, 2010

I've designed a Arithmetic Calculator. I can get my additon button to work but not my multiplication button. My result total comes back as 0.


View 2 Replies View Related

Cannot Apply Simple VB Code As Service Code

Mar 6, 2011

I am currently writing a program in Visual Basic 2008 express edition to read and write to tags on an Omron PLC. I am using the DeviceXPlorer OPC Server V4.1.1.1 program to connect to the Omron PLC. I have made two programs, one is a form program which works fine, two is a windows service program where it does not let me connect to the OPC Server. The connection code is identical, the only difference is the windows service code is called by a timer. The timer works fines and jumps into the connection code, but stops at the line


View 3 Replies View Related

Code - Make A Simple Area Calcutor

May 22, 2011

I am not a computer programmer and I have never used Visual Basic before but I have to take a class about using it. I am trying to make a simple Area calcutor but what it is telling me in my book to do isn't working.

View 1 Replies View Related

Code A Simple Multi-User Chat?

Apr 10, 2010

I've created an application, And now need to add the chat feature. It just needs to be basic, But im un sure on how to code one since i am still a beginner at Visual Basic. I know there is a way via TCP Listener using Net.Sockets, But im stuck there. I am totally out of my mind when i think ill know how to code. But here is how the chat will work[code]...

Server side, Is just to host it. I will host it on a windows vps with ports opened, and Anyone who downloads the program can connect to the chat. The username or Nickname of the user will come from 'My.Settings.username'. At this point I am willing to pay someone to code this project.

View 2 Replies View Related

Create A Simple Class - ASP.NET | Dream.In.Code?

Feb 20, 2010

I recently started working with and I am just trying to create a class that has two properties one is StoreName and the other is StoreImage. What I am trying to do is figure out how to create objects using this class? Each object will be a Store that has a corresponding Name and Image to go with it. Here is the code I have written so far although I am not sure if im headed in the write direction with the function. Also not sure if it matters but I am using ASP with VB?

Imports Microsoft.VisualBasic
Public Class Store
Dim NameofStore As String
Dim ImageofStore As Image


View 2 Replies View Related

Does It Exist Any Simple Code Coverage Tools

Nov 23, 2011

Are there any free or cheap Code coverage tools I can use "ad hook" just to run my program and see wich methods that is not runned in the project for that session? Im not interrested in tools that has to use unit-tests or a lots of advanced functions. If possible just "hit'n run".Its for a "fun" event in a "programmer pentathlon". I'll get 10 programmers run a program and the person that cover most code when running it will win.

View 1 Replies View Related

Simple Code To Get Images That Doesn't Work

Nov 8, 2010

Can anyone tell me what is wrong with this code? It looks OK to me but the GetImage function returns the same image irrespective of the filename passed to it (the one corresponding with Id=2  which is the second one found) [code]

View 3 Replies View Related

Simple Map Array / Other Languages | Dream.In.Code

Sep 7, 2011

I'm using Real Studio 2011r3.It's just a simple game that's a small maze from a bird's eye view and you've got to dodge enemies and what not.But I've been told to make a map array like this: [code] I've got level1map(13,13) as an integer, and the numbers in the brackets are supposed to be ypos, xpos.Say I make level1map(5,7) as = 1, it'll make both the 5,7 and the 7,5 so that you can't walk into them.. even if 7,5 is still = 0.I could have just left something out somewhere, but I've been trying to work this out for days..Oh, and with the 7,5 will let me walk there if I walk from the left or right.. but not from the top or bottom.

View 11 Replies View Related

VB - Creating - Relatively Simple Code For An Excel Project

Oct 19, 2009

I'm sorry if this is in the wrong forum or has already been asked, but I'm having a problem creating what should be a relatively simple code for an Excel Project.  Essentially, the code is supposed to check if a certain column has Y in it and then copy that entire row onto another sheet and then move on  to check the rest of the original sheet.  This version of the code seems to do everything but actually populate the cells with the information.  Every other attempt I've made has ended with "Application-Based or Object Based Errors".  I've worked on this code for a few days now and I just can't seem to get it right.  What am I doing wrong?

Here's the code:

Sub PopulateNewSheet()

i = 2

Do While Worksheets("Main List").Cells(i, 2).Value <> 0


View 1 Replies View Related

Adding Simple Labels And Combobox To Code Not Working?

Jul 30, 2009

I have a simple poker game that deals out 9 cards into pictureboxes and shows another 3 pictureboxes that hold cards for the dealer. The code itself does what I want it to...even though I'm at a dead end with writing the code further to evaluate the poker hands.  I would simply like to add a few labels and a combobox to my form, but everytime I add something, or try to add it I get cast error?

Public Class Form1
Dim ListOfCards As New List(Of String)
Dim dealtCards As New List(Of String)


View 7 Replies View Related

Error Running Simple Word Automation Code Via VB

May 2, 2012

When I execute the code provided, Word 2010 opens and appears visible and then stops with an error: "COMException was unhandled". But if I execute the code line by line (F8), the code runs perfectly, that is Word 2010 opens, it is visible and the template is opened. The error fails (always) on the third line of code. What is going on and how might I fix it? [Code]

View 11 Replies View Related

Parse An Html Code To Simple Text File?

Aug 9, 2007

I want to catch the text from an html page.. you know that when you open any html page in the browser, you will see a text but with formatting.. because it's an html code having a lot of tags...

how to get the text from an html page and ignore all formatting and html code?


View 7 Replies View Related

Simple Code For Moving And Renaming An Image File?

Sep 15, 2010

Does anyone have a simple code for Moving and Renaming a Image File?

Here is an example of exactly what I need to do.

Ok let's presume the end user is Editing a Record named Mick's Milktart, the DataBase Table Field named ID (Primary Key) has a value of 237.The user clicks a button to add an Image to that Record.

An OpenFileDialog opened and an Image File named "NewImage.png" is selected by the user from "MyPictures".[code]...

View 4 Replies View Related

Simple Code In Vb To Open / Close USB Port (Windows 7)?

Jun 11, 2011

I need to simple code in Vb.Net for Open / close USB Port (Windows 7) ...

View 7 Replies View Related

Simple Usercontrol's Designer-generated Code Has Errors In It?

Jul 21, 2009

So I've created a very simple UserControl that is pretty much just a combo box that has US States in it and a couple properties to return the selected value as an enumeration or a string, etc.The enumeration and string values I'm using are being referenced from an external library which is working. However, when I add my user control to another project the designer-generated code has errors in it. [code] I would assume that this probably has something to do with project settings or something similar for the user control. The control itself is in a separate project and compiled as a .dll which has been added to my main project's toolbox and subsequently added to my form. [code]

View 11 Replies View Related

Teach Or Give Me A Code For A Simple Grading System Using VB '10?

Mar 7, 2012

can you teach or give me a code for a simple grading system using VB '10..?

View 2 Replies View Related

VS 2008 - Example Of Source Code To Make A Simple Notepad?

May 12, 2009

The example of source code to make a simple notepad?

View 2 Replies View Related

Describes In Simple Language And Shows Sample Code For All Of Those Controls?

Jun 21, 2010

There are so many controls, properties, etc in VB 2008 .NET it's mind boggling. I'm amazed at how much this product can do.Does anyone know of a VB 2008 .NET book that describes in simple language and shows sample code for all of those controls, properties, etc?

View 5 Replies View Related

Make A Simple Program To Convert Ascii In Its Code Format?

Jan 11, 2010

I am trying to make a simple program to convert ascii in its code format

Example: Chr(53) & Chr(53) & Chr(54) & Chr(100) & Chr(52)

to a readable format. I understand that this can be easily accomplished by writing in the ascii code into the code will do it but I am trying to create a more interactive method of doing it so I can copy and paste a long length of code into a textbox and have it update a label with the conversion.

View 6 Replies View Related

Running An VB Form The C# Code Even Simple Exit, Message Box Not Working?

Feb 22, 2012

for the any of the button in vb the c# code which is written is not working at all after running a form example: exit, message box even these also not working give me solution

View 1 Replies View Related

Interface And Graphics :: Simple Code To Detect When A Pixel Changes Color Anywhere On Screen

Aug 19, 2010

I'm trying to figure out some simple code to detect when a pixel changes color anywhere on the screen. Maybe with just a msgbox popup when it changes.

View 2 Replies View Related

Cannot Use Simple Code As Service Code?

Mar 6, 2011

I'm a rookie in Visual Basics 2008 and i am trying to make a program to communicate and read tags from an Omron PLC. I am trying to connect to the PLC via devicexplorer opc server, because it can let me read DInts and Reals from the PLC tags. I have referenced Microsoft ActiveX Datas Objects 2.5 Library and OPC DA Automation Wrapper 2.02. I have made some code which connects to the PLC "in a form", but I cannot use the same code and connect through as a Windows Service program.Here is my code,

Public Sub OpcConnect(ByRef Items() As String, ByVal PLCType As Integer)
Dim j As Integer
Dim TempSvrHandles As Array[code].....

Note: this code is run in a timer on the windows service, it connects properly to the "RSLinx OPC Server", but "Takebishi. Dxp.1" (devicexplorer shortcut) exits the sub routine at MyServer.Connect(PLCServer) ' connect to the opc server.

View 6 Replies View Related

VB 2008 & Debugging Simple Code Runs With Variable Assignments Left In Memory?

Sep 16, 2011

I'm running VB2008 on Windows 7; I've written out a ver simple piece of code:



When I run or debug the code, it asks for the First Number and then just completes the running of the program without asking for the second number and uses some random number. The console.readline() doesn't work either, the console window just disappears.

View 2 Replies View Related

VS 2010 Start Apps/Games In Panel?

Jan 8, 2011

How do i start a Game or an other application in a Panel??

View 2 Replies View Related

Finding Simple .net Code To Upload And Image From Client To Web Form Image Control And Save It To Sql Express Database?

Feb 15, 2011

find a current and  simple way to do this. I'm using VWD Express 2008 and SQL Express 2008.I'm able to get the client's path to the image file using an asp:FileUpload control on the web form.How do I upload the client's image file and display it in the web form's image control?How do I save it to the sqlserver? The image table is already set up with a "Image" data type column. Can the image be saved to the database as simply as other data types?

View 3 Replies View Related

Add Tax On A Simple Calculator?

Oct 11, 2009

I am doing a tutorial for a simple calculator. My question is how can I add code to make a botton that add my tax % to the total amount I have.

Option Explicit On
Public Class Form1
Dim firstnumber As Single


View 1 Replies View Related

Use A Simple Variable In SQL?

Nov 29, 2010

I've declared the variable (presume this is correct):



What am I doing wrong, can't seem to do anything I used to in classic ASP!?

View 4 Replies View Related

Web Application For Simple App?

Dec 5, 2010

i want to desing a simple application which will be developed on a pc but will work on a MAC.Now im guessing that if i make an app in pc vb net it will not work on a mac right? So what if i design a web application. could the mac user then use it as it is web based?

View 4 Replies View Related

.net - Simple Data Binding?

Feb 4, 2011

I have developed a form for Windows VB.Net that uses a number of text boxes that are indidivually bound to separate columns in a database. When one of the textboxes (let's call it XYZ.Text) is bound to the database, it prevents the data from any of the other bound text boxes to enter the database. When the binding for this one text box (XYZ.Text) is removed, then all the other text boxes work fine.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved