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 Shaun E 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: KPharm
  • Content: Threads
  • Order by date
  1. KPharm

    How do you declare a DTE object?

    The example given by MS in the MDSN doesn't tell you how to declare the DTE object or import it's namespace, etc, so the code segment below doesn't work. I'm just trying to add a reference path at runtime and it recommends using the DTE. Has anyone been able to instantiate such an object? Thx...
  2. KPharm

    Late binding a dll from alternate folder

    Hey guys - We have an application that loads a specific DLL depending upon which "study" the user wants to access. This works just fine if all study-specific DLLs are located in the same folder as the main app's EXE. How can we implement late binding to happen on a DLL in a...
  3. KPharm

    Get folder path in .net?

    This was the age-old question in the VB6 forums, but how is it done in vb.net? Is there a standard component/dialog to find a folder path that I'm missing? Thanks
  4. KPharm

    How to extract string list from an Object ?

    If I have an Object with a string array inside of it, how can I parse it or assign it to a real string list? Dim oObj as Object Dim sStringList() as String oObj contains the string list. Thanks!
  5. KPharm

    Browse for folder in vb.net ??

    How does one get the pathname only back from a dialog? I've seen tons of code to do it in vb6 but I can't get that code to work in .net. I can't believe that MS didn't make a function for this yet. Does anyone know different or have a way of performing this? Thanks
  6. KPharm

    Help: WriteLine can not print doublequote to file

    Both of these writelines will fail with the error: Object reference not set to an instance of an object. FileOpen(1, sFilename, OpenMode.Append) WriteLine(1, Chr(34)) WriteLine(1, """") FileClose(1) Any writeline that I attempt with all characters works just fine. How do...
  7. KPharm

    Events in module - pass back to main thread

    I'm trying to find a way to pass back events from my thread inside of a MODULE back to the main thread but the following is illegal: Public Class frmMain Inherits System.Windows.Forms.Form Private m_oThread As modMyThread ... because modMyThread cannot be used as a TYPE. You may be...
  8. KPharm

    .Exe to .Exe communication

    Does anyone have experience with methods of EXE to EXE communication, where I can pass messages from the child EXE to the parent EXE in VB.Net? I can do something like this with events if my EXE was to spawn classes or threads (which I'm very good at writing), but from app to app is a different...
  9. KPharm

    Multiple small previews

    Hi all - I have a co-worker who would like to show multiple small report previews on the same frame in Visual Basic. Currently, we use 7.0 but will be upgrading soon to 8.5. Is this possible? Personally, it doesn't seem like a good idea anyway, considering the time it would take to populate all...
  10. KPharm

    Cross-page horizontal columns

    Hi guys - a co-worker is attempting to perform the following: make a Crystal 7.0 report with 20+ columns that will span multiple pages for each record. This is possible by default in Q+E (aka DataDirect or Vision:Explorer) where if the columns go off of the page, then the pages will auto-format...
  11. KPharm

    Cr7: IsNull defeats server-side processing

    I'm using VB6 with Crystal 7 and the following segment from our WHERE clause that we pass into the report through the Automation Server (cpeaut32.dll) is making Crystal bring back ALL of the records instead of just the ones we need: sCriteria = "{ISSUES.ISSUE_STATE} = 'Q' and...
  12. KPharm

    Filtering with RecordSelectionFormula

    I'm using vb6, cr7 (cpeaut32.dll), and Oracle 8. Crystal will always bomb once (-2147417848 Automation Error) when performing the following filtering on a NUMBER field: Field Type QUERY_TO_SID NUMBER with the filter being set as: sCriteria = sCriteria & "{TABLE1.QUERY_TO_SID} =...
  13. KPharm

    In Designer: How to auto-prompt Login

    I have some OLE reports (CR7) that automatically prompt to enter in login information as soon as I hit the Database tab for the first time and some that require you to manually login to a server by hitting Database -> Log On Server. Is the auto-prompting an option? If so, where? I'd like to...
  14. KPharm

    SCR Automation Logon with OLE report problem

    I can get the following Logon line to execute ok with a report that was done in ODBC with the following: Dim crystalApplication As CRPEAuto.Application Dim crystalReport As CRPEAuto.Report Set crystalApplication = CreateObject("Crystal.CRPE.Application") Call...
  15. KPharm

    No .PaperOrientation field!

    I'm using CR7 with VB6 and everyone's answer to programically setting the orientation says to set the .paperorientation property after setting the printer name/driver/port. The problem is, my CrystalReport1 component on my form does not have this property. Therefore, when I send the report...

Part and Inventory Search

Back
Top