Click here to Skip to main content
15,915,160 members
Home / Discussions / COM
   

COM

 
GeneralVC6 IDE (Cannot create method) Pin
ssirisha22-May-02 1:53
ssirisha22-May-02 1:53 
GeneralRe: VC6 IDE (Cannot create method) Pin
Rama Krishna Vavilala22-May-02 2:01
Rama Krishna Vavilala22-May-02 2:01 
GeneralRe: VC6 IDE (Cannot create method) Pin
ssirisha22-May-02 2:13
ssirisha22-May-02 2:13 
GeneralRe: VC6 IDE (Cannot create method) Pin
Francisco Moraes22-May-02 2:22
Francisco Moraes22-May-02 2:22 
GeneralRe: VC6 IDE (Cannot create method) Pin
Rama Krishna Vavilala22-May-02 3:16
Rama Krishna Vavilala22-May-02 3:16 
GeneralRe: VC6 IDE (Cannot create method) FIXED Pin
ssirisha22-May-02 3:19
ssirisha22-May-02 3:19 
GeneralAdding a Combobox to toolbar (ATL) Pin
21-May-02 22:38
suss21-May-02 22:38 
GeneralVBScript and COM Pin
Vivek Rajan21-May-02 6:08
Vivek Rajan21-May-02 6:08 
Hi,

I have a ATL Server (EXE). I am able to access it from a C++ client, but I tried using it from VBScript and I get an Error 424 : Object Required.

What could I be doing wrong ? (I am a newbie in VBScript)

Thanks
Vivek

Here is the VBS Code
<HTML>
<HEAD>
<TITLE>Working With VBScript</TITLE>
<SCRIPT LANGUAGE="VBScript">

' -------------------------------------
' Subroutine for testing Pinger
' 
' Author: Vivekr
' -------------------------------------
Sub cmdClickMe_OnClick
	
	Dim TPinger 			'Pinger COM Object
	Dim Message
Dim	Error
	On Error Resume Next		'Proceed after error

	'--------------------------------
	'Create the ATL COM Pinger Object
	'--------------------------------
	Set TPinger = Atutils.VPinger4


	MsgBox  Err.Description
	Message = "Error = " &  Err.number	
	MsgBox  "Created Object" & Message		


End Sub

</SCRIPT>
<BODY>

  <H1>VBScript Testbed</H1>

  <P> By utilizing VBScript you can give your Web pages actions. 

  Click on the button below to see what we mean. </P>

  <FORM NAME="frmExercise1">

    <INPUT TYPE="Button" NAME="cmdClickMe" VALUE="Create Object">

  </FORM>

</BODY>

</HTML>

GeneralRe: VBScript and COM Pin
soptest21-May-02 7:24
soptest21-May-02 7:24 
GeneralRe: VBScript and COM Pin
Vivek Rajan21-May-02 9:16
Vivek Rajan21-May-02 9:16 
GeneralRe: VBScript and COM Pin
Jim Crafton23-May-02 16:57
Jim Crafton23-May-02 16:57 
GeneralRe: VBScript and COM Pin
Vivek Rajan23-May-02 18:16
Vivek Rajan23-May-02 18:16 
GeneralRe: VBScript and COM Pin
Jim Crafton24-May-02 3:08
Jim Crafton24-May-02 3:08 
GeneralRe: VBScript and COM Pin
Vi224-May-02 3:35
Vi224-May-02 3:35 
GeneralRe: VBScript and COM Pin
soptest24-May-02 7:16
soptest24-May-02 7:16 
QuestionCringeworthy Cast in ATL?? Pin
20-May-02 23:23
suss20-May-02 23:23 
AnswerRe: Cringeworthy Cast in ATL?? Pin
Vivek Rajan21-May-02 6:50
Vivek Rajan21-May-02 6:50 
GeneralRe: Cringeworthy Cast in ATL?? Pin
soptest21-May-02 7:41
soptest21-May-02 7:41 
GeneralRe: Cringeworthy Cast in ATL?? Pin
Vivek Rajan21-May-02 9:08
Vivek Rajan21-May-02 9:08 
GeneralRe: Cringeworthy Cast in ATL?? Pin
soptest21-May-02 10:32
soptest21-May-02 10:32 
GeneralRe: Cringeworthy Cast in ATL?? Pin
Vivek Rajan21-May-02 10:53
Vivek Rajan21-May-02 10:53 
GeneralRe: Cringeworthy Cast in ATL?? Pin
soptest21-May-02 12:10
soptest21-May-02 12:10 
GeneralRe: Cringeworthy Cast in ATL?? Pin
NotYourAverageGuy6-Jun-02 9:13
NotYourAverageGuy6-Jun-02 9:13 
GeneralRe: Cringeworthy Cast in ATL?? Pin
21-May-02 22:15
suss21-May-02 22:15 
GeneralRe: Cringeworthy Cast in ATL?? Pin
Vivek Rajan23-May-02 16:33
Vivek Rajan23-May-02 16:33 

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.