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