I have two "Game of Life" programs. One uses a list of points that represent the live cells, and the other uses a fixed-size grid. The one using the list of points can zoom in and out, is much more elegant in coding, and has an unlimited size grid. However, it needs to search for points in the list, and the more points in the list, the more time it takes
What events are hit before form_load in a winforms app? Somewhere before the form_load a file called .ini is created and I can't figure out where it's being created. It's just .ini with no name before the extension.
I'm trying to make a little app that displays the battery life of a notebook, and also whether it is charging or not.I've got it displaying the battery percentage and if it is running via the cable or battery alone.My problem is that I have a timer constantly ticking to grab the latest information as to whether it is still chraging, what the battery % is like, however for some reason when it first runs it get's the info but then that's it, it won't refresh the info in real time. I'm confused because the battery can deplete but the program only displays what info it got when it was first ran but if I unplug the power cord or plug it back in it refreshes that info straight away. My code is:
Public Class Form1 Dim psBattery As PowerStatus = SystemInformation.PowerStatus Dim perFull As Single = psBattery.BatteryLifePercent Dim GraphicPercent As VariantType
[code]....
The bit I've highlighted in red in my code won't work either, basically I've shaped the two labels to look like a crude battery shape and label2's function is to represent the nobly bit at the top of the battery and I wan't that to change to Lime when the battery is 100%.why it won't refresh the graphical output to the screen?
im trying to make a game in visual basic in which your character can move around, jump, and kill things. I can get the picture box with the character to move and everything is fine. but i did run into one problem. when the character moves over a tree (or something) you can see the gray backround of the character as i made in paint. how do i make the backround of the picturebox transparent?
I am trying to make a game which basiclly lets you shoot ducks. i have a picture as a background (set as form image) i then have picturebox's with ducks flying flying around you shoot them the disapear etc.
My problem is the image. i have a picture of a duck and a blue square round it. and i would liketo make it transparant because birds dont fly with blue squares.
Below is an image to illistrate my problem
I have tried adding transparent background, transparant key etc
I'm doing a project for school. I'm trying to make a game similar to the Impossible game. I need a square (picturebox) to jump but I want gravity to effect it.
I need to make a matching card game in VB 2010. i have generated my cards but now need to show the cards for 10 secs then change the cards to (AppPath & "Cards ed.png"). then when a user clicks on the card the card will flip over.*How would i set a timer to turn all my cards into*(AppPath & "Cards ed.png") after 10 secsbut still have the values from the array and when i click the cards they flip over (from red card to numbered card)
Code: Private Sub Place() Dim Counter As Integer = 1 For Row As Integer = 1 To Int_Grid_Size
I'm having 2 problems with my game. 1.) Upon initialization, if I select multiplayer, the buttons are still disabled. I have to refresh to get it to work.
2.) When I'm doing single player, my AI is not working right. When the AI picks its square, it still lets me choose a square with the AI's symbol as if I'm playing a multiplayer game. I even specified in the AI sub class that turn = 1 when the AI's turn is done, meaning it should be my turn.
I'm trying to make a 2D game in VB. As a first step I'm going to make a playing field (a form) on which I will put a character. The character should be able to move up, down, left, and right when you press the arrow keys. How do I start off with this and what should I start off with learning?
I already know the basics in how to make normal apps with buttons, text boxes, labels and so on but I don't quite get how I should start off with something like this.Also I wonder about XNA and VB.Net. Can you use them together or is XNA only for C#? I found some stuff while googling suggesting that XNA for VB.Net had been released.
When my picHero enter a room where a picEnemy exists I should make the picEnemy follows picHero no matter how it moves up, down, right, left and as picHero is moving 5 px i want to make the picEnemy moves 4 px. I've tried to do use a condition as Code: if(picEnemy.location.X <> picHero.location.X) then location = new point (picEnemy.location.X+4, picEnemy.location.Y) picEnemy.location = location endif Also for the Y axis, but it didn't work.
I am making a simple blackjack game for school.It involves using object arrays and for next loops.I have 5 labels for the player, and 5 labels for the dealer. I have both their totals displayed on the form. I also have a deal, hit and stand button. I also need to follow the rules of if the dealer >= to 17 they must stand and if the dealer is < 17 they must hit. Does anybody have any suggestions on how i can code the dealers turn.I already made it so the player clicks hit and when he/she is done clicks stand. This is my stand button so far:
lblTotalDealer.Show() lblD1.Show() Dim itemarray2() As Label = {lblD1, lblD2, lblD3, lblD4, lblD5}
i have zero programming knowledge and wanting to learn programming from seeing people making bots for online games, i always seek the knowledge if things and wonder how they do them, even though its pretty useless motive lol i just want to know what knowledge needed to making bot for online game am learning know VB.net 2008 got visual basic step by step book for 2008, i was searching for online game hackers forums and hear them type things like hooks, packets sniffers , etc , so what things do i need to learn beside visual basic 2008 to make bots for online game? i wonder how can i connect my program to other programs
How could I start making a Go game? I just need some logic for it, and maybe some code, and then I can do the rest. How can you tell if an area is enclosed, which areas on the board are full, etc.? I also need ideas on how to find infinite capture/retrieve cycles.
ive tried playing with the code, references, settings, resources but cannot get this code to work Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Startgame.Click Dim ss As String = Startgame("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft",
im currently making(or trying) Turbo Tanks from vb Express edition 2005 and I cant get my tank to move a full 360. I can only make it move 90degrees make a object move 360 and btw is it possible to actually make this game from VB 2005 [URL]
I'm not real sure how to even ask this question... but here goes.I'm using VB2005 and DirectX 9, D3D. It is 2D isometric display.Here is what I CAN do. Create a map grid. Draw each tile out and present the map on the screen. (ISO) I can even scroll around using the arrows and mouse at the edge of the screen. - I can click on the map and get the X,Y coords of the tile I am on.... look up the grid to see what is supposed to be on this tile.The only game coding experience I have is using windows forms controls... I've done a few dozen of them. Dice games, card games..
I am creating a game for my 2nd year of uni. I have no idea why my lecturer wants me to create a game in VB.net using Direct X and not C# XNA but he does, so i have to abide by his rules.I am in no way mathematically advanced enough to create my own newtons physics so i wanted to get an engine to go into my VB.net code.Is this even possible?, im totally new to all of this physics stuff.does anyone know of any VB.net engines out there? and how do i link this engine into my code?
My game is
A 2D blob of water has to navigate itself up and down a set of obstacles, if it falls from a specific hight then it will explode and loose a life. It needs to be able to jump a determined hight also.
I'm making a Library type app which needs to scan the whole computer when it is run for the first time. Not again ever. How can I accomplish it?I'll be using SQL database to store data. So, I can easily make a table there and store a flag and check it on first run, but is there any other way? Any native support for this in VB.NET?
i have used vb to create some simple forms but my latest project has got me beat. The company i work for has just upgraded to Terminal Server 2008 and some of our old programs need administrators rights to open but i do not want to give all 200 users the administrators password, So i wanted to know is there anyway i can create a exe with vb.net that will run a .lnk file (located on all users desktops) as administrator.
IM not looking for clink once. Do to its not customizable. What im looking for is something like App Life but that allows custom forms to be used. Or even a tutorial on how to run an update the program. Such as a patch if you will. Does any one know a free program that allows this?
I want to make an ingame menu. When you open a game a menu will pop up with a hotkey. I don't need you to do the work for me I just need a sample of a ingame menu with a hot toggle (ie: the menu doesnt need an interface, a black square that pops up with key).
How would I make a 3D game (With Blender models), in Visual Basic, with a chat, and you can see other people?(Like see other people walking around, and if someone pulled out for example a sword, you would see that)