user types in data (8 digits long) into text1
eg text1 = cake
Using this user data (cake) what is the code for greating this file (eg cake.dat) , open it for output , write to it and close it.
I have tried astring = val(form1.text1.text)
open "c:\xxe\astring.dat" for output as #1
write #1: close #1
when I go to view that file it has been saved as Astring.dat
I need it saved as cake.dat
Help ........I am SHUT OFF until I can do it!!!!!!!!
Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!
I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code.