File being written to -
Dear All,
I have an FTP process which fetches a file however the file is coming across empty and I beleive the reason why is that the users PC which saves the file hasn't finished writing to the file.
Therefore question is how I can see whether the file is in use or is ready for me to grab ??
Thanks
how to use DLL written by VB .NET in VB6 -
I'm trying to use a DLL written by VB .NET in VB6. However, I even can not refer the DLL, the error is:
can't add a reference to the specified file.
any1 has the same experience? Or, we can not use DLL written by VB .NET in VB6?
thanks.
How to test if a file is being written to -
Let's say I already know a file is locked by another application.
Is there any way (API or something else) to know if that file is being written to at a precise moment?
Excel data [2005] -
Hi,
I have written a procedure which runs on the save event of an xls file and saves the content of the active worksheet into a .csv file.
However,
the time values in the xls file like 10:30:51(hh24:mi:ss) are being written to the csv file as integers such as 0.347484994.
Does anyo
embedding files into VB -
I have written a program in Visual basic and it is able to read from certain excel files that are on the computer as well as write to them. This is to aid writing a standard report which is written many many times and the only thing that changes are the number and % of the ingredience
File still being written to -
I needed to get a listing of files inside a folder and any subfolders in that of a certian type. Also the list needed to be sorted by date. I had code to do all this but I thought instead of just building all that and then building a sort I could just have the program create a dos batc
Is my DAL code good enough -
I have been assigned to develop the DAL.
After referring few samples and reading articles on it... I have written one.
Right now Catch Blocks are not written. They will be done afterwards. I am attaching what i have written.
Can you please comment on the Class written ?
Regar
Problem using MsFlexGrid -
I am trying to write the values contained in a MsFlexGrid control to a text file. The problem is that, the value contained in the current cell is never written to the file and all the values in other cells are written. If I click outside the flexgrid control once before writing the fil
How to resolve weird characters written to CSV file -
Does anyone know how I can resolve this problem that characters from names like é,è,ë,ç are being written to a CSV file in a correct way?
Now a name that should be André is spelled like André when the file is opened in Excel...
Anyone knows the cause and how to solve it pl
Watching a text file being written to, then when finished loading it into a text fil -
Hi Everyone,
Is there a way VB.NET 2005 can watch a text file be written to, then once the writing stops VB can know to pull the text file into a listbox? Any help would be much appreciated.
Excel and Visual basic linking -
I have written a program in Visual basic and it is able to read from certain excel files that are on the computer as well as write to them. This is to aid writing a standard report which is written many many times and the only thing that changes are the number and % of the ingredience
Creating a Map from a .txt -
I was wondering if perhaps there was a way to create a .bmp file based on instructions found in a .txt file. I was hoping that a .txt file would have a code written something like this:
1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,1A
1A,1A,1A,1A,1A,1A,1A,1A,1A,1A,
Checking if a file is being written to -
Is there a way that I can look at a file through vb.net and see if it is being written to at that moment?
Thanks
Text File reading problem! -
I have made a VB app which reads stock prices from a text file. The text file automatically receives the prices in the form of a line feed, from another application. Each new line contains the latest price for a stock. Naturally, the file grows bigger as it moves along.
I have writt
binary file -
I have a variable-length record that is written to a file every second from another program. The vb program is supposed to get the new record and update the form with the info. Is there a way to get the newly-written record without having to read from the top of the file each time? Tha
File change event -
Hi,
does anyone know if it is possible to do an action when a file residing on disk changes, i.e. it has content written to it?
I have a file that resides on a web server. Details are written to this file periodically. I require to read the file contents when they change. At th
.csv file question -
I am using vb6 and sql server database.
I am using vb code to write a .csv file. everything is fine except first column which should hold customer number is not right.
Two things:
1. the number in DB is 001004 is written as 1004.
2. the number 07E010 is written as 7.00E+10
A
Access a DBF file with ADO -
I try to write to an DBF file with ADO. So far no luck. I can connect and the recordset gets created, but no infirmation is written to the file.
I use the DBase4 VFP provider in the DSN to connect to the DBF file.
I try to use the addnew and update function, but none of them are supp
Loading Control without putting it on a form, or knowing its type -
I'm trying to write an aplication, which would host usercontrols, written in .net.
The whole point is that I don't know the type of a control in design time, because a control can be written later, after the application was built (its dll path name and other data can be written in a f
test when file has finished being written (resolved) -
a guy here who uses some software that writes a large file (about 700mb or so) needs something that'll check to see if the file has finished being written, and then move that to another directory.
at first i thought maybe i could just have a timer that tries opening the file every f
Saving XML -
Hi guys,
I'm new to this XML stuff and something is really bugging me...
If I save my XML using the MS implementation of the DOM and then open the resulting file in notepad, the XML is all written on one line .... ie unformatted! Is there anyway to format it to make it more readable?
[2005] Write to File does not keep up -
I am writing to a file, and then closing the file. For example
Code:
For i = 1 To n1
objWriter.WriteLine(" text for each N1")
Next
' beep ()
For i = 1 To n2
objWriter.WriteLine(&
Read VB6 variant from a binary file with .net -
I need read from my .net application a binary file written with VB6. I can get longs and string written with VB6 with .net BinaryReader class ut how can I read vb6 variants? Do you know how variants are save in binarry file? how much bytes do they take?
Thanks in advance
[2008] How do I programatically create a .vb class file -
I've written an application that automatically creates a class which facilitates my accessing data and varies according to the database I attach it to. The way I currently have it written, it merely types out the code and drops in a text box. (Thereafter, I copy and paste it into the
accessing text files within dll's -
I have written a program where I have opened a text file as #1 ie.
Open MyFile for Input as #1
..and then tried to reference it in a dll thatI had written earlier:
InRec = bu.GetRec(1,10,EndOfFile)
where the first parameter (ie. 1) is the unit number of the file that I have o
text file problem... -
I have a small VB app which lets a user enter some values in to a couple of global variables. The app then creates a text file and writes the variable to it. An encryption routine I have then encrypts the file and replaces the unencrypted data with the encrypted data.
Using the debu
Get rid of quotes that are written to a text file -
when you write to a text file in visual basic, what you want is written to the file, but it is all in quotes if you look at the file. Is there a way to get rid of the quotes?
thanks
File being written to -
Dear All,
I have an FTP process which fetches a file however the file is coming across empty and I beleive the reason why is that the users PC which saves the file hasn't finished writing to the file.
Therefore question is how I can see whether the file is in use or is ready for
What is AIM written in -
I just want to get a feel of what some of the more popular form-based, networking applications are written in.
Like AIM, is it written in Visual C++? Does it require any engines like Java, or VB Runtime files?
What about Trillian?
Or Bittorrent?
translate file with different code page -
Hello to all users.
Is there a way to read text data that
was written in different code page ?
lets say :
When access read data from text file "GET position,myRecord"
He uses the default code page.
Now , i want to read data from a text file ; but i want to
&qu
Write to file produces #NULL# from empty field -
I am trying to write the contents of some of the fields of my form to a text file. For use with an other application.
I would like the results of empty fields to be written to the text file with just another comma. However the empty fields always get written to the text file as #NUL
weird textfile problem -
Strange occurrence whie writing text file.
An array of text boxes is written to a text file. All textboxes are padded out to same length before writing to file :
dim p, q as string, i as integer
For i = 0 to 86
p= text1(i).text
do until len(p)= (number)
p = p & " &qu
If this can be done you will all want to know. -
I have a problem in that I have written a VB app that has to be installed on 200 PC's running Windows 2000 or NT.
The problem is that tue users have not got administration privelages.
I have heard that a batch file can be written which makes use of CACLS.exe to change the permissio
writing in word -
hi,i am using c# asp.net(2003 version),
i have three textboxes and one button in my form,if i fill values in those textboxes and press button it has to open one new wordfile and values has to be written in that word file.
for example:
Name : born2win
age :24
salary :15
Mapping a setup file to a .vbp -
My department has two .vbp's and one executable file for a peice of software that was written in VB 6.0.
Is there a way to tell which .vbp file made which .exe file?
distrubute a vb program -
Hi,
I have a small vb.net program that i have written and am at the stage where i would like to be able to run it on any xp platform as a single executable file. It's a really small program , a single form with a few buttons that performs some simple claculations. I have written it us
Wait for a text file to stop being written to, then open the text file -
Hi All,
Is there a way vb.net 2005 can check to see when a file is done begin written to, then open that file and pull it's contents into a listbox?
I have a command line outputting data to a text file, then having my vb.net app pull the file from the text file to a listbox. Cur
Easy question () -
Hi,
I've written a DHTML application (a loan application) that will use a *.dll to do validation, etc. on the fields in the webpages. At the end, the end user clicks on submit, and a module will dump all the values of the fields out to a comma-delimited text file.
However, I need
Activex use on the web -
To write an activex on a web page, is it written special? I know how to write a .OCX file in VB but I want to use it online. I searched through other messages but nothing clear was written. Any suggestions on how I could do this?
Thanks!
import dll file -
hi..
i got mifare software written in vb.
there are dll file, and a bas file. Seems that the bas file import/declare functions that provided by the dll file.
what is the really use of bas file ?
how can i extract functions in dll file by using c# ?
- i tried to import the dll
ending an application -
hello everyone !
i've a VB ap. in the MDIform umload i've written
dim frm as form
for each frm in forms
unload frm
next
end
and in the file -exit menu option i've written
unload me
end
but when i close the app with the X button on the form or from the file menu ...