Solved

Saving VB forms

Posted on 2000-05-12
9
148 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
9 Comments
 
LVL 28

Expert Comment

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

Author Comment

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

Expert Comment

by:GivenRandy
Comment Utility
Hmm, write them to a file and read from them.
0
 
LVL 28

Expert Comment

by:AzraSound
Comment Utility
funny, i'm writing an app that is doing something similar...hadnt considered saving them back to be compatible with vb again...<listening>
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 3

Expert Comment

by:jjmartin
Comment Utility
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
Comment Utility
To jjMartin: I need to save form in the code
0
 
LVL 28

Expert Comment

by:AzraSound
Comment Utility
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
Comment Utility
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 100 total points
Comment Utility
You need to save them in VB environment in specific folder in order tb reached at any time
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now