?
Solved

Saving VB forms

Posted on 2000-05-12
9
Medium Priority
?
164 Views
Last Modified: 2010-05-02
My app lets user create forms based on their needs. They select items they wanna see, and line number for each item to be on the form. After the form is created, I need to save it so they can refer to it in the future, and I also need to store this info(line no for each item no for each form in Accesss database). How can I save the forms so they can be used in the future? Thanks in advance.
0
Comment
Question by:sshayevich
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2804914
you want to save them so they can be used directly from the vb environment again?
0
 

Author Comment

by:sshayevich
ID: 2804928
Yes, they should be able to see the list of existing forms and select from them.
0
 
LVL 9

Expert Comment

by:GivenRandy
ID: 2804955
Hmm, write them to a file and read from them.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 28

Expert Comment

by:AzraSound
ID: 2804972
funny, i'm writing an app that is doing something similar...hadnt considered saving them back to be compatible with vb again...<listening>
0
 
LVL 3

Expert Comment

by:jjmartin
ID: 2805016
A VB form file is simply a text file.  It shouldn't be to difficult to open one up in notepad and determine the format you need to save it in to make it available to VB.
0
 

Author Comment

by:sshayevich
ID: 2805064
To jjMartin: I need to save form in the code
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2805159
besides when you open it in notepad and change anything and save it again i think you will lose some dependency information. i just tried it and when i try to reopen the form in vb it lost its reference to the internet transfer control
0
 

Expert Comment

by:SpikeDog
ID: 2805740
You could always create your own form format for a text file. Instead of having it write back as a .frm file you could write it out into an ascii text file and have a function that will recreate the file from your saved text on the fly.
0
 

Accepted Solution

by:
ahmedali earned 300 total points
ID: 2809462
You need to save them in VB environment in specific folder in order tb reached at any time
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month9 days, 20 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question