Moving code from VBA to VB. Easily Done? 
Author Message
 Moving code from VBA to VB. Easily Done?

Hello,

I''ve written some software in Mircosoft Access97 and would like to take it
out of VBA and into Visual Basic.

Are there any decent software programs out there which can automate most of
this?

Any advice would be appreciated!

Kelsy



Wed, 23 Jul 2003 11:34:09 GMT  
 Moving code from VBA to VB. Easily Done?
No advice, but I'm about to be thrown into the same fire. There is supposed
to be some import function in VB6, but it may only apply to forms. I don't
know how it treats controls and code. Let me know if you find an answer!

JF


Quote:
> Hello,

> I''ve written some software in Mircosoft Access97 and would like to take
it
> out of VBA and into Visual Basic.

> Are there any decent software programs out there which can automate most
of
> this?

> Any advice would be appreciated!

> Kelsy



Wed, 23 Jul 2003 11:26:55 GMT  
 Moving code from VBA to VB. Easily Done?
Got burnt badly with AccessToVB.

it does do some things like converting code which doesn't need modication!
and converting forms but somehow messing up the sizes of the controls (how could they get *this* wrong?!)
It is no where near what is possible or what I expected .... a partial and useful translation needing some work on tricky constructs. AccessToVB is next to useless and there is "no return policy" ... "because the product contains source code".
What!!! a few little property get and let procedures and helper routines which I could have written better myself!
It doesn't even attempt to translate DoCmd methods which are the most obvious thing that needs to be done!!

These people obviously survive on passing trade and I'm sure there are lot of us to make it worth it.

Pass the word.
Phil King

Quote:
----- Original Message -----

Newsgroups: microsoft.public.access.modulesdaovba
Sent: Saturday, 3 February 2001 04:26
Subject: Re: Moving code from VBA to VB. Easily Done?

> No advice, but I'm about to be thrown into the same fire. There is supposed
> to be some import function in VB6, but it may only apply to forms. I don't
> know how it treats controls and code. Let me know if you find an answer!

> JF



> > Hello,

> > I''ve written some software in Mircosoft Access97 and would like to take
> it
> > out of VBA and into Visual Basic.

> > Are there any decent software programs out there which can automate most
> of
> > this?

> > Any advice would be appreciated!

> > Kelsy



Thu, 24 Jul 2003 07:21:38 GMT  
 Moving code from VBA to VB. Easily Done?

Quote:

>I''ve written some software in Mircosoft Access97 and would like to take it
>out of VBA and into Visual Basic.

Why?  A number of folks who work in both Access and VB have stated
that an equivalent VB app takes about 50% longer to develop.

Quote:
>Are there any decent software programs out there which can automate most of
>this?

See the list of such at my website.

Tony
----
Tony Toews, Microsoft Access MVP
   Please respond only in the newsgroups so that others can
read the entire thread of messages.
   Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm



Thu, 24 Jul 2003 07:28:39 GMT  
 Moving code from VBA to VB. Easily Done?
There is a big difference between the two.  For one thing, VB doesn't use
Do.Cmd.  It's just as hard for someone familiar with VB to go to VBA for the
same reasons.

Suggest you take your forms in one at a time, get it working, then move on.
Once you are used to VB you will find it much more powerful than VBA.


Quote:
> Hello,

> I''ve written some software in Mircosoft Access97 and would like to take
it
> out of VBA and into Visual Basic.

> Are there any decent software programs out there which can automate most
of
> this?

> Any advice would be appreciated!

> Kelsy



Sat, 26 Jul 2003 06:21:15 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Is moving code from VBA to VB easily done?!

2. Need VBA Code to move a file after it has finished with it

3. VBA code to VB.Net code

4. VB code vs VBA code

5. Moving an attached outlook message into a Outlook MailItem object with VB/VBA

6. moving VBA stuff to VB

7. Moved from VBA to VB - Couple of Quick Questions

8. Doing Error Checking before moving to next record

9. Moving code from VB6 to VB.NET

10. VB 6.0 Code - Move To The Web

11. HELP moving code from EXCEL to standalone VB

12. Quickest way to code Copying/Moving a record key with VB/SQL using ADO

 

 
Powered by phpBB® Forum Software