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 Mike Lewis 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: apc2003
  • Order by date
  1. apc2003

    Activate "What's This?" mode via code

    I have a "What's This?" button in my caption bar of my application... However when using this button in an application i lose the Maximise/Minimise buttons... I want to replicate this button with a button on a form. How do i call the "What's This?" mode via code WITHOUT USING WINDOWS API...
  2. apc2003

    E-Mail With Attachments

    Perfect... Many Thanks. :)
  3. apc2003

    E-Mail With Attachments

    I am building a E-Mail system to include in a large application. When adding an Attachment to an e-mail created in Outlook the file is attached and shows itself as a small Icon which represents the file type. E.g. if you attach a .doc file you would be shown a Office/Windows document Icon in...
  4. apc2003

    Adding A Progressbar To ListBox and/or Statusbar

    Thanks thats a great help... I take it that to add a Progressbar to a ListBoxItem would follow the same principles of Inheritance etc... ? Thanks again...
  5. apc2003

    Adding A Progressbar To ListBox and/or Statusbar

    I have an application where we have a statusbar at the base of a form, and a list box on another form that we would like to show a progressbar in one or more of the listbox items or statusbar panels... As of yet I am unable to make this work, and am very reluctant to overriding OnPaint events...
  6. apc2003

    How To Find Out If Mouse Is Being Help Down

    I have a situation where I need to know if a mouse button is being held down by the user. I think it could be done in Delphi via the Mouse shift state. Is it possible to find this out in C#? If so can anyone suggest how? Thanks in advance...
  7. apc2003

    Holt App Until Javascript Confirm Dialog OK Clicked

    Thomas D. Greer... No worries all help is appreciated. If it is ok we would like your opinion on this piece of logic... On the Save button: 1. Using RegisterStartUpScript to register the Javascript Confirm function. 2. If the user clicks ok submit the page using document.forms[0].submit(). 3...
  8. apc2003

    Holt App Until Javascript Confirm Dialog OK Clicked

    I don't mean to be rude so please don't take it that way... I appreciate all the help. :) But I do understand how Server-side vs. Client-side code executes / runs. OK... :) Here is the full scenario and what we need to accomplish! We have a Save button in C# side of the asp.net web...
  9. apc2003

    Display 'Confirm' then HOLT app until ok clicked

    I don't mean to be rude so please don't take it that way... I appreciate all the help. :) I do understand how Server-side vs. Client-side code executes / runs. OK... :) Here is the full scenario and what I need to accomplish! I have a Save button in C# side of the asp.net web application...
  10. apc2003

    Custom Web User Control Error When Using 2 Instances

    Hi, I have a ASP.net Custom Web User Control that I have developed for our ASP.net application. Everything works great, until I try to declare a second instance in the C# side of the code. Without the C# declaration for the second instance it works fine declaring the second instance in the...
  11. apc2003

    Conditional Javascript Modal Dialog To Holt App

    We need to show a dialog and stop execution of the C# code that follows the dialog until the dialog is closed. It needs to stop and wait just after the Page.Controls.Add line. Bare in mind this is a Multi user application and using Thread.Sleep and code like this isn't an option. The code is...
  12. apc2003

    Display 'Confirm' then HOLT app until ok clicked

    I have a save button that: 1. Runs a validate method that returns true or false 2. If validate returns true the save method continues and does its work. 3. If validate returns false I need to show a Confirm Dialog so that the user can choose to continue or cancel. It is at stage 3 that the...
  13. apc2003

    Holt App Until Javascript Confirm Dialog OK Clicked

    I have a ASP.net application that upon a Save button: 1. Validates certain criteria in a validate method that returns true or false. 2. If the validate returns true the Save carries on as normal and does its work. 3. If the validate returns false I need to show a warning (Javascript...
  14. apc2003

    Display 'Confirm' then HOLT app until ok clicked

    This wont work in the code i'm running... I have a ASP.net app that conditionally shows this confirm dialog if a validate returns false. if it returns true it is not shown. if it is shown I need to holt the app until the user oks or cancels. Any suggestions welcome... Regards in advance...
  15. apc2003

    Holt App Until Javascript Confirm Dialog OK Clicked

    This dialog is conditional it is only shown when a particular validate returns false and then the user has to choose to continue or cancel. If the validate returns true it is not to be shown. Can anyone suggest away to make this work as an Form OnSubmit isn't really what i need to do...
  16. apc2003

    Holt App Until Javascript Confirm Dialog OK Clicked

    I'm using the following code: string jStr = @"<script>confirm('Continue ?');</script>"; LiteralControl li = new LiteralControl(jStr); Page.Controls.Add(li); to display a confirm dialog but the application continues to execute even when this is shown. How do I holt application execution...
  17. apc2003

    Display 'Confirm' then HOLT app until ok clicked

    I'm using the following code: <script>confirm('Continue ?');</script> to display a confirm dialog but the application continues to execute even when this is shown. How do I holt application execution until OK or cancel has been clicked on the confirm dialog? Regards in advance...
  18. apc2003

    Executing a HTML Side JavaScript Function

    Thanks for the code but it returns the following error, Error: No overload for method 'Literal' takes '1' arguments Please advise as to how to make it work as I am unfamiliar with Literals. Regards...
  19. apc2003

    Force IE To Download A File NOT Display In IE

    How do you do this? Regards...
  20. apc2003

    Force IE To Download A File NOT Display In IE

    I need a piece of javascript that forces IE to pop up the file download dialog instead of opening and displaying the file within the IE window. Currenly I am using: window.open(file, title, windowParams) to load a .rtf file... But IE supports this file format and displays it instead of...

Part and Inventory Search

Back
Top