Click here to Skip to main content
15,909,896 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralJavascript error Pin
samerh3-Apr-08 22:00
samerh3-Apr-08 22:00 
GeneralRe: Javascript error Pin
Declan Bright3-Apr-08 23:44
Declan Bright3-Apr-08 23:44 
GeneralRe: Javascript error Pin
samerh4-Apr-08 1:11
samerh4-Apr-08 1:11 
Generalglobal.asax Pin
ajau3-Apr-08 21:44
ajau3-Apr-08 21:44 
GeneralRe: global.asax Pin
N a v a n e e t h3-Apr-08 22:21
N a v a n e e t h3-Apr-08 22:21 
GeneralUrgent: Database not updated Pin
guardianhm3-Apr-08 21:37
guardianhm3-Apr-08 21:37 
GeneralRe: Urgent: Database not updated Pin
N a v a n e e t h3-Apr-08 22:01
N a v a n e e t h3-Apr-08 22:01 
GeneralUpdate dyndns Pin
~V~3-Apr-08 21:31
~V~3-Apr-08 21:31 
I m writing code for updae the dyndns for my webcam

I m using this code to implement this task

<br />
<br />
    Private Sub dyndnsupdate(ByVal ip As String)<br />
<br />
        Try<br />
            Dim data(1024) As Byte<br />
            Dim response As String = ""<br />
            Dim count As Integer<br />
            Dim socket As New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)<br />
<br />
            Dim host As IPHostEntry = System.Net.Dns.Resolve("professionalbkn.dyndns.org")<br />
            Socket.Connect(DirectCast((New IPEndPoint(host.AddressList(0), 80)), EndPoint))<br />
<br />
            If Not Socket.Connected Then<br />
                Throw New Exception("Can´t connect to dyndns service")<br />
            End If<br />
            Dim request As String = "GET /nic/update?" + "system=dyndns" + "&hostname=" + _<br />
           Me.hostName + "&myip=" + "&wildcard=" + "ON" + _<br />
           "&offline=NO " + "HTTP/1.1" & Chr(13) & "" & Chr(10) & "" + _<br />
           "Host: members.dyndns.org" & Chr(13) & "" & Chr(10) & "" + _<br />
           "Authorization: Basic " + Me.userID + _<br />
           ":" + Me.password + "" & Chr(13) & "" & Chr(10) & "" + _<br />
           "User-Agent: .net dyndns client" & Chr(13) & "" & Chr(10) & "" & Chr(13) & "" & Chr(10) & ""<br />
<br />
            count = Socket.Send(System.Text.UnicodeEncoding.ASCII.GetBytes(Request))<br />
<br />
            count = Socket.Receive(Data)<br />
            While Not count = 0<br />
                Response += System.Text.ASCIIEncoding.ASCII.GetString(Data, 0, count)<br />
                count = Socket.Receive(Data)<br />
            End While<br />
<br />
            Socket.Shutdown(SocketShutdown.Both)<br />
            Socket.Close()<br />
<br />
            Response = Response.Substring(Response.IndexOf("\r\n\r\n") + 4)<br />



But it gives error that :

HTTP/1.1 404 Not Found
Server: Unknown/0.0 UPnP/1.0 Web Server
Connection: close

404 Not Found 



Hope some one can understand my problem & will help to solve this problem

Thanks with anticipation

The Great Pleasure In Doing That Things That Other People Say U Can't By Doing This U Can Shut Their Mouth

GeneralRe: Update dyndns Pin
~V~4-Apr-08 0:35
~V~4-Apr-08 0:35 
GeneralProblem Opening embedded images in gmail Pin
Varun1233-Apr-08 21:22
Varun1233-Apr-08 21:22 
GeneralRe: Problem Opening embedded images in gmail Pin
Declan Bright4-Apr-08 0:56
Declan Bright4-Apr-08 0:56 
GeneralRe: Problem Opening embedded images in gmail Pin
Varun1234-Apr-08 17:58
Varun1234-Apr-08 17:58 
GeneralQuestion about controls and assemblies Pin
kontax3-Apr-08 21:22
kontax3-Apr-08 21:22 
GeneralRe: Question about controls and assemblies Pin
Declan Bright4-Apr-08 0:09
Declan Bright4-Apr-08 0:09 
Questionhow to capture the id of linkbutton Pin
mukkanti0073-Apr-08 21:08
mukkanti0073-Apr-08 21:08 
AnswerRe: how to capture the id of linkbutton Pin
Rocky#3-Apr-08 21:13
Rocky#3-Apr-08 21:13 
QuestionWriting SelectedItemTemplate to select items in DataList control Pin
Chesnokov Yuriy3-Apr-08 21:07
professionalChesnokov Yuriy3-Apr-08 21:07 
Generalmultiple excel sheet [modified] Pin
sanaja3-Apr-08 20:38
sanaja3-Apr-08 20:38 
GeneralDynamically populating a dropdown list in ASP.Net Pin
Shikha12343-Apr-08 19:56
Shikha12343-Apr-08 19:56 
GeneralRe: Dynamically populating a dropdown list in ASP.Net Pin
That's Aragon3-Apr-08 20:35
That's Aragon3-Apr-08 20:35 
GeneralDynamically Bind ID and Name to Link Button in Datalist Pin
sjs4u3-Apr-08 19:50
sjs4u3-Apr-08 19:50 
AnswerRe: Dynamically Bind ID and Name to Link Button in Datalist [modified] Pin
ashok@techxygen4-Apr-08 1:59
ashok@techxygen4-Apr-08 1:59 
Generalmake Pin
Mohammmed Farooq3-Apr-08 19:48
Mohammmed Farooq3-Apr-08 19:48 
QuestionDeleting folder Pin
Soumini Ramakrishnan3-Apr-08 19:32
Soumini Ramakrishnan3-Apr-08 19:32 
GeneralRe: Deleting folder Pin
Soumini Ramakrishnan4-Apr-08 1:47
Soumini Ramakrishnan4-Apr-08 1:47 

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.