473,396 Members | 1,995 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.

VBA code in a VB.Net application

Hello

We have a VB6 application that integrates an VBA IDE from which the final
user can make modifications.

We want to pass the application to VB.NET, and the first step, before
rethinking the whole application, is to pass the conversion wizard and see
how it goes.

But we want to keep those client VBA modifications working with the least
changes made to them. I've tried integrating VBA in a .NET project but when
I make the VBA IDE visible, I get a COMException ( ErrorCode -2147220119).
The same happens when I converted the VB integration sample of the VBA SDK
to .NET.

I've read that VSA is the substitute to VBA in .NET, but besides I'd have to
tell to all my clients to change all their VBA code to VB.NET code, the last
post I've read about VSA says that the project is dead and to forget about
it.

Anybody was able to integrate VBA (code and IDE) in a .NET app?
Any problems with Interop.MSAPC? Do I have to do it manually?
Is VSA dead?
What are the plans of Microsoft for VBA (or it's substitute)? Which is the
way I should follow?

Thank you very much

Igor Mendizabal
R.P.S.
Jul 21 '05 #1
1 1834
Igor,

I do not know the answer however a lot of crossposting (no problem) where I
see not in the newsgroups..

microsoft.public.dotnet.languages.vb (one of the three most active
developper newsgroups)
and in my opinion a good one for your question
microsoft.public.dotnet.languages.vb.upgrading (with the same people active
as in the one above)

When you get not a right answer you can maybe try it in one of those.

I hope you get your answer.

Cor
Hello

We have a VB6 application that integrates an VBA IDE from which the final
user can make modifications.

We want to pass the application to VB.NET, and the first step, before
rethinking the whole application, is to pass the conversion wizard and see
how it goes.

But we want to keep those client VBA modifications working with the least
changes made to them. I've tried integrating VBA in a .NET project but when I make the VBA IDE visible, I get a COMException ( ErrorCode -2147220119).
The same happens when I converted the VB integration sample of the VBA SDK
to .NET.

I've read that VSA is the substitute to VBA in .NET, but besides I'd have to tell to all my clients to change all their VBA code to VB.NET code, the last post I've read about VSA says that the project is dead and to forget about
it.

Anybody was able to integrate VBA (code and IDE) in a .NET app?
Any problems with Interop.MSAPC? Do I have to do it manually?
Is VSA dead?
What are the plans of Microsoft for VBA (or it's substitute)? Which is the
way I should follow?

Thank you very much

Igor Mendizabal
R.P.S.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Julian | last post by:
Hi I have code in my login.asp which sets the online field in user database to true or 1. I am trying to use the same code in global.asa to change back the online field to 0 but it doesn't work....
11
by: Peter Steele | last post by:
I have a Windows application written in C# that I want to return a non-zero exit code when it it run. The problem is that as a Windows application, there doesn't seem to be a way to control this....
6
by: Dan McCollick | last post by:
Hi All, I have a very small screen scrape application, that has a small problem. when I run the app and I have fiddler(an http tool to view what is being sent by the requests/responses,...
4
by: Craig831 | last post by:
First off, I apologize if this gets long. I'm simply trying to give you all enough information to help me out. I'm writing (almost finished, actually), my first VB.Net application. It's a forms...
5
by: Unforgiven | last post by:
I downloaded a web timer control from http://www.eggheadcafe.com/articles/20021006.asp and it's written in C#. The code and .DLL comes with the download so I'm trying to convert the sample which...
8
by: neilmcguigan | last post by:
I just wanted to list some reasons why I prefer inline code to code-behind. 1. you can fix some bugs more quickly. remote desktop into server, change the aspx file, and she's good to go. I'd say...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
7
by: Jay | last post by:
In my C# code, I'm attempting to display a message box then quit the win form application I'm writing if a certain type of error occurs when the application starts up. In the main form's...
0
by: peridian | last post by:
Hi, I have the below code to transfer code modules between Access database files. I have three problems, only one of which is annoying. a) How do you prevent the Save As box from appearing...
5
by: vamsioracle | last post by:
Hi all, I have a problem with the ult_smtp package. Let me explain how the structure of my code is procedure------------ begin declarations of variables and cursors...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.