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 Wanet Telecoms Ltd 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: *

  • Users: trezlub
  • Content: Threads
  • Order by date
  1. trezlub

    Working out which control has focus at runtime

    I have a form that has many controls on it. How, at runtime, can I work out which of the controls on the form is currently in focus? All help appreciated.
  2. trezlub

    Testing a print has worked from vb

    How do you test that a crystal report (that is embedded in vb) has been successfully printed using the 'ptintout' method? To my knowledge it does not return a value to indicate if it was succesful or not. I have many users printing from a network printer and ,upon printing, a message box...
  3. trezlub

    Return a value from a report?

    I am running a Crystal Report from VB6 which produces a financial report. I wish to return the final grand total back from the report to VB and then stuff it in a variable. Is this possible? In other words, can Crystal return values. I am populating Crystal by linking it to a stored...
  4. trezlub

    Return a list of available outlook profiles

    I am using VB6 to talk to exchange and do all the usual stuff such as setup appointments on calendars etc. Does anyone know if it is possible to obtain a list of all available profiles for a user, rather than having to input a profile name and then 'resolve' that name? I am making the...
  5. trezlub

    If statement syntax problem

    How on earth (using Crystal Syntax) do you achieve the most mundane task of having multiple lines of logic within each section of an IF statement? I always seem to get the error: The remaining test does not appear to be part of the formula. I am attempting to add a formula with an IF...
  6. trezlub

    EZTW32.dll

    Could anyone tell me how to reference the dll Eztw32.dll from within VB? I try to register the dll but get the error: The Dll was loaded, but the DLLRegisterServer entry point was not found. File could not be registered. When trying to reference the dll by chooing references from the project...
  7. trezlub

    'Save Data with Report' from VB

    I am running Crystal Reports 8.5 from VB 6. I need to be able to open a report (which I can do no problem) and then be able to save that report (with data) and store it within a Folder on the local hard drive somewhere. Does anyone know how this can be done from VB? Cheers P.S. I have...
  8. trezlub

    'Save Data with Report' from VB

    I am running Crystal Reports 8.5 from VB 6. I need to be able to open a report (which I can do no problem) and then be able to save that report (with data) and store it within a Folder on the local hard drive somewhere. Does anyone know how this can be done from VB? Cheers
  9. trezlub

    Setting menu shortcut to ESC key

    How can I set a shortcut on a menu to the ESC key? It does not seem to be an option in the list of available shortcuts.
  10. trezlub

    Tavstrips

    I have never used tabstrips before. Could someone explain how to use them briefly, stuff like how to add more tabs? Thanks
  11. trezlub

    InputBox

    For some reason my inputboxes are being ignored by VB. I step over the code and the inputbox line is executed but it never appears on the computer screen. Code is Dim response as string response = InputBox(&quot;<some string>&quot;) Does anyone know why this occurs?
  12. trezlub

    TARGET frame

    When using a refresh: <META HTTP-EQUIV=REFRESH CONTENT='0;URL=start.asp'> is it possible to use TARGET to force the page to load into a certain frame? Such as: <META HTTP-EQUIV=REFRESH CONTENT='0;URL=start.asp' TARGET=BOB> I have trouble getting this to work. I have correctly set up the...
  13. trezlub

    local machine name

    How do you get the local machine name into VB? I need to display the value somehow. Any ideas?
  14. trezlub

    HTTP_REFERER problem

    I have a page that calls another page upon submitting a form (page1 and page2). Within the called page (page2), there is a line of logic to redirect back to the calling page, i.e. <% Response.Redirect 'page1.asp' %> I would then expect that the value within the HTTP_REFERER server variable...
  15. trezlub

    INSERT sql statements

    I wish to add a record to a DB table using ASP. I know you can create a recordset and then use the AddNew method, .i.e. rs.AddNew rs(&quot;field&quot;) = &quot;some value&quot; rs.update but I wish to insert records by using INSERT sql statements. I can't seem to get this to work as ASP...
  16. trezlub

    Return a Recordset from the called Function

    If I run some SQL to generate a recordset within a called function, how can I return the recordset back to the calling function/procedure? Example: -------------------------------------- <% Dim recordset GetRecordset recordset 'calling procedure 'would like to be able to manipulate...
  17. trezlub

    Text Box - Alpha Characters Only

    How do you force a text box to only accept Alpha Characters? i.e. 'a - z' and 'A - Z'.
  18. trezlub

    Calendar Control

    Any ideas how a Calendar Control in VB6 can be disabled? Unfortunately there is not an enabled property associated with the Calendar control and so : Calendar1.Enabled = False is not possible
  19. trezlub

    CDO - Setting an Appointment on another users calendar

    I am using the reference 'Microsoft CDO 1.21 Library' to allocate an appointment to myself within my Outlook Calendar. How can I send an appointment to another Outlook Account so that it only appears within the other Outlook Account and not my own? The code I am using to assign an appointment...

Part and Inventory Search

Back
Top