Hi Andrew,
I'm using XP Pro. I'm assuming, from your comment, that any non-NT version will be okay, but NT versions will not.
I actually ended up making a form to use as a dialog within my application. Let's face it - it's probably the only way to be 100% sure that it'll be stable on all...
Oh yeah....PChar('MAINICON') can be changed to a simple 'MAINICON'. Sorry - just ensuring that that wasn't the problem (even though I know string constants are fine as pchar's.)
John.
Hi.
I've got the following code from the internet (seen it in lots of different places - always the same code with same variable names and code formatting etc..)
function MyMessageBox(lpCaption, lpText: PChar): Integer;
var
MBParams : TMsgBoxParams;
begin
with MBParams do begin...
Actually, the suggestion that Chris gave is not actually what I'm looking for - I'm trying to not give the filename via the URL.
I'll have to look into attaching files to HTML and pass the filename back via that method instead.
John.
Hi.
You're right - it is a permission issue. You need to check permissions within the Access database (don't use access if you can help it!), as well as the database files, the database folder, and the components that open the database (I assume ADODB).
John.
Hi.
You make the connection in the same way you did, but you're probably better off using SQL authentication, rather than windows.
Here's an example ActiveConnection value...
Provider=sqloledb;Data Source=SQL-Server-IP-or-Name;Initial Catalog=YourDatabaseName;User...
Hi.
I've built a download for a website and I want to add logging of downloads. I want to do this via ASP so that a normal download link (with a URL ending in a filename) can be replaced with something like...
http://www.mysite.com/downloads.asp?id=15
...where id=15 refers to a...
Thanks, but check out this article....
http://www.ftponline.com/archives/premier/mgznarch/vbpj/1999/11nov99/jc1199/jc1199.asp
Maybe there's still hope yet! I'm just about to try this. I'll let you know how I get on.
Thanks,
John.
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.