Search results for query: *

  • Users: trims30
  • Content: Threads
  • Order by date
  1. T

    Updating GridView with Database Changes

    I have Gridview Control bound to SqlDataSource control. When I click Edit button I go out to another form to edit underlying Sql Database . After saving changes to database how do I get Gridview to refresh and show latest change? I've tried Gridview.DataBind() with no success. Need assistance...
  2. T

    Passing Structure to Function

    I have some code I'm converting from VB6 and am experiencing problem passing a structure to a function call parameter. Function dataBuffer (DB) parameter in VB6 is passed "AS ANY" Declare Function BtrCall Lib "wbtrv32.dll" Alias "BTRCALL" _ (ByVal OP%, _ ByVal PB$, _ db As Any, _...
  3. T

    UPDATE WHERE Clause with Parameters

    The following code does not find record to be updated. If however I change WHERE Recnum=@RecNum to WHERE Recnum=1 and remove parameters referencing @Recnum it will update record 1. What am I doing wrong here? StrSql = "UPDATE Equipment SET TimeStampCol =@TimeStampCol," & _...
  4. T

    Adding TimeStamp

    Have Access Database and "TimeStamp" field defined as Date/Time Data Type. In my VB.Net Code I get error on ExecuteNonQuery saying that "Syntax error in INSERT INTO statement." If I remove the code relating to TimeStamp program runs without error. I have read that there's some problem with...
  5. T

    Using Help Files

    Am migrating VB6 to VB.Net and am stuck once again. We use App.HelpFile in vb6 to set Path and Filename of current help file. Current help File can change depending on which form is displayed. How do we assign help files in VB.net? Sample VB6 Code: Sub SetHelp(NewHelp As Integer) 'Set...
  6. T

    Converting VB6 to VB.Net

    Am converting a VB6 project to VB.Net and need help with "AS ANY" type declaration in a function declaration. Example: Declare Function BtrCall Lib "wbtrv32.dll" Alias "BTRCALL" (ByVal op%, ByVal PB$, db As Any) as integer I know As Any is invalid in VB.Net Most of the calls to this...
  7. T

    updating VB6 project using OCX components

    Have been working with VB6 for 10+ years and now must convert some programs to .Net. Can I use my existing OCX components or must I re-design my entire user interface? I know there is a "Code Advisor" that will scan my code and suggest ways to use inline code with .NET but concern is calls to...
Back
Top