VS 2008 Make Program Forward Port 2303 For UDP So That Game Will Work
Jun 19, 2010
I'm trying to make my program forward port 2303 for UDP so that my game will work without the user having to forward their ports manually every time they want to play.I've searched and come across this C# code but I keep having problems converting it to VB.Net:url...
I am not sure which method that I should use for my project. I would like to get bypass the port forward to avoid the 3rd party software such as packet sniffer to pick up the connection details.
If MouseButtons.XButton2 Then CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoForward()End If I've tried this code under Form1_load, but it's not working. I didn't make my browser using the webbrowser control, for the record.
Im gonna make a program to a webbrowser game. There is a captcha, there with pictures of cars. i need to compare these two pictures and i want the result of equalnes in PERCENT. So if the picture are 75% equal then it click on the picture.
So my question is, I'm wiriting a VERY basic dice rolling program for my computer programming class in high school. I'm using a randomize function to generate numbers but I only want it to do numbers 1 - 6....how do I do this?
Dim x As Integer Randomize() x = CInt(10 * Rnd())
Dim Y As Integer Randomize() Y = CInt(10 * Rnd())
That is my code for my x and y (each die) to generate code, but how do I make it do 1 - 6 ONLY? Develope a game that in which a player rolls two dice. Each die has 6 faces. Each face contains 1, 2,3,4,5,6 after the dice have come to rest the sum of the spots is calculated, if the sum is 7 or 12 on the first throw, the player wins. If the sum is 2,3, or 11 on the first throw, the player loses, and the house wins. If the sum is 4,5,6,8,9,10 on the first throw the sum becomes the player's point. To win, a player must roll the dice until the plater rolls the point value. The player loses by rolling a 7 before rolling the point. I also have another question, How would I set this up to keep up with points and stuff? and the part that says "The player loses by rolling a 7 before rolling the point." I have no clue what to do on that. I'm not asking for code hand outs. I'm just asking what functions and such I'd use to write the code.
I'm not positive if this should be here or in graphics so I'm sorry if I'm posting it in the wrong section.I'm trying to make a program for the game Go. Now before getting upset that I want to make the game go I just want to say that I have looked for months for this specific thing and I still have yet to find it. I want to make something to simulate go so that two people can play on the same computer. The problem I ran into was capturing stones. Stones are captured when surrounded and then they are taken from the board. The problem is that I don't know how to make the program know when a black stone is surrounded.
I have thought of a grid detecting but the possibilites on a 19x19 area are too high for anybody to sit down and program. I have also thought of using picture boxes and the edges to detect other pictures, but there are ways for stones to group together and the opponent must surround all stones to capture them.
I completed my VB project a while back and it worked great in XP.Now the same program is needed on computers that have Win7 installed.The program installs without any problems, but when I open it, it gives me an error saying the database is not accessible.
I used Visual Studio 2008 and SQL Compact to design the project.The database was included in the project and in the installation file. I also checked the Programs folder and the database was installed correctly into the correct path.What is the problem with my programs compatibility with Windows 7?
From all the chat applications I successfully made each and every one of them required me to port forward my router so that the data can be received. Now my question is how can I make my chat program work on computers that have routers with most of the ports blocked, how do traditional chat programs do it? Perhaps The chat program intercepts packets then sends it to a known port such as 80?
I am developing a VB.Net application. That application might be working on a LAN. MS Access as a backend will be used.
I have developed many single user applications, but don't know of multi user , LAN, manage DB etc. How do I make the program as Multi user on LAN. Data will be accessed at the same time. How to mange such things.
I want to know how can I make a program what will work in any type of resolution & monitor. For example if I make an application fullscreen it will work. But problem is that text boxes or another things will not work properly. For example if I make a program & make it fullscreen for 1440 * 900 resolution it will work fine when it will get 1440 * 900 resolution. But when it will get different resolution like 1280 * 1024 or something like that it will make my application fullscreen but buttons or another things will not be present there in same place. So what should I do to get rid of this problem? All I want to make a program what will adjust itself everywhere(though you change resolution or monitor like 17 inch or 29 inch whatever it will work & buttons & another thinks will be there in same place).
how to make my progress bar work depend on the program processes. if my the process take a long time to end, the progress bar will work the same else if the process work for a short time, it work the same also.i've made this code so far
'for the timer tick sub ProgressBar2.Value = ProgressBar2.Value + 1 If ProgressBar2.Value = ProgressBar2.Maximum Then
how do i make an installation wizard so that the program would work on the client machine ( pc or laptop not server ) so that the client doesn't need to download .net framework separetly ?
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 have have to make and design a game in visual basic 2008 for college i also started colleage late... i dont kow how to start my game. the way the game is blackjack (21)
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'm trying to make a little game using VB .NET 2008 Express Edition.The game is comparable to the Everybody Votes channel on the Nintendo Wii (if anyone has ever seen it). You can submit questions to a online database. Then, if the question is accepted, users can vote on it and other accepted questions. The questions are on a timer and when it hits a certain point (after a couple of days or so), the questions can no longer be voted on and the results are displayed. Since the details of the users account, the questions and the results would be in a database online, the program would also track some fun little aspects of their voting habits and stuff.
Onto my question though, how difficult would it be to pull something like this off? Especially for someone with no experience using an online database with VB .NET? I'm not foreign to the basics of VB .NET by any means, I've taken several courses with it in college and worked with offline Access databases, but taking it online is something completely new to me.
I was looking at this example: Basic TCP Communication I was really amazed by this piece of code however it only works in WLAN. I was thinking if its possible to make the same program over internet not the same router but which can be connected to two different countries or any other place except the same network?
Actually I have created a very simple game called whack a mole. In which buttons appear and the user has to click it before it disappears. however I am trying to make it multiplayer over the internet even if i have to create a server from my PC. I dont know if its even possible. The other player should also get the same screen as the user who hosted the game just like real time.
I want to make a program that enables a game to have more than one instance running, where it would otherwise be unable to be done. How should I go about this? A sandbox? Hack?
i have the following code which runs ok, but it hogs upto 95% of the CPU.program outline: a timer tick event = 1000ms scans through 30 readlines of data on the comport for a specific line of hex, and then extracts information from the next line and converts it to decimal for viewing on the screen.i've only included the main part of the code to try and keep it simple.
Public Class Form1 Private WithEvents serial As New IO.Ports.SerialPort Public grab As String Public cardIndex As Integer
On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.
Code: Public Class Form1 Dim Myturn As Integer Dim Computerturn As Integer