Make A Leader Board?
Apr 28, 2011
i have made a pong game and it is relatively simple, but i want to add a timer to time how many points you loose with in 5:00 minutes. then i want to make it save to a form where the user can view it. the code i have used so far is
Public Class Pongmain
Dim speed As Single = 10 ' Ball Speed
Dim rndInst As New Random() ' Random instance
[code]....
View 2 Replies
ADVERTISEMENT
Jun 29, 2011
I am trying to make a turn-based board game that will be run on multiple computers. I am writing the game logic and design in VB. I searched for a little and could not find the information I was looking for. One question I have is, will I need a server if there will only be 2 players. Also, what language should I use to write the server side code.
View 1 Replies
Jul 5, 2011
I have a number of programs written in VB.NET 2010 that load and run on every computer I've tried them on. This week I replaced my mother board with an IBM mother board using a Pentium 4 running Windows XP Pro. I install the programs but as soon as they start to run, they immediately shut down. If I run them in Visual Studio 2010, they run fine.
View 2 Replies
Aug 20, 2011
I am trying to create a high scores board - currently i was experimenting with just typing a number into a textbox and having it automatically order the numbers (in labels) from largest to smallest however i cannot get them all to work. either just the first and second (label) works or the second and third display the same number or the second decreases in value even though it shouldn't[code]...
View 7 Replies
Dec 30, 2010
I'm newbie in VB and in my project I need a refresh loop to check an input usb board... everything runs well but I want a 100 ms refresh without button click needed[code]...
View 1 Replies
Oct 2, 2010
I need to control this terminal Board and I have absolutely no idea if this is can be done. This board is connected to the PC Via PCI Card. Can we do that using .Net Framework?
View 7 Replies
Aug 6, 2009
What I want it to do is, as I'm typing the word, that it highlights it on the board using the button(x,y).doclick sub which highlights it. Right now my implementation finds the first letter, then keeps trying each letter until it meets the 8 corner condition (ie it is neighbored to the last one) but this does not always work. If there are say 2 "G"'s on the board and I want the bottom one, this will not work. Can somebody give me an example of psuedocode
View 1 Replies
Dec 3, 2009
I am trying to catch key board events with the form keydown.
I am able to capture all the keydown events except the "Enter" key. When the enter key is pressed this code does not even fire.
Private Sub FrmMain_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
Select Case e.KeyCode
[Code].....
View 2 Replies
May 30, 2010
We learned How to assemble an input/output control board that would connect to your serial port. We were able to use out statements (back in the old gwbasic) to send output signals to the parallel port to turn on/off different outputs. The board had connections where you could connect lights, relays, etc, and had connections where you could attach switches and sensors.
I have been looking for something simple that I can manipulate in my programs. I already have an ActiveHome X10 interface which includes an activex for receiving and sending x10 signals (home automation, turning lights on/off, etc.). I want something that I can straight out connect relays to, and sensors as well. I don't want something that connects to the serial port since that is already being used up, the parallel port would work fine, or even better usb.
View 6 Replies
Mar 18, 2009
I am making a variation of the board game Trivial Pursuit. I am having trouble moving my piece around the board. The board is a circle divided into 32 squares, that are coloured. I am wondering how to get the players pawn to move around the board if it is a circle. They have to move according the the number they role on the dice. I have the dice rolling and finding numbers, but its the moving i'm having trouble with
View 1 Replies
Jan 2, 2012
I'm currently developing a chess program. In my program, the problem I'm currently having is the slow drawing of the initial board. Here's part of my _gameGraph.DrawImage(MyResources.Marble_White, New Rectangle(x, y, 70, 70)) The code here draws the black & white squares using a for/next loop. I later use another for/next loop on the array holding the piece values, which uses the same type of function to draw the pieces on top of the squares. Both the pieces and the squares are .PNG images.
[Code]...
View 18 Replies
Jun 12, 2011
I am trying to control the security board using the Windows Firewall which connects to my server that was made in VB.Net. My only problem is when I open the Windows Firewall my server crashes. It also displays this error: "Error, win%fir%90y4e does not support this server. upgrade you version of Winsock.". So I upgraded myself to the latest Winsock that there is out there. After doing so I try again and my server still crashes, but this time with a different error. The error this time was the following: "Error, no client is available for win%fir%90y4e. try again later.". What do I do?
View 5 Replies
Jan 9, 2010
I'm in the process of making board game created into a pc game. It will be a 2-d basic board game. What I'm looking for, how to move pixels a certain space. I'm not all certain on how the game is played but right now I'm just wondering how to move a picture certain number of spaces. This will most likely be based on a dice roll I'll create later.
View 6 Replies
Apr 20, 2012
is there a way to capture or to save the story board animation to media library in windows mobile? Currently i am working with an animation which changes the image for every second. How can i save this into a video format??
View 1 Replies
Nov 2, 2009
I have this codes here whereby my objective is to develop a writing network applications of programming, a means of sending data to a message board(messaging system). My problem is I couldn't connect it to the server's IP address and port num to send a data through a message board. However I could only display at Form2 txtReceive.
Text = HexConvert.Data_Asc_Hex(sData),
Whereby this code could only convert whatever data(txtSend) that is being typed in, could then convert hex decimal into a textbox(txtReceive). The final result that I would want to achieve is to be able to display the at the textbox(txtReceive) is the <"message protocol"> & <"hex message that is being typed"> & <"parity bit"> into the txtReceive box.
Form form 1, my codes are....
Imports System.Net.Sockets
Imports System.IO
Public Class Form1
Const portNo As Integer = 1234
Dim client As TcpClient
[Code] .....
View 2 Replies
Jan 27, 2011
I have a problem with something.I have a Arduino board I wan't to communicate with by serialport.
In "Form1", I'll retrieve values from the Arduino board, and I want it to calculate and display data in TextBoxes.How can I do this?[code...]
View 8 Replies
Jul 18, 2006
Currently, I am using a VB.NET to generate an interface for the user to update parameter of a PCB board MCU. However, I found that some data might be having a problem while transmitting.
Previously, I am using a chrW() to change the transmit data before put into the MyRS232.Write(), however, some data have corrupted or changed while I transmit. The signal show the checksum is wrong while sending the set of data.
After I use an oscilloscope to check the signal transmitted. I found out that, when I sent the data is between &H80 to &H9F (&b 100* ****), the signal will change to &H3E (&b 0011 1111). Anyone have any idea why this happened? Now the temporary solution I found for this one is I use a chr() instead of chrW() for the data between &H80 to &H9F.
[Code]...
I am using another function ChrWt instead of Chr or ChrW only. I remember that, I change from Chr to ChrW because some data corrupt also while I sent using Chr only. Did anyone of you having this problem as well? Any suggestion instead of using another function?
View 7 Replies
Feb 20, 2009
I would like to build inputs and outputs interface board (if you have schematics for the hardware or where I could purchase such thing) I need 9 inputs and 8 outputs, 24 volte DC for the inputs and I want to build a form in visual basic that utilizes the serial port so for example when I press Button1_Click it will make output number 1 goes high in the board and when input 9 goes high in the board label9 or Button3 will change color in the form.
So basically the IO interface and the form will only be used to energize relays and monitor these relays. I am not worrying at this moment about if this input is high make this output high but if this is possible in visual basic currently running Visual Studio 2008 Express.
View 7 Replies
Aug 20, 2011
I am trying to design a highscore board that displays scores in order based on the label (after countdown timer) from another form.i want it to ask the player's name and automatically assign the name to the score and stay together even when being shifted (eg when a new score appears)currently i have designed a form to display in order, numbers typed into a text box.this is my coding so far
Public Class Form1
Dim lstInt As New List(Of Integer)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load[code]....
View 11 Replies
Oct 5, 2010
I keep track of a score system for all users in a sorted list;
dim Scores as new sortedlist(of string, integer)
I can easely increse points for a cirtain person by;
scores("peter").value += 1
Now I need to display a top x list of the users, if users have the same score, it should sort alphabetically on the name. Of course it's also possible that users have the same score.I've already tried to make a new sorted list with as key the score, and added to that score the username. Later when displaying the scores, I've replaced the username with nothing. The only problem in this solution is that the numbers are sorted on asci value which has this order:
0
1
10
2
3
4
Also, if you make a sorted list like this:
dim Scores as new sortedlist(of integer, string)
You can't have two people with the same score... So, there must be something possible with the iComparer to sort on integers right?
View 12 Replies
Jul 18, 2011
i am working on chatting application in which i developed a white board having pencil and and eraser using JQuery. Now i want to show this board to the online users accessing this page. What would be the best approach to so?
View 1 Replies
Jan 26, 2010
the rules are that same coloured blocks of two or more can be removed by clicking on them. blocks then slide down from above. if a column is empty columns other columns move in from the sides.when someone clicks on the green blocks in the bottom row the columns should slide in from the sides. columns to the left of the black line slide right and on the right of the black line slide left. so in this case only the two rightmost columns should slide from the right to the black line after removing the green blocks.The problem i am having is in designing a suitable algorihm to do the collapsing after the removal. my current approach is to test each column from left to right to see if it is empty. if it is empty then i slide whatever column is to the left (if left of the black line) or to the right (if to the right of the black line) over the blank column and repeat this in the direct i am sliding from
View 1 Replies
Mar 14, 2012
So i am working on a GUI for a game (just some messing around in VB.net tho) and i came across the following problem. The board of my game consists of a 70*35 grid of RectangleShapes on which i can move around. When i start my program it renders the board from right to left on the screen and i have serious lag when i try to move around on it. I know you'd normally use double buffering to reduce flickering, but that didn't do anything (unless i'm doing it wrong).
This is my code:
Code:
Dim player As Player = New Player
Dim board(70, 35) As RectangleShape
#Region "Initialisation"
[CODE]...
View 6 Replies
Oct 15, 2011
My some problem for vs 2008 in mobile applications How to learn mobile device board serial number in vb 2008?
View 2 Replies
Apr 7, 2011
I am trying to do a game application similar to chess, where i need to move the game peaces(graphics) over another graphics which is the game board. using the mouse. How can I do multiple layers of graphics and control their movement(without using direct x, i know nothing about it)? Note: I have visual basic 2010 express, windows xp home
View 1 Replies
Jun 6, 2009
I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?
View 5 Replies
Aug 29, 2009
can we make code which can make copying a file in a particular drive invalid/access denied?
View 3 Replies
Oct 16, 2011
A few years ago I have been busy creating this application but it didn't succeed, now Im coming back to it and similar problems occur. Basically I use SetPixel on a given window to draw a line, work fine, but the line goes away as the window redraws itself.The problem: I have been putting timers and threads on it to make sure the line is being drawn. Is there any way to make a loop to make a certain thing happen about 10-30 times without taking in too much memory/CPU?
View 7 Replies
Jan 13, 2010
Public Class form1
Private Sub btnAnswer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAnswer.Click[code]........
how can i make vb realize that the side that is opposite of the given angle, has to be less than the other sides. Also im not sure what Acamar meant by If txtAngleA.Text <> "" AndAlso txtAngleB.Text <> "" AndAlso txtSideA.Text <> "" Then 'two angles and a side Because im not sure what <> does.
View 1 Replies
Aug 23, 2009
How do i make my button open a program and make it windows size?
View 6 Replies