VS 2010 Post In Forum (SMF)?
Aug 6, 2010I tried this code but it shows me errors:Picture:
[Code]...
I tried this code but it shows me errors:Picture:
[Code]...
<edit on 10th March 2010.>
Changed thread type to QUESTION. I was then able to mark AS ANSWER the relevent post which now also immediately follows this post and so it is easier to find as suggested by forum user j2associates .
<edit> It is also my 3rd post in this thread, the 8th one up, of my posts, from the bottom ( for now ), as the forum format has changed yet again.I will leave the rest of this post( as is ) purely for historical reasons. I have been on these forums long enough to see 3 forum changes. <edit> 19th May, 2010> Link added to a video on the next line of text.
[code]....
Click and see this link if you are interested.url...Click this link to see the NEW way of how to insert a picture into a forum post.
View 2 RepliesI'm creating an app that edit a post in a ipforum with httpwebrequest and httpwebresponse in vb.net.I use fiddler2 to get the post forms.I successfully create the code to connect to the site the authentication works well and i don't found problems. But to edit a post i don't find how to do it this is the request of the site taken from fiddler:
[Code]...
it might help to change the forum name to Visual Basic .NET General Forum. or VB.NET General Forum maybe would help the vba and vb6 developers know this is not for them.
[Code]...
I'm trying to make an application for login in a forum (I managed to do that) and submit a message, but I fail at the second part, the http headers look like this:
Content-Disposition: form-data; name="nick"
[code]....
etc.. how can i send a message to a forum with vb 2010?
i'm developing a virtual OS in vb2010. i want to know how i can move objects in the mouse during the runtime of the project? ; like when we move icons in desktop(i saw it in a youtube video, so i know it is possible xd) my second doubt: how i can i can detect if a position is fulled with an object; i want to create the effect of windows superbar; .
View 10 RepliesOk, so today I wasted a bit of time looking for ways to use a text file to save login information. Basically, there are two fields, username and password, and two buttons, sign up and log in. When you click the log in button, I want it to verify the information entered in the fields, and when you click sign up, I want it to add the information to the file. It doesn't seem that difficult, but I'm have a lot of trouble finding a way to do it. I would be very grateful if I could find assistance with this on these forums.
P.S. If it was my decision it would obviously be using a database, but for this particular program I need to be using text files.
Ive been trying to make a program that scans a website for the Forum directory mainly to learn about HttpWebRequest.I know that i need the url, and the request, so i set that up like this:
Dim Message As String = String.Empty
Dim request As HttpWebRequest = DirectCast(HttpWebRequest.Create(Url), HttpWebRequest)
and i set the Credentials to DefaultCredentials Now, How would i scan the directories?
i've tried
for response as HttpWebResponse = DirectCast(request.GetResponse(), HttpWebResponse)
logBox.Text = logBox.Text & vbNewLine & response.ToString()
next
but this has errors...Just trying to scan a site for multiple directories using HttpWebRequest.
Im trying to create a software which can post into yahoogroups.I've done trying to log in yahoomail but my problem is when I am going to post in yahoogroups, I am turning back in to yahoo log in page.
Here's my code so far:
Quote:
Imports System.IO
Imports System.Net
Imports System.Text
[code]....
how to use an http post using this code? This code is given by nowsms to use their mms sending but I don't know how to use it in my vb.net application. Here's the
[Code]...
I'm creating a desktop application that will update my IPv6 tunnel with my current IPv4 address. I've coded a couple of POST and GET statements years ago, but honestly I don't know how to do this in VB2010. The url is [URL] (I broke the url, so it would show in it's entirety). and I know that I'll have to create a string with the information in it. I just don't know what I need to use to code the POST to the website, or retrieve the server response (and place it into a label).
[Code]...
i want add post in my vBulletin by my program
how i can't do that
I was looking at the Facebook Developers page trying to find out how to post notes from my VB desktop app. However, I could only seem to find info on how to have users log into websites using Facebook and info on building Facebook friendly iPhone apps. Does anyone have any idea how to do this from a desktop app?
View 5 RepliesI'm trying to send some data onto a server. The data is an XML in form of string and and image encoded to base64.The problem is that the server says '404 Not Found', just as if I had an incorrect URL, but my URL is 100% correct. I can get data from the server using GET, but when I try to POST it doesn't work.I checked it in Fiddler and it first gets z 401 error (not logged in) and then the 404 error, which results in an exception.Can anybody please have a look at the below code and tell me if there is something I'm doing wrong?
vb
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
[code].....
i wish to use this form which returns a value true or false,
<form action="loginapp.php" method="post" name="logmein">
<table>
<tr>
[Code]....
i'm trying to do away with webbrowsers (IE required) from my vb project.
also whats a better alternative to ie browsers in vb.net, i been looking at gecko but people say it requires you to include 16mb+ worth of files?!?
there must be a way to include browser functionality, without the end user required to have IE Browser?
I am creating a program that will assist users upload a file to a couple different upload sites. There will be RapidShare and Uploading. I want to keep the GUI clean and simple, so I do not want to use a web browser. I have not used much Post Data, but am wanting to use it for this job. What I want the program to do is after the user specifies a file, the program will automatically upload the file to the site.
Here is what I have so far:
Public Function MultiUpload(ByRef data As String, ByRef url As String) As String
Dim request As HttpWebRequest = DirectCast(WebRequest.Create(url), HttpWebRequest)
request.Method = "POST"
WebRequest.Create("[URL]")
request.ContentType = "application/x-www-form-urlencoded"
Dim postData As String = data
request.ContentLength = PostData.Length
request.ContentLength = PostData.Length
End Function
i would like to ask for help, im trying to login to a server by httpresponse and http request. My code should get cookies and redirect to home page as login user, but for some reason i can't make it for.[code]
View 3 Repliesvbnet
Public Class zWrapper
#Region " Variable Declaration "
Private _AllowRedirects = True, _UseGZIP As Boolean = True
[Code]....
It works fine for GET requests, but when I try a POST, it errors: Quote:
A first chance exception of type 'System.NullReferenceException' occurred in WindowsApplication1.exe
Request Error: Object reference not set to an instance of an object.
Is it possible to use cURL and HTTP POST for visual basic?I am trying to make software version of my script to a client..I've created a system in PHP but I also want to let them use a software to post stuffs.
So the first thing I need is to login.
This is my form:
PHP
<form action="dologin.php" method="post">
Username: <input name="[b]myusername[/b]" type="text"><br>
Password: <input name="[b][COLOR="rgb(139, 0, 0)"]mypassword[/color][/b]" type="password"><br>
<input name="submit" type="submit">
</form>
How do I use VB to post my username and password to login?I tried download libcURL but i still do not get the gist from the example.Because usually u will need to define the field name of the post to execute the code. eg (myusername, mypassword)
I finally logged in to yahoomail using httpwebrequest. my problem now is how I am going to put a messagebox saying my log in is successful or not. for now im trying to login using a correct username and pass. Here's my code so far.
[Code]...
I want to read a HTTP Post that comes from a server to a website. I am trying to write a script that basically parse the HTTP post that comes in as text format and read the variables in the text file then add them to a database.
I know how to do the second part but I am unsure about how to read the text file variables that comes from the HTTP Post
The HTTP post that get sent looks as below
CODE:
No Insurance
I am trying to write a code for this and have the code below
CODE:
How do I get the variables in this text file, mainly start after ":" and the last 3
I am trying to send an HTTP Request to a server using a POST method. The problem comes from the PostData, which needs to be in Bytes form to be used by the UploadData function.
[Code]....
Having a problem with sending a file via HTTP post in vb.net. I am trying to mimic the following HTML so the vb.net does the same thing.[code]
View 4 RepliesI have a little bit of trouble figuring out why I am getting these error messages. Here is the error messages and then the code will follow behind it.The code is taken directly out of the book "ASP.NET 2.0 Everyday Applications for DUMMIES". [code]
View 6 RepliesI am developing a web site in Visual Basic 2008 using .NET Frameworks 3.5 on an IIS7.0 web server and I am having a problem with a simple error page redirect. Furthermore I only have ftp access to the webserver in a web hosting environment. I am having problems with some errors and not others, mainly error 401 is the problem.<customErrors defaultRedirect="~/Default.aspx" mode="On" > </customErrors> this is the custom errors section of my [URL] file,
View 1 Repliestimes i have seen questions like, how can i search inside my threads or how can i search for threads i have started. I have found Beth Massi`s blog about searching msdn forums by using meta information. I have checked a few other sources about this and wanted to summarize this for anybody who is interested.
If you want to search for threads to which you have contributed use : meta:Search.MSForums.ThreadContributorUserName(Heslacher)
If you want to search for threads you have started :
meta:Search.MSForums.ThreadStarterUserName(Heslacher)
If you want to search for threads which are answered :
[Code]...
I'm supposed to make a game for a friend of mine, or for his site more specifically which has an IPB forum. He wants only users from his site to be able to use the game, so I need to make some kind of authentication so that only registered users can login. I have no idea how to do it and all research turned sour I'd prefer not to have to deal with cookies, but POST instead since I have a wicked awesome wrapper at my disposition
View 3 RepliesI found this source code for controlling mappoint in .net .Net confuses me so much.
What would it take to convert it back to VB6? The projects seem small in size, but I just dont understand .net[URL]...
I searched all over the this forum and did not find a section to ask my questions about VB6
View 2 Replies