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