Connect Form To Webpage (Sockets )?

Jan 16, 2011

I am new to vb.net (2010) and am working on a project that has to send information from a client application form to a php-based web page.

View 1 Replies


ADVERTISEMENT

Server Sockets : Showing Each Connect Ip?

Mar 25, 2011

im making a sort of basic server with ban and console broadcast and yea but now i thought to make evry user that's connected (tho the running server)(their ip) in to a listview with their username (that will be defined in to a textbox on the client) any idea's how to do it ? if you want here is my sevrer code :

Form1.vb (Main form for starting stoping broadcasting and such )
Imports System.Text
Imports System.Threading.Thread
Imports System.Net

[code]....

EDIT : does this server support's mulltiple connection's ?

View 4 Replies

Connect A VB Frontend With A Python Backend Using Sockets?

Oct 26, 2009

I have some really nice Python code to do what I need to do.I don't particularly like any of the Python GUI choices though. wxPython is nice, but for what I need, the speed on resizing,refreshing and dynamically adding controls just isn't there. I would like to create the GUI in VB.NET.I imagine I could use IronPython to link the two,but that creates a dependency on a rather large third-party product. I was perusing the MSDN documentation on Windows IPC and got the idea to use sockets. I copied the Python echo server code from the Python documentation and in under 5 minutes was able to create a client in VB.NET without even reading the System.Net.Sockets documentation, so this certainly doesn't seem too hard.

View 2 Replies

Program That Uses Sockets To Connect Server To Client

Aug 2, 2010

i made a program that uses sockets to connect the server to client but there is a problem with it when i try it on this ip"127.0.0.1"wich is not a real ip just a loopback to my computer it works just fine when i use my local ip it works as well when i use my main ip from http:whatsmyip.org it doesnt work at all i dont know why it doesnt say an error or an exception but its not connecting so i gave the server to a friend of mine i tried using both his real ip and his local but still not working i dont know why?i mean i am 100% sure of my code...

View 7 Replies

ASP.NET Webpage To Device Connect To Server's USB (COM) Port

May 19, 2009

I am working on a way to send commands to an Arduino board from a web site. The Arduino board is connected to the computer via a USB port (a COM port).

I have managed to connect and control the board using a VB.NET program. I also wrote a VB.NET class that can instantiate a COM connection and send and receive messages.

My next step is to basically create a program that will act as a proxy between my web server (IIS 7 running on Windows Vista) and the Arduino board. When a user gets to my ASP.NET page, the page will then send a command to the proxy to open the COM connection. When the connection is open and ready then I can send commands to the proxy. In turn, the proxy will send these commands to the board and listen for the responses it receives from the board. The proxy will then pass these messages back to the ASP.NET page.

The main issue I see occurring is that if a second user opens the web page and tries to open the COM port, there will be an error. Will this cause the first connection to fail? I guess I can first check if the port is already in use and give the second user a message. Are there any other potential challenges I am missing or not seeing?

View 1 Replies

Url - Open Webpage (or Snapshot Of Webpage) Into Another Webpage

Mar 10, 2010

i have an aspx page with vb.net back end. in that page i get names and url's from the database depending on different conditions. My requirement is that when i get the url, the code should then use that url and have that webpage in a small preview form on my existing aspx page. so basically i have a table as follows -

[Code]...

View 1 Replies

Communicate .net Form From Webpage?

Apr 24, 2011

I do not know how to communicate form VB.net with a webpage, meaning that when I send a data string, then the results shown on the form VB.net, so the webpage of the server sends the data string to form vb.net.

View 4 Replies

How To Display Webpage On Form

Jun 11, 2009

I am having a issue when navigating to a URL that requires the user to log-in before proceeding. The system we are logging into takes care of going to the log-in page and then back to the page I specified. But when I navigate (webbrowser.navigate = ...) to the web page it locks up the form until the method is complete. But I want to wait in that method until after the user logs in and then the window is redirected, and I want to make sure they got there. I am going to need to do this multiple times during the program. Is there another method I should use? I would prefer to use the embedded web window in VB2005.

View 3 Replies

Show A Form From A Webpage?

May 29, 2009

I have a problem I am trying to solve in an elegant manner. I have a .net application that I have created. I am trying to get one of the forms to be shown from a webpage. This sounds strange I'll admit, so here is the backstory

We have some large monitors at work, that show information on them. I have no control over how the information is displayed. Currently they are just using a browser and tabbing in the browser to show each different piece of information on the screen. Most of the info they show is just standard html stuff, text and images.

Now along comes my winforms application. The part of the application I need to show is a graphical display. Everything on this display is drawn using GDI+, if that matters. I need to get this form into a format that I can show. Below is my own solution, but I am pretty sure this is not the best method, but it may be the only method I can use[code]...

I though about doing something with the clients, however the clients are not always up, so I could have periods where the image wouldnt be updated.

I also was thinking about an ASP.net solution, but that would require me to learn ASP.net, and I am not quite ready to take that challenge

View 3 Replies

Downloading Files Form A Webpage?

Oct 31, 2010

Here is this code of the webpage:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

[code]....

View 4 Replies

Form Controls Linked To Webpage?

Jun 7, 2011

One section of my latest project idea involves linking several form controls to the Google map (distance calculating section), which is area I'm not familiar with.

What I would like to achieve is following: (VB2010) I would like to link two combo boxes on my form to Google map (Start Address and End Address)as well as two labels representing distance & ETA time to Google map (Suggested route, option No.1, highlighted section).

As soon as user select values from combo drop downs on my form, code performs search trough Google web page and return values to my labels on a form. At the same time database would be populated with a same search values (Start Address, End Address, Distance in Km and ETA time)

Link to a web page seems to be a very common request within community members but I did not find anything similar to what I would like to do, so it makes me think that my project idea is going to be" hard bone". I do not need Google web page displayed on my form in a split container or in any other way.

View 3 Replies

Get Text From Webpage Into TextBox On My Form?

Sep 4, 2010

Im working on an app that will scrape addresses from yellowpages.ca

View 5 Replies

Possible To View Windows Form Through Webpage?

Apr 20, 2010

I have written an application that lets me track work crews as they move from one job site to another. It runs on my local computer as a windows form. The form displays labels with the job site and crew names on them. The application is written using VB.net 2003. What I would like to do is see what is displayed on that form from another computer in a different office. Is there a way that I can use a web page to display what is on the windows form?

View 3 Replies

Pressing Button On A Webpage Form?

Nov 29, 2006

How would I press a button on a web page form that is on the browser that is in my app. Wear is a good place to start learning about interacting with web pages that are in my app.

View 6 Replies

Use To Fill Out A Form On A Webpage Automatically?

Feb 26, 2010

just looking for more information really as tutorials on the net seem to be lacking on this one. What would you use to fill out a form on a web page automatically? what syntax?

View 6 Replies

Webpage Form Input Automation?

Oct 5, 2011

I have a list of data which needs to be inputted into many different fields on a webpage. usually about 1000 or so and i am trying to automate this using vb.net but i couldn't find a better solution than using appactivate and sendkeys. this solution definitely isn't very accurate and reliable.

is there another, better way of accomplishing this?is there a way to find certain input fields on a webpage, set focus to it and input data in a more reliable way? the way i have it written at the moment is appactivate and tab to certain fields and input data using sendkeys.

View 5 Replies

Building Webpage Out Of User Inputs Off A Form

Jun 25, 2009

I was trying to find examples of how one would make a webpage using asp so that I could have the visitor enter information on a form and then when they hit submit it will be attached to my webpage indefintaly and any visitor can view it.

View 4 Replies

Forms :: Display Particular Portion Of Webpage In Form?

Feb 21, 2010

Was trying to make a little project which will login to a site. The problem i am facing is with the captcha code display..

Was searching around to get the captcha to the form directly but didn't found anything useful.

So my question is how to display only the area of the captcha on the form instead of the complete form.

Like suppose I want to display only the portion where the logo of Visual Basic .NET Forums - The Exclusive VB.NET Community is located instead of complete webpage.

Application using : VS 2008

Answer expected for : VB 2008 or C#

View 2 Replies

Show A Thumbnail Of A Webpage On A VB 2008 Form?

Jun 3, 2009

I need to show a thumbnail of a web page on a VB 2008 form. I have found a number of code snippets that mention something called an IViewObject which can apparently do what I need but the only examples are in C.

View 5 Replies

VS 2010 Downloading Files Form A Webpage?

Jan 27, 2011

Here is this code of the webpage:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>File List</title>
<style>

[Code]...

What I am wanting to do is create a program that will load up a page (it is password protected) and get the links out of any files that I need to download. The green text is the text that contains the link and will be repeated for every file.One little thing is that there are multiple pages that are accessed through JavaScript with the code highlighted in red. So, I also need to step through the pages and get a list of all files on subsequent pages.

Everytime I run this program, it will get a list of all files and only download the ones that aren't already downloaded. However, I have never done this before and was wondering what I need.I have accessed the source of pages and parsed it for things like links before, but not sure if that is the optimal way or if there is some other way to handle this particular situation easier, especially since I have multiple pages to deal with and JavaScript.

View 1 Replies

Check When Webpage Loaded And Fill In Form Within Loop

May 31, 2011

I am making this program that has a loop that goes to a website and fills in a form within the loop. But first, here is my code thus far

Dim message As String = TextBox3.Text
Dim loopnumber As Integer = TextBox4.Text 'makes the necessary variables
Dim browser As New WebBrowser
Dim url As String
[Code] .....

But what happens is that the loop runs a few times then it errors on the setattribute line (line 19 above) with
NullRefrenceException was unhandled
And I have a feeling that it is not loading the page fully before it tries to fill in the form.

View 1 Replies

Click On Webpage Htmlelement / Link Through Form With Web Browser?

Jan 26, 2010

I tried several samples on the forums I can not get it to click.

For Each element As HtmlElement In WebBrowser1.Document.Links[code]...

View 5 Replies

Convert Graphic On A Form To Bitmap Or Something Else I Can Post On A Webpage?

Apr 13, 2010

I designed a complicated graphic that draws on a Visual Basic screen. But how can I transfer the image to a bitmap or some other format that I can post on the Internet? I've tried the XAML editor in Microsoft Expression Web but people don't like downloading Silverlight, at least that's what they tell me.

View 2 Replies

Navigating Through WebPage, Submit Form, Extract Files?

Mar 4, 2011

I am trying to create a executable that on opens:

-Navigates to a webpage
-Fills in the login Form
-Submits the form

[code].....

View 1 Replies

Connect A Database With A Form?

Apr 16, 2009

I have created a login screen but I need to connect a database that hold all of the login information to the form on visual basic. My question is how do I connect the two together so that it works like a e-mail address acount like on google's gmail?

View 2 Replies

Connect Sql Database With A Form In .net?

Mar 31, 2009

I am a new member here and i would like some help with my problem, i am working on my graduation project and it is about mobile learning, i'm using visual basic.net and using the sql database i want to connect my data base with the form in visual basic, how can i do that.

View 2 Replies

Connect The Database Which In Different Form?

Mar 21, 2011

is it possible to connect the database which in different form. For example which form1 make the connection to database and while form2 make the data update and retrieve from the database.Or another example, is i login as manager and i open up the manager form, in manager form we will establish a connection. and in the manager form there is 3 different buttons and each button will open up a new form. in the new open form we will be able to add or edit or view the account data and exit. but using the connection that make at manager form. Can it be done?

View 7 Replies

Connect To SQL Server From Win Form Over LAN

Mar 17, 2009

how my connection string should be if i want to access remote(within out local network) sql sever from a win form?

View 8 Replies

VB - Put The Player On The Webpage And Put The Webpage On The Sever It Cant Play The Video ?

Jan 13, 2009

I making a webpage with the help visual basic. I wanted to put a flv video in it and i used flash control for asp.net [URL]. I made the player in flash told it to download the video from the sever. Now when i put the player on the webpage and put the webpage on the sever it cant play the video. But when i just pres the the player which is in swf format it works. It can download the video. But when i put the player on my webpage it cant.

View 5 Replies

Interact With PHP - Send To A Remote Server As If Had Just Filled Out A Form On A Webpage?

Mar 18, 2010

[Code]...

How would I send that to a remote server as if I had just filled out a form on a webpage? Specifically... I'm looking to have a program automatically log me in to a web site like Facebook, get important details/updates, then log out.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved