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

    Problem with insertable objects (rtf, Word) and the char spacing

    I have had this problems for several years now, and even reported it once in the Crystal Reports forum (no replies) because I thought it was a CR problem. I use the OLE container in our application so that the user can create/select several documents (using WordPad, MS Word, Open Office, or...
  2. CP60

    Which ODBC driver?

    I have several odbc (32) drivers on my system for sql server and am confused as to which is best to use: SQL Server Drivers which can be selected in ODBC32.exe: 1. SQL Server sqlsrv32.dll version 6.1.7601 from 2010 2. ODBC Driver 11 for Sql Server msodbcsql11.dll version 12.0.2000 from 2014...
  3. CP60

    Temporary user tables, two different connections, same user

    How can temporary user #table (created through a ADODB connection using the SQLNCLI11 Provider), be accessed by a different program running on the same machine by the same user? (I already know this can be done with a global temporary ##table). The connections to the MSSQLS instance are...
  4. CP60

    AttachDBFileName and then detach in code

    I can use AttachDBFileName in an ADO connection in my application to attach a database to a SQL instance. Also in code (VB), how can I detach the mdf again in order to move it to another location or even or delete it completely? Thanks!
  5. CP60

    Transfer data between Server and local mdf

    Because of a legacy program, and for now until I have the time to implement something else, I need to transfer data from a SQL Server database on a server to a local SQL Express 2014 database temporary table. This was previously being done by importing data from a SQL Server DB to a JET...
  6. CP60

    Which version of SQL Server Express 2014?

    We want to allow some of our low budgeted small curstomers to use SQL Server Express or similar with our Visual Studio 32 bit applications. These customers will only have about 1-2 Gb of data, and around 2-5 regular concurent users each with several hundred record writes per day, and maybe 25...
  7. CP60

    External vs. embedded manifests

    Will an embedded manifest override/ignore an external manifest, even if they each each handle a different sets of instructions for different items? Such as, - External manifest handles OCX dependency. - Embedded manifest includes Common Controls and Execution Level. Thanks!
  8. CP60

    Problem with the DBGrid32.ocx from 2010

    I have been using and installing on customer machines the DBGrid32.ocx from 1999 v. 5.1.81.4 There was a security update in 2012 for several VB6 components, which could be downloaded and installed. I found out that there seems to be a bug in this DBGrid32.ocx from 2010 v. 5.1.98.13, which...
  9. CP60

    Get client worksation name the TS application was started from

    If I install an application on a machine, I can get the Computer name using GetComputerName function (or using the ComputerName Environment variable). If this application is installed on a terminal server and started from the client, how do I reliably get the same exact client ComputerName...
  10. CP60

    CommonAppData folder

    I have a VB Program installed on a customer's TS. (but I don't have access to a Server here to test on). This program is started from a client workstation and uses the older Shell32 SHGetFolderPath wrapper to get the paths for special folders. So, when it askes for AppData, it gets the Users'...
  11. CP60

    How to position the FolderBrowserDialog

    How can I have the FolderBrowserDialog open at a certain position on the screen (and if possible, then also size it) ?
  12. CP60

    Displaying calulated values without losing the precision

    Debug.? 12345678.12345678# + 123456.67# So, how do I display the right sum without losing the precision? Thank you!
  13. CP60

    OLE Blob Object and MS Word 2007: Character spacing problem

    OLE Blob Object and MS Word 2007: Character spacing problem: It doesn't matter which machine I try it on, which document I use, whether it is .doc 97 - 2003 or docx, which font I use, etc., but character spacing is irregular. I may have a word where it spaces right, the same word and format...
  14. CP60

    Terminal Server - HKCU - question

    Sorry, I wasn't sure how to title this. The question I have is just out of curiosity. We had installed an application using Windows Installer and the installation had a wrong HKCU registry entry in it. (It is set so the key gets added to HKCU when a user first starts the application) Somehow...
  15. CP60

    Option button problem

    Anyone knows how to prevent this [bug]? Option Explicit Private Sub Form_Load() Text1.TabIndex = 0 Option1.TabIndex = 1 Option2.TabIndex = 2 Option3.TabIndex = 3 Option3.Value = True End Sub Private Sub Text1_Validate(Cancel As Boolean) Option1.Value = True...
  16. CP60

    Windows Special folders

    With Net 2.0 installed, is there a funtion to get the name of a special folder (such as Program files x86 on a 64 bit system) not listed in the Environment.SpecialFolder enum? These do not work, as they return the x64 folder name and not the x86 folder name: 1...
  17. CP60

    Vista/W7 determinig if App was started with admin elevated rights

    Anyone know if this is possible, and if so, how?
  18. CP60

    Single dim array: Remove empty element

    Single dimensioned array, type string Say the array has 3 element: Redim aryString(0 to 2) as String Debug.Print Ubound(aryString) = 2 'True Element 0 and 2 have data and element 1 doesn't, and I want to remove that element, so that at the end there are only 2 elements in the array...
  19. CP60

    Reference Dialog not wide enough

    Ever get frustrated because the Reference dialog (menu: Project-References) was not wide enough to show the complete file path and name? With this Resource Hacker you can edit those types of dialogs. Download, install and start the Resource Hacker. Open the VB6IDE.Dll in your VB6 program...
  20. CP60

    MouseLeave event on windowless control

    While looking for a simple an easy method to capture a MouseLeave event on a Windowless control, such as a VB.Label (no Hwnd, therefore API WindowFromPoint() doesn't work) I ran accross this from Karl E. Peterson and thought it was pretty neat, and the next best thing outside of sticking the...

Part and Inventory Search

Back
Top