Hi
In VB.NET there is an option to add a Splash Screen when you click Add New Window but when I do that with C#, I can't find any thing.
so
How I can add a Splash Screen in C#?
I'm doing infrequent development with Apache/PHP on my Windows machine so I've opted to run apache as a console process instead of a service. It would be nice if errors could be logged to the console window instead of a logfile so I can see them immediately. Can this be done somehow? It doesn't seem that apache has such a capability built in and I can't find a mod that would do this either.
Hey stackoverflow :)
I wanna use webbrowser control in c++(im using dev cpp).
Ages ago when i was using VB6 i just added webbrowser control (C:\Windows\System32\shdocvw.dll) to my form and it worked but im lost in C++...
should i load it dynamically with LoadLibrary and then somehow put it on my dialog window or how? I also wanna use all features like navigate to page, edit html elements, submit a form, read page source, ...
Someome got some snippet?
Cheers
Is there a way to check if a browser is currently in fullscreen mode (after the user pressed f11)?
Something like:
if (window.fullscreen) {
// it's fullscreen!
}
else {
// not fs!
}
Thanks.
Hi all,
From organizer window i can copy document directory data. But in some apps i noticed that
it is locked and cant access documents directory.How can i lock the application from accessing
documents directory via organizer.
I have created my website for this I like to create confirm box when user clicks browser close button.....
So i created my coding as
window.onbeforeunload = bunload;
function bunload() {
dontleave = "Are you sure you want to leave?";
return dontleave;
}
By this coding I got confirm box for each and every time when browser get loading.....I need confirm box when user only clicks browser close button......
Can anyone give me a idea
We are having a problem with our selenium tests which run in IE on a virtual machine. Whenever there is a javascript error, a popup shows up and puts our system into a 'stuck' state - a user has to go clear that and restart the selenium test run. Is there a way to prevent the javascript error popup from putting the system into its stuck state? Would setting window.error be of any help here?
I need a virtual server for web development, it'll host Apache+Postgres+Ruby+something else.
What's the most effective software to run such a server? (ie with least virtualization overhead)
Is there a way to run Linux as as service?
I use VirtualBox at the moment, but it's inconvenient in some ways, such as it needs an emulator window open which also captures keyboard input when alttabbed into.
(Also, coLinux hangs at boot on my machine, so it's probably not an option)
I think this has to do with permissions. The authentication for the web app is "Windows Integrated Authentication". I need this because the app depends on the window log in name.
Here's the error.
Error Type:
error '8002801c'
Error accessing the OLE registry.
/iisHelp/common/500-100.asp, line 154
Thanks in advance for any tips.
Hello,
I have got four classes A, B, C and D.
Class A has a member b of class
B.
Class B has a member c of class C.
A has a member D* dpointer;
This hierarchy has to be preserved (in fact this is a GUI with app, window, panel as A, B and C).
Now B and C must use a method from *dpointer.
Is there something more elegant than giving dpointer as a member of B and C ? Is it bad ?
This should work if multiple windows are open.
My application is in J2EE.
I already tried some javascript like on window.unloadn but this kind of solution is not solid.
Hi,
I have an image of 4x4 in size and I want to use it all around a DIV's border. The following:
-moz-border-image: url("../images/window/side.png") 4 4 4 4 / 4px 4px 4px 4px repeat repeat
will place left and right borders, but not bottom and top. What's wrong with it? I think I have misunderstood the syntax and if that is so, how does this syntax really work?
I'm new to Dreamweaver CS4 and making my first website. I've watched a lot of tutorials and they all just click the Preview in Browser button and they can see what their page looks like in Firefox/IE/etc.
But when I click Preview in Browser a new Firefox window opens up and it goes to my homepage and that's it.
What do I need to setup in order be able to preview in firefox?
THANKS!
Hi,
Recently my VS has started doing a search through all project assemblies after a project is reloaded, or after I close a window following a Go to Definition command. It just says Searching in the status bar, and enumerates the assembly names. It's driving me nuts, because the process can take up to a minute, and it completely locks up the whole application while it's doing this.
Has anyone else experienced this?
Thanks,
Aleko
Hello,
I want to create the setup of my own program .Is i possible to create the setup of any program
including the window and gui based program . i want to know how the setup of the program is created in the c# ..
plz help .
Hi I have the following codes
$('#<%= btnOpen.ClientID %>').click(function() {
$('#content').modal();
});
<asp:Button ID="btnOpen" runat="server" Text="Open" />
When I click on the button, the modal window will appear for about 0.5 second and disappear right away.Can anyone help me please? Thanks a lot!
document.write("window.location.href");&layout=button_count&show_faces=true&width=450&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"
i am trying to bind current url of my page to this html
how can i do that
I am having a very hard time with this code. I have been working on it for days and cannot seem to figure it out. Please help!!
Here are the specific I need for the code:
Many companies normally charge a shipping and handling charge for purchases. Create a Web page that allows a user to enter a purchase price into a text box and includes a JavaScript function that calculates shipping and handling. Add functionality to the script that adds a minimum shipping and handling charge of $1.50 for any purchase that is less than or equal to $25.00. For any orders over $25.00, add 10% to the total purchase price for shipping and handling, but do not include the $1.50 minimum shipping and handling charge. The formula for calculating a percentage is price * percent / 100. For example, the formula for calculating 10% of a $50.00 purchase price is 50 * 10 / 100, which results in a shipping and handling charge of $5.00. After you determine the total cost of the order (purchase plus shipping and handling), display it in an alert dialog box.
Here is the code I have:
<!DOCTYPE>
<head>
<title>Calculate Shipping</title>
<script type="text/javascript">
function parseInt() {
var salesPrice = document.salesForm.Price.value;
var minCharge = salesPrice + 1.50;
var shipping = salesPrice * 10/100;
if (salesPrice <= 25)
window.alert('Your sales total including shipping is $' + minCharge);
else
window.alert('Your sales total including shipping is $' + salesPrice + shipping);
}
</script>
</head>
<body>
<form name="salesForm">
<div >
<p>Enter Your Purchase Price</p>
<input type="text" name="Price" /><br /><br />
<input type="button" name="Calculate" value="Calculate Shipping"
onclick="parseInt ()" />
</div>
</form>
</body>
</html>
Everything works except for the math in the alert box. It will show an incorrect total...
I used the virtual machines in virtualbox in a "headless" mode instead of a GUI mode. what are the advantages of using it in a headless mode?? by headless does it mean that the server doesnt have a keyboard or monitor attached or does it mean that no window will "pop up" , denoting that it is ON(or any other status), when a virtual machine is worked with? what exactly does it mean? pls reply...
I'm displaying a popup menu using TrackPopupMenu and would like to know when it is dismissed via clicking outside of it. I've looked through all the menu functions but didn't find anything useful in this regard. Spy++ told me that no window message is sent in this case.
So, is there an easy way to do it without installing a mouse hook? Thanks!
That I got no idea how.
I need a function that the window height or the monitor configuration is larger than 1200, put a div position top = 1000px and else put in another position top = 800px
I'm attempting to hook into whatever explorer calls when a file is opened (double-click, context menu open, etc.), however I can't figure out which function that is.
Originally, I thought it was ShellExecute, as that does the same thing as far as I can tell, but after hooking into it I learned that it's only used when a new explorer window is opened.
Any ideas which function I should be hooking?
How to capture google earth desktop program window to bmp file? I used printwindow function, but it only captures controls, region with planet is empty. Google earth can be minimized, or hidden with other windows.
Is there anyway to prevent flash files (swf) that are embeded within a webpage from opening a browser window? Eg. prevent the links within a flash file from opening new windows.
Possibly with javascript/jquery?
Hi everyone!
I'd like to alter the default behavior of a link that points to an mp3 file. All major browsers always open and play this mp3 file in a new window, and I'd like instead that this file be offered as a download by the browser.
¿Any Idea?
Thanks!!