Results 1 to 2 of 2

Thread: can anyone do it for me

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    43

    Question can anyone do it for me

    With store_db_connection
    ' Testing using longo-test
    'ServerName = "001.001.1.01"
    If Val(store_id) = 10 Then
    ServerName = "001.001.01.01"
    Else
    ServerName = "192.168." & Val(store_id) & ".16"
    End If
    .Provider = "sqloledb"
    .Properties("Data Source").Value = ServerName
    .Properties("Initial Catalog").Value = DatabaseName
    .Properties("User ID").Value = UserName
    .Properties("Password").Value = Password
    .Open
    end with


    can any one convert this from vb6 to vb.net for me.specially .property block.how can i write that one in vb.net.and the values of databasename,username,password r stored in module
    i 'll highly appriciate it
    Last edited by Gary_gill; Jun 17th, 2005 at 02:14 PM.

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: can anyone do it for me

    can we get your paycheck too then?

    why don't you TRY to convert it to VB.NET, and post with some specific questions you have if you get stuck. You are much more likely to get reliable help that way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width