background

.Net Background Worker not cancelling

I was using Background worker at the user control level and it was working fine.But then I pushed the worker in one of the Helper function.My question is that it works fine until i try to cancel the task. In the DoWork function there is loop calling the web service each time and before calling the service it check cancellation pending an...

HTML/CSS - Styling for print, background wont show up?

I'm having some trouble making a site, identical to viewing it in the browser, for print. It looks good, the only thing that got me stuck is that it refuses to display backgrounds. The images are fine though, it's just backgrounds. I haven't tried setting an image as a background, but that shouldn't be necessary anyways, right? I'm appl...

.NET BackgroundWorker and SQLTransactions

Hi, Where can I find information or how can I handle SQL Server transactions in a BackgroundWorker thread? It's my understanding that error handling should not be set in the "DoWork" event and that the error is handled internally and passed to the 'RunWorkerCompleted". I am currently using SubSonic as my DAL and passing some lengthy ins...

Running JavaScript function before page load (setting background of appropriate size)

I've got an image background which content I want to be always visible, no matter what is the user's resolution. Therefore, I want to be able to determine what is the resolution and set appropriate background image file before page loads, on the very beginning. Is it possible somehow? ...

[Android] TableLayout background from URI

How to use the setBackgroundDrawable method on tablelayout with an URI? ...

background switch page load

I've seen a lot of different background switching based upon link classes, however I just want a simple background switcher on any page load (no cookies) and not link dependent. is there a simple method for this? jquery? ...

Show different arrow images for arrow up/down in jscrollpane

I need to show two different images for the arrow up and arrow down in a jscrollpane. In CSS I can set only one background for the arrows. How can I show two different images? ...

Node.js as a background service

I want my node.js server to run in the background, ie: when I close my terminal I want my server to keep running. I've googled this and came up with this tut, however it doesn't work as intended. So instead of using that daemon script, I thought I just used the output redirection (the 2>&1 >> file part), but this too does not exit (I get...

ie6 image stretch and scale

I need to be able to stretch a image background to fit the window size now it works in all browsers except for ie6 I have endlesly searched the internet for a solution and tried all things I have found but nothing seems to work in ie6 here is my demo site if you have ie6 you will be able to see my problem I need it too stretch the fu...

Expanding Background whilst keeping original aspect ratio

I would like to be able to set a background on our homepage which can expand and contract with the window size whilst keeping the original images aspect ratio.... I'm guessing this will need some clever Javascript or similar. The effect has been implemented here whereby then the window exceeds around 1500 pixels in width the background ...

view background

Hi at all, I have a little problem, I have a view with a UIScrollView, I've imposted a background image on my view with self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"background.png"]]; on simulator is all ok, the image are fixed while I scroll down but on my device the image was repeat while ...

Applying a background color to an entire Grid row in XAML Silverlight

I'm trying to apply a gradient background to just one row in a XAML Silverlight grid that I've created. I can do something like this without any trouble: <Grid> <Grid.Background> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="Black" Offset="0" /> <GradientStop Color="W...

Fill back color of inactive cell

Hello All, Can anyone help me on how to fill the background color for all of inactive cells in my excel workbook. This will be done using POI library and vb.net 2003 or maybe in java. ...

Background image not showing when deployed because of URL Resolve in asp.net c#

I have two themes in my .Net application, both use the same background image. Both have an images folder with this image in them, both have style sheets. One works and one doesn't but ONLY when deployed in IIS in a Virtual Directory scenario so there is an added /MyApp/ directory. I can't seem to even trick the one that doesn't work in...

replace/remove background image on gimp 2.6.11

hi, how do i remove these images by compiling gimp from source? i can't find any file containing these images. thanks ...

Background app drains too much battery

I have developed an application for iPhone that runs in the background with GPS mode on. I need to ask the server if there are any new tasks for the user? Fir this purpose, I have added the code in the didUpdateToLocation method. Now the problem is that it consumes the battery very fast. Please guide me how to avoid the battery consumpt...

How to know that my application is running in Background or Foreground?

I am making Windows Mobile 6.5 Application using C sharp. In the application, I am opening the default browser in a case. When I open the browser, the application is still runing in background. But I wish that the application is not runing and when the user returns to the application, the application is runing again. So, I should know...

(win32) How to make an OpenGL rendering context with transparent background?

Rendering contexts usually have a solid color on the background (black or whatever, see the image below): I'm wondering if it's possible to setup a window, with no decorations AND with the transparent background, while allowing me to render OpenGL stuff on it. This would give the illusion that the triangle is floating on the screen. ...

iOS 4.x bring app from background to foreground using private api

Hi All, In my app, I am placing a phone call due to which my app goes in background and suspended. After disconnecting the call instead of my app coming in foreground, native phone app comes into foreground. Is there any way by which my app comes into foreground (instead of native phone app) after disconnecting the call. If there is ...