Capturing Visual Basic applications

Is there any way to capture table usages from VB projects which use OLE DB or any other technology not involving data controls?

Hi Bob, what's your budget?
In order to write to disk, I think you will need either a browser add-on such as a Firefox extension, or a stand-alone application.
You still can still manipulate Internet Explorer using the components of IE. (Example: I recently updated a VBA application in Word which grabs a webpage, parses it without displaying it in a window, then lays out the data in a document.) For full capability, though, you may need to learn VB.net or C#.
Depending on the pages, a Firefox extension could be fairly lightweight, but you would likely would need to rewrite your code in JavaScript, as Firefox doesn't speak VB.
Mozilla allows embedding of Gecko, the rendering engine in Firefox, into third party applications as described here: [https://developer.mozilla.org/docs/Gecko/Embedding_Mozilla]. However, unless there's a lot of time to learn this, you probably would be better off with one of the other options.
Finally, I'm sure there are pre-built scraping tools you can configure to extract anything you want from any site. That would be simplest, but I couldn't being to guess at the cost.
Anyway, I should note that this is not a developer-oriented website, so you probably should seek comments elsewhere as well.

Similar Messages

  • Vi started from visual basic application

    Hi,
    I made a small visual basic application which has a "start loop", "stop loop",
    and "quit" button. It also has a text box. When I click "start loop", it
    calls
    a simple vi which generates a random number and sends it back to the
    text box of visual basic. This is done repeatedly until the "stop loop" button
    is pressed on the vb form. The problem is that when I run the program,
    the random numbers are updated correctly on the vb form but the form never
    gets the focus (no idle time) so I can never press the stop loop.
    Here is part of the code:
    Private Sub StartLoop_Click()
    ' this is the code for the "start loop" button
    RepeatLoop = True
    Do While RepeatLoop
    Call DoLVDataExchange
    ' the DoLVDataExchange con
    tains:
    ' Call vi.Call(paramNames, paramVals)
    Loop
    End Sub
    Private Sub StopLoop_Click()
    ' this is the code for the "Stop loop" button
    RepeatLoop = False
    End Sub
    Any suggestions welcome. Thanks for your help!
    Cyrille

    Cyrille wrote:
    >
    >
    > gets the focus (no idle time) so I can never press the stop loop.
    > Here is part of the code:
    >
    Check the vi.
    I have never done this with VB so I am not sure.
    In the VI you may need to add a "Wait MS" and wire in 200 (change to suit your
    needs)
    Or you may need to add this in the VB code
    It sounds like the thing is running full speed and you cant hit the
    button fast enough to stop the loop.
    Kevin Kent

  • Deploying Visual Basic Application using Acrobat Pro 9

    Hi,
    We had to modify an existing Visual Basic 6 application to merge 2 pdf files and to rotate 1. We used Acrobat Professional 9 to do so. Now we want to deploy this application. After deployment, we always get a 'Run Time error 429: ActiveX component can't create object' only when we use the new functionalities. So I presume something is missing in the deployment package linked to the Acrobat Pro.
    Can somebody tell me how to deploy a Vb application which uses some Acrbat references?
    Thanks,
    Peter

    After deployment, we always get a 'Run Time error 429: ActiveX component can't create object' only when we use the new functionalities.
    Looks like that your application can't find an installation of Adobe Acrobat.

  • How can a Visual Basic Application be used to read a Netscape LDAP server?

    I would Like to know if Visual Basic (ON AN NT WORKSTATION) can be used to access a Netscape LDAP Server (ON UNIX). And If so, will any API calls be necessary? Is there any documentation on using Visual Basic with LDAP?

    Hi Ryan,
    yes you can use VB with the nsldap32v30.dll or nsldap32v30.dll. You can get this from the iplanet page . The dll is inside the LDAP C SDK. Then, there's a 3 or 4 year old vb sdk with the declarations of the LDAP functions; but this seems not to be available in the web.
    Please send me a mail, I'll send you the doc and a sample vb prog.
    remove the nospam.
    [email protected]

  • Excel Error: Microsoft Visual Basic Application: "Compile error in hidden module: Module 11

    i am enable to creat XML file in excel when ever try to creal the XML file it shows  Microsoft Visual Basic : "Compile error in hidden module MODULE 11
    can any one help me to solve this issue

    Hi,
    For the error message, this problem may occur when the following conditions are true:     
    The Microsoft Office Startup folder or the Microsoft Excel Startup folder contains either or both of the following Adobe Acrobat PDFMaker add-in template files:
    Pdfmaker.dot
    Pdfmaker.xla
    Norton AntiVirus software is installed.
    No full installed
    Please try the following methods:
    Method 1: Download the latest version of the add-in for Adobe Acrobat 5.0
    Method 2: Move the files
    Method 3: Visit the Symantec Web site for Norton Antivirus information   and product updates
    Method 4: Repair from the CD disk.
    For more detail information, please refer to the following link:
    http://support.microsoft.com/kb/307410/en-us
    Regards,
    George Zhao
    TechNet Community Support

  • Replacement visual basic applications that use Microsoft IE as control

    Years ago (~15) I wrote some VB applications that import IE as a component. While visiting some selected web pages, these applications would extract pertinent information and save them in a local (client side) database. Over the years IE has changed, OSes have changed and these applications are barley usable anymore. I am not interested in spending hundreds of dollars on new development environment with MS only to find that this can't even be done anymore.
    It has been almost as long since I even looked at HTML. My question to the community is: to write replacements for these apps, would it be best to write them as extensions to the browser ( is it even possible) or would I have to run a local web server and create web pages that interact with the local sever to get the job done. My preference would be to have these as standalone applications without a need for a local web server but if push comes to shove... Also these applications have to be interactive as some human interaction is inevitable. Any tips, opinions and pointers are welcome.

    Hi Bob, what's your budget?
    In order to write to disk, I think you will need either a browser add-on such as a Firefox extension, or a stand-alone application.
    You still can still manipulate Internet Explorer using the components of IE. (Example: I recently updated a VBA application in Word which grabs a webpage, parses it without displaying it in a window, then lays out the data in a document.) For full capability, though, you may need to learn VB.net or C#.
    Depending on the pages, a Firefox extension could be fairly lightweight, but you would likely would need to rewrite your code in JavaScript, as Firefox doesn't speak VB.
    Mozilla allows embedding of Gecko, the rendering engine in Firefox, into third party applications as described here: [https://developer.mozilla.org/docs/Gecko/Embedding_Mozilla]. However, unless there's a lot of time to learn this, you probably would be better off with one of the other options.
    Finally, I'm sure there are pre-built scraping tools you can configure to extract anything you want from any site. That would be simplest, but I couldn't being to guess at the cost.
    Anyway, I should note that this is not a developer-oriented website, so you probably should seek comments elsewhere as well.

  • I have programmed a visual basic application using activex controls. WHen I run this application through internet, it appears a message box indicating that the measurement studio is a demo, but I have the correct license. What can I do?

    I run the application in a computer without measurement studio because my application is stored in a web server and I access to the application downloading it from a web page of that server.

    Have you included the lpk file with your control? I've attached the tool you'll need and here is a nice link that goes thru it step by step.
    Hope this helps
    Bilal Durrani
    Bilal Durrani
    NI
    Attachments:
    lpk.zip ‏74 KB

  • Call BAPI_USER_CHANGE from RFC in a visual basic application

    Hi all,
    we are developing a tool in order to update users info (SU01).
    The BAPI involved is BAPI_USER_CHANGE.
    We have a table which contains a set of actions. Each action change one field at time. So, if I nedd to change the first name and last name, I call the BAPI two times.
    More or less it works but, some time, it seems that a buffer (some where) is not cleared and one user is filled with the data of the previous user in the table of actions.
    To specify the USER ID we use:
                Set paramUserName = rfcFunction.Exports("USERNAME")           
                paramUserName.VALUE = USER_ID
    To specify one filed value we use the structures (ADDRESS, LOGONDATA, DEFAULTS, ecc):
             Set paramFieldName = rfcFunction.Exports("ADDRESS")
             paramFieldName("FIRSTNAME") = "Wallace"
    Of course we set the corresponding X in the fileld name involved of the structure ADDRESSX.
    We have used other BAPI (eg. PRGN_RFC_DEL_AGRS_IN_COLL_AGR) which invold tables.
    In such case we use the freetable statement to clear the table.
    Is the a correspoind statement to clear a structure (like ADDRESS in BAPI_USER_CHANGE) ?
    Where I can find a detailed documentation of SAP DLL used to make RFC calls ?
    Thanks in advance.
    Andrea

    Do I need to call BAPI_TRANSACTION_COMMIT for each call of BAPI_USER_CHANGE of only once at the end.
    In other words:
    Case 1:
    while not .eof actions
       BAPI_USER_CHANGE
       BAPI_TRANSACTION_COMMIT
    wend
    Case 2
    while not .eof actions
       BAPI_USER_CHANGE
    wend
    BAPI_TRANSACTION_COMMIT

  • Excel Error: Microsoft Visual Basic Application: "Compile error in hidden module: Importedfunctions

    When i open excel 2010 i am getting the above mentioned error please help

    Firstly, You can check startup directory: c:\Users\UserName\AppData\Roaming\Microsoft\Excel\XLSTART\ 
    And remove files from it.
    Also  try to run excel in safe mode:  press ‘Win+R’   -> Enter  Excel.exe \Safe .
    If this issue goes away is safe mode, it  should  caused by some third party add-ins. Try to disable it.
    In addition, you can refer to the following KB:
    http://support.microsoft.com/kb/307410

  • Help me plz: Connect to tuxedo from visual basic 6.0 client application

    Hello everyone,
    i have a big problem
    i try to connect my visual basic application 6.0 to the tuxedo, but i dont know how to use tpinit and tpcall in vb environnement.
    that my code:
    Private Declare Function tpinit Lib "C:\OracleHome\tuxedo11gR1\bin\wtuxws32.dll" _
    (ByVal vlTpInfo As Long) As Integer
    Private Declare Function TpTerm Lib "C:\OracleHome\tuxedo11gR1\bin\wtuxws32.dll" Alias "tpterm" () As Integer
    Private Declare Function TpCall Lib "C:\OracleHome\tuxedo11gR1\bin\wtuxws32.dll" Alias "tpcall" _
    (ByVal vsServiceName As String, ByVal vlBufPtr As Long, ByVal vlBufLen As Long, _
    ByRef rlReplyBufPtr As Long, ByRef rlReplyBufLen As Long, ByVal vlFlags As Long) As Integer
    Private Declare Function TpAlloc Lib "C:\OracleHome\tuxedo11gR1\bin\wtuxws32.dll" Alias "tpalloc" _
    (ByVal vsTpType As String, ByVal vsTpSubType As String, ByVal vlSize As Long) As Long
    Private Declare Sub TpFree Lib "C:\OracleHome\tuxedo11gR1\bin\wtuxws32.dll" Alias "tpfree" (ByVal vlBufPtr As Long)
    Option Explicit
    Type tpinfo_type
    username As String
    cltname As String
    passwd As String
    flags As Long
    datalen As Long
    data As String
    End Type
    Dim tpinfo As tpinfo_type
    tpinfo.username = "cajat05"
    tpinfo.passwd = "cajat05"
    tpinfo.cltname = "VB6"
    tpinfo.flags = 110
    tpinfo.data = "NMLRS 55502022"
    tpinfo.datalen = 14
    Dim ret_init As Integer
    Dim ret_tpalloc As Long
    ret_tpalloc = TpAlloc("tpinfo", "", 9000)
    MsgBox "ret_tpalloc = " & ret_tpalloc
    'ret_init = tpinit(900)
    'MsgBox "ret_init = " & ret_init
    Dim s As String
    If ret_init = 0 Then
    msgbox "good"
    Else
    msgbox "not good"
    End If
    Can any one send me the code he made for a similar case ?
    Thank you in advance.
    Edited by: user3465258 on 2 août 2010 14:57
    Edited by: user3465258 on 2 août 2010 15:44
    Edited by: user3465258 on 2 août 2010 18:00

    As an alternative you may want to consider writing a "C" DLL that is callable from VB. The DLL would make the Tuxedo "tp" calls and check all the return codes and the functions defined in the DLL would simplify the interface to VB. I have done this successfully in the past.
    Harvey

  • Translating Visual Basic Events into Java Events

    I'm in the process of porting a Visual Basic application to Java. Now, most of it is pretty straight forward, since good OO practice is evident in the original VB source. With a good dose of refactoring along the way the Java version is looking pretty good too.
    However, I'm having a problem with events. Here's a snuppet of one of a VB class that generates events and one that uses it:
    (Invoices.cls)
    -=-=-=-=-=-=-=-=-
    Event AddItem(ItemID as String)
    Event RemoveItem(ItemID as String)
    Private m_Items as Collection
    Public Sub Add(ItemID as String)
       m_Items.Add ItemID
       RaiseEvent AddItem(ItemID)
    End Sub
    Public Sub Remove(ItemID as String)
       m_Items.Remove ItemID
       RaiseEvent RemoveItem(ItemID)
    End Sub
    -=-=-=-=-=-=-=-=-and
    (OrderBook.cls)
    -=-=-=-=-=-=-=-=-
    Private WithEvents m_Invoices as Invoices
    Private Sub m_Invoices_AddItem(ItemID as String)
       CalculateTotals
    End Sub
    Private Sub m_Invoices_RemoveItem(ItemID as String)
       CalculateTotals
    End Sub
    -=-=-=-=-=-=-=-=-Can anyone give me a few pointers on what the Java equivalent to this VB code is?
    Thanks,
    Vince.

    Hi,
    There are few main things involved in a Java event delivery
    1. The event source
    2. The event listener
    3. The even data
    4. Registration
    5. The event delivery process
    I don't know the VB syntax, but any way it gives a good idea of what you wish to achieve.
    Here the Invoice class is basically the event source. And the OrderBook class is the event listener. To proceed further you will have to specify (define) the event listener first. Secondly you will have to create an event object which contains the data to be delvered via the event.
    1. Specifying the event listener interface
    public Interface ItemOperationListener
    public void itemAdded (ItemOperationEvent ioe);
    public void itemRemoved (ItemOperationEvent ioe);
    2. The event class
    public class ItemOperationEvent extends java.util.EventObject
    String item = null;
    public ItemOperationevent(Object source, String Item)
    super(source);
    this.item = item;
    public String getItem()
    return item;
    3. Creating and firing the event from the event source.
    public class Invoice
    private collection items; // any collection
    // to hold all the event listeners , this way u can define > 1
    // listeners
    javax.swing.event.EventListenerList listenerList = new javax.swing.event.EventListenerList();
    public void addItem(String item)
    items.add(item);
    // update the listeners
    fireItemAdded(item);
    public void removeItem(String item)
    items.add(item);
    // update the listeners
    fireItemRemoved(item);
    public void addItemOperationListener(itemOperationListener ioe)
    listenerList.add(ioe);
    public void removeItemOperationListener(itemOperationListener ioe)
    listenerList.remove(ioe);
    public void fireItemAdded(String item)
    ItemOperationEvent e = null;
    Object[] listeners = listenerList.getListenerList();
    // Process the listeners last to first, notifying
    // those that are interested in this event
    for (int i = listeners.length-2; i>=0; i-=2) {
    if (listeners== ItemOperationListener.class) {
    if (e == null)
    e = new ItemOperationEvent(this,item);
    ((ItemOperationlistener)listeners[i+1]).itemAdded(e);
    public void fireItemRemoved(String item)
    ItemOperationEvent e = null;
    Object[] listeners = listenerList.getListenerList();
    // Process the listeners last to first, notifying
    // those that are interested in this event
    for (int i = listeners.length-2; i>=0; i-=2) {
    if (listeners[i] == ItemOperationListener.class) {
    if (e == null)
    e = new ItemOperationEvent(this,item);
    ((ItemOperationlistener)listeners[i+1]).itemRemoved(e);
    4. The listener and the registration .
    public class OrderBook implements ItemOperationListener
    private Invoice invoice; // invoice instance.
    public OrderBook()
    // register for event updates .
    invoice.additemOperationListener(this);
    public void itemAdded(ItemOperationEvent ioe)
    String tobeAdded = ioe.getItem();
    calculate();
    public void itemRemoved(ItemOperationEvent ioe)
    String tobeRemoved = ioe.getItem();
    calculate();
    public void calculate()
    I hope this gives a picture of the standard method of event delivery in java . However you can even follow the Observer, Observable pattern (see the documentation for java.util.Observer, Observable).
    Hope this helps,
    Manish.

  • Visual basic iview in Portal

    Dear Experts,
    I have to bring a visual basic appilcation as iview in Portal. Can you please tell me whether there is a possibility to do that. If there is a possibility can you please tell me the procedure to create it.
    Regards,
    Bharath

    Bharat,
    This thread might be something you are looking for.
    Re: Visual Basic application ivew
    Good Luck!
    Sandeep Tudumu

  • URGENT HELP :WEBSERVICES - VISUAL BASIC/POWERBUILDER

    CAN AN APPLICATION BUILT USING VISUAL BASIC(APP A) OR POWER BUILDER(APP B) MAKE A WEBSERVICE CALL TO A JAVA APPLICATION.THE REQUIREMENT IS..APP A & APP B SHOULD TALK TO A JAVA BASED APPLICATION BY PASSING INPUTS AND THE JAVA APP PROCESSES THE INPUTS AND SENDS BACK THE OUTPUT TO APP A & APP B.
    IS THIS POSSIBLE USING JAVA WEBSERVICES? IF YES..HOW? ELSE ANY WAY OUTS?
    -IK

    IK,
    A new XML/JAVA adapter for Visual Basic and PowerBuilder (named ActiveEC) can accomplish the integration scenario you describe. From the product site:
    "With no PB or VB code changes or migration, ActiveEC instantly creates XML ?black boxes? for existing PowerBuilder and Visual Basic applications, enabling them to communicate with portals, Web services, business process compositions and other applications. All PB/VB application security and integrity is maintained, and the existing applications can continue to be used through the native PB/VB interfaces. The unique part of the technology is that it requires no changes to the underlying application code, so it can be used easily and safely with "legacy" client/server apps. This technology instantly discovers all application and screen controls to deploy reliable, complete Web services. Once you deploy an ActiveEC service, you can invoke this service through the following standard interfaces: Web service, EJB, JMS, .NET assembly"
    http://www.active-endpoints.com/products/activeec/index.html
    HTH,
    A.J.

  • Deploy Visual Basic 6.0 RDC application using Crystal Reports 9 on Windows Vista

    Post Author: albe
    CA Forum: General
    When attempting to deploy a Visual Basic 6.0 Report Designer Component (RDC) application using Crystal Reports 9 on Windows Vista systems, the application fails after the first print or preview (that show normally) and an error occurred: -2147417848 Method '' of object '' failed.
    The app use the RDC and Active Data; I verify that the problem is encountered when the app calls the 'SetDataSource' method.
    I tried everything that came in my mind: reinstalling it a few times, with administrator priviledges, disabling uac, manually registering dlls, ...
    I hope that this will be fixed, since Crystal Report 9 is the last CR version compatible with windows 98.
    thanks in advance,
    Alberto

    Hello,
    This forum is for community use and is not considered a support site. For assistance you need to purchase a case from our support site. But 9 is no longer a supported version so this is your only place to get assistance.
    Try downloading the only patches available from:
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90actxwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90dbexwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90devwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90mainwin_en.zip
    Thank you
    Don

  • Migrating Application FROM Visual Basic

    Hi Everyone,
    I have an application written in Visual Basic (Front End) and SQL Server as the Back End. Now this application should run on the web i.e need to web enable the application.I have coded in Java for sometime now,but I do not have any prior knowledge as to build a Web application from scratch.Can anyone let me know
    how to procced.I would like to use open source like JDK for development.Eclipse for IDE.
    Thanks,
    Supriya.

    First off let's get VB specific -- Are you using Access as a local database and container for your queries? If you are then read on, otherwise, the information already give is excellent and complete enough to get you well on your way.
    1 - You are going to have to conver all of your queries either to SQL and store them in a business layer, or create stored procedures for them on the server. I strongly recomend the stored procedure route to hide any detail of your dataserver as much as possible and supply tighter security for table access.
    2 - Your web server is going to be a significant ralleying point for your data and return HTML generation, you should take that into consideration with your IT staff and how it will affect other applications on that server. (It will probably not have sufficient impact, unless you already have your own dedicated server for this application)
    3 - As mentioned by the others, the Applet/Servlet or JSP/Servlet configuation will serve you very well for your application.

Maybe you are looking for