Hi,
How I can write a phone number in the xhtml file and when the user clicks (on the number) the iphone call automatically (to that number)?
Any ideas?
Thanks :-)
Hi,
I publish my application on a FTP server. I gave the FTP account information (URL, user and password) to Visual Studio but it keep asking me the FTP password each time I click the Publish now button.
Why VS doesn't automatically fullfill my password?
In Ruby on Rails, routes.rb, if we create a "named route"
map.something ":a/:b", :controller => 'foobar'
it will also create something_path and something_url which are two methods usable in the controller and in the view. Does map.connect create something like that too? Otherwise, isn't map.connect somewhat disadvantaged in this way? I checked that connect_path and connect_url both aren't created automatically.
How do you detect Windows logon event?
And how do you initiate a user logon from a Windows service?
I'm trying to write a piece of code that will detect logon events and log another one automatically.
We have a .Net application that runs as a shell for certain users. We'd like the application to automatically restart when it crashes.
The application is set as the shell here:
HKEY_USERS*User*\Software\Microsoft\Windows NT\WinLogon\Shell
I've tried adding an "AutoRestartShell" key with a value of "1", like what exists in:
HKLM\Software\Microsoft\Windows NT\WinLogon.
When I kill the application's process for the user (via RDP) the application exits, but never restarts.
Ideas?
Hi, Disqus automatically places defined captions upon request. For example: Add new Comment
I've tried to change its value with jquery on ready():
$('#dsq-new-post h3').text('Paticipa con tu cuenta favorita');
No success :( ... how can i know when disqus script is finished parsing the data so i can change the caption value of h3?
Hi,
In answering my own question, I came across this GreaseMonkey script that automatically converts currency values on a webpage. I would like to modify the script for my specific case, and I want to know how I should modify the script MetaData block to acknowledge the script's original author and respect the (letter and spirit of the) GPL. Can anyone advise?
Thanks, MagicAndi
Hey,
Is it possible to bind two files into one file ? If its possible how ?
E.g if i got two files a.exe and b.exe then i want to bind them into c.exe so when i execute c.exe it'll automatically execute a.exe and b.exe
Thank
Hello all,
I'm trying to use php's file_get_content('a url');
The thing is if the url has '&' in it, for example
file_get_content('http://wwww.google.com/?var1=1&var2=2')
it automatically make a requests to wwww.google.com/?var1=1&var2=2
How do I prevent that from happening?
Hi everyone,
I tried the jQuery fadeIn animation in all browsers and it work good, but not that much on IE. the Alpha png images are so creepy after appending the CSS opacity, but i have an idea and i don't know how to implement it using jQuery.
The idea is to fadeIn the element and when the animation is finished it will automatically remove the opacity property in order to make the picture quality better.
How to do that?
Note: i'm using Animate and not FadeIn.
Thanks
If I have a page that takes some amount of time to process, and suddenly the client closes it's connection (network disconnect, browser closed, etc), what will happened to the processing operation on the server side? Is it get canceled automatically or it continues to process, and then stop right before rendering?
I am wanting to send a pdf file in php mail. I know the name and location of the file (an invoice printed in cup-pdf) and would like to sent this automatically in php when i click a button in my website. How can this be done? Thanks
i need to copy the tables and data (about 5 yrs data, 6200 tables) stored in sqlserver, i am using datastage and odbc connection to connect and datstage automatically creates the table with data, but its taking 2-3 hours per table as tables are very large(0.5 gig, 300+columns and about 400k rows).
How can i achieve this the fastes as at this rate i am able to only copy 5 tables per day but within 30 days i need move over these 6000 tables.
When the user clicks a logout button, I connect to a script that simply does this
session_destroy();
session_start();
I thought this would be enough to reset all $_SESSION variables such as $_SESSION['logged'] and $_SESSION['username'] but when I load the page again, it automatically logs me in as if the session is still active.
I need to create a VBScript (WSH) to automatically open Internet Explorer and navigate a security web page. However, it always pops up a security alert before displaying that website. Can anyone provide a solution for either disables the pop up function (security certification) in IE or accepts the pop-up by the script?
Here is my script:
Dim objIE
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Visible = True
objIE.Navigate "https://10.10.10.101:9000/Portal"
????
Set objIE = Nothing
Thanks a lot.
If garbage collection is not required:
- (void) awakeFromNib{
//Create the NSStatusBar and set its length
statusItem = [[[NSStatusBar systemStatusBar] statusItemWithLength:NSSquareStatusItemLength] retain];
...
Do I have to release that? And if I do, would that be in a finalize method or dealloc method?
If garbage collection is required, then is the retain call above ignored automatically?
On my there are two set languages, which are English and Russian, and English is the default set language. Yet every time I leave Code::Blocks and click on the window again, the program automatically changes the language to Russian, which not only is it annoying, but it doesn't make much sense.
Does anyone have any idea why it's going on and how to get rid of this pest? So far that's the best C++ IDE I have found and I don't want to ditch it due to such a nasty annoyance.
What is the proper way to terminate a Swing application from the code, and what are the pitfalls?
I'd tried to close my application automatically after a timer fires. But just calling dispose() on the JFrame didn't do the trick - the window vanished but the application did not terminate. However when closing the window with the close button, the application does terminate. What should I do?
Quick question.
I have a js function which gets called on the page every few seconds. It's an ajax update thing.
Being a function, I declare local variables. I don't want to use closures or global variables for various reasons.
I'd never considered this, but do I need to release/clear the variables at the end of the function to release memory or will js do this for me automatically ?
Thanks
i have a aspx page with two buttons,"close" and "submit" button.when i press the enter key in the keyboard the focus automatically goes to "close" button and closes the page.Instead i want the focus to be focused on the "submit" button on pressing the enter key in the keyboard.
Hi there,
I'm looking for a jQuery plugin which does scrolling the element (div) when I hover the arrow, it should look like this: http://img42.imageshack.us/img42/5716/scrollp.jpg and scroll automatically the content inside to the left/right only when user hovers arrows.
Is there anything like this?
Thanks a lot, Jakub
Hi,
I'm developing a chatbot that automatically accepts all contact subscription requests.The chosen language is python, and am using the wokkel lib. The problem is that, my script isn't receiving any contact subscription request. I've tried by extending presenceclientprotocol and rosterclientprotocol classes but to no avail.
Can anyone help me regarding this ?
Thanks in advance
i am having problems understanding how the audio part of the sdl library works
now, i know that when you initialize it, you have to specify the frequency and a callback<< function, which i think is then called automatically at the given frequency.
can anyone who worked with the sdl library write a simple example that would use sdl_audio to generate a 440 hz square wave (since it is the simplest waveform) at a sampling frequency of 44000 hz?
thanks in advance
i want to create a schedule for my windows media player instance in form in vb.net so that to arrange and play them according to time automatically how can i do that..
Lets say I have the following:
CHARLINK * _init_link(CHARLINK **link)
{
short i;
(*link)->cl = (CHARLINK **) calloc(NUM_CHARS, sizeof(CHARLINK *));
for (i = 0; i < NUM_CHARS; i++)
(*link)->cl[i] = NULL;
return (*link);
}
Is the loop to initialize each element to NULL necessary or are they automatically NULL from calloc?