Good Morning
I have been trying to find a way to calculate a future date based upon an already existing date
being passed into a routine
My question is this
I have a date, for example 05/25/16 and I need to add 48 months plus 10 days to create this future date
basically for 10 business days...
Sorry i have not replied earlier
I put the routine into my module and i can now call it from various forms withing the application
forgot all about using the module
again thanks for the replies
I have the following windows application that contains several public classes. One class if my login screen where a user enters there ID plus password. In this class I have a public function called get_password which verifies the password just entered.
this is an example of the call within my...
thanks for the reply
i'll try that..
this is what I just tried
wpassword = Trim(Environment.GetCommandLineArgs(1))
i = wpassword.IndexOf(",")
mpassword = Left(wpassword, i)
i = i - 1
mpassval1 = Right(wpassword, i)
I have a console application that I am calling from a vfp program
the vfp rpogram is apssing two variables to the console applicaiotn
the following statement is being used in console appl. to accept the variables being passed from the vfp applicaiton
wpassword =...
out of curiosity, why would a public sub for a combox be executed twice
the first time it loads the data into the dropdown..then it starts all over again and displays an message "no records" since no records where selected the
second time..
Private Sub cmbox1_SelectedIndexChanged(sender As...
I am trying to figure out how to select data in a combobox whose dropdowastyle is dropdownlist.
when my form first loads, it populates the combox, named cmbox1 with the following statements;
lsql = "Select currency from [sec_mast].[dbo].[sec_fxrt] group by currency "
'
' populate...
Got it to work using the following statements
myreader = cmd.ExecuteReader
If myreader.HasRows Then
Do While myreader.Read()
Dim item As New ListViewItem
item.Text = myreader("effect_dat")
item.SubItems.Add(myreader("fxrate"))...
I tried the statements
Dim myrow As DataRow
Dim lvi As New ListViewItem
'
' following loads the data into the listview
'
For Each myrow In dm.Rows
lvi = New ListViewItem(myrow.Item(0))
lvi.SubItems.Add(myrow.Item(1))...
I have the following code;
Dim conn As New SqlConnection()
Dim cmd As New SqlCommand
Dim myreader As SqlDataReader
Dim adapter As New SqlDataAdapter
lsql = "Select effect_dat, fxrate, currency from [sec_mast].[dbo].[sec_fxrt] where currency = 'EUR' order by effect_dat desc"...
well right it is in development. i'm building a maintenance function for a new/updated application that will be used y the users
when maintenance to an account has to be done by them
Eventually it might be used heavily, but not now
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.