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 IamaSherpa 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. KPharm

    Late binding a dll from alternate folder

    After awhile and some hair-pulling, we figured it out. Instead of late-binding the class name (example, "MyClass") with reflection, late-bind the assembly from the full pathname of the DLL with reflection. Below, this example shows how a class is "reflected" to its...
  2. KPharm

    How do you declare a DTE object?

    After awhile, I answered my own question. The following will return all the info you need: After adding a .net reference to "envdte": Imports EnvDTE Dim o As DTE Dim i As Integer o =...
  3. 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...
  4. 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...
  5. KPharm

    Get folder path in .net?

    mattyjenks - Thanks for your reply. That is helpful for other things but I needed a Dialog to prompt the user. I have found a C# link to build your own Path Dialog and it works just as easily in VB.net. http://www.c-sharpcorner.com/Code/2002/Feb/FileDialogCB.asp Thanks.
  6. 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
  7. KPharm

    How to extract string list from an Object ?

    Solved... Dim FileNameArray As String() Dim oObj as Object FileNameArray = CType(oObj, String())
  8. KPharm

    How to extract string list from an Object ?

    bump up.... I'm really stuck.
  9. 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!
  10. 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
  11. KPharm

    Help: WriteLine can not print doublequote to file

    Found the answer: Allow WriteLine to write the commas and quotes for you: WriteLine(1, Field1, Field2, Field3) which produces: "Value1","Value2","Value3" Kinda neat.
  12. 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...
  13. KPharm

    VB6 Support Ends Jan 2008

    This also means that software developement that requires validation, like through FDA standards, etc, will all be invalidated once a piece of the pie is no longer supported. So we shall see another huge spike in software development in the coming years, but hopefully sooner. We are rewriting...
  14. KPharm

    .Exe to .Exe communication

    Thanks, Chiph, I'll look into sockets.
  15. KPharm

    Default Constructor

    drkestrel, I believe it is implicit because I have not included the line in the New constructor in Classes and all seems to work well.
  16. 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...
  17. 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...
  18. KPharm

    Cross-page horizontal columns

    Ok, with some experimentation after reading your response, I see how a cross-tab does the spill-over. Thanks for the help. -Chris
  19. 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...
  20. 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...

Part and Inventory Search

Back
Top