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!

Recent content by KPharm

  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.

Part and Inventory Search

Back
Top