User Profile

Collapse

Profile Sidebar

Collapse
richkid
richkid
Last Activity: Apr 10 '11, 11:16 PM
Joined: Apr 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • richkid
    started a topic vb6 adodc1.recordset.addNew error

    vb6 adodc1.recordset.addNew error

    the following code works but if I try to add a second record it erases the first record in the database (using Access DB)

    Code:
    ...
    Me.Adodc1.Recordset.AddNew
        Me.Adodc1.Recordset.Fields("Account").Value = Me.txtACNum.Text
        Me.Adodc1.Recordset.Fields("Title").Value = Me.cboTitle.Text
        Me.Adodc1.Recordset.Fields("First_Name").Value = Me.txtFName.Text
        Me.Adodc1.Recordset.Fields("Last_Name").Value
    ...
    See more | Go to post

  • Code:
            Dim currDate, advDate As Date
            Dim currDay, lastDay As Integer
    
            currDate = Me.DateTimePicker1.Value.Date
            advDate = currDate.AddDays(15)
            If Not advDate.Month = currDate.Month Then ' Goes over to other month
                'message that date crosses the current month
                'or set to last date of mth
                currDay = currDate.Day
    ...
    See more | Go to post
    Last edited by Frinavale; Aug 4 '10, 05:21 PM. Reason: Fixed code tags.

    Leave a comment:


  • richkid
    replied to VB.NET Proper Case Issue?
    glad to help
    See more | Go to post

    Leave a comment:


  • How to get IP addresses of all users that are accessing folders on the server

    hello ALL,
    I am trying to develop a small application that logs the IP address and or computer names of all the users [my domain or remote location] that accessed files or folders on the server. Any ideas how to get this done? Thanks in advance
    See more | Go to post

  • richkid
    replied to VB.NET Proper Case Issue?
    Code:
    Dim strName, str, strUserName As String
            Dim arrName As String()
    
            strUserName = ""
            strName = TextBox1.Text
            arrName = strName.Split("bbb")
    
    
            For Each str In arrName
                If str.Length > 0 Then
                    strUserName += str & ""
                End If
            Next
    ...
    See more | Go to post
    Last edited by Frinavale; Aug 4 '10, 05:22 PM. Reason: Fixed code tags.

    Leave a comment:


  • How to get IP address of ALL users that accessed folders on the server

    hello ALL,
    I am trying to develop a small application that logs the IP address and or computer names of all the users [my domain or remote location] that accessed files or folders on the server. Any ideas how to get this done? Thanks in advance
    See more | Go to post

  • Thanks Much.... I was trying so many variations thats why some variables not decared... but thanks again for the help :)...
    See more | Go to post

    Leave a comment:


  • richkid
    started a topic passing a column name to a stored procedure

    passing a column name to a stored procedure

    Good Day,
    I'm Trying to pass parameters to represent a column name and value to a stored procedure to execute but havinfg difficulties... can anyone help?

    Code:
    
    declare @columnName as nvarchar(30)
    declare @value as nvarchar(30)
    declare @condition as nvarchar(10)
    
    set @columnName = 'last_name'
    set @type = 'LIKE'
    set @condition = '%g%'
    ...
    See more | Go to post

  • richkid
    started a topic selecting a row in vb.Net 2005 datagridview
    in .NET

    selecting a row in vb.Net 2005 datagridview

    hello,
    I have a datagridview on my form that is populated with thousands of records from a database. When I add a new product, I want the new product to be the one selected. I've tried aot of different things and cant seem to achieve this. The following HIGHLIGHTS the new row but not SELECT it.The first row is still selected (the little arrow cursor in the row header) is set on the first record. The DGV imulti select property is set...
    See more | Go to post

  • richkid
    replied to Multi Threading and VB.Net
    in .NET
    hi..
    thanks for that post.... I tried it and I am now getting the report to show.. only problem is that Im back at the original problem because now I have to wait on the report to load before I can do anything :(
    See more | Go to post

    Leave a comment:


  • richkid
    started a topic Multi Threading and VB.Net
    in .NET

    Multi Threading and VB.Net

    hi..

    i am fairly new to VB.Net and I have a form thats calling a crystal report. The report however takes a long time to load. i tried using Threads and I keep getting the following error : [ controls created on one thread cannot be parented to a control on another thread ] how can i solve this error. Any assistance is greatly appreciated

    Code:
    
        Public docReport As New rptStatus
        Public
    ...
    See more | Go to post

  • richkid
    started a topic ClickOnce and Application.Config File
    in .NET

    ClickOnce and Application.Config File

    Hi....
    I've just completed and published a simple Windows Form Application using VB.Net. The download and run on client machines is perfect. My problem is I will need to tweek it so that the server support guys can change the server name for the application as they see fit. I thought it would be simple to just change the server name stored in the appl.config file (on server) and everything would be ok.. well that doesnt work. The client still...
    See more | Go to post

  • richkid
    replied to Application not Installing
    ok i finally got it to work.. had to compile and package the application on a Windows 2000 platform.... problem now is when i run the program i get this error : [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'myDatabaseName ' I did some research and they all say its purely informational, but still my program crashes .... any ideas how to get around this?
    See more | Go to post

    Leave a comment:


  • richkid
    started a topic Application not Installing

    Application not Installing

    hello every one,
    I developed an application using VB 6.0.and used the Package and Deployment Wizard to create a the setup file. The application installs on XP but having a problem trying to install on Windows 2000 operating system. error message I get " Setup cannot continue because some system files are out of date on your system. Click ok if you would like setup to update these files for you now... " please help!!
    See more | Go to post

  • richkid
    started a topic Detecting servers
    in .NET

    Detecting servers

    hello,
    I would like to know if anyone has any idea on how to detect all the sql servers present on a network and the databases associated with each server???
    See more | Go to post

  • richkid
    replied to Clipboard Images
    in .NET
    well finally i get this thing to show and i can now access the properties of the object using <param value>

    I am trying to save the image on the server now i get the follow error::
    System.Security .SecurityExcept ion:
    Request for the permission of type 'System.Securit y.Permissions.F ileIOPermission ,mscorlib,Versi on 2.0.0.0, Culture = neutral, PublicKey Token = b77a5c561934e08 9' failed

    any ideas?
    See more | Go to post

    Leave a comment:


  • richkid
    replied to Clipboard Images
    in .NET
    This is excerpts from the Windows Class that created the .dll;

    Namespace ActiveXDotNet

    Public Interface AxScreenCapture

    Property Path() As String
    Property FileName() As String

    End Interface
    End Namespace

    Public Class ScreenCapture
    'Inherits System.Windows. Forms.UserContr ol ', AxScreenCapture
    Inherits System.Windows. Forms.UserContr ol...
    See more | Go to post

    Leave a comment:


  • richkid
    replied to Clipboard Images
    in .NET
    I created anew Windows Control Library Project > add a button and picture box > add the following code :

    Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button1.Click
    Dim myImage As Image
    Dim txt, path As String
    path = "C:\Documen ts and Settings\SPY\De sktop\"

    If Clipboard.Conta insImage() Then
    ...
    See more | Go to post

    Leave a comment:


  • richkid
    replied to Clipboard Images
    in .NET
    well.. i tried something like that b4 but i think my problem is including the .dll

    I created the .dll, set the COM visible and COM class to true, copy the .dll to the web folder, add a reference from a web page and still not getting it to show in the web page... what am i doing wrong?
    See more | Go to post

    Leave a comment:


  • richkid
    started a topic Creating an Active X from a vb.net user control
    in .NET

    Creating an Active X from a vb.net user control

    hi,
    i have an user control in vb.net and want to create an active x to include in a web page can anybody help?
    See more | Go to post
No activity results to display
Show More
Working...