473,396 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

opening multiple files through vb6's openfiledialog

2
I have written the following code in VB6 and I want to open multiple files in a single go through the openfiledialog. Please help me as I'm a beginner in VB6.
Expand|Select|Wrap|Line Numbers
  1. Application.ScreenUpdating = False
  2.  
  3. filetoopen = Application.GetOpenFilename("xyz (*.txt, *.log; *.txt; *.*")
  4. 'application.m
  5.  
  6. If filetoopen = False Then
  7.     OpenTotemFreqPlanFile = 0
  8.     Exit Sub
Jan 1 '08 #1
2 3656
Killer42
8,435 Expert 8TB
I'm confused - where do the Application.ScreenUpdating and Application.GetOpenFilename come from? Pretty sure they're not vanilla VB6.
Jan 1 '08 #2
It looks like VBA to me.

Bobby
Jan 3 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Stephen LeBlanc | last post by:
I'm having an issue coding in VB.NET. I'm trying to create a program that let's a user choose 2 files, using the OpenFileDialog control:1 file exists and contains data for extraction, the other...
0
by: John | last post by:
Hi there, I'm just starting at VB.NET (all VB come to that), and have what's probably a very basic question: I have a form in Visual Studio 2003 that has a listbox that is meant to be...
16
by: iwdu15 | last post by:
how can i open a file i saved and place the info into different text boxes?
5
by: Scott M. Lyon | last post by:
My application (a VB.NET 2003 WinApp) currently has first an OpenFileDialog (asking for an input file to the process I'm working on), and then once the user selects that, it brings up a...
8
by: marcus.kwok | last post by:
I am having a weird problem and I have can't figure out why it is happening. I create an OpenFileDialog and set a filename filter. When the dialog first opens, the filter works correctly, and...
2
by: AMP | last post by:
Hello, I'm not sure this is the best way but, I have a txt file I want to put into a TextBox: OpenFileDialog opnFile = new OpenFileDialog(); opnFile.Filter = "txt files (*.txt)|*.txt|All files...
8
by: gazza67 | last post by:
Hi, I want to do something that I thought would be simple but i cant seem to work it out, perhaps someone out there could help me. I want to browse for a file (it will be a word document),...
2
by: junaid | last post by:
Hi, please help me i want to select multiple files including directories using OpenFileDialog, but i cant get directory name(s) in FileNames property i am using J#, VS2005 are there any method...
2
by: sillybob123 | last post by:
Hello, I was hoping someone could help me with my recent problem i have 1 OpenFileDialog and i want the user to only open 1 sort of file so this is what i have If ReadCon.GetName(OFD.FileName)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.