CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: shaminda

Page 1 of 7 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    4,964

    Display message every hour

    I have a VB.net program where I want to display a message every hour. But it’s not every hour since the program started, but on top of every hour. For example if the program was opened at 7:45 AM...
  2. Replies
    1
    Views
    1,484

    loop through a data tables

    I have a stored procedure that creates barcodes. Here is the stored procedure:



    USE [T0AMolding]
    GO

    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
  3. Re: Attempted to read or write protected memory error

    Here is the code arround line 198:



    frmPartSelect.ShowDialog()

    If strSelectedShort <> "CANCEL" Then
    frmMain.ShowDialog()
    End If
  4. Attempted to read or write protected memory error

    I have several visual basic 2010 programs. One of the programs I have installed the program on four different windows 7 computers. I get the following error on one of the computers. Then another...
  5. Replies
    4
    Views
    3,854

    Re: adding existing project to solution

    Thanks! It was that simple. I feel dumb. :o
  6. Replies
    4
    Views
    3,854

    adding existing project to solution

    I have a visual basic 2010 project with a solution. When I double click the solution the project opens. I cannot see the solution file. I am trying to add an existing project to my solution but I am...
  7. Replies
    1
    Views
    1,132

    Combox on touch screens

    I have a combo box on few of my vb.net 2010 programs. The end users that use my program have touch screens and they have a hard time making selections on the combo box.

    I have an Android cell...
  8. Replies
    1
    Views
    657

    Resizing form after upgrade

    I have a windows forms program that I upgraded from VB 2005 to VB2010. When the program was on VB 2005 the form would resize to any monitor resolution. But since I upgraded the program to VB 2010...
  9. Replies
    5
    Views
    913

    Re: cannot abort threads

    Yes, I am reading data from a serial port. AxAComm1 which is an activeX control does not support multithreading and the company is out of business too. I could have easily used functions but it...
  10. Replies
    5
    Views
    913

    Re: cannot abort threads

    I could have done every thing I want in one function. But unfortunately the ActiveX control I use to read from a PLC does not support multithreading. So I had to do it this way. So here is how it...
  11. Replies
    5
    Views
    913

    cannot abort threads

    In one of my multi threading programs I cannot get my threads to abort. I have about 5 threads and the threads starts one at a time. By the time the fifth thread is started the program gets really...
  12. Replies
    11
    Views
    2,367

    Re: Timeout expired error

    As Shuja suggested I tried to change my stored procedure, but it was returning 0. I realized I have to change my code to change the stored procedure, which I have not done yet.

    tbStation5 has...
  13. Replies
    11
    Views
    2,367

    Re: Timeout expired error

    Private Function GetRackCounter() As Integer
    Dim Connection As SqlConnection = Nothing
    Dim iReturn As Integer
    Dim sTemp As String
    Dim iRackType As Integer
    ...
  14. Replies
    11
    Views
    2,367

    Re: Timeout expired error

    I changed the timeout to 0 and now the program hangs. It goes to a not responding mode. Now I have a new problem, what should I do? Any help is appreciated.
  15. Replies
    11
    Views
    2,367

    Timeout expired error

    I get timeout errors in the following stored procedure:

    CREATE PROCEDURE spGetRackCounter
    @fdRackType as int,
    @fdUserLoadId as int,
    @fdReturn1 int output
    AS
    IF @fdRackType = 1
    --rack is a...
  16. Replies
    5
    Views
    885

    Re: Time subtraction question

    Thanks sotoasty, that worked.
  17. Replies
    5
    Views
    885

    Re: Time subtraction question

    that didn't work
  18. Replies
    5
    Views
    885

    [RESOLVED] Time subtraction question

    I am trying to subtract one time from another. Here is my code:

    tsDowntimeTime = dtTodayTime.Subtract(dtAssemblyTime)

    Here is the result I get:

    02:17:32.8200924

    How do I get rid of...
  19. Replies
    2
    Views
    837

    Re: error handling question

    thanks bflosabre91!
  20. Replies
    2
    Views
    837

    error handling question

    I have two errors that return error number 5. Here are the two errors:


    Date = 2/19/2008 11:05:28 AM
    Number = 5
    Source = .Net SqlClient Data Provider
    Procedure = CheckAssemblyBarcodeExists...
  21. Re: buttons and text boxes in visual basic 2005

    thanks jmcilhinney,

    that worked.
  22. buttons and text boxes in visual basic 2005

    I converted a visual basic.net 2003 program to visual basic 2005. After the conversion the buttons and text boxes don’t have the visual basic 2005 look. How do I fix this?
  23. Replies
    3
    Views
    894

    Re: Multithreading question

    I don't see how this article can fix my problem?
  24. Replies
    3
    Views
    894

    Multithreading question

    If DataGrid1.InvokeRequired Then
    Dim mi2 As New MethodInvoker(AddressOf AddDataGridData)
    DataGrid1.Invoke(mi2, Nothing)

    Else
    DataGrid1.TableStyles.Add(tsGridTableStyles)
    End...
  25. Replies
    7
    Views
    2,143

    Re: Applications.DoEvents ?

    I put the function inside a thread and now I get this error:

    Controls created on one thread cannot be parented to a control on a different thread.

    I believe I am getting the error because I...
Results 1 to 25 of 163
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured