Click here to Skip to main content
15,891,828 members
Home / Discussions / COM
   

COM

 
GeneralRe: Problem registrering DLL Pin
Jason Henderson15-May-02 5:29
Jason Henderson15-May-02 5:29 
GeneralRe: Problem registrering DLL Pin
ssirisha15-May-02 5:32
ssirisha15-May-02 5:32 
GeneralCreating A/X control in frame window with ATL Pin
soccerdad14-May-02 7:55
soccerdad14-May-02 7:55 
GeneralRe: Creating A/X control in frame window with ATL Pin
soptest14-May-02 8:56
soptest14-May-02 8:56 
GeneralATL alternative Pin
Ulf Öhlén14-May-02 4:27
Ulf Öhlén14-May-02 4:27 
GeneralRe: ATL alternative Pin
Joao Vaz14-May-02 6:36
Joao Vaz14-May-02 6:36 
GeneralRe: ATL alternative Pin
Ulf Öhlén14-May-02 21:18
Ulf Öhlén14-May-02 21:18 
GeneralCOM running twice Pin
Gavin_Mannion14-May-02 1:30
Gavin_Mannion14-May-02 1:30 
Hi All,

I have a simple ASP page that connects to a COM Component to add some data to my Database, it works 100% apart from the fact that it runs it twice?

Is this a known problem or could someone explain how I can stop this.

Here is the code from my ASP Page
AppMonitor = Server.CreateObject("AppMonitor.LoginDetails").InitialLogin
(Application("cdscConnection"), gstrAccountName, Session.SessionID, stest)


and the actual component
Public Function InitialLogin( _
                    ByVal ConnectionString As String, _
                    ByVal AccountName As String, _
                    ByVal SessionID As String, _
                    ByRef stest As Variant _
                    ) As Long
Dim UserID As String
UserID = "sa"
Dim Password As String
Password = ""
Dim sql As String
sql = "EXEC cdsc_TBTrace 0, '" & Replace(AccountName, "'", "''") & "', " & SessionID
On Error GoTo ErrorHandler
    Set cn = New ADODB.Connection
    cn.Open (ConnectionString)
    cn.Execute (sql)
    stest = "Success"
    cn.Close
ErrorHandler:
    With Err
        stest = Err.Description & "<BR>" & Err.Number
    End With
End Function


Thanks,
Gavin
GeneralATL7 Pin
Mazdak12-May-02 23:34
Mazdak12-May-02 23:34 
GeneralRe: ATL7 Pin
safepage13-May-02 3:01
safepage13-May-02 3:01 
QuestionHow can I get an array of datas from COM server? Pin
magicast12-May-02 22:53
magicast12-May-02 22:53 
AnswerRe: How can I get an array of datas from COM server? Pin
safepage13-May-02 3:33
safepage13-May-02 3:33 
GeneralRe: How can I get an array of datas from COM server? Pin
soptest13-May-02 10:28
soptest13-May-02 10:28 
AnswerRe: How can I get an array of datas from COM server? Pin
soptest13-May-02 10:24
soptest13-May-02 10:24 
GeneralRe: How can I get an array of datas from COM server? Pin
magicast14-May-02 1:42
magicast14-May-02 1:42 
GeneralUse Com in Multithread Pin
ssirisha10-May-02 4:58
ssirisha10-May-02 4:58 
GeneralRe: Use Com in Multithread Pin
Joao Vaz14-May-02 7:02
Joao Vaz14-May-02 7:02 
GeneralRe: Use Com in Multithread Pin
Srini Kella15-May-02 10:15
Srini Kella15-May-02 10:15 
GeneralERROR when using Midl... Pin
Dan Madden9-May-02 8:56
Dan Madden9-May-02 8:56 
GeneralCalling Com object from a worker thread Pin
ssirisha9-May-02 4:16
ssirisha9-May-02 4:16 
GeneralRe: Calling Com object from a worker thread Pin
Tim Smith9-May-02 4:32
Tim Smith9-May-02 4:32 
GeneralRe: Calling Com object from a worker thread Pin
ssirisha9-May-02 5:05
ssirisha9-May-02 5:05 
GeneralRe: Calling Com object from a worker thread Pin
14-May-02 2:05
suss14-May-02 2:05 
GeneralCOM Status in .NET Pin
zakimurtaza8-May-02 20:05
zakimurtaza8-May-02 20:05 
GeneralRe: COM Status in .NET Pin
Tom Archer9-May-02 22:35
Tom Archer9-May-02 22:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.