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 TouchToneTommy 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: StewartJ
  • Content: Threads
  • Order by date
  1. StewartJ

    VFP6 Report Confusing £ and $

    I have a VFP6 exe incorporating a report including fields in currency format. On my and other NT4 machines, the report prints with £ symbols. On a Win2000 machine it is printing with $. In all cases, all regional/locale settings are English (UK). The exe was compiled with 'Use System...
  2. StewartJ

    Excel Reformatting dates

    I am using Excel 97 SR-2 on Windows NT4 SP6. System regional settings are English (UK) with short date format of dd/MM/yy and long date format of dd MMMM yyyy. My VB code is : ActiveCell.NumberFormat = "dd/mm/yyyy" ActiveCell.Value = "01/02/2003" This displays as...
  3. StewartJ

    Adding Shared Workbooks in Excel

    My Visual FoxPro 6 code programmatically opens an Excel workbook through COM with objExcel.Application.Workbooks.Add(<Filename>) This works fine except when the workbook is marked for sharing. In that case, it loads OK but immediately displays a Save As dialog with the default filename of the...
  4. StewartJ

    DTPicker Not Refreshing

    I am using a DTPicker control in a VFP6.0 form. I set the control's properties in the form Activate event, eg: WITH oleDTPicker .Day = 1 .Month = 2 .Year = 2003 .Refresh ENDWITH This works fine and the correct date is displayed. A user selects a data set from another control in the...
  5. StewartJ

    BROWSE from Screen - Problem with Focus

    The last piece of code in the READ WHEN clause of my screen is : BROWSE FIELDS Changes.ControlTxt :20 :H = 'Item', Changes.OldValue :20 :H = 'Old Value', ; Changes.NewValue :20 :H = 'New Value', Changes.Status :15 :H = 'Status' ; NOEDIT NODELETE NOAPPEND NORMAL NOMENU NOWAIT ; TITLE...
  6. StewartJ

    CreateProcessAsUser

    I need to make secure (ie prevent tampering) the data for a large 16-bit legacy application running under Windows NT4. My thought is that I use Windows security to hold the data with access limited to a single user account. I then wrap my legacy app in some VB code that uses LogonUser and...
  7. StewartJ

    Control Array Members

    My function has been passed a control as a parameter. Please could you explain how I determine whether it is a member of a control array?
  8. StewartJ

    Enumerating Connections

    Please could somebody suggest a way of identifying the live connections to a SQL database from within a stored procedure. I am logging user activity into a table but, if a connection is lost as a result of system error or hardware failure, I have no way of logging this. I awnt to be able to...
  9. StewartJ

    How To Identify Domain Name?

    Please can anyone tell me how to identify the domain name under which the user is logged on in NT4 (both local machine and server ae NT4)?
  10. StewartJ

    How do I write an Extended Stored Procedure in VB6?

    I would welcome some advice on how to structure a VB dll so that I can create my own extended stored procedures. Do I need any special components, structures, etc? I am a competent VB programmer but a novice at SQL Server.
  11. StewartJ

    Finding Word's Menu Bar

    I have a document management application in VB6 running on NT4 SP6. I embed an instance of Word in my VB form using the SetParent API and disable its system menu so that I have full control of size, position, etc. I also want to get at its user menu so as to control what the user can do...

Part and Inventory Search

Back
Top