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 SkipVought 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. CodeFish

    Could Not Find installable ISAM

    vb6novice, To Create an ADO Connection to an Access DB there a many variations but a couple you can use are:- Dim oConn As ADODB.Connection 'Instantiate Connection Object Set oConn = New ADODB.Connection oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data...
  2. CodeFish

    Could Not Find installable ISAM

    vb6novice, Looking at some code I did some time ago has now shown me how to duplicate this error that I saw so Frequently. CCLNT is quite right that its not the password which is what I first thought of but an error in the connection string:- A connection string with DATA SOURCE spelt...
  3. CodeFish

    Could Not Find installable ISAM

    The error message "Couldn't find installable ISAM" often occurs on Access databases with passwords. Does the Access DB you are trying to open have a password? If so, do you include "Jet OLEDB:Database Password=" in the ADO connection string? Codefish
  4. CodeFish

    Read Client Side Folder ?

    You Need to Enable "Initialiase and Script ActiveX Controls Not Marked as Safe" in your IE Security Settings. Tools >> Internet Options >> Security Codefish
  5. CodeFish

    Using VB 6 on XP

    Also try Windows Update for various fixes for VB
  6. CodeFish

    ActiveX Com can't create object in ASP

    rodin, If you are creating an Object in ASP then the Server requires Word to be installed on it. Its my guess from the error message that its not installed. The Browser settings are irrelevant. OR/ If the code is within Script tags i.e. running on the Client and NOT ASP then you need to...
  7. CodeFish

    Counting occurences....?

    Why not use the Split Function (VB6):- StringOccurs = UBound(Split("1239821938127", "1")) Codefish
  8. CodeFish

    Handling special characters in XML string

    Oops, forgot that the Browser will render the HTML replacements. The Replace lines should use the following:- amp, lt, gt, apos, quot respectively. Codefish
  9. CodeFish

    Handling special characters in XML string

    pankajv, The Function I use is:- Public Function XMLFormat(sFieldData As Variant) As Variant '---------------------------------------------------------- ' Author: Codefish ' ' Date: 15/8/2001 ' ' History: ' ' Purpose: - Replaces Illegal Characters for their '...
  10. CodeFish

    Recordset

    lash, Create a Disconnected Recordset from your SQL database with code like below:- 'Declare Local Objects Dim oRec As ADODB.Recordset Dim oConn As ADODB.Connection 'Instantiate Objects Set oRec = New ADODB.Recordset Set oConn = New ADODB.Connection 'Open Connection oConn.Open...
  11. CodeFish

    App stays in Memory after close...HELP!!!

    fugly, Make sure ALL Object References have also been released. Regards, Codefish
  12. CodeFish

    Excel Application

    Hi PFairhurst, You need to add some code to dsi's post to deal with Excel 7(95) bugs. An Open Version of Excel 7 doesn't get placed into the Running Object Table (ROT) by default, thus GetObject will not detect it until you have registered it to the ROT yourself see the Microsoft Articles...
  13. CodeFish

    A Question about Views

    Yes it is popssible see an example below:- NB/ Mortgages Table is in SQL Database Called Mortgages Companies Table is in SQL Database Called Misc View Created in Mortgages Database Code: CREATE VIEW dbo.[VW_Mortgages] AS /* Add Company Name to View - Standardised Display Name for Company*/...
  14. CodeFish

    Document Object Model

    Hi ror, I've used XML DOM in VB. Check out:-http://www.topxml.com/xml/articles/dom_xml_prog/Contents.asp Codefish
  15. CodeFish

    A rouding problem with VB?

    I read somewhere the Round Function behaves like it does by design. The reason being is to preserve the 'mean' when calculating it for groups of numbers. thread222-318384 Codefish
  16. CodeFish

    class problem

    One other point to mention is when designing classes for COM components, for use in Web Applications, you would prefer the 1st method. This is because it only makes one server call as apposed to multiple server calls if you had Class Properties like in the second method. Secondly if you...
  17. CodeFish

    Inserting .Wav files in a game. Nothing is working

    Hi bradshaw, Try this Code: In a Module place:- 'Windows 95,98 'Declare Function sndPlaySoundA Lib "c:\WINDOWS\SYSTEM\WINMM.DLL" (ByVal lpszSoundName$, ByVal ValueFlags As Long) As Long 'Windows 2000, NT 'Declare Function sndPlaySoundA Lib "C:\WINNT\system32\WINMM.DLL&quot...
  18. CodeFish

    Public variable vs. Property statements...?

    Hi All, The reason for Property procedures are for enabling encapsulation of code. Use property procedures when: The property is read-only, or cannot be changed once it has been set. The property has a defined set of values or needs to be validated. Values outside a certain range — for...
  19. CodeFish

    Determine if program is installed

    Hi ayyapps, I use the Registry Access Functions Library (RegObj.dll) to do an EXE Application Search:- Public Function AppExists(sAppExe As String) As Boolean '---------------------------------------------------------- ' Author: Codefish ' ' Date: 22/05/2000 ' ' History: ' '...
  20. CodeFish

    Round Function

    Hi devnull69, If you Try:- Round(1.135, 2) you will get 1.14 This is because Microsft's Round Function Rounds Up for ODD Numbers (1.13) and Rounds Down for EVEN Numbers (1.12) in this Scenario. I believe its done be design to preserve the mean (average) when Round is applied to a collection...

Part and Inventory Search

Back
Top