Making A Messenger - Program A Slight Delay In The Computer's Answer?

Jan 15, 2010

I'm working on a project where I make a automatic messenger from VBnet. I want to program a simple one that responds to certain words or phrases. However, I only know the rough basics of If...Then commands. I have a lot of problems:

1. How do I make it so the messages typed in the box actually goes up into the script box when I press send?

2. How do I program a slight delay in the computer's answer?

3. How do I set a name to the computer and to me?

4. How do I make the script goes into scrolling when it runs out of space.

5. If possible, when I type an equation in the box, can I program the computer to solve it and display the answer? I'm a beginner so I don't really know the overall organization of this project. However, I would like it to remain as simple as possible.

View 4 Replies


ADVERTISEMENT

VS 2008 Have Noticed That A Form's Keydown Method Has Slight Delay First Time Hold Button

May 20, 2010

I have noticed that a form's keydown method has a slight delay the first time you hold a button. How do I get rid of it?

View 3 Replies

Communications :: Chat Program - Debug LAN Messenger - Computer Actively Refused The Connection On IP/Port" And Then Crashes

Jan 17, 2009

I have a simple chat program i have made, it works but with a few errors.

1st if it can't find the physical pc it is trying to connect to it crashes.

2nd if it finds the physical server but not the program (server) running it says "the computer actively refused the connection on IP/Port" and then crashes.

Code for connect button:

IP = txtboxip.Text
Port = txtboxport.Text

[CODE].....................

View 11 Replies

Making A Messenger Client?

Jul 14, 2010

i am trying to make a messenger client which will work like alerter or similar, so far i have decided to to make two applications,

1) which will send messenger,(sender)

2) which will accept msg and display a alert to user using msgbox.(receiver)

i have started coding receiver, i am using port 6000 to listen to messenger.so far i have made code to listen to port(open/bind/listen)but now i am not able to figure out how to display messages to user received on that port.

Dim RecieveSocket As Socket
Dim PortListen As Int16 = 6000
Dim address As IPAddress = IPAddress.Parse("0.0.0.0")
Dim endpoint As New IPEndPoint(address, PortListen)

[code]....

View 4 Replies

Time Delay - Make GUI Program To Delay Before The Next Command

Dec 21, 2009

I know that time delays have been covered before around almost everywhere. however a method that forgoes forcing the GUI to become temporarily non-responsive, is all but a myth, or at least to my findings. i have the need for a GUI program to delay before the next command, however using the current method, detailed following, it causes the desired effect however it dose make it much less polished as when you click anything else on the GUI it goes un-responsive for the directed time. [Code] make a sub called say Tdelay( milseconds as integer) and have it run a loop as many times as the milseconds variable indicates and each time making the thread delay for 1 milsecond and then update the GUI/form in some way, then re-loop.

View 7 Replies

Making Quiz - Assigning Point Value To Variable Depending On Answer

Nov 15, 2010

I am thinking is to have a question, then between 2-4 answers, and depending on the answer a point value gets assigned to a variable, but then when that one question is answered you can click a button that moves to a next page type of thing with a new question on it. I think I could probably figure most of this out but when it comes to switching to a different question I am not sure how I would do that.

View 11 Replies

Create An Instant Messenger In Program?

Apr 29, 2010

I am manually entering IPs still as the IP variable.

My error is occurring within the RecieveData() method near the bottom and has something to do with threading.

The message is getting through, but will not display in the rich text box I've made to display it in.[code]...

View 1 Replies

Program To Sit On The Right Bottom Of Taskbar Beside Msn Messenger?

Feb 12, 2009

i want my program to sit on the right bottom of taskbar beside msn messenger, clock

View 2 Replies

Capture Instant Messages Of Msn Live Messenger In Program?

Jun 17, 2011

How to captures instant messages of msn live messenger.How to captures(keystrokes)form live conversion of msn in vb.net.how to create the txtfile of that capture keystrokes of that instant messeges of live messenger MSN.

View 1 Replies

VS 2010 Instant Messenger/Social Network Program?

Feb 14, 2012

And i'm trying to start a Instant Messenger/Social Network like XFire, so I would like to know questions like,How would I get started? I know and like VB but is that too simple, i'm learning C#/C++ also Would I need to host a server?

I would like it be able to do:Instant Messanging A home screen with you to able to launch programs Be able to check if a user is offline or online and what game they are playing A buddy system

View 2 Replies

Program Giving Wrong Answer

May 7, 2009

I'm currently creating a maths game for primary school children and have questions based on addition, subtraction, division and multiplication.I tried it out yesterday and if I type in the correct answer, I get told it's wrong, but if I type in the in the number I'm dividing by, as the answer it comes up as correct. How do I change this so that the correct answer is actually the correct answer?

View 2 Replies

Quiz Program - Asking Five Questions With Yes Or No Answer

Mar 19, 2009

I'm trying to make a quiz application with Visual Basic at the moment. I want to write a routine that asks five questions to which the answer must be either Yes or No. It must add up the number of Nos and if the number of Ns is less than two then print out "pessimist", otherwise print out "optimist". So far this is the design of what I've done. [URL]. However, I have no code which I've produced on my own.

Code:
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
End Sub
End Class

I really don't know how I can kind of add up all the results from each individual question, seeing as radio buttons are used.

View 2 Replies

VS 2010 Developing A 'question-answer' Program?

Sep 3, 2011

developing a program in Visual Basic 2010 to help with my study in school. I would like to develop a program whereby the user is asked to input the correct answer to a question; if the answer is correct the next question comes up if it is incorrect the user must try again until the correct answer is given. I would like to have quite a few questions (around 50).

View 6 Replies

Create A Program To Detect When A Message Is Received In Windows Live Messenger And Alert The User?

Sep 11, 2010

I was just wondering if there was a way with, using VB.net, be able to create a program to detect when a message is received in Windows Live Messenger, and alert the user?Essentially, MSN is minimized in background and our program, Program A, is also running in backgroung.Friend X sends us a message, the MSN icon blinks as usualy, but also a window pops up and shows the name of the user and the message.I was just wondering if there was a way to connect to MSN in some fom to be able to do this?

View 1 Replies

Making Vshost Eat All Computer's Cycles?

Jul 5, 2011

Something I have done is making vshost eat all my computer's cycles. Anyone know a procedure for determining where the hangup originates?

View 5 Replies

Make Program To Calculate Textbox1.text And Show The Answer In Textbox2

Dec 22, 2011

I am working on bit more advanced calculator, but I cant figure out how I can make my program to calculate textbox1.text and show the answer in textbox2

For example: (textbox1) 5*62+4
(textbox2)314

I'm not sure this question belong in this topic, but I don't know where else it should be?

View 16 Replies

Got A Slight With Bounce Application?

Dec 21, 2011

im glad i found this forum i have a task set from my tutor and i have some of it working,what it is, is i need to make an object (in this case a text box) bounce off the walls of the form, it has 4 transitions as followsTransition 1 - moves up and to the right Transition 2 moves down and to the right Transition 3 moves down and to the left transition 4 moves up and to the left i have transition on1 and two working but i can not get 3 to work here is the code so far

[Code]...

View 2 Replies

Delay Program Without Freezing?

Oct 8, 2010

how do I delay my program without freezing? I am sure there is another way to do this without timer.PHP uses sleep(). What do VB use?I tried some Delay or Sleep function but don't seem to work..

View 28 Replies

Set Or Create A Delay For The Program

Jan 26, 2010

how to set or create a delay for the program i have created. i'm using a barcode reader to deteck the libraryidno, it shows prompts when i just typed the characters in the textbox but if i use the barcode reader it doesn't prompt any message box because of the fast response of the system..

[Code]...

View 7 Replies

Making An Interactive Computer Survival Game

Jun 2, 2010

I was thinking about making an interactive computer survival game, such as the Rainbow Survival levels in Little Big Planet. I was wondering if there was a tool i could use to create the objects, such as the character, explosives, bombs, and point bubbles. i know how to make all the objects move, i just don't know how to create them to begin with, is there a certain tool in Visual Basic 2008 i could use?

View 4 Replies

How To Transfer Files From 1 Computer To Computer With Program

Nov 18, 2010

how to transfer files from 1. computer to the computer with the program made in visual studio 2008 (visual basic)

View 3 Replies

VS 2008 : Delay Function Without Freezing Up The Program?

Aug 16, 2009

im looking for a way to have my program wait a certain amount of seconds before it goes on to the next command, ive tried the sleep command but that freezes up my program and i cannot let that happen, ive heard of using timers as a delay but i don't really know how to do that.

View 4 Replies

Making EXE File - Installation Not Needed But Open Automatically To Other Computer

Jan 7, 2011

I'm using vb.net 2008. Just want to ask how to make exe file? Installation not needed but open automatically to other computer.

View 14 Replies

VS 2008 Slight Jump In Graphics In The First Couple Of Seconds?

Aug 25, 2009

My application (MDI if that matters) has what appears to be a very quick jump/shift/jerk (lots of descriptions of it) in the first minute that the application is running. I have tried double buffering all the forms...

View 3 Replies

VS 2008 - Getting Delay In Data Appearing When Opening Program

Dec 20, 2010

I am puzzled by a delay in my data appearing (sql sever) when I open my program. (this can be around 5 to 6 seconds). If I open it a second time it appears instantly, have I done something wrong, or not done something. I have connect to a MS access database that connection is instant always.

View 12 Replies

VS 2008 Setting A Delay - Allow Another Form To Load After My Program Display's

Feb 28, 2010

I need a way to allow another form to load after my program display's an introduction cut-scene without loading the form in the middle of the cut-scene. Sort of like a delay.

View 2 Replies

Get An External Computer's Computer Name In Program?

May 2, 2012

This would be easier if I were able to have the external computer get its own name and just pass it to a web service as a variable, but I'm not able to do that right now. There are a variable number of computers from several different entities that regurarly access a web service on one of our servers. Changing only some VB.Net code on the server and nothing at all on any of those external computers, how would I be able to get their names programmatically in VB.Net?

View 2 Replies

Quadratic Formula Program: "NaN" As Result When Answer(s) Are Negative

Dec 13, 2010

I'm working on a quadratic formula program and when I enter 1 as A, 2 as B, and 1 as A (X should end up being -1), it returns "NaN" in both text boxes.

Here's the code:

CODE:

View 8 Replies

Randomizing Program - Making A Program Which Generates A Random Number Between 1 And 10

Oct 20, 2011

I am making a program which generates a random number between 1 and 10 and when 7 appears it is suppose to tell you how many tries it took to get the number 7 and then end the application. This is the code I have used:

CODE:

This code only generates the number 7 and exits the application, each time i click the random button but i want it to show the other number it randomizes too for example 1 2 3 4 .. etc, if u dont understand, please try it, but im trying to say, when i clikc random it just says number 7 (does randomizing in background) and tells you how much tries it took but i want it to show the other number it randomized also and when 7 appears, then exit the program

View 2 Replies

Making A MSN Like Program In VB?

Dec 3, 2009

What I'm trying to do is make a MSN like rpogram where you can send Text form a Textbox to a listbox between 2 computers. I have read About TCP/IP connections?

View 4 Replies







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