Connect To Irc But Completly Stuck At Sending A PONG Back?

Nov 11, 2009

i'm trying to connect to irc but im completly stuck at sending a PONG back when i get a PING.i have tried to put an if statement checking if StreamR.readline = PING and then sending PONG + the value after ping back, but i just cant seem to get those numbers from ping.

[Code]...

View 6 Replies


ADVERTISEMENT

Smtp :: Sending Back To Back Emails?

Jun 17, 2011

We are having problems with sending back to back emails on one of our web sites. The site is built with .net framework 2.0.We can send the first email without any problems on every try. But to send a second email you need to wait about 20-30 minutes.the problem.One thing we tried was changing the smtp email server. We tried a third party smtp server but the same problem persisted. So I think the problem is not with the smtp server but with our .net code.

Imports Microsoft.VisualBasic
Imports System.Net
Imports System.Net.Mail

[code].....

View 1 Replies

Sending Information Back To Original Creator Of Program?

Jun 15, 2009

Is there anyway you can send information back to the original creator of the program? Here is a quick example- I made a little program that gives you general information about your computer, when you click a button it sets the text box to specific information. One of the text boxes gives you the Version of your OS. I would like to know if there is a way to send the information in that text box back to me when someone clicks it and they are connected to the internet. FYI I would tell the person who clicks it before so that I am not stealing information, plus what is there to steal from a simple program I made.

View 2 Replies

VS 2010 Sending Input To Website, And Receiving Information Back?

Aug 19, 2009

I've created a simple licensing system for a friend who has created visual basic programs which he sells at a few dollars each (they're speciality programs).The licensing system is coded in PHP (I'm a PHP coder), and the system requires the user to input their license key upon start up, if there is not already an activated key (which is created in a .txt doc)

View 2 Replies

VS 2008 Completly Remove From Resources?

Jan 17, 2010

Ive noticed when i remove a resource and replace it with a file with the same name , it prompts me "would i like to replace the file thats already in the resource folder" , so obviously its not completly removed

View 4 Replies

Backup Clipboard Completly And Restoreback When Required?

Jun 11, 2010

I need to perform following operation in my application[code]...

View 6 Replies

Pong Using Keyboard?

Jul 14, 2011

I am trying to create a pong game. I have read and understood the tutorial on this website which I have also read the topic on this forum that has asked about using the keyboard in pong.This is the type of code they used which works:

Private Sub frmPong_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyValue = Keys.W Then

[code].....

View 1 Replies

Key Down Event On Pong Game?

Mar 22, 2009

I successfully coded my up and down key so they move a paddle in a game of pong, however, when I press and hold up or down, the paddle will movie but has a delay before it starts to move. Is there anyway to remove this key press delay easily?

View 5 Replies

Adding Features To A Pong Game?

Apr 16, 2010

I actually found a fairly good pong tutorial on this site which I've linked to at the bottom of this post. I used the code as my base and I'm starting to implement my own new features. I'm currently working on making the ball move faster after each hit of the paddle, but I can't get it working! I thought it would be as simple as adding 1 to the 'speed' variable during the test to see if the ball has hit the paddle. Doesn't work! I also tried various other methods, including adding an extra timer to the form and having the speed increase a certain number every tick on the timer. Didn't work! Is there some special way that I need to reference that variable in order to manipulate it? Code below.

[Code]...

View 1 Replies

.net - Duplicating Effects: Dreamweaver Pong Easter Egg Beep?

Dec 28, 2009

I don't want to actually MAKE the pong easter egg, but for anyone with Dreamweaver, try typing 'dreamweaver' into the color selection box to play a round of pong.The bit that I want to know how it works is the bit at the end once you lose.After your loss, it will immediately play a small tune, whether or not your volume is on. In fact, it plays whether or not you have speakers, which makes me think the sound card itself is playing the tune.How can you achieve a similar effect, playing notes without sound or speakers, in vb.net? I would imagine this requires P/Invoke, seeing as there is no obvious way inside the framework.I don't need a whole song, a simple beep or the ability to change frequency of the beep will suffice.

View 1 Replies

Approach Affects Rebound - Creating The Classic Pong Game

Oct 8, 2011

I am currently creating the classic Pong game in VB.Net. I have a few questions regarding angle of approach and rebound.

For example if the ball hits the wall at roughly a 30 degree angle then it should roughly bounce off the wall at ~30 degrees. This is my first query, how would I achieve this as I cannot figure out how. It is currently bouncing the ball off the wall by altering ballXspeed and ballYspeed by 5 or -5.

My second query is that of the ball hitting the paddle, if the ball is to hit to top 0% - 5% of the paddle it will bounce off at a different angle opposed to if the ball hit the paddle in the 15% - 20% zone of the paddle.

Here is my code in its entirety:

Public Class Form1
Dim ballXSpeed As Single
Dim ballYSpeed As Single
[CODE]...

I understand that you cannot do the work for me and I don't expect you to. Would it be possible for help with the pseudo-logic or a particular area. I forgot to mention that the ball currently bounces off the paddles at a random angle.

Hence:

ballXSpeed = -5
ballYSpeed = New Random(DateTime.Now.Millisecond).Next(-10, 10)

View 1 Replies

Sending A HttpRequest Back Down A HttpRequest (proxy)?

Mar 14, 2011

I have the following code:

With context.Response
Dim req As HttpWebRequest = WebRequest.Create("http://www.Google.com/")
req.Proxy = Nothing

[code].....

View 1 Replies

Doing Some Restapi And Stuck On Something

Aug 7, 2009

I doubt anyone has specific experience related to this particular task, but maybe you can spot my problem. I'm trying to make a call to lithium (forum software) to place a vote in their poll, and their docs show this:[code]I'm not able to successfully register a vote and they say it's because the poll.choice param is not appearing in the header, but if I step through debugging, I see it in the Header Keys/Items just fine.

View 1 Replies

Back To The Previous Page On Click Of Custom Back Button?

Aug 25, 2010

I am using an image button and on click of it i want to go to visited page.Now i am using - Response.Redirect(Request.UrlReferrer.ToString()),It is going to previous page, but when i am in a page of some user details where the link is looks like - users.aspx?userid=25 and i visit some other page and click back(image button) i want to see the same userdetail page. How to track that.

View 2 Replies

Passing Back Lisbox Values When Going Back To Previous Page?

Jul 23, 2009

I have a search page with a couple of pulldowns. Dependig on the values of them I show a grid matching the searched criteria, basically a table with links the user can navigate to. My problem comes when the user wants to navigate back. At the moment I have a "Back" button which simply redirects the user to the initial search page. I think it would be a good improvement to have the values of the pulldowns filled in with the values the user selected, this way when he presses the "Back" button he would not have to restart the whole search process again.

View 5 Replies

Get My Toolbox Back To Normal - Can Put It Back On Auto Hide And Such

May 31, 2009

I'm not sure what I did, But I would like to get my toolbox back to normal where I can put it back on auto hide and such.

View 3 Replies

NetPay Variable Is Stuck On 0

Apr 20, 2012

I'm completely stomped with the payroll program I have created. The NetPay variable is stuck on 0 and I went through step mode to try and fix it. No luck so far. Additionally I'm trying to turn the whole numbers, that the users input into the form, into percentages(such as 10 into .10, 25 into .25 ect..). Tried 1/x and (x * 10^-2) [code]

View 3 Replies

Stuck Understanding OO Concepts?

Dec 14, 2010

so i have a class called FOOTBALL,then another 3 classes/forms that inherit FOOTBALL, they control score (SCOREBOX), possession (POSSBOX), and quarter (QUARTERBOX).the FOOTBALL class has 4 variables, "score" (array of 2 ints), "teams" (array of 2 strings), "possession" (boolean), and "quarter" (int)after that i have another form called MAINBOX, which creates new instances of the 3 classes (SCOREBOX, POSSBOX, and QUARTERBOX) (like this: private scoring = new SCOREBOX)... however they all technically create their own FOOTBALL classes, so I cannot connect them.

View 4 Replies

Stuck With An Odd Stack Overflow?

Oct 27, 2009

I'm writing this program in Visual Basic .NET to organize different fields of data, and I'm using profile slots through application settings to store the data for users. But, I ran into a stack overflow error in my SlotSelect.vb class. My best plausible guess for why this happens is that I'm using the wrong kind of variable container in the below sauce code, but my dilemma is that I don't know what specifically is going wrong.The code that the vshost is saying is the cause for the overflow was written from some code that I looked up on MSDN and other places for referring to objects in other classes, and I tried using other variants of it to see if it was any different. So far, nothing has worked, and it doesn't stop the error while compiling, much less in the code markup--it only catches it when it starts the application in debug after it finishes building

View 7 Replies

The DateTimePicker Stuck Form?

Mar 11, 2010

i am using Visual Studio 2008 and VB.NET 2008 and SQL Server 2005 as the database. I just finished designing & writing codes for a customer's contract information and , however after it has been connected to the database only one of the datetimepicker can be click, (i put 2 datetimepickers to find date interval) and the rest of the function including in the form are not working! it seems that the form stuck and NOT responding. i cant even close the form using the X button, so i have to stop the process using compiler (visual studio 2008), however if i press the 'Delete' button before the 'Add' button, it will successfully delete the data..

View 4 Replies

Variables Are Stuck At An Assignment Of Zero?

Feb 27, 2012

I've got one for you. I am working on a program that calculates the cost of a trip given a specific price of a Workshop say "Handling Stress for $595" the length of the workshop say "3 Days" and the city the workshop is in say "Austin for $95/day" now the issue i am having is that for example my NumDays variable (the variable for the number of days of the workshop) is not taking the value. Ive ran a Watch on the variable and it stays at 0. It also displays zero. i have assigned it an integer so it should be working if I assume correctly.

[Code]...

View 4 Replies

VS 2008 Stuck In One Big Loop?

Aug 12, 2010

The problem is that the code is in a loop which i'm not sure how to stop.The need the text file to read all the file extensions.So i start looping through all the files in a folder.The other problem that happens is that i also need to loop through all the files in the folder so that i can compare the string line and the string X. So the final result is that my program is in one giant loop.

[Code]...

View 2 Replies

VS 2010 IM STUCK On Structures

Sep 15, 2011

These are the instructions. Create a Visual Basic program that reads in baseball player information from a form and holds all of the player information for an entire baseball team (20 players). A baseball player consists of a first name, last name, number, position, and batting average. The form should contain 3 buttons Add Player, Display Players, and Exit.

[Code]....

View 6 Replies

Programs Without Sense But Stuck On New Program?

Apr 7, 2010

Im new to programming and I started by grabbing some code here and there from various internet sites. I made some little programs without sense but Im stuck on my new program.

[Code]...

View 6 Replies

Still Stuck On Multiple String Search

Jun 18, 2011

I've used an OleDbAdapter to connect to a MS Access database with about 17 fields. I want to be able to search between 1 and all 17 fields for return(s). I have been able to search 3 fields so far (so all 17 will not be a problem), but all 3 fields must be completed or an error occurs (FileNotFoundException was unhandled).[code]...

View 9 Replies

Stuck At The Error NullReferenceException Was Unhandled?

Mar 25, 2011

Private Sub btnSendMsg_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSendMsg.Click
Dim con As New OleDb.OleDbConnection

[code].....

View 1 Replies

Stuck On Socket Message Receive?

Feb 19, 2012

My client program gets stuck on NetworkStream.Read even though the server is reporting it's sending the message. The client and server are running on the same computer.Full server code (console application)

Imports System.Net.Sockets
Imports System.Text
Module Module1
Sub Main()

[Code]...

View 1 Replies

Stuck Trying To Convert A String To Decimal?

Aug 1, 2009

i'm a little stuck with a personal project, i'm interfacing a MiniBee usb output card to my pc and having a few code problems, i am trying to control outputs 1 to 8 which requires a decimal number that relates to the binary pattern of the ouputs if that makes sense i.e

1 = output 1 on
2 = output 2 on
3= output 1 and 2 on
etc etc

So, i figured the easiest way to individually control outputs was to use public boolean vars Out1 to Out8 so i can use those anywhere in the code and use a form timer to trigger the updating of the output

So the bit im stuck on is i've done a test using 8 checkboxes to set Out 1-8 as true/false

[Code]...

View 7 Replies

Stuck Trying To Create An Async Method

Oct 8, 2010

For the last week I've been trying to create an async method. I tried the MSDN article How to: Implement a Component That Supports the Event-based Asynchronous Pattern but it does the work in a method in the same class. The work I'm doing is a lot more complicated and is its own class. The problem I'm having is the class doing the work cannot post the progress or completion as the methods that handle this stuff is in the parent class.

View 2 Replies

Wait Cursor Is Stuck On For A Numericupdown

Dec 13, 2010

The wait cursor cannot be changed for a numericupdown for which i have a _valuechanged private sub.

how to set it to the normal cursor?

View 1 Replies







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