Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jpower69

    how to calculate a future date

    thank you for the info greatly appreciated
  2. jpower69

    how to calculate a future date

    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...
  3. jpower69

    How to call a public function from one class to another in vb.net

    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
  4. jpower69

    How to call a public function from one class to another in vb.net

    thank you will try it out appreciate the help
  5. jpower69

    How to call a public function from one class to another in vb.net

    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...
  6. jpower69

    How can I split a sting into two different variables

    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)
  7. jpower69

    How can I split a sting into two different variables

    Please dis-regard this post... found the statements that does what I need thanks again
  8. jpower69

    How can I split a sting into two different variables

    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 =...
  9. jpower69

    How to select data in a combox

    ok./.thanks
  10. jpower69

    How to select data in a combox

    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...
  11. jpower69

    How to select data in a combox

    Thanks for the info... it worked again thanks
  12. jpower69

    How to select data in a combox

    no, not yet i'm trying trying that now when you relpied i'll let you know thanks for getting back
  13. jpower69

    How to select data in a combox

    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...
  14. jpower69

    Populating a ListView with SQL Server data

    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"))...
  15. jpower69

    Populating a ListView with SQL Server data

    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))...
  16. jpower69

    Populating a ListView with SQL Server data

    Thanks for the info will try it and let you know the results again thanks
  17. jpower69

    Populating a ListView with SQL Server data

    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"...
  18. jpower69

    Question about ExecuteNONQury

    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
  19. jpower69

    Question about ExecuteNONQury

    FYi that worked Thanks again

Part and Inventory Search

Back
Top