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

    Message Box with custom icon

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

    Message Box with custom icon

    brzdude - erm, did you read the question? And thanks for the insight on the Application object. I've never come across that before. (heh)
  3. JohnCMolyneux

    Calling a form - Newbie question

    Hi. Just a quick tip - when you're coding and want to include another unit in the project, press Alt-F11.
  4. JohnCMolyneux

    Message Box with custom icon

    Cheers big ears. I've never even heard of QDialogs!
  5. JohnCMolyneux

    Message Box with custom icon

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

    Message Box with custom icon

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

    Download via ASP.

    Erm, no, thanks Chris. I'm going to look into attaching the file to HTML so as not to give a direct URL to anything. John.
  8. JohnCMolyneux

    Download via ASP.

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

    Download via ASP.

    Thanks disorder, but I've already discounted using the database, as I usually do with anything that's file based. John.
  10. JohnCMolyneux

    Download via ASP.

    Thanks Chris - I'll give it a go. John.
  11. JohnCMolyneux

    Error '80004005' running Access ASP export

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

    Connecting to sql-server from asp

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

    Download via ASP.

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

    Non-ActiveX DLL

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

    Non-ActiveX DLL

    Thanks ArtieChoke, but I think I'm going to have to copy the code across to Delphi which is what the main application is written in. Thanks.
  16. JohnCMolyneux

    Shell execute

    Create a new project and place the textfield and button on the form. Add a module and add the declaration to it (ensure that this is a public declaration, or create a public function in the same module that runs the private one.) Add the onClick code.... ShellExecute...
  17. JohnCMolyneux

    Email a web form using ASP

    Oops - there's supposed to be commas on the above example of use!!!! SendEmail "aperson@anaddress.com","you@youraddress.com","Subject of email","This email was sent using the SendEmail function I got off Tek-Tips" Donkey!
  18. JohnCMolyneux

    Email a web form using ASP

    Hi. Try this function that I use regulary (Win2003/IIS6)... Public Sub SendEmail(sTo, sFrom, sSubject, sBody) Set imsg = CreateObject("cdo.message") Set iconf = CreateObject("cdo.configuration") Set Flds = iconf.fields...
  19. JohnCMolyneux

    Shell execute

    I've just done this myself. For some reason, VB changed the zero to 2 zeros (no O's as your text above). Also, if SW_SHOWNORMAL is not declared, as it isn't by default in VB, you need to declare it or replace it with the value : (Taken directly from windows.pas, delphi unit.) SW_HIDE =...
  20. JohnCMolyneux

    Non-ActiveX DLL

    Hi. I've got an ActiveX DLL that I wrote in VB6 which is used on my web server as part of an application. I'm now making a System Tray application that will inform users of relevant events, directing them to relevant web pages on the server. For this, I want to use the DLL that the web server...

Part and Inventory Search

Back
Top