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 TouchToneTommy 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
  • Content: Threads
  • 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

    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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. apc2003

    Executing a HTML Side JavaScript Function

    I have a function in the HTML side of my .aspx page with the following code: <script type="text/javascript"> <!-- function downloadNow(file,extUrl) { var browser = (window.navigator.userAgent.indexOf("SV1") != -1); if (browser && extUrl==0) { window.open(file, 'DownloadFile'...
  11. apc2003

    How to make a Progress Bar / Monitor

    We have a task that runs and it take some time to complete. As it runs we need to display to the user some sort of progress bar so they can know where the task is and how long until it competes. Can anyone suggest how this can be done? Regards in advance...
  12. apc2003

    Backing Up Database Specifying Server Name

    We have a Stored Procedure that backs up specified databases stored on a single Server. We need to be able to run this stored procedure that is stored on Server 1 and backup a database on server 2. Prefixing the Database with the server name errors... complaining that the Name doesn't exist in...
  13. apc2003

    ASP.net Web Applications Privacy Policy

    The problem we are having is that our web applications cookies are classed as third class, this means that IE 6 will block the third class cookies by default resulting in the web app not working correctly when it trys to hold info within the session. To fix this problem we need a privacy policy...
  14. apc2003

    Privacy Policy for ASP.net Web App

    Due to a Session issue we have been informed that we require a Privacy Policy for the web app. How do we go about setting up a privacy policy for our web app and how do we attach it to the web app? Regards in advance...
  15. apc2003

    How Do I Attach Privacy Policy To ASP.net Website?

    I have found lots of companies that produce Privacy Policies for a website but I can't find any information about how to attach it to a website. I need a Policy so that the web browser Privacy settings will allow my website cookies to be classed as 1st Class. Can anyone point me in the right...
  16. apc2003

    How Do I Attach Privacy Policy To Website

    I have found lots of companies that produce Privacy Policies for a website but I can't find any information about how to attach it to a website. I need a Policy so that the web browser Privacy settings will allow Third Party Cookies. Can anyone point me in the right direction, as I now have...
  17. apc2003

    How do I make site use 1st Class Cookies

    Reciently found a problem with ASP.net loosing values held within a session. This was due to the web browser privacy settings rejecting what it called 3rd class cookies. The default privacy settings allow what it calls 1st class cookies to be accepted. How do I make my site use 1st class...
  18. apc2003

    Session Losing Values Between Pages

    I am having trouble with a ASP.net application with multiple pages. If a value (eg a String) is assigned to Session["Test"] on page one and then in page two is used to set a lable.text the Session["Test"] seems to have forgotten what it was holding. Putting a try catch around it reveals the...
  19. apc2003

    How To Find 2nd ActiveCaption Colour?

    I am trying to locate the 2nd ActiveCaption colour that produces the Gradient colours on the top of windows. I can find the key that holds the 2nd colour code using the registry but i would prefer not to use this method. If it helps the registry key is called: GradientActiveTitle The 1st...
  20. apc2003

    ActiveCaption Colours Question...

    As we all know since MS Windows 98 a user has had the ability to choose a gradiant effect for the ActiveCaption bar at the top of a window. SystemColors.ActiveCaption will get you the 1st active caption colour. Question: How do you determine the 2nd active caption colour? Regards in...

Part and Inventory Search

Back
Top