# Tfj

### Visual Basic 2010 - Replace Nothing in a textbox with a space?

How would an individual go about changing a value of nothing in a textbox with a space?

For example.

If textbox1.text = "" then

textbox1.text.replace("", " ")

I can't do that, because it needs a value..

Please help! :)

5* to best answer!

1 AnswerProgramming & Design8 years ago### Visual Basic 2010 - Check if textbox has a specified word in it?

How would an individual go about checking if a textbox already contains a certain word in it?

2 AnswersProgramming & Design8 years ago### Visual Basic Help - Save File Dialog?

For some reason my program won't save the text document to anywhere. I want it to have the extension .java - Here is my code:

Private Sub SaveFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles SaveFileDialog1.FileOk

Dim writer As New IO.StreamWriter(SaveFileDialog1.FileName)

writer.Write(TextboxCode.Text)

writer.Close()

Private Sub ExportToolStripMenuItem_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExportToolStripMenuItem.Click

SaveFileDialog2.Filter = "Java Source Document|*.java|Text Document|*.txt|All Files|*."

SaveFileDialog2.Title = "Easy Mod Creator - Export Code."

SaveFileDialog2.ShowDialog()

Can someone please tell me why it won't save anywhere?! :(

1 AnswerProgramming & Design8 years ago### VISUAL BASIC - Noob Question?

So, whenever I click a button, I want it to write to a textbox. However, everytime I use:

Textbox1.Text = "This Text!"

Textbox1.Text = "This text too!"

It only prints out 'This text too!' instead of both the lines. So my question is - How do I make it so when I click a button, it writes multiple lines to a textbox?

Best answer = 5 stars.

2 AnswersProgramming & Design8 years ago### Google Adsense EFT (Electronic Fund Transfer)?

Hi, I'm a U.S Citizen, yet it doesn't give me the choice to have my payments sent via EFT?

Help?

1 AnswerGoogle8 years ago### Will Autozone Install Dashboard LEDs for me?

I'm curious if Autozone or any other auto place will install LEDs for me? I plan on purchasing them up there, if that makes a difference. Also, they're going behind the dashboard.

5 AnswersMaintenance & Repairs8 years ago### Beginner GML (Game Maker Lang) Question!?

So, I'm trying to make my character walk. However, whenever I release any key to make him move (whether it be W - Up, A - Left, S - Down, or D - Right) He always ends up in the CharacterUp Position?

To be a little more clear, whenever I release a key after moving, he's in the CharUp position.

The sprite Character is just a standing still position, not an animation.

Any help would be greatly appreciated!

Here is my code:

if keyboard_check(ord('D'))

{

image_speed = 0.3

sprite_index = CharRight

x += 4

}

if keyboard_check(ord('A'))

{

image_speed = 0.3

sprite_index = CharLeft

x -= 4

}

if keyboard_check(ord('W'))

{

image_speed = 0.3

sprite_index = CharUp

y -= 4

}

if keyboard_check(ord('S'))

{

image_speed = 0.3

sprite_index = CharDown

y += 4

}

if keyboard_check(vk_up)

{

image_speed = 0.3

sprite_index = CharUp

y -= 4

}

if keyboard_check(vk_left)

{

image_speed = 0.3

sprite_index = CharLeft

x -= 4

}

if keyboard_check(vk_down)

{

image_speed = 0.3

sprite_index = CharDown

y += 4

}

if keyboard_check(vk_right)

{

image_speed = 0.3

sprite_index = CharRight

x += 4

}

if keyboard_check_released(ord('W'))

{

image_speed = 0.3

sprite_index = Character

}

if keyboard_check_released(ord('A'))

{

image_speed = 0.3

sprite_index = Character

}

if keyboard_check_released(ord('S'))

{

image_speed = 0.3

sprite_index = Character

}

if keyboard_check_released(ord('D'))

{

image_speed = 0.3

sprite_index = Character

}

1 AnswerProgramming & Design8 years ago### Python coding help? [BEGINNER]?

Hi, I'm curious why this happens..

When I enter my name, and my age. Everything is fine. However, when I set my passwords.. They're the EXACT same, but yet it gives me the message 'Sorry, passwords do not match...'

Here is my code:

import sys

password = "Please enter your password here: "

password2 = "Please re-enter your password here: "

lv = "Press enter to continue..."

print "Hello, welcome to Luke's program."

name = raw_input("Please, Enter your name: ")

age = raw_input("Also, How old are you: ")

print "I see, your name is "+name+" and you're "+age

yn = raw_input ("Is that all correct? (YES/NO)")

if yn == "yes":

print "Okay, Glad to see everything is correct!"

print "Please create a password for maximum safety!"

raw_input(password)

raw_input(password2)

print "Okay, your password is now set.."

if password == password2:

print "Good job! Everything seems fine!"

raw_input(lv)

sys.quit(0)

elif password != password2:

print "Sorry, passwords do not match..."

raw_input(lv)

sys.quit(0)

if yn == "no":

print "Sorry, try again then!"

raw_input(lv)

sys.quit(0)

-----

Note, I am a total beginner! Just started today..

What am I doing wrong?

2 AnswersProgramming & Design8 years ago### Yamaha Keyboard or Xbox 360 250GB?

So.. I'm stuck between this Xbox

http://www.amazon.com/gp/offer-listing/B005VBVQBU/...

and this Piano

http://www.amazon.com/gp/offer-listing/B003FRMRC4/...

All my friends have a Xbox and I would really like to play with them when Im at home..

However, I'd also really like to learn piano..

What do you think?

1 AnswerXbox8 years ago### Wifi adapter cuts out!?

I have a little TP-link wifi adapter that cuts out like every 5-10 seconds!!!

Also, It gets so hot that I can barely even touch it!

It looks like this...

http://ak.buy.com/PI/0/640/360/219784125.jpg

The way I keep getting my internet back is by unplugging it and plugging it back in...

Note - It's not my internet.. All of my family members are connecting just fine..

Please help!!!

2 AnswersComputer Networking8 years ago### PLEASE HELP - ALGEBRA 1 - PASS OR I FLUNK! D:?

Hi! I'm really nervous because I need this test done by tomorrow and I don't know the answers to these questions!!!

Please help. . A total of 10.

1)Use substitution to solve this system.

y = 2 – 3x

6x + 2y = 7

2)The length of a rectangular piece of box is 4 feet more than the width. The perimeter of the box is 24 feet. Write the equation used to find the perimeter, P, of a rectangle.

3)Graph 2x – 3y = – 4 and 2x + 5y = 12 on the same set of coordinate axes. Label each graph. What is the solution of this system?

4)Graph 2x – 3y > – 4 and 2x + 5y ≤ 12 on the same set of coordinate axes. (See Problem 1.) Label each graph. What is not the solution of this system?

5)The length of a rectangular piece of box is 4 feet more than the width. The perimeter of the box is 24 feet. What is the width of the box?

6)The length of a rectangular piece of box is 4 feet more than the width. The perimeter of the box is 24 feet. What is the length of the box?

7)The length of a rectangular piece of box is 4 feet more than the width. The perimeter of the box is 24 feet. Write an equation to solve the problem using substitution.

8)Without solving, describe the solution set for this system.

x + 2y = 3

–x

– 2y = 5

9)Use linear combination to solve this system.

3x

– y = 11

2x + 5y

= –4

10)The length of a rectangular piece of box is 4 feet more than the width. The perimeter of the box is 24 feet. Write an equation that represents the relationship of the length, l, and the width, w, of the rectangle.

PLEASE HELP

THANKS! :)

1 AnswerMathematics9 years ago### MATH QUESTIONS - PLEASE HELP! ALGEBRA?

Hello, I'm having a lot of trouble with math.. Can you please solve these problems and then tell me how to solve them?

Please and thank you! :)

#1)The length of a lot is 25 feet less than twice the width. Let w equal width. Write an expression for the length of the lot.

#2)What is the sum of any nonzero number and its opposite, or additive inverse? Is it positive or negative?!?

#3)This formula is used to compute interest.

I = prt, where I = interest, p

= principal, r = interest rate (percent), and t = time (in years).

Evaluate the formula for $525 borrowed at 12 percent for 3 months. (Remember to change 3 months to a fraction of a year.)

#4)Simplify the algebraic expression by combining any like terms.

8a + 4(3 – 2a)

#5)Find the value of each expression for x = 3, y = –2, and z

= –1.

(x + y)2 – 2z2

#6) Simplify the algebraic expression by combining any like terms.

3x2

+ 5xy – xy – 2x2

Thank you!! :)

1 AnswerHomework Help9 years ago### Youtube partner - ads help?

Hello, I've been a youtube partner for a few weeks now and I have one question.

I'm allowed to put ads on my video, and they work! However, how do people get the ads that last 30 seconds before playing the video?

In other words, How do I put the 30sec ads on my videos?

1 AnswerYouTube9 years ago### My stomach hurts REALLY bad.. HELP?

It's 1:30am and my stomach hurts so bad I can barely help it.

Around 9:10pm - 9:45pm I took a shower and jerked off (if that has anything to do with it). I now wake up with a sharp pain in my stomach that makes me want to curl up in a ball..

What's wrong with me!?!

How can I help this problem!?

4 AnswersOther - Health9 years ago