Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SPRobson

    Adding leading spaces to a string...

    Hi Thanks alot. I thought there must be a VB function somewhere to help me. Thanks again, Simon Thanks Simon
  2. SPRobson

    Adding leading spaces to a string...

    Hi I am trying to sort numerical columns of a listview control. I've worked out that I must add leading spaces to my number strings to do this. For example, if I have the following numbers 10.234, 100.234, 1000.234 then I must convert each string to " 10.234", " 100.234&quot...
  3. SPRobson

    Dispatch Pointers? Ugh?

    Good Morning/Afternoon I'm after some advice on automation. I've written an ActiveX EXE in VB which I can automate from within a VC++ program that I have written. The only trouble is the auotmation is 'one way'. That is, everything is driven from my VC++ client. Can someone please tell me...
  4. SPRobson

    Splitter Windows

    Good Morning Can someone please point me in the right direction to the easiest way to add a splitter window to a dialog? I want to create a splitter akin to that of Windows Explorer for my form. Much appreciated, Simon (from a cold and wet North East of England)
  5. SPRobson

    Checking if a form is loaded?

    Good Morning/Afternoon I am automating a ActiveX EXE (that I've written in VB) from a fairly simple Visual C++ program. Everything appears to be OK. However, I want the client C++ program to be able to know when my server VB ActiveX EXE has been closed by the user. How do I do this? Is it...
  6. SPRobson

    Disabling the 'Close' Button

    Good Morning/Afternoon I have a simple VB ActiveX EXE which has the usual Maximise/Minimise/Close control buttons at the top right of my main window. Is it at all possible to disable the Close control button whilst the maximise/minimise buttons are left enabled? (I'm wanting to prevent the...
  7. SPRobson

    AcitveX EXEs and interfaces?

    Hi Please bear with me on this one. I've just followed a tutorial to create an ActiveX EXE component. It works fine. I am able to automate my component from within another VB project (I haven't tried from VC++ yet) and it works standalone. One thing that confuses me is this: the class that...
  8. SPRobson

    Standard EXE to ActiveX EXE and automation

    Hi Thanks for the prompt reply. The bit I don't understand is the interface between my calling VB program and the activeX EXE. For example if I declare an object of type Y (my standalone EXE thing) and I want to do things to Y (like open a document in Y) then how do I do it? Cheers again Simon
  9. SPRobson

    Standard EXE to ActiveX EXE and automation

    Hi, I've a VB Application written as a standalone 'Standard EXE'. It contains a main form, which can display various modal forms, and a few different class modules, standard modules etc. Nothing special really. What I want to do is create an 'ActiveX EXE' so that my application can be...
  10. SPRobson

    Automation in VB

    Hi I want to drive my VB application from another in-house application written in C++. I've been told I can do this using Automation (formerly OLE?). a) Is this true? b) How do I do it? c) What do I have to do with my VB application to make it 'automation' compliant? Thanks for your help Simon
  11. SPRobson

    Showing a progress dlg in VB?

    Hi Is there a VB equivalent of the CProgressCtrl in C++?
  12. SPRobson

    Hi All, I use List View Control

    Use this type of thing... Private Sub ListView1_ColumnClick(ByVal ColumnHeader As ColumnHeader) ' When a ColumnHeader object is clicked, the ListView control is ' sorted by the subitems of that column. ' Set the SortKey to the Index of the ColumnHeader - 1 ListView1.SortKey =...
  13. SPRobson

    Showing a progress dlg in VB?

    Hi All I've a bit of VB code (a For loop) that takes some time to run (about 2-3 mins typically) and I want to show a progress dialog (i.e. a small dialog with a progress bar and message) whilst this code runs. Is this possible? If so, how do I do it?
  14. SPRobson

    Printer Function

    Hello I'm looking to find an API function (or otherwise) that tells me if a printer is 'available' or 'online'. Can anyone help? Thanks Simon
  15. SPRobson

    VB6 SDI Apps?

    Hi, Thanks for the prompt reply. That sounds good. But, my mainform that currently drives the app shows up to 3 other forms (each with their own menu bar/tool bar) as modeless. How do I keep the functionalities of these forms in an MDI enviorment? (do they retain their original tool/menu...
  16. SPRobson

    VB6 SDI Apps?

    Hi I've been working on an app that has so far consisted of only 5 or 6 forms. It's quite a simple app which has an activeX control on the main form. The main form drives the application (showing other forms via menu choices etc). What I want to do now is create an SDI application instead of...
  17. SPRobson

    Hi, I'm more ore less starting t

    Thanks alot - I'll give it a try......
  18. SPRobson

    Hi, I'm more ore less starting t

    Hi, I'm more ore less starting to use C++ with VC5.0. Can anyone tell me how to read in (and convert to integers) a specific number of bytes from a binary file using CFile? Thanks alot Simon

Part and Inventory Search

Back
Top