Click here to Skip to main content
15,911,707 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralIntegrating VB.NET Application with RightFax Pin
spinski15-Oct-04 8:16
spinski15-Oct-04 8:16 
GeneralRe: Integrating VB.NET Application with RightFax Pin
Dave Kreskowiak15-Oct-04 9:19
mveDave Kreskowiak15-Oct-04 9:19 
GeneralRe: Integrating VB.NET Application with RightFax Pin
spinski15-Oct-04 9:48
spinski15-Oct-04 9:48 
GeneralRe: Integrating VB.NET Application with RightFax Pin
Dave Kreskowiak15-Oct-04 10:34
mveDave Kreskowiak15-Oct-04 10:34 
QuestionHow to create application file ? Pin
unambiguos15-Oct-04 7:03
unambiguos15-Oct-04 7:03 
AnswerRe: How to create application file ? Pin
Dave Kreskowiak15-Oct-04 9:15
mveDave Kreskowiak15-Oct-04 9:15 
GeneralRe: How to create application file ? Pin
unambiguos15-Oct-04 18:37
unambiguos15-Oct-04 18:37 
GeneralWebClient And IIS.... Please.... Urgent Pin
joe123sys15-Oct-04 4:29
joe123sys15-Oct-04 4:29 
Hi,

My name is Joel, i'm a brazilian programmer.

I have a big problem.

I'm using a function to make an upload with System.Net.WebClient

I need to make an upload of a xml string using the url "localhost...", but when I call the "UploadData"

method, i have a return error: The remote server returned an error: (405) Method Not Allowed.

I tried to change permissions of IIS to "read" and "write"...

I tried to create permissions of ".NET Framework Configuration" (mscorcfg.msc)...

But, I don't have sucess...

Can you help me ?

Thanks a lot,

Joel

PS: Sorry by my english... it's very bad...

FUNCTION USED:

Public Function sendHttp(ByVal pstrURL As String, ByVal pstrXML As String) As String
Dim myWebClient As New WebClient()
Dim byteArray As Byte(), responseArray As Byte()
Dim strResponse As String

sendHttp = ""
myWebClient.Headers.Add("Content-Type", "text/xml")
byteArray = System.Text.Encoding.ASCII.GetBytes(pstrXML)
responseArray = myWebClient.UploadData(pstrURL, "POST", byteArray)
strResponse = System.Text.Encoding.ASCII.GetString(responseArray)
sendHttp = strResponse

End Function


Joel
GeneralRe: WebClient And IIS.... Please.... Urgent Pin
Mekong River15-Oct-04 6:24
Mekong River15-Oct-04 6:24 
Generalcatch for letters Pin
Britnt715-Oct-04 3:36
Britnt715-Oct-04 3:36 
GeneralRe: catch for letters Pin
Mekong River15-Oct-04 6:43
Mekong River15-Oct-04 6:43 
GeneralRe: catch for letters Pin
Britnt718-Oct-04 7:59
Britnt718-Oct-04 7:59 
GeneralVB6 & Visio OCX Pin
RichardGrimmer15-Oct-04 3:16
RichardGrimmer15-Oct-04 3:16 
GeneralRe: VB6 & Visio OCX Pin
Mekong River15-Oct-04 6:50
Mekong River15-Oct-04 6:50 
GeneralVB Script, obtaining description property of user Pin
James Gohl15-Oct-04 2:43
James Gohl15-Oct-04 2:43 
GeneralRe: VB Script, obtaining description property of user Pin
Mekong River15-Oct-04 6:54
Mekong River15-Oct-04 6:54 
GeneralData transfer between to sql server through vb.net Pin
Prakash Chajer15-Oct-04 0:58
Prakash Chajer15-Oct-04 0:58 
GeneralRe: Data transfer between to sql server through vb.net Pin
Mekong River15-Oct-04 6:58
Mekong River15-Oct-04 6:58 
GeneralRe: Data transfer between to sql server through vb.net Pin
Prakash Chajer15-Oct-04 18:46
Prakash Chajer15-Oct-04 18:46 
QuestionHow to include a Collection Editor in custom UserControl (Component) Pin
Vikyjain14-Oct-04 22:28
Vikyjain14-Oct-04 22:28 
QuestionHow to Get Controls in Desigener window on to your own UserControl (Component) Pin
Vikyjain14-Oct-04 22:24
Vikyjain14-Oct-04 22:24 
GeneralVisual Basic 6.0 Backup Procedure 0:08 15 Oct '04 Pin
kengharng14-Oct-04 20:43
kengharng14-Oct-04 20:43 
GeneralRe: Visual Basic 6.0 Backup Procedure 0:08 15 Oct '04 Pin
Dave Kreskowiak15-Oct-04 1:39
mveDave Kreskowiak15-Oct-04 1:39 
GeneralRe: Visual Basic 6.0 Backup Procedure 0:08 15 Oct '04 Pin
kengharng19-Oct-04 19:13
kengharng19-Oct-04 19:13 
GeneralRe: Visual Basic 6.0 Backup Procedure 0:08 15 Oct '04 Pin
Dave Kreskowiak20-Oct-04 1:35
mveDave Kreskowiak20-Oct-04 1: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.