Hello
How easily parse VB/VBA code by VB/VBA code ?
Is any ready solutions ?
Thank's,
illya
Nov 12 '05
22 7126
On Wed, 15 Oct 2003 15:16:39 GMT, dX********@bway .net.invalid (David W.
Fenton) wrote: no****@nospam. nospam (Steve Jorgensen) wrote in <qa*********** *************** ******@4ax.com> :
On Tue, 14 Oct 2003 20:02:59 GMT, dX********@bway .net.invalid (David W. Fenton) wrote:
no****@nospa m.nospam (Steve Jorgensen) wrote in <hu********* *************** ********@4ax.co m>:
I'm not familliar with any free hosing
I'll hose your code from free, Steve.
D.F.,
I really can't tell what your message is trying to say, but It's addressed to me. Clarify?
It's just a bad joke, based on your typo of "hosing" when you meant "hosting."
Thanks for clearing that up - I was confused. It would have been more
clear with "" around "hose" :)
"R. Soul" <so**@rest.co m> wrote in message
news:bm******** **@hercules.bti nternet.com... "David W. Fenton" <dX********@bwa y.net.invalid> wrote in message news:94******** *************** ****@24.168.128 .90... no****@nospam.n ospam (Steve Jorgensen) wrote in <qa************ *************** *****@4ax.com>:
On Tue, 14 Oct 2003 20:02:59 GMT, dX********@bway .net.invalid (David W. Fenton) wrote:
>no****@nospam .nospam (Steve Jorgensen) wrote in ><hu********** *************** *******@4ax.com >: > >>I'm not familliar with any free hosing > >I'll hose your code from free, Steve.
D.F.,
I really can't tell what your message is trying to say, but It's addressed to me. Clarify? It's just a bad joke, based on your typo of "hosing" when you meant "hosting."
<Emily Litella> Never mind. </Emily Litella>
-- David W. Fenton http://www.bway.net/~dfenton dfenton at bway dot net http://www.bway.net/~dfassoc If you remember Steve Jorgensen's Joke of the Day feature from a while
back, you will not be surprised to find he didn't get it. Have a look here:
If you recall this thread you'll know why one would not expect to see D.W.
trying to be funny. http://www.google.com/groups?q=+%22s....rr.com&rnum=3
Thanks for the info.
TC
Steve Jorgensen <no****@nospam. nospam> wrote in message
news:ge******** *************** *********@4ax.c om... On Wed, 15 Oct 2003 13:48:31 +1200, "TC" <a@b.c.d> wrote:
"Steve Jorgensen" <no****@nospam. nospam> wrote in message news:28******* *************** **********@4ax. com... I have just done some research on this subject, and it turns out that
todo it right, you need to buy a license for VBA integration. This is the
only way to get the DLLs that give you access to the same information that AutoSense has. Without that, you can theoretically do what you want
(as you have started to do), but it's up to you to pares everything
correctly such determining as what's a comment (snip)
Steve, I thougt that VBA Integration was the process of taking your own application - written in any language, storing data in any format - and exposing its capabilities as objects, methods and properties that can be used by any VBA client. Then, for example, you could automate your application from any Office program. That is not what the OP is doing?
There is a VBA integration license that gives you the files and licenses
to be able to integrate the VBA engine directly into your program just like Access or Word does. Rather than just exposing objects in an OLE/ActiveX compatible way for access by VB/VBA code running elsewhere, you actually host the VBA platform from within the application. From what I can tell, if you want access to the low-level information like what the VBE has with autosense, you need the files that are only available with the purchase of this license.
As for intellisense, I'm a bit out of my league here, but I think that
thedata comes directly from the relevant type libraries (.tlb files or whatever). I believe there are documented APIs for reading those files.
Soit is just a metter of writing appropriate code, to get that data out.
Yes? No?
Almost. The data comes from a TLB-like structure, but a VBA project has
no TLB file to read data from. You can use Tlbinf32.dll to get the InterfaceInfo object from an instance of an object wonce you have an instance created in a running VBA program, and that's been very useful to be in some odd cases, but that's as far as I've been able to get with this approach.
I'll try to post a link back in this thread soon to a VBA unit tester I wrote that makes use of the InterfaceInfo I spoke of in the preceding paragraph.
TC
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: |
last post by:
Hi,
I need to read a big CSV file, where different fields should be converted to
different types,
such as int, double, datetime, SqlMoney, etc.
I have an array, which describes the fields and their types. I would like
to somehow store a reference to parsing operations in this array
(such as Int32.Parse, Double.Parse, SqlMoney.Parse, etc),
so I can invoke the appropriate one without writing a long switch.
|
by: Bob Rundle |
last post by:
I would like to get something like this to work...
Type t = FindMyType(); // might be int, float, double, etc
string s = "1233";
object v = t.Parse(s);
This doesn't work of couse, Parse is not a member of Type.
I have to think that this is possible. Is it?
|
by: slylos |
last post by:
I've got a section of code in my app that keeps track of how much time an
employee has accrued, which equals out to 1.33 days of PTO per month. I'm
trying to store the time accrued so far in an XML file. I have no problems
writing to and reading from the XML file and all my values are correct. The
problem I'm having is my calculation never amounts to 1.33, it goes from
1.32999999999997
to
1.3743333333333.
on the next run.
|
by: Pupkin |
last post by:
Hi,
I was excited to use Microsoft Index Server, built into IIS, to set-up a
site-search function, but it doesn't, by default, parse the ASP code of
the pages it indexes. This makes it sort of a weak option for a site
that uses variables to populate content in a templated site!
For example, I use variables to fill in the meta tags, and every page
shows up in the search results as "UNTITLED." The problems go much
deeper than that, but...
|
by: js |
last post by:
I have a textbox contains text in the format of "yyyy/MM/dd hh:mm:ss".
I need to parse the text using System.DateTime.Parse() function with
custom format. I got an error using the following code. Could someone
help me with the customization? Thanks.
String was not recognized as a valid DateTime. at
System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi,
DateTimeStyles styles) at System.DateTime.Parse(String s,
IFormatProvider...
| |
by: AdrianH |
last post by:
Assumptions
I am assuming that you know or are capable of looking up the functions I am to describe here and have some remedial understanding of C++ programming.
FYI
Although I have called this article “How to Parse a File in C++”, we are actually mostly lexing a file which is the breaking down of a stream in to its component parts, disregarding the syntax that stream contains. Parsing is actually including the syntax in order to make...
|
by: AdrianH |
last post by:
Assumptions
I am assuming that you know or are capable of looking up the functions I am to describe here and have some remedial understanding of C programming.
FYI
Although I have called this article “How to Parse a File in C++”, we are actually mostly lexing a file which is the breaking down of a stream in to its component parts, disregarding the syntax that stream contains. Parsing is actually including the syntax in order to make...
|
by: askalottaqs |
last post by:
i have an xml document that i need to parse in the most efficient way, the syntax of the document is like this
<?xml version="1.0" ?>
- <frameNumber4>
- <v0>
<X>0.148778095841</X>
<Y>-0.987688362598</Y>
<Z>-0.0483409352601</Z>
</v0>
- <v1>
|
by: goldtech |
last post by:
SAX XML Parse Python error message
Hi,
My first attempt at SAX, but have an error message I need help with.
I cite the error message, code, and xml below.
Be grateful if anyone can tell me what the fix is.
Thanks.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |