thava's Profile User Rating: *****

Reputation: 172 Stalwart
Group:
Expert
Active Posts:
1,563 (0.7 per day)
Joined:
17-April 07
Profile Views:
19,517
Last Active:
User is offline Apr 27 2013 06:47 AM
Currently:
Offline

Previous Fields

Country:
IN
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
250

Latest Visitors

Icon   thava life is a mirror when you cry, it cry, when you smile, it smile .......

Posts I've Made

  1. In Topic: SQL server cannot be installed on Domain Controller

    Posted 27 Mar 2013

    i am not sure what you are asking,
    just see this minimum requirements for sqlserver 2008
  2. In Topic: SqlException was unhandled by user code

    Posted 25 Mar 2013

    it think, actually the problem is single quote
    since he just concatenate the string to build the query, if the end user type the string value Supplier's Data in one of the textbox it should raise this error
    you should solve this by using parameterized query like already suggest you
    i hope now you know how the problem raised?
    Happy coding :^: :^: :^:
  3. In Topic: Automation error - ActiveX EXE

    Posted 25 Mar 2013

    well seems some sort of long running loop is the problem,
    i have a suggestion to you instead of raising a event why don't you create a public variable for that class that to verify the current message is read or not, this will avoid a some sort of problems for me while using a MSCOMM
    so here is my idea
    ok i will give little sample here
    public blnReadCompleted as Boolean
    Public Sub subRead(ByVal lngIndex As Long, ByVal strData As String)
    On Error GoTo ErrHandler
    
        'let the server carry on with its business
        'and let the timer event trigger the data processing
        mlngIndex = lngIndex
        strDataToProcess = strData
        
        'Raise the event here to avoid delays
        'RaiseEvent DoneRead
         blnReadCompleted =True
        
        tmrProcessData.Interval = cstProcessDataTimerInterval
        tmrProcessData.Enabled = True
    
    ExitHandler:
        Exit Sub
    ErrHandler:
        fintClientError Err.Source, "subRead " & Err.Description, Err.Number
    End Sub
    
    


    chage your while loop like this
        objSession1.blnReadCompleted = False
        While (objSession1.blnReadCompleted = False) And (blnSendTimeout(1) = False)
            If blnTryOnce = True Then
                'try to send to session exe
                objSession1.subRead 1, strData
                blnTryOnce = False
            End If
            DoEvents
        Wend
    
    

    in the same manner you can also remove the timer also,
    now the code is as straight as it would be, so you can get the control over the server from your client
    this is only my suggestion well tell me whether this will lead a path to solve your problem or not
  4. In Topic: VBA: Handling Null values in Recordset

    Posted 22 Mar 2013

    lstItem.text =rs!strProcStep & ""
    
    

    will be enough
  5. In Topic: how display info on datareport for specific comboitem?

    Posted 22 Mar 2013

    can you please explain the problem briefly

My Information

Member Title:
D.I.C Lover
Age:
31 years old
Birthday:
May 11, 1982
Gender:
Location:
m-162, malligainagar, anniyur, madurai-17, tamilnadu
Years Programming:
2
Programming Languages:
vb,vb.net,c#,c#.net

Contact Information

E-mail:
Private
AIM:
AIM  Thavarajan
Website URL:
Website URL  http://
Yahoo:
Yahoo  thava_niit@yahoo.co.in

Comments

Page 1 of 1
  1. Photo

    raziel_ Icon

    10 Dec 2010 - 06:13
    sup dude where have you been :)
Page 1 of 1