FTP Connect And Read File?
May 29, 2009
i need to connect a FTP server which has ID and password and read a text file. Dont misunderstand it is not for hacking... It is my own ftp server and i am working on a file editor by connecting FTP servers.
View 12 Replies
ADVERTISEMENT
Sep 22, 2008
my code to read from serial port and store it in a variable?
Public Class Form1
'SerialPort object creation
WithEvents mySerialPort As New IO.Ports.SerialPort
[Code]......
View 1 Replies
Apr 9, 2010
i was wondering if/how i can make visual basic 2008 to connect to a web site and search for a string (for example, an antivirus program would read a string from the first link, or which ever string is the virus path, and then takes that string and uses the my.computer.filesystem.fileexists(string1) method (string1 being the string found on the site))
View 1 Replies
Mar 11, 2010
I have a txt file that I need to read into a listview, but I need to read from a specific line in that file. Below is a sample of the txt file to read,
6400,3200,2,95.5,84,76.6,0
1,2,-20,15,0,0,0,"NO",0,0
TOTAL GPM= 6400 HWT= 95.5 CWT= 84.0 IWBT= 76.6 ALTITUDE= 0
CODE]...
View 1 Replies
Jan 8, 2009
I have a .dll file ( MySql.Data.dll ) that I'd like to be able to open, view and possibly edit the database but I can't find any examples or documentation on doing so.
[Code]...
View 6 Replies
Jan 15, 2009
I'm trying to to connect to a Oracle database and read the content to a textbox. This is my
Dim conn As OdbcConnection
Dim connectionString As String
Try
[code]....
Connection is ok, (I think) Connection Open shows in textbox, and no errors. But I get a nullexeption on the reader, it has not been assign a value. Don't know what to do next.
View 18 Replies
Oct 24, 2009
I have created a program that saves the co-ordinates of the users mouse and saves it to a text file to be used as an auto clicker.
View 2 Replies
Dec 15, 2009
I'm using vb.net 1.1 to develop the program. I got text files that contain test result from a machine, like below.
T1 1.24535 2.56335 2.43253 1.24538 2.55619 4.35243
T2 1.42542 1.63728 3.57295 4.59275 1.57320 2.72057
T3 5.12857 2.45375 6.38593 2.58375 3.57259 3.57204
I need to check the test result with the data from database, to find out which test result is failed. If there is a fail test result, I will show an alert to the operator and stop the checking process. Until the operator close the alert, then the checking process will continue from the last read point.
View 2 Replies
Sep 21, 2011
I have a number of word documents I am converting. Everything is going great until I get a file that is read only. In this case I get a Save As prompt.
Is there any way to open the file in read/write format? I should have admin privileges so access isn't an issue.
I'm using VB.net to open the files. More specifically
doc = word.Documents.Open(path, Type.Missing, False, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing)
View 2 Replies
Feb 27, 2012
Reading a .txt file in VB.net. My file path is C:UsersMyLilMulePepeDocumentsVisual Studio 2008Projectscurtain_calls.txt.
This is my line of Dim LoanOptionsFile As String = "C:UsersMyLilMulePepeDocumentsVisual Studio 2008Projectscurtain_calls.txt"
I can read the file when I run the program, but how do I write the file path so that someone else can download my program and file and read the file on their system?
View 3 Replies
Oct 3, 2009
I'm trying to make a program that can read .mp3 data (Such as Artist, Album, Year, Track number, etc), but I need to be able to do two things that I have no clue how to do:
1. Read starting from a specified string (E.G, On one line it states: [code]
2. Read until a specified string (E.G, On the previously stated line,I need to read starting from what I said, up until.
View 8 Replies
Jan 11, 2011
i need to read binary file and in this file found the string and replace it with other one and save the file afterwords. I found many example to read binary, but to find and replace is for me mistery.
View 3 Replies
May 4, 2009
I need to write data to a file, preferably in binary format, but I am unaccustomed with the concept. Where's the easiest place to get the basics? I could come here with a specific need, but I'm at the point right now where I am more willing to work within the confines of keeping it simple.
Here's what I know:
1. how to open a new file
2. how to specify the record length
3. how to close the file
Some specific questions:
Does the record length have to be constant throughout the file?
Can I read the nth record without reading the whole file?
View 8 Replies
Feb 13, 2010
I have a fairly simple XML file that I just want to read the data from.
It has 3 levels, root, main section and items. There are no attributes. I want to go to the first main section by name, then read in all the items. The items all are named the same. I've seen this done before, so it should be ok. No writing will be done. Basically this is a static data file
File looks similar to the following:
CODE:
View 4 Replies
May 21, 2009
in my text file i have two part. Called bottom and top. So i need to read the Top part first then and match the line with bottom part. Its like this
[Code]...
View 5 Replies
Apr 5, 2012
i make the vb homework first, connect the mdb file, then login. In the mdb file, there have login account and password.when i run the program, it have some problem:"dataAdapter.Fill(dt)" highlighted, The 'Microsoft.Jet.OLEDB.4.0xxxxxxx.mdb' provider is not registered on the local machine.
[Code]...
View 1 Replies
Jan 11, 2010
is it possible to connect .chm file to windows app, vb.net vs2005?
View 3 Replies
Dec 8, 2009
I have a form with a datgridveiw on it, but rather than connecting to a data source (SQL 2005 Express), I want to use a .uld file to do it. I can create the .udl file fine and the connection test works, but I havn't got a clue how to connect to my datagrid, or what the code is and when and where to create the connection and disconnect from it.
View 6 Replies
Jul 30, 2009
Can I connect the .mdf file with OleDbConnection.
View 4 Replies
Sep 16, 2011
im trying to connect to an sql database using an ini file, this is a code i have found:
[Code]...
View 2 Replies
Jul 7, 2009
I have a one text file which look like this[code]...
If then i must compare that value with my second file.. if the value T250.exist in my second file i must copy the whole line from my second file and past beside the original line in my first file.
View 3 Replies
Apr 1, 2010
where to put a .dll file in VB.net for connect RFID?
View 1 Replies
Apr 5, 2011
how can we connect a sys database file to vb.net just like we connect a sql file or access file to vb.net
View 3 Replies
Jan 14, 2011
I'm try to make a Inventory System
<!-- [if gte mso 10]> <mce:style>
The following are identified details that needed in an inventory system:
-
Date delivery
-
Type of Batteries
[code]....
View 2 Replies
Apr 7, 2012
I am trying to connect to an attached mdf (SQL Express local) file, where i want to delete all the stored procedures. When i execute my code at executenonquery command i get the error "There is already an open DataReader associated with this Command which must be closed first.".
[Code]...
View 4 Replies
May 23, 2009
I have a file mdf. I can connect it on my machine by changing the code to connect string. But when i install another machine. Do i rechange connect string ? If so i have to install VBEXPRESS for them to modified the code.
Is there way when i give them software i can change server name on their machine.
i thought modify connect string of config file . But it seemed not yet.
<add name="QLBH2008ConnectionString"
connectionString="Data Source=COXUYEN.SQLEXPRESS;AttachDbFilename=|DataDirectory|mRIC.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
View 2 Replies
Aug 4, 2009
I need the progress bar to represent the position of the cursor in a document. I also need the program's loaded text to highlight letter by letter at a user defined rate and that position be indicated by the document. This is for a personal application to assist me with a learning experiment.
View 5 Replies
Oct 29, 2009
Im trying to connect a SQL Server file named mybookstore.mdf, i've created this file in a MS SQL Server 2008 Express on the server named SQLEXPRESS when I open Visual Studio and tried to connect to it(assuming im on a project), VS cannot find my server instance when I tried to connect to it(connect to server) in the Server Explorer, i tried typing localhostSQLEXPRESS but it throws a message that it cannot be found i've also tried to open my database using the connect to database button on the Server Explorer but it ask me if I want to create it?
[Code]....
View 4 Replies
Jan 4, 2012
how can I connect to a access (*.mdb) file from a website and edit it?
View 1 Replies
Oct 21, 2009
How do I connect to Mas90's file using their ODBC that they setup
View 10 Replies