User Profile
Collapse
-
I am not expecting for anyone to supply me with anything. I just wanted some to point me in the right direction. I am new at this but clearly some people on here have forgotten how that feels. That is fine. I have figured it out, thanks. -
write a For .... Next loop here to calculate the double declining balance
' depreciation and use a string concatenation to add the year and depreciation
' to the output text box.
This is what I am trying to do but I am not understanding how to do this with string concatenationLeave a comment:
-
-
Reversing characters in a string
Private Sub displayButton_C lick(ByVal sender As Object, ByVal e As System.EventArg s) Handles displayButton.C lick
' creates and displays a new password
Dim origPassword As String
Dim newPassword As String = String.Empty
Dim indexNum As Integer
' assign input to a variable (the origPasswordTex tBox's CharacterCasing
' property is set to Upper)... -
String Concatenation in VB
...Code:Option Explicit On Option Strict On Imports System.Globalization Public Class MainForm Private Sub exitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles exitButton.Click Me.Close() End Sub Private Sub MainForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' fills the combo box withLast edited by Killer42; Mar 29 '07, 08:10 AM. Reason: Please use [CODE]...[/CODE] tags around your code. -
Calling Functions in VB
ption Explicit On
Option Strict On
Public Class MainForm
Private Function CalcResidential TotalDue() As Decimal
' calculates and returns the total due for a residential customer
' declare constants and variables
Const ResidentialProc essing As Decimal = 4.5D
Const ResidentialBasi c As Decimal = 30D
Const ResidentialPrem ium As Decimal... -
String Manipulation
Now what you are going to see posted here is both the set of instructions I was given..and the code I have written.
The instructions I was given are as follows
In this case, you will create a Visual Basic 2005 solution that manipulates strings. It will parse a string containing a list of items within a text box and put the individual items into the list box. It will build the textbox string by putting the list... -
kellysgirl started a topic Ha ha Im so lost on this that it isnt funny..and if I dont get it done..then Im donein Visual BasicHa ha Im so lost on this that it isnt funny..and if I dont get it done..then Im done
Step 3 – Add code in the Form’s Load event to select the first radio button:
In the Form’s Load event, write code to select the Comma choice in the radio buttons group box.
Step 4 – Add code in the Parse Text to List button’s Click event to parse and load the list box:
You will need the variables shown in Table 1:
Variable name Type Use
delimiter String Holds the String character representing... -
Parsing Strings_ Help me please in visual basic 2005
Im not good at parsing strings....and Ive been driving myslef nuts
This is what I need to do....use an if/else statement to validate thata delimeter has been selected. These delimeters being comma, space and cr-lf.
Parse text box contents-----
Parse string to break out the words involving a loop and 2 pointer variable(old INdex and New INdex)Both start at 0..old index to always point to the current starting...
No activity results to display
Show More
Leave a comment: