Click here to Skip to main content
15,895,084 members
Home / Discussions / Web Development
   

Web Development

 
QuestionHow to debug Proxy Class Pin
netnest5-Dec-08 5:16
netnest5-Dec-08 5:16 
QuestionDebugging 3rd party webservice Pin
Colin Angus Mackay5-Dec-08 4:23
Colin Angus Mackay5-Dec-08 4:23 
AnswerRe: Debugging 3rd party webservice Pin
netnest5-Dec-08 5:19
netnest5-Dec-08 5:19 
Questionproblem with jquery tabs at form postback Pin
BahadirEkici5-Dec-08 3:57
BahadirEkici5-Dec-08 3:57 
QuestionEmbedding flash on an embedded HTML control in a window Pin
DrkAngr4-Dec-08 10:06
DrkAngr4-Dec-08 10:06 
GeneralRe: Embedding flash on an embedded HTML control in a window Pin
DrkAngr4-Dec-08 10:18
DrkAngr4-Dec-08 10:18 
AnswerRe: Embedding flash on an embedded HTML control in a window Pin
Mohammad Dayyan5-Dec-08 2:05
Mohammad Dayyan5-Dec-08 2:05 
Questionwinsock and VBScript with mswinsock object Pin
fjveca4-Dec-08 2:45
fjveca4-Dec-08 2:45 
Good morning,

I need some help with a code in vbscript using mswinsock object, what am trying to do is to send a charater string to a server listening and get a response to that, the problem is that i can´t make the winsock object connect to the server, i cant make it in server code (php, asp, jsp) because this vbscript will be running in a IVR (interactive voice response) tha handles vbscript code, i can´t create a socket object in the IVR code because their lazy designers (sorry am not saying the brand of the IVR) say it is too complicated and instead they have an vbscript emulator for things like that, so i have to debug the vbscript code in a web page because it is easier, and once i have the script in the webpage running fine i can move it to the IVR, am posting the code to see if anyone has any idea of why the object isn´t connecting, and i know am being too restrictive but i can´t use anything but mswinsock because the client doesn´t want to use third party components because they are expensive and with the mswinsock it must work. By the way thanks in advance.

after a very long explanation here is the code:


<br />
<br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"><br />
<head><br />
	<title>New document</title><br />
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /><br />
<br />
	<script type="text/vbscript"><br />
	Sub socket()<br />
		dim hostname<br />
		dim port<br />
		dim profesional<br />
		dim recibir<br />
<br />
		<br />
		hostname = "192.168.1.32"<br />
		puerto = 12013<br />
<br />
		MsgBox("works until here")'<br />
		set winsock = createobject("MSWINSOCK.Winsock")<br />
<br />
		MsgBox("works until here 2")'<br />
		puerto = 12013<br />
		winsock.RemoteHost = hostname          'direccion ip del host remoto<br />
		winsock.RemotePort = puerto            'numero del puerto por el que se envian los datos<br />
		winsock.Connect<br />
<br />
		MsgBox("works until here 3")'<br />
<br />
<br />
		mensaje = "Sending test message"<br />
		If winsock.State = sckConnected Then<br />
			winsock.SendData profesional<br />
			MsgBox("message sent")'<br />
		else<br />
			MsgBox("the socket isn´t connected")'<br />
		End If<br />
	End Sub<br />
	'AES.SetReturnValue 0<br />
	</script><br />
</head><br />
<body><br />
<br />
<br />
	<button onclick="socket()">press here</button><br />
<br />
</body><br />
</html><br />


one last thing, forgive my english because it isn´t my primary language

Life can only be understood in reverse bur must be lived forward

QuestionNeed Help In PHP Coding Pin
gunakesh parmar3-Dec-08 19:03
gunakesh parmar3-Dec-08 19:03 
AnswerRe: Need Help In PHP Coding Pin
Mohammad Dayyan5-Dec-08 2:02
Mohammad Dayyan5-Dec-08 2:02 
QuestionSql server in godady.com Pin
ahawari093-Dec-08 8:11
ahawari093-Dec-08 8:11 
QuestionWhen to use em and px Pin
Brendan Vogt3-Dec-08 7:32
Brendan Vogt3-Dec-08 7:32 
AnswerRe: When to use em and px Pin
Mohammad Dayyan5-Dec-08 2:08
Mohammad Dayyan5-Dec-08 2:08 
AnswerRe: When to use em and px Pin
Colin Angus Mackay5-Dec-08 4:26
Colin Angus Mackay5-Dec-08 4:26 
QuestionDisplay changes with screen resolution Pin
Anand Desai3-Dec-08 1:04
Anand Desai3-Dec-08 1:04 
AnswerRe: Display changes with screen resolution Pin
Mohammad Dayyan5-Dec-08 2:11
Mohammad Dayyan5-Dec-08 2:11 
QuestionASP.NET - Debugging User Control in Visual Studio 2008 Pin
AssemblySoft2-Dec-08 23:34
AssemblySoft2-Dec-08 23:34 
QuestionWeb Application working in IE but not in FireFox Pin
smilysanjai2-Dec-08 19:30
smilysanjai2-Dec-08 19:30 
GeneralRe: Web Application working in IE but not in FireFox Pin
Nanda_MR2-Dec-08 21:44
Nanda_MR2-Dec-08 21:44 
AnswerRe: Web Application working in IE but not in FireFox Pin
cking2600_15-Dec-08 8:58
cking2600_15-Dec-08 8:58 
QuestionWebsite Pin
Nanda_MR2-Dec-08 18:40
Nanda_MR2-Dec-08 18:40 
AnswerRe: Website Pin
AssemblySoft2-Dec-08 23:37
AssemblySoft2-Dec-08 23:37 
AnswerRe: Website Pin
Paul Conrad3-Dec-08 5:01
professionalPaul Conrad3-Dec-08 5:01 
AnswerRe: Website Pin
Saul Johnson9-Dec-08 6:13
Saul Johnson9-Dec-08 6:13 
Questionhi Pin
vishwaguna2-Dec-08 7:02
vishwaguna2-Dec-08 7:02 

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.