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...
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...
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
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!
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
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...
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...
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...
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...
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...
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...
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} =...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.