Connecting To AS400 Remotely?

Feb 22, 2010

I need to connect to AS/400 remotely from VB.net I have this code but I keep getting this error "The 'IBMDA400' provider is not registered on the local machine" on the open statement

Dim conString As String = "Provider=IBMDA400;Data source=62.176.136.104;User Id=xxxxxxx;Password=*****"
Dim con As OleDbConnection = New OleDbConnection(conString)
Dim cmd As OleDbCommand = New OleDbCommand("Select * From Cust", con)
con.Open()

How do I get around this?

View 1 Replies


ADVERTISEMENT

Detect If Connecting Remotely?

Mar 23, 2012

I'm working on an app that will allow connection to the sql server database from within the lan or from the internet.

I would like to know how it is possible to detect if a user is connecting via the internent instead of locally.

View 1 Replies

FTP From .net To AS400?

Jan 18, 2010

I am looking to FTP right from my VB.net exe a file to the IBM AS400. I would prefer not using third party utilities. Is this possible. I know I can write a BAT file to do this but really was looking to do this within the program. The IP address of the 400 is known and also the pc file name.

View 3 Replies

ISSUES Writing To AS400 Via ODBC?

Jan 7, 2011

What am I doing wrong? I can write NUMBERS into the AS400 table but when the values are STRINGS, it craps out.

Dim dataCON As New OdbcConnection("DSN=XXX;SYSTEM=XXX;UID=AS400;Password=XXX;DBQ=XXXXXX")

Dim SQLCommand As String SQLCommand = "INSERT INTO ICPICK (PDTYPE,PDSEQ#,PDDATA) VALUES(" & SplitStringRow(0) & "," & SplitStringRow(1) & SplitStringRow(2) & ")"dataCON.Open()Dim dataCMD As New OdbcCommand(SQLCommand, dataCON) dataCMD.ExecuteNonQuery()dataCON.Close()

View 6 Replies

Check File Exists On AS400 Server Using Winform Application?

Dec 9, 2009

I am working on a Windows Application where i need to check a file exists in particular library with user crediantials.

Note : .Net framework 1.1 (VS2003)

View 4 Replies

Install MSI Remotely Without WMI?

Apr 11, 2011

I have an MSI that installs silently and I need to install it on remote machines via a VB.NET app. I would rather not use WMI so is there a builtin mechanism to do this?

View 5 Replies

Run A .bat File Remotely?

Oct 19, 2009

I need to run a .bat file on a remote machine and return the result to the local machine. How would I go about doing this?

View 4 Replies

Accessing The Computer Remotely?

Jun 6, 2012

I have a program called "Blue Coat K9 Web Protection" installed on all of the computers, which filter unwanted content on the internet. My problem is that every-time one of the children wish to access a website that has been unintentionally blocked, I have to enter my password to bypass the filter for that page, which can get quite annoying having to run around the house. To access the AdminCP, you have to enter an IP address in the browser on the local machine (127.0.0.1:2372)so you can change the settings.I wish to create a program that will allow me to remotely access the Admin page to unblock any sites needed from my computer.

View 1 Replies

Accessing The Database Remotely?

Jul 16, 2010

Im using vb.net and developed a project of payroll processing i need to access this project from another system which is connected via LAN by which everyone can use it, but i cant get it this is my connection string which im using .

Public con As New OleDbConnection("Provider=203.94.227.70;Data Source=path\pay.mdb")

View 3 Replies

Add Account To VPN Server Remotely?

Jun 3, 2011

I have a VPN server Hosted in 80.234.49.64

For Incoming Connections I have to Login Remotely(RDP) & add User Manualy(username & password)

I Just want to do it remotely(adding users for incoming connection) Through an application. which i want to write in vb.net

View 12 Replies

Cannot Connect To Server Remotely

Sep 28, 2010

How to connect to MS SQL Server 2008 remotely? I have the following code but I can only connect to the server under the local machine network.

[Code]...

View 5 Replies

How To Remotely Login To Computer

Jun 2, 2009

Any way to remotely login to a computer? This is very useful for computer labs. I know how to shutdown, restart, logoff, and lock a remote computer however I dont know how to remotely log one in.

View 9 Replies

Ping A Server Remotely

Jun 27, 2011

I am working this little project where i need to ping some servers remotely. there's three of them. I need o ping them and per say while they're being pinged to have a command window open with the pinging process going to keep an eye untill it can ping successfully.And since this is for all three servers how do i create a program where it will have all three servers being pinged? [code]

View 6 Replies

Remotely Connect To A Database?

Jun 29, 2009

Is possible for vb.net to create an oledbconnection based on a url?

We have a program that uses ms access as the back end database, which is stored on a local server. The issue we are having is that our office is split in two locations. The remote users are having unacceptable speed issues since they have to communicate over the vpn. Im trying to find a way to either place the database somewhere that is quickly accessable to both offices, or to create a copy of the database on the remote server and somehow sync the two databases periodically.

View 1 Replies

Remotely Control My Program?

Sep 5, 2009

I started learning programming using VB.NET a few months ago, so I'm still like a total noob at this, and I'm not experienced enough with the Microsoft Visual Basic Library to get my answer. I have done some Google searches, and still haven't found any relevant answers.

Okay, suppose I want make a VB.NET desktop app. that displays the number "1" in a textbox when a button is pressed... I can easily make that program, but what if I want the program to, on my remote command, display the number "2" instead when the button is pressed?

Is it possible to write code that reads gmail messages? I know that gmail is pretty open about it's SMTP and POP ports and stuff.[code]...

View 4 Replies

Remotely Deleting A File?

Aug 23, 2010

I have written a conversion (vb6) tool that migrates data (SQL 2008) from one database to another and I make some temporary files (.bak files)I would like to delete after the conversion finishes. The application will not be running on the SQL Server so I need to remotely delete the files. Is there a way to delete a file remotely without having to use an administrative share or the xcmd in SQL Server?

View 2 Replies

Remotely Login To A Forum?

Aug 29, 2009

I need some advise as to which options I have to go about this problem.I want to to create a simple application consisting of two text boxes.One for username Second for Password And then a submit button.What I want is when I enter user/pass and press submit.It should only give me a single message "Login Succeeded" or "Login Failed". The forum I trying to login into is : warez-bb.org What are my options to go about this?? I have considered Sockets but thats in VB6.Still,I couldnt get it to work.It doesnt even connect warez-bb on port 80.

View 2 Replies

Resetting IIS Programmatically And Remotely?

Sep 9, 2009

Usually, when I reset the IIS of a remote server, I have to use "Remote Desktop Connection", log in, and go to DOS , and type "iisreset". Now I'm wondering is it possible to do the exact same thing without using "Remote Desktop Connection" application? Could this be done programmitically and remotely (because the program will not be running on the actual server)? Of course, I'll be providing the username and password within the program.

View 2 Replies

Set The Color Of A Text Box Remotely?

Mar 5, 2012

I want to set the color of a text box remotely. I have this code but its not working.

Dim coloroftext = "black"
tb.ForeColor = "color." + coloroftext

View 3 Replies

Uninstall A Program Remotely Using .net?

May 1, 2009

I've taken MS 4994A (Intro to VB.net), and am studying for 4995A (Advanced Intro to VB.net)Previous experience with VB6 and C++ tells me that the way to do it would be to create a program that will accept a list of computer names and check the registry one-by-one (I'm open to suggestions, though, of course). If it finds the program we're wanting to remove, it will remove it, then automagically install .net 2.0 and the .net version of the programs that were just removed.

View 1 Replies

Adding Account To VPN Server Remotely?

Jun 3, 2011

I have a VPN server Hosted in 80.234.49.64 For Incoming Connections I have to Login Remotely(RDP) & add User Manualy(username & password)I Just want to do it remotely(adding users for incoming connection) Through an application........which i want to write in vb.net?

View 8 Replies

Control A Windows Service Remotely Using VB?

Feb 5, 2009

I have an application in visual basic .net 2008 that allows us to configure our application on different servers, as part of this I need the ability to start/stop windows services on remote machines from the application.I am currently using the following code

[code]...

View 1 Replies

How To Access Vista System Remotely

Apr 12, 2010

I tried to access xp to vista system manually, its working,but programatically how to do itike,by selecting view workgroup computers in network tasks and click one computer in workgroup computers.it shows connect to "system name" window, contains username and passwordif i enter username and password.the seleted computer will able to access in registry otherwise i can't able to access that selected system.

View 1 Replies

Mapping Network Drive Remotely?

Feb 19, 2009

I'm developing an application that needs to Map a network drive for a domain user logged into a domain PC from a remote location. I have tried numerous different things with different levels of success but none with the required functionality. - First, I used WMI to create a process that would run Net Use with no luck: Net Use would ask for a user name and password to connect to the share instead of using the User's credentials.- Second I generated a script (wshNetwork) that would be copied to the remote PC and used WMI to once again create a process that would run wscript in command prompt to execute the copied script.

The script would run successfully (as evident by code placed to fill in a text file when the script completed) but the network drive was not added.- Third I created a program that would be copied to the user's PC which would map the drive using Windows Network API. Again, I used WMI to execute the program as a proccess with the results the same as the script. The application would run successfully but the drive was not added.- Fourth, I edited the user's registry to add the drive. This worked, however the mapped drive was not usable through Windows Explorer without a reboot.

Unfortunately, one of the requirements of the application is to avoid rebooting the remote PC.I have arguably had the greatest success with the following:- I used WMI to generate a scheduled task on the remote PC that would run a script (wshNetwork), an application (Win API) or the Net Use command to map the drive. All resulted in the drive being properly mapped and visable through windows explorer with the files accessable. However, the new map would be labeled "Disconnected Network Drive" and the drive could not be removed (error: network connection could not be found) and the driver letter could not be used without rebooting the system. Anyone have any suggestions on how I can do this? Unfortunately I can't use wshController to run a remote script because a majority of the PCs on the domain are not configured to use it.

View 10 Replies

Remotely Connect To Servers On A Network?

Feb 4, 2010

I am trying to remotely connect to servers on a network. However, an exception occurs and I can never connect. The code I am using to connect to the servers does work because I have had someone else test it. The exception is shown below. Is this a setting with VB or with my computer?

System.Runtime.InteropServices.COMException was caught
ErrorCode=-2147220308
HelpLink="C:Program FilesPIPCPISDK..Helppisdk.chm"
Message="The specified time is invalid "

[code]....

View 1 Replies

Remotely Kill / Close Other Application?

Apr 1, 2011

I'm designing dekstop application with client server architecture with vb.net with mysql database. My question is how do i remotely kill/close my other application? for example two user are logged to the system, user a want to kick the user b out of the system. Kick/close the GUI and the app not just the connection.

View 9 Replies

Remotely Re-sizable Moveable Rectangle

May 11, 2012

how i could remotly make one and make it so i can rezise and move it?

View 3 Replies

Remotely Sending DOS Commands To Another Server

Jun 24, 2011

Is it possible to send DOS commands, using VB 2008, from one server to another server on the network? Perhaps using the process class?

View 1 Replies

VS 2010 How To Remotely Capture Screen

Nov 9, 2011

am developing a project in college and i am wondering to capture a screenshot that continuously update so

View 11 Replies

Why Client Cannot Connect Remotely With External IP

Apr 1, 2012

I have a server and a client working with sockets. I run the server at my laptop, sending its internal IP to my Hotmail account and I run my client at my desktop. I enter the internal IP and connect fine! But when I tried to connect with my cousin's PC, which is not in my network, I entered its external IP and the client couldn't connect.

Here is the code for the Server (consists of 2 forms):
Form 1 (Server):
Imports System.Net
Imports System.Net.Sockets
Imports System.IO
Imports Microsoft.Win32
Imports System.Net.Mail
[Code] .....

View 1 Replies







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