How To Use 'Or' / Make A Different Outcome

Oct 22, 2011

So I am trying to make it when you buy wooden shield from the shop then your defense will change. I don't know if I will have to change my whole code.Basically At the moment it's:If Progressbar2.Value = 100 Then MsgBox("Oh Dear you have died!")`And the bars maximum value is default 100.. And the shop is in a different form.. (Ex. the Game is Form1, the Shop is Form4)So I want to make it when I click the button it changes the values to be:[code]

View 1 Replies


ADVERTISEMENT

Determine Outcome Of Messagebox.show

Oct 15, 2011

I have a button that when clicked i want the user to make sure that they want to clear data in textbox's so i did a vbYesNo box inside the messagebox.show.i cannot figure out how to determine if its a Yes or a No.If they click YES then i want the text cleared ... if no then show nothing. I know that i have a msgbox there but thats meaningless its just to show if it works or not. once it works then i will remove that code.[code]

View 5 Replies

Calculation - Outcome At Label30.text Be 7.0785 And On A Calculator 7.09995 ?

Jan 7, 2010

This is a problem i noticed by accident.

The code is below.

For the example lets set

Num1 is 10 and Num2 is 10.

Then how can the outcome at label30.text be 7.0785 and on a calculator 7.09995 ?

Public Class Form1

Private subtotal As Integer = 0
Private Sub Label33_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label33.Click
End Sub

[CODE]...

View 4 Replies

Cannot Find A Way To Make A Program That Write Make A Shortcut In Start Menu For All Users

Jun 6, 2009

I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?

View 5 Replies

Make Code Which Can Make Copying A File In A Particular Drive Invalid/access Denied?

Aug 29, 2009

can we make code which can make copying a file in a particular drive invalid/access denied?

View 3 Replies

Make Loop To Make Certain Thing Happen About 10-30 Times Without Taking In Too Much Memory / CPU?

Oct 16, 2011

A few years ago I have been busy creating this application but it didn't succeed, now Im coming back to it and similar problems occur. Basically I use SetPixel on a given window to draw a line, work fine, but the line goes away as the window redraws itself.The problem: I have been putting timers and threads on it to make sure the line is being drawn. Is there any way to make a loop to make a certain thing happen about 10-30 times without taking in too much memory/CPU?

View 7 Replies

Make Trig/pre-calc Class A Little Easier And Make A 'app' That Solves Triangles?

Jan 13, 2010

Public Class form1
Private Sub btnAnswer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAnswer.Click[code]........

how can i make vb realize that the side that is opposite of the given angle, has to be less than the other sides. Also im not sure what Acamar meant by If txtAngleA.Text <> "" AndAlso txtAngleB.Text <> "" AndAlso txtSideA.Text <> "" Then 'two angles and a side Because im not sure what <> does.

View 1 Replies

VS 2008 Make Button Open A Program And Make It Windows Size?

Aug 23, 2009

How do i make my button open a program and make it windows size?

View 6 Replies

VS 2008 Make Some Kind Of Loop Inside A Timer To Make Them Change?

Dec 14, 2010

Basically I have 10 .png images.They contain a walk cycle I need to make some kind of loop inside a timer to make them change.

View 2 Replies

Make A Certian Function That Will Fade Out [make A Black Screen That Fades Out For 2 Seconds] Then Come Back?

Oct 12, 2010

Can I make a certian function that will fade out [make a black screen that fades out for 2 seconds], then come back? Is that possible? ON A FORM.

View 3 Replies

Make Make Syntax Highlighting And Keyboard Behavior Identical For C# In Visual Studio 2008?

Aug 25, 2010

Types have their own color (cyan by default).Enter completes the auto-complete suggestion.

View 1 Replies

VS 2008 - Make A Loop From 1 To 100 And Make It Everytime It Loops Display Incrementing Numbers To The Screen?

Aug 23, 2009

How do I make a loop from 1 to 100 and make it everytime it loops display incrementing numbers to the screen?

View 1 Replies

Make A Translator - Translateevery Single Letter And Make It 1 Word

Sep 7, 2009

I want to make a translator like this: [URL]...I have already made two textboxes and a button. If I type in textbox 1 abc then textbox 2 must say nop. I already know the If textbox1.text = "abc" then textbox2.text = nop. I don't want that i want to translate the a to a n and the b to a o and the c to p. So i want to translate every single letter and make it 1 word. Its like a secret code. My language looks like that a=nb=oc=pd=qe=rf=sg=th=ui=vj=wk=xl=ym=z n=ao=bp=cq=dr=es=ft=gu=hv=iw=jx=ky=l z=m

View 22 Replies

Add Music - Make A Button Make A Sound Out When Pressed?

Jun 21, 2010

I wanna ask how to code to make a button make a sound out when pressed? Can you add sound files to it, like a mp3 file?

View 3 Replies

Make VB Code To Take Apart A Word To Make Sure It Has Required Letters?

Sep 10, 2010

I've been looking through the book I own and I've been looking online but I just don't understand what code would I write to have it check the text box or input box for the right letters in a word?

View 2 Replies

VS 2008 Make From Image To Make It Loading Screen

May 19, 2010

Can i make from this image to make it Loading Screen I mean i put this in Form1 [URL] And i want when the program start the progressbar (the white line to load)

View 1 Replies

Do= Make A Program That Will Make Multiple Accounts?

Dec 30, 2010

what im trying to do= make a program that will make multiple accounts

[code]...

ok what i type in textbox(es) "1" i want it typed on a "3"{a website=www.justin.tv/signup} when i hit the "2"[button1]i really dont have any idea what im doing i know ill need to have a webrowser to load the justin.tv/signup but i have no clue what the name of the boxes are called on the webpage

View 4 Replies

Make A Program In VB Make A Sound When It Starts?

Jun 9, 2011

Me and a friend are making an app which we need to play a sound when Form1 is started. How do we do this? I don't mind code.

View 2 Replies

Make Textboxes Dynamically And Make A Controll?

Sep 15, 2011

I make textboxes dynamically and make a controll (see code)

Only last textbox is visible How to create controll for all textboxes

[Code]...

View 3 Replies

Make A Butten Make A Noise?

Oct 2, 2009

when i click a butten how would i get it to make a noise, and how would i do this in stepsI like.....

Understandable Answers
1 2 3 4 5
- - - - - Rate yourself And Have A Kitkat

[code].....

View 6 Replies

Make A New Class But Not Let The IDE Make The Designer

Jan 30, 2010

ok so i've got a Form class that inherits from System.Windows.Forms

the problem is that once i put that line in, the IDE automatically converts it into a class that has Designer enabled. how do i stop this behavior?

View 2 Replies

Make A Html File With "tags" To Make A Music Database?

Nov 11, 2010

heey guys, befoure I explain the problem. I know some vb coding so you can just give me some codes and I can add it to the program. ok,

I want to make a html file with "tags" to make a music database,

<html>
<Song_Database>
<Song Number="1" Name="Memories" Artist="David guetta" Category="Pop">
</Song>
</Song_Database>
</html>

View 3 Replies

Make A 'like' Statement Or Use Some Kind Of Wildcard To Make The Statement Not Case Sensitive?

Jul 11, 2010

I'm building a listview search feature in my app. (See the code below). It works really well, except if you search "T" then the code removes all items, if you search "t" then it removes every item except for those starting with "t". Is there any way to make a 'like' statement, or use some kind of wildcard to make the statement not case sensitive?

For Each itm As ListViewItem In ListView2.Items
If itm.Text Like TextBox1.Text & "*" Or itm.SubItems.Item(1).Text Like TextBox1.Text & "*" Then
Else

[code].....

View 2 Replies

Make App Added To "open With Menu" Sub Menu Which Appears When User Make Right Click On Any File?

Jun 21, 2011

I have made an app and I want to add it to " open with menu" sub menu which appears when user make right click on any file ie I made photo viewer app and I want to add it to "open with menu" so user when make right click on any photo and go to "open with menu" sub menu will find my app name to chose it to open the photo with it

View 7 Replies

Make The Invoice Number Increase As Make Each New Invoice?

Jan 31, 2012

how do i make the invoice number increase as i make each new invoice. i want to save each invoice then as i make the next one i want the number to increase,then be able to save that one and so on...

View 1 Replies

Make Application Working Better And Never Freeze / Make Application Working With Any Count For Loop Without Freeze

Jan 19, 2012

I'm using loop to read data from sql and then make some calculations then save it again to another table but when application loop for 3 or 4 times it's freeze but the job is done but if loop = 10 or more then it is freeze and hangup for long time .i need to learn how to make my application working better and never freeze and make application working with any count for loop without freeze .

View 7 Replies

Cannot Make Changes To DB

Mar 25, 2009

I'm having trouble getting my changes to post back into the DB. I am using Access 2000 for the time being (switching over to SQL 2005 in a few 3 or 4 months). I'm having a lot of trouble converting some of the old code from VB6 to .Net 2008, mainly where database interaction is concerned.

[Code]...

View 3 Replies

How To Make Exe

Jul 21, 2011

I make a simple form but use some icons and Third party activeX control.during designing its working well. Now i want to make exe and install to another computer. How i will make exe with activex and what we need to run the project on another comuoter if it have not vb2008?

View 5 Replies

How To Make Log In For FTP.

Jun 8, 2011

I currently have been coding this.[CODE...]

But, I want to have the UsernameBox.text and PasswordBox.text on another form, so if the login fails, then it exits the application.If login is successful, then form2 loads and they can press the upload button.

View 8 Replies

Make A OS In .net?

Aug 20, 2010

Make a OS in .net?

View 3 Replies







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