Vb .net App And Basically It Connects To The Server?

Aug 5, 2009

I created a vb .net app and basically it connects to the server (my brother's computer at his house) and sends messages. The problem I'm having is, we both have routers. The only way I'v gotten all of this to work, is by both of us connecting ppeo broadband and then our ips work, otherwise the "real ip" is used for all the pcs in my house. How can I connect tcp to him wothout him having to connect broadband. Because to connect broadband he needs to be connected to an ethernet port, so then he cannot be wireless.

View 3 Replies


ADVERTISEMENT

How To Make An E-mailer That Connects To An SMTP Server

Dec 14, 2009

I'm trying to make an e-mailer that connects to an SMTP server.

Ive looked everywhere and Id prefer if it was explained how to put it into my code.

[code...]

View 4 Replies

Get A VB2008 Multi Thread Application Working That Connects To A Local Server Program Using Sockets?

Sep 30, 2009

I'm trying to get a VB2008 multi thread application working that connects to a local server program using sockets. Server requests for this particular system can be more quickly handled by a number of connections, so I've written some code to run any number of data request threads that I choose. The problem that I'm having is that the data returned from the server is getting mixed up and is often returned to a different thread/socket than the one that requested it. Other than that, it seems to work okay. If I use just one thread, then the system works as it should. Pls. see incuded code, which is heavily edited to remove all the other fruit salad. Is there any way to set up the sockets so that data returned to the socket/thread that requested it?

Module StaticDeclarations
Public WithEvents g_SD As New SocketDataClass(New MainThread.MTCallback(AddressOf MainThread.MTResultCallbackSub))
Public WithEvents g_MT As New MainThread(New SocketDataClass.SDCallback(AddressOf SocketDataClass.SDThreadResultCallbackSub))

[code]....

View 4 Replies

App That Basically Gets Paths To Servers

Oct 12, 2007

I designed an app that basically gets paths to servers I have admin rights to, I am doing such things such as checking available space on the servers etc., the problem I am having is my app only works if I manually login via something like (start, run, \server) and supply my admin username and password just to store that authentication.How do I code this so it prompts the user in my program ONE time for all 5 servers (they all use the same username and password)

View 5 Replies

Line - Make A Console App That Basically Makes A Big X Between Pipes

Feb 3, 2011

i am trying to make a console app that basically makes a big X between pipes, but with a fixed line on the bottom where you can freely move a <#> with the arrow keys i did the giant x but i have no clue how to make the fixed line and i cannot find any information about it. i tried using the Console.write() but that only gives move a line that i cant use. Il paste the code i have to far.

[Code]...

View 2 Replies

Make A Program Which Basically Performs Unit Conversion?

Jun 18, 2012

Im trying to make a program which basically performs unit conversion. I have basically made two text boxes, one for the S.I. Units and the other for British Units. The general idea is that when i input any number in the S.I. Unit text box, it should display the answer in British Unit text Box and similiarly if i input any number in British Unit Textbox, the answer should be displayed in S.I.Unit textbox. Now the problem lies here that the code that i created is by using if else. now the compiler automatically gives me the correct result in the British box when i input the value in the s.i. unit box, but when i input the value in the british text box, it gives an error that :

"An unhandled exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll

Additional information: Conversion from string "" to type 'Double' is not valid."

Heres the part of the code.
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim p As String = "Pressure"

[Code].....

View 4 Replies

Position In A Feed File Which Is Basically Transaction Amount?

May 10, 2009

I am explaining an issue that I have faced in my SSIS Package today. A script task reads a string from particular position in a feed file which is basically Transaction amount. I am providing the psuedo code below to explain the issue

[Code]...

View 1 Replies

Create A Button Which Basically Clears Entire Table In Your Database?

May 17, 2012

Is there any way to create a button which basically clears a entire table in your database?

I was hoping to have 2 buttons, 1 to empty a table 1 to fill the same table again.The idea is to store a year long values, and at the end of the year delete all of those with a button.The other button i want to use to fill the same table again.Starting from 1st day of the year untill the last day of the year.

View 6 Replies

Write A Thread Into My App Which Basically Does A Loop In The Background Performing Detection?

Mar 15, 2012

I've been able to write a thread into my app which basically does a loop in the background perfroming detection for a device being added or removed.works great!i am trying to implement another thread to check for a file on the found device...but i still haven't figured out threading enough to make this work, the versions i try to implemt are either looping along with the initial loop or cancelling itself because its already running.i've been trying to put a variable in that would switch the thread off, but it doesn't seem to work.

View 2 Replies

'global' Type Timer That Will Allow To Basically Run Clock Entire Time Someone Is On Site

Oct 21, 2009

I'm in need of a "global" type timer that will allow me to basically run a clock the entire time someone is on my site, no matter what pages they go to. I've played around with the timer available for forms but I didn't see a way to make it continue to run after someone left that page.The effect I'm attempting to create is for a timer to start whenever someone hits my site, then every X minutes an event will trigger. This event should happen no matter where they are on the site. I've read a couple articles on timers but to be honest I'm fairly new to VB and I didn't know if I really needed to learn about 'threading' etc, to get a timer to work.

View 2 Replies

An App That Connects To A Sql Database?

Jul 8, 2011

I have an app that connects to a sql database using the standard connection string.Now i want to do some work on this at home, where i have a vpn connection to work setup.It's quicker to work locally than it is to rdp into work and work from my desktop there.What do i need to append to the connection string to get it to connect to the server at work? i've tried appending the domain in front of the server name but that didn't work. is there something else i should do?

View 2 Replies

Changing How Application Connects To A DB

Nov 30, 2011

I have the following piece of code, which currently connects to a SQL DB using the users windows login, but I would like to change this to use the UserID & Password in the updated ConnectionString which is saved in a config.xml.

vb

<add key="ConnectionString" value="data source=Server;integrated security=SSPI;database=DB1;User Id=develop;Password=develop"/>

vb

Public Sub GetUserDetails()
Dim strSQL As String
strSQL = "SELECT SUBSTRING(SUSER_SNAME() , CHARINDEX('',SUSER_SNAME(),1) + 1 , 20)"

[Code]....

View 2 Replies

Distributing An App That Connects To Oracle 9

Nov 18, 2010

VB2005: So I created an app that connects to an Oracle 9.2.0.1 using the .net oracle adapter. I can issue queries and process the results. This all works fine on my development machine but now that i have distributed the app to my group I find that it bombs on certain workstations, specifically when it comes to connecting to the Oracle db. I've done a little bit of research but havent come up with anything definitive.

So what should I install on my users desktops to make sure that the connection works?

View 7 Replies

Driver - Connects To An Oracle DB

Oct 26, 2010

I have build an application in VB.NET (3.5) wich connects to an oracle DB. I works perfectly on my pc. However. When I install the app on a pc without oracle it will not connect to the DB on the server. Do I have to install somekind of driver on the client pc?

View 4 Replies

Mac Address Of The NIC That Connects To The Database?

Mar 12, 2010

I have a little problem. I made a connection to a database. So now i want the mac address of the NIC that connects to the database. Is that possible ?

View 1 Replies

Program That Connects Through A Proxy?

Jan 29, 2011

i am trying to make a program that connects through a proxy mainly socks proxy but would like to connect through a http proxy also.

View 2 Replies

Winsock Client Connects Once But Not Twice

Jul 3, 2011

I've had a problem which Mike has kindly helped me with here: url..I now ahve a problem when disconnecting then trying to connect again. The app works fine once, but throws the exception again if you try to connect the client a second time.

View 4 Replies

Create A Login Which Connects With A Database?

Mar 14, 2012

I'm trying to create a login which connects with a database which i created on db4free.net and i've installed the connector.

View 2 Replies

Developed Software Called MouseMe Which Basically Records Mouse Movement / Mouse Press Events

Dec 12, 2010

I recently developed a software called MouseMe, which basically records mouse movement and mouse press events. The software itself is in BETA, and I am looking for some testers to have a go at my program.

View 3 Replies

Create A Program That Connects To A Database And Determines?

May 22, 2009

I need to create a program that connects to a database and determines if what the user entered is in the database. Trying to do this in somewhat the same way that a translator might workchecking to find the word, and if found replace it with what is in the row beside it in the database)

Anyone have any idea on how i should go about doing this?

I know its gonna involve looping but as to how i am completely lost

View 4 Replies

Make A Login System That Connects Through A Database?

Jun 30, 2011

Basically Im going to sell software where once the user buys they register on a page, then their credentials gets added to a database, then once they open my program they login and my program checks if there in the database or not so they can advance.

View 3 Replies

VS 2008 Make A Login That Connects To My Forums?

Aug 13, 2009

Is it possible for me to make a login that connects to my forums?So 1. User opens login form 2. Enter info 3. Connects to forums 4. User opens browser and is logged in

View 3 Replies

VS 2008 System That Connects To MySQL Database?

Jul 12, 2010

I have a website with MySQL databases. I'm wanting it to connect and: display a table's data, login using a table with logins, and submit a form to go to be put in the table.

View 2 Replies

Make A Very Simple Program That Connects To A MySQL Database Using .NET?

Feb 27, 2011

I am trying to make a very simple program that connects to a MySQL database using VB.NET. My program only has one form and one label. I setup my MySQL database to have a table and one field (a VARCHAR)called "Tab1". I manually inserted the value "CLOSED" into the Tab1 field using PHPMyAdmin. I want my program to change the value of the field to OPEN/CLOSED and I also want the label text on my form to change too when it's clicked.

[Code]...

View 3 Replies

Making Image Uploader That Connects To Ftp And Send Them In To Public_html?

May 30, 2012

Im making image uploader that connects to my ftp and send them in to public_html.This is the

Public Class upload
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://ftp.my.details.com/public_html/photos/"), System.Net.FtpWebRequest)

[code]....

View 8 Replies

Open A Form Built In Datagrids It Connects Again To The Development DB

Jul 28, 2009

I am working with two databases stored in SQL server 2005, with VB.Net 2005. Database 1 - is the DevelopmentDB and Database 2 - LiveDB. I have two front-ends one connecting to the DevelopmentDB and the other connecting to the LIVEDB.

Now, I have a problem with the live front end. After publishing, it accepts me to log on with the Live username and password..(it connects to the LiveDB) Note: The two front ends i.e., for Development and Live have different usernames and passwords.
So, I get connected to LiveDB, however, when I open a form built in Datagrids it connects again to the DevelopmentDB.I have checked the connection strings its connecting to the Live. This is not an application or database problem. The reason being I tested it on another PC and when I logged on with my credentials it was fine. I was connected to the live database and all the forms were displaying accurate data. Therefore, my conclusion is that this is not the front end or backend problem.

View 7 Replies

VS 2010 Get Values (string) From The Database When A User Connects?

Jun 22, 2011

How it's possible to get values (string) from the database when a user connects? i use in this

[Code]...

View 5 Replies

BindingNavigator Connected To BindingSource That Connects To An Access Database And SQL Insert

Apr 5, 2010

I have a windows app that has a bindingNavigator connected to BindingSource that connects to an Access database. I am manually adding a record to the underlying database using an OLEDBConnection/command (cloning the current record). The insert into the database works fine, what I am not sure on how to do is force the bindingNavigatgor to refresh and read the new record and refelect it in the record count/next/previous buttons.Jack

View 7 Replies

Create A Multi User Application That Connects To Access 2007

Feb 19, 2009

I need to create a multi user VB.Net application that connects to Access 2007 and has 2 forms. How do I go about it?

View 4 Replies

Create A Program That Connects To Several Websites, Logins, Then Post Some Data?

Nov 29, 2009

I use Visual Basic.net to create a program that connects to several websites, logins, then post some data. I can't use the httpwebrequest, some java is required on those sites, so i use the webbrowser control.Now I created a form, some fields for input data and a submit button. The coding part is like this:

Code:
sub website1(vars)
'login here
'post some data

[code].....

The problem is that I can't control what happens after submit button is clicked. I need to pause or stop the process at any time. If I exit the program while processing, I can see that even if the window disappear, the program is still running!I tried to use a thread for this, but the subs only get called if I use begininvoke, or invoke on a starter thread.

View 1 Replies







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