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 wOOdy-Soft 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: howardnl
  • Content: Threads
  • Order by date
  1. howardnl

    Returning char* from C++ dll

    Hello, I've got a C++ dll that I need to call that returns a char* value. I've tried using this in C#, but I can't seem to get it to work. This is the way I'd like to do it, but my string is always blank. [DllImport("stringReturn.dll")] public static extern string...
  2. howardnl

    Select ODBC connection

    Hello, I'm working on an application where I want the user to be able to select a ODBC data source. How can I bring up the "Select Data Source" window? It looks similar to the ODBC Data Source Administrator window. In C++ I could do this like this: CDatabase myDb; myDb.Open(NULL...
  3. howardnl

    Automating Excel without MFC

    Hello, I am automating Excel with VC++. I have been using all the wrappers instead of direct COM Automation. Direct automation is supposed to be faster, but how much of a performance increase is there? I need the absolute best performance possible, but I would like to know if it is worth my...
  4. howardnl

    CListBox Problem

    Hello, I have an application that when the user presses a button a dialog box pops up. From that dialog box another button can be pushed that brings up a CFileDialog box that lets the user select multiplie files. The selected files are put into a CListBox control. That works fine. My problem...
  5. howardnl

    ODBC / Query analyzer error

    Hello, I have a SQL Server database setup at a remote location and I have an ODBC connection to the server. I also use Query Analyzer to query the db. They both worked fine until the other day when I was fooling around with the local users on the remote server. Now when I try to access the db...
  6. howardnl

    Freeze panes

    Hello, I'm working on a project using C++ to create an Excel spreadsheet. Everything works fine, but I need to be able to freeze some of the panes. How can I do that? I really appreciate any help. Thanks, Nick
  7. howardnl

    Createdispatch problem (PLEASE help)

    Hello everyone, Here is my problem. I created an exe that was basically a collection of functions and it worked fine. It created an Excel spreadsheet, put some data in cells, and saved it. It uses Createdispatch to open Excel. I wanted to move these functions to a dll, but when I call...
  8. howardnl

    Problem running exe from asp

    I'm having a problem running an exe from asp. The exe is part of a project that I am working, but I did not develop it. My code is: dim wshell, command set wshell = server.CreateObject("wscript.shell") command = "c:\demo.exe" wshell.Run command set wshell = nothing My...
  9. howardnl

    Editing the registry

    Is there a way to edit the registry with ASP? I have been able to read registry values using wscript.shell, but I get an error when I try to update. It says "Invalid root in registry key." Could I be missing something? Based on user input I need to set a registry value. Thanks for any...
  10. howardnl

    How to run a command line command from asp

    Hi, I need to be able to run a command line command from within asp. How can that be done? I am going to have a user select an option from a list and based on their input run something from the command line. From what I've seen so far, I need to use Wscript.shell, is that right? Thanks for any...

Part and Inventory Search

Back
Top