VS 2008 If Number Is Higher Then 1?

Apr 11, 2009

okay say textbox2.text = "8" if textbox1.text is higher then textbox2.text the msgbox("g")so if textbox2.text = ("9") then msgbox("g") would pop up cause it's a higher number but ifit = "7" then nothing how do i do that

View 2 Replies


ADVERTISEMENT

VS 2008 - Loop Through Integers To Display Higher Number

Mar 26, 2012

I would like to loop through a number of integers to display the higher number, I would not know the higher or the lower number. How could I compare them to pick the higher one.

View 9 Replies

.net Winforms Application, Memory Usage Goes Higher And Higher Never Comes Down?

Sep 27, 2010

We have a .net win forms application, using .net 3.5. Application runs from a terminal server, users access it with Citrix client. when users run this app memory usage goes higher and hiher and it never comes back. even tough we put objects with dispose and set to nothing also the memory usage is not comming down. it starts wuth 75 mb and goes up to 500 mb. it is a 32 bit application.

how can we find the exact problem with the application. the bahaviour is almost same when we run our development box locally.

View 5 Replies

VS 2008 Form Goes Haywire If DPI Is Higher?

Jan 26, 2010

I need help with my forms developed in vb.net 2008. If I run a form in any machine (regardless of xp/vista or Win 7) whereby the DPI is set higher than normal then the size of most of my forms goes haywire. For example: I am attaching 2 screenshots of my updater program. One screen shot shows program being run in normal dpi and the other one shows it being run in higher DPI settings. In the latter case the form sizes shrinks and it looks so weird. In some other forms the controls go haywire. What should I do to ensure that forms looks ok regardless of what ever DPI a user sets in his OS?

(Note: some texts in the screenshot have been edited to protect privacy).

View 10 Replies

VS 2010 Value Higher Than 10?

Apr 20, 2010

For some reason when i run a script to move an image based on an entered value the image stops moving on any value higher than 10, and i cant figure out why. here is a sample script

Sub RedmoveClick(sender As Object, e As EventArgs)
Dim X As Integer
Dim y As Integer

[Code].....

View 10 Replies

.net - Get Information From A Higher Class?

Jun 2, 2010

I have 3 classes: Server, Database, and Table. Each class has a "Name" property. How I want it to work is that each server can have multiple databases and each database can have multiple tables. So in the Server class I have this property.

[Code]...

View 3 Replies

Display Powers Higher Than 3?

Nov 6, 2010

I've been designing a Interactive Maths Quiz to test students on the modules they've supposedly learnt, but am having trouble getting the textboxes to display the question as i want them.I need to write things like x3 and x-5 but can't get it to work. To get 2 and 3 i copied and pasted off a word document, and that works, it displays it no problem. I tried the same with others and it just displays a box.

View 6 Replies

Possible To Write A Byte Higher Than 255?

Sep 12, 2010

We were currently working with our thesis regarding file compression and selected LZW compression. So far, we know how to work on it but we were stucked on how to write a byte.LZW uses 256 and up for the code table because 0 to 255 was used for a single byte.url...Our problem was we don't know how to write a byte higher than 255, s it possible, and read it as it is? Or, different way on how to do it?

View 1 Replies

Set Z-index At Higher Value But Still It's Not Working

Apr 10, 2010

I have one webusercontrol for Datepicker. When I am using this control in content pages it works fine. I have many controls in content page (textbox, label, etc.). All controls are inside a table. I have placed usercontrol inside <td>. When I click on an image, the calendar control is showing. But that time this calender control pushes all other controls (textbox, label, etc.). I have set the z-index at a higher value, but still it's not working.

View 1 Replies

Get A Total Sum Either Higher/lower In Their Textboxes?

Mar 24, 2010

Heres my code so far:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]...

I want the total sum entered for (Val(InputBox("Enter sales amount:"))) that is lower than 1200 to go in a TextBox2.Text and the total sum higher than 1200 to go in a TextBox3.Text.How should I go about doing that? Is there a way of doing it in the Select Case area?

View 11 Replies

Get Average Either Higher / Lower In Their Textboxes?

Mar 25, 2010

Heres my code so far[code]...

I want the average above 1200 going in a TextBox5.Text and the average lower than 1200 TextBox6.Text.

I've tried stuff like; "average1 = average1 + average" and "average1 = total1 / subject" and average 1 = total1 / subject1". But none of it appears to be working.

View 14 Replies

Timer Setting Always Value Higher On Label

Mar 11, 2009

I want to say the timer count the time the Process is working so that it Counts always higher on a Label with the Text 00:00:00. So it always go higher by 5ms:
00:00:10
00:00:15
00:00:20
00:00:25
and so on.

View 9 Replies

VS 2010 ComboBox.SelectedIndex Can't Go Higher Than 9?

Apr 24, 2012

I'm working with a ComboBox which has 14 items.

Using the following code I got a problem

vb
If Me.ComboBox1.SelectedIndex = 0 Then MsgBox("item 1")ElseIf Me.ComboBox1.SelectedIndex = 1 Then MsgBox("item 2") '...ElseIf Me.ComboBox1.SelectedIndex = 9 Then MsgBox("item 9") ElseIf Me.ComboBox1.SelectedIndex = 10 Then MsgBox("item 10") '...End If

The problem is that after the SelectedIndex = 9 it won't read properly the SelectedIndex = 10, it seems like it consider only the first number (1) instead of the whole one (10). In fact get the same result as if it was SelectedIndex = 1

View 6 Replies

Higher Or Lower Card Game Program?

Jan 15, 2012

I am currently working on a program for a higher or lower card game. I have my game set up and in place, however I am having trouble keeping track of the cards that have already been drawn from the deck. I am only playing with one deck and need to make sure that once a card is drawn it is placed in a discard pile and will not be drawn again. I did not post my code due to other students in my class using this forum for their version of the assignment. If someone would be willing to take a look at my code I can send it to you via private message.

View 1 Replies

Start Up Program From Registry With Higher Priority?

Aug 3, 2010

I've got my program running, but when I start it up on Vista, it does so quite slow. I need it to start up faster, I was fiddling around in task manager to check it was actually started and just taking a while, and I noticed it had the priority "BelowNormal", which I'd like to change.

How can I do this from the registry? I've got it starting up, but how do I add a parameter for the process to be started with a higher priority (I.E, normal, abovenormal, high, realtime, etc., I need to test which is suitable).

View 16 Replies

Create Software In Standard Form Which Has A Higher Probability To Run In All Pc's

Apr 10, 2011

I am making a new vb.net project . And 1 thing i have noticed many times is The software that i make in high resoltion computer lloks crap in computers with monitor resoluton of 800 by 600.Is there any way we can create software in standard form which has a higher probability to run in all pc's...I can think of 1 way i guess using monitor height and monitor width from properties and then adjusting form size relative to that

View 2 Replies

TIMEDIFF - Difference Between Entrystamp And Moded_time Is Higher Than 5 Minutes

Jun 12, 2011

More like general MySQL than vb.net itself, but still need help.

The MySQL code below:
SELECT *
FROM (SELECT resit_no,SUBSTRING(resit_time,1,19) AS entrystamp
FROM DB1.receiptdetails

[CODE]...

produces:

[CODE]...

Notice the two rows at the bottom. the difference between entrystamp and moded_time is higher than 5 minutes. why would it happen and how to correct it? both table and database use InnoDB.

View 1 Replies

VS 2008 : Call A Skype Number That Is In A RichTextBox By Clicking On The Number?

Feb 3, 2011

Is it possible to call a Skype number that is in a RichTextBox by clicking on the number?I have links activated in the RTB but phone numbers do not appear as a Skype link.

View 5 Replies

VS 2008 Code To Check If Label1 Number Is > Then Label2 Number?

Jul 10, 2009

I got 2 LABELS and ONE BUTTON... when i press the button, it fills both labels with a random number from 1 - 6.ild like to do it like this... you press the button then a little prograss bar starts running for 3 or 4 seconds... and THEN after it reached the bars max i want it to show the numbers in the Labels...

the second thing is...i want to make 2 checkboxes next to the labels... if you mark the first checkbox, next to the first label... and the outcome is that the number of the first label is BIGGER then the other one.. you should get some kind of a msgbox.. i know how to make a msg box... but i dont know the code for vb to check if label1 is > or < than label2....

View 10 Replies

'System.StackOverflowException' When Writing Data To SerialPort At Higher Baudrates?

Nov 24, 2010

I am writing a serial application using VB .net Framework V4 , where I use a background worker to Read a file and send it to a serial port using SerialPort1.writeLine method. The BackgroundWorker1.ProgressChanged Event handler sub Updates the Line Number to a TextLabel and adds each line sent to a RichTextBox using RichTextBox1.AppendText() method on main form (Form1).

The problem arises at 115200 Bauds (and higher),may be because now the text is updated real fast on the form an unhandled Exception in BackgroundWorker1.ProgressChanged Event handler sub occurs. Otherwise at lower baudrates ex: 9600,19200 etc. Application Runs Perfectly Fine.

[Code]...

View 6 Replies

VS 2010 Higher Level Of Access Makes Program Dysfunctional

Mar 13, 2011

So I have this program which I can use to drag files in it and do something with it, and when I run it as administrator, it doesn't let me drag the files in at all, but when I run it normally it does. Is there a reason behind this? And how would I go about fixing it?

My code if it means anything:

Imports System.IO
Public Class Form1
Dim SetSU As Microsoft.Win32.RegistryKey

[Code]......

View 5 Replies

Hdd Serial Number (not Volume Number)code In 2008

Jan 13, 2010

Send hdd serial number (not volume number)code in vb.net 2008.

View 3 Replies

Parsing Through List, Compare 2 Dimensional Array Element And Replace With Higher Value?

Mar 23, 2008

unordered text file of 3 columns to assign into 2 arrays. I've been given a graphing component which expects a two dimensional array for a scatter graph for the set of values in the last column.

How would I parse through the list given an indexed array of 215 possible 'zone alarm locations' and if an alarm log list item, of which there can more than one for any given zone location, compare in the two dimensional array any previous value and replace it with the higher valued one? The following are my declarations for the 2 arrays. It isn't clear to me why the array for the scatter data was defined as (999,1) knowing there are only 215 possible x values (alarm zone locations)

[Code]...

View 6 Replies

Forms :: Use A If Statement To See If Fosters Button And Number 1 On The Number Pad Are Both Pressed Then Multiply Constant By Quantity Number?

Mar 4, 2011

I am doing a bar cash register and I want to use a if statement to see if fosters button and number 1 on the number pad are both pressed then multiply constant by quantity number

View 1 Replies

DB/Reporting :: Make SQL Default Back To Filling In Gaps And Only Count Higher If There Are No Gaps?

Oct 5, 2009

when setting a column to identity it will auto increment 1,2,3,4..however if you delete 4 & 5 and then insert another record it will go in as 6.If you do this a lot you end up with huge gaps in the numbers,is there any way to make SQL default back to filling in the gaps and only count higher if there are no gaps?I know I can do it in the application, or even a UDF, I just want to make sure I am not reinventing the wheel?

View 9 Replies

Retrieve The "i" Values From Higher Levels?

Jun 20, 2012

I want to run something like this:

For a = 0 To 4
For b = a To 4
For c = b To 4

[Code].....

What would be the best way to retrieve the "i" values from higher levels? Should I store them in an array?

View 3 Replies

VS 2008 Mobile Applications - Device Board Serial Number In Vb 2008

Oct 15, 2011

My some problem for vs 2008 in mobile applications How to learn mobile device board serial number in vb 2008?

View 2 Replies

Asp.net - Character Support - Translate Higher ASCII Characters To Lower ASCII Characters?

Aug 7, 2009

So I have an ASP.Net (vb.net) application. It has a textbox and the user is pasting text from Microsoft Word into it. So things like the long dash (charcode 150) are coming through as input. Other examples would be the smart quotes or accented characters. In my app I'm encoding them in xml and passing that to the database as an xml parameter to a sql stored procedure. It gets inserted in the database just as the user entered it.

The problem is the app that reads this data doesn't like these characters. So I need to translate them into the lower ascii (7bit I think) character set. How do I do that? How do I determine what encoding they are in so I can do something like the following. And would just requesting the ASCII equivalent translate them intelligently or do I have to write some code for that?

Also maybe it might be easier to solve this problem in the web page to begin with. When you copy the selection of characters from Word it puts several formats in the clipboard. The straight text one is the one I want. Is there a way to have the html textbox get that text when the user pastes into it? Do I have to set the encoding of the web page somehow?

[Code]...

View 4 Replies

Set Number In Button Using Vb 2008?

Apr 19, 2012

i have problem in my record database. why when click btnOut. system will save status=1to set number in button. this is code, please check if any erI'm using vb 2008 and databse mysql

form 1
Private Sub btnIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnIn.Click

[code].....

View 1 Replies

VS 2008 Automaticly Get New Number?

Apr 13, 2012

I am expanding my first project, which has a ListBox with several lines in it. If I write a new line, by typing in the TextBox and hitting the Button, I want the value which I typed in the TextBox to be saved as a variable, fe. LB1.If I write a second line I want that text to be saved as a varable, LB2.The third line saves in LB3, etc.

How can I let the program choose the first empty variable, so LB1 does not get overwritten?

View 8 Replies







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