automatic

Automatic Properties not compiling despite adding reference to System.Core.dll

I have a c# v3.5 framework site that I am doing some maintenance on. I wish to use Automatic Properties but whenever I try to add one, the compiler fails [as below]. I have added the System.Core.dll (and it is in the web.config ok) but still no joy. Anyway seen this behavior before and have a resolution? Thanks, dan Error 6 'XXX.Arc...

How to automatically email customers registration keys?

I've written a bit of software that I'd like to share with others (a Mac Dashboard widget, specifically), but I'd also like to be compensated a bit for the time I spent on it. I've devised my own simple registration key algorithm, which takes a customer's email address and creates a 12-character alphanumeric key. The software itself is f...

Automatic download from Sourceforge during installation

I have a Java project which uses platform specific libraries. They are quite large but I can figure out which ones I need in an installer and download them. I'd like to download them from Sourceforge (where the rest of my project lives). Is there a way to do automatic downloads from SF? How do I make sure the download use the best mirr...

Thumbnails from HTML pages created and used automatically in web application

I am working on a Ruby on Rails app that visualizes product trees. The tree is built of nodes an everything is rendered in HTML/CSS3. Some of the products make several hundred SQL queries as the tree builds up (up to 800 queries on the biggest tree). I'd like to have small thumbnails of each tree to present it on an index page. So rende...

How to prevent robots from automatically filling up a form?

I'm trying to come up with a good enough anti-spamming mechanism to prevent automatically generated input. I've read that techniques like captcha, 1+1=? stuff work well, but they also present an extra step impeding the free quick use of the application. (I'm not looking for anything like that please). I've tried setting some hidden fiel...

VS2008 designer automatically update control's property from resource file

I have a situation where some of the control's string property values are automatically replaced with a variable from a resource (.resx) file in the designer file during design time. For example, I have a form that contains a combobox. A snapshot of the code in the designer file may look something like this: this.comboDocument.Name = "...

Is there a simple automatic backup system for Visual Studio projects?

Hello, I'm using Visual Studio 2008 Express and I would like Visual Studio (or perhaps an Add-in) to save my whole project to some sort of auto-incrementing archive or whatever would help me recover from disasters. I don't have much need for SVN or complex versioning systems. I'm just looking for something simple and lean. Any help wou...

using cookies to provide automatic login

hi all, I have some web applications written in php , all hosted on the same server. for e,g webmail.xxx.mu forum.xxx.mu wiki.xxx.mu I want to integrate all of them in one webpage like this: *create one webpage (main page) *create one IFrame *create one navigation bar at the top of the main page. *when you click on "...

Javascript Noob: How to emulate slideshow on front page by automatically cycling through existing hover states of main page links?

hey everyone. hope you could help me out am working on this website and i've finished all the hover effects i like - they're exactly how i want them to be: http://s5ent.brinkster.net/beta3.asp - try hovering over the four links and you'll see a very simple fade effect at work, which degrades into a regular css hover without javascript. ...

How to force an iphone application to restart automatically from the location it is closed by pressing HOME key

Hi, I want to develop an application in which if a method is in execution and user suddenly press home key. and the application exits. the application automatically restart and the method started to execute again from the point where it is closed.. Please guide me the best way.... Thankx in advance.. ...

Implementing automatic logout in silverlight and wcf due to user inactivity

I have a WCF web-service and a Silverlight app displaying data from that service. In my service I'd like to implement automatic logout of the user, if no service methods were invoked during a period of time (for example 20 minutes). I'm thinking about smth like that: Dictionary<User,TimeSpan> Inactivity When a service method is invok...

Java package scanner - find all classes with a given interface

In C# you can easily read all classes from a given assembly. I'm looking for equivalent feature in Java. I need this to automatically bind EJB beans to my Guice Module. ...

How to make SSH go directly to specific directory ?

Hello All, when you do an "ssh second_machine" you are able to connect to second_machine on your home directory But usually i am working in my_machine in directory with very long path, and i want to connect to second_machine and move to my working directory right away. So everytime i have to: ssh second_machine cd /very/long/path...

php automated sitemap for a free classified ads website

hi there i am looking for a good way to automaticly create/update sitemp for my website www.indexagahi.com its a free classified ads site , i want to rebuild or update sitemap.xml whenever an ads has been added . whats your idea ? is it possible . i appreciate any help. thanks a lot. ...

Update payment details using Authorize.net

Hello everybody, When i update the existing subscription info using update_recurring method of autorize.net gateway then payment details(means 'credit card number', 'CVV number' and 'expiry date' ) are not being updated. My code snippet is as follows:- def create_card_subscription credit_card = ActiveMerchant::Billing::CreditCar...

Good piece of software that can manage the creation of complex web forms, including reporting, etc?

I have some clients who are requesting for some of their reasonably complex paper-based forms to be converted in to web forms. There's straight Q&A text input stuff, there's questions based around checkboxes, radio boxes, select boxes, maybe the occasional attached image, there's data that has to be entered in a tabular fashion, etc. I ...

Automatically change div on mouseover and on timer

I'm a bit o a noob so any help would be great... What I need to do is have it so that the div associated to a specific li can change on hover as well as automatically change on a timer so that it scrolls through the option. here is my code: <script type="text/javascript"> $(function () { $("#switches li").mouseover(functio...

Automatically update or delete record(s) after x time in coldfusion

Hi, I've searched all over the net for this. Hope that someone's got something. How would a record in a database be updated automatically after x time n coldfusion? I know how to manually do it by writing an sql that performs an action to all records older than x time based on the timestamp. How would this be done automatically? Kind...

Pastebin c# automatic uploading

I need my application to upload an output to pastebin but i cant get it to work this is the code WebRequest wr = WebRequest.Create(@"http://pastebin.com/api_form.php"); ASCIIEncoding encoding = new ASCIIEncoding(); byte[] bData = encoding.GetBytes(string.Concat("paste_code=", sOutput, "&paste_private=0&paste_expi...

Text replacement for multiple script/config files

I am doing some sort of science with a combination of Python, bash scripts and configuration files with weird syntaxes from old C programs. To run different tests, I have to tune (open text file, edit and save) a number of these files, but it is getting harder and harder to remember which files to edit. Also, the tasks are very repetitiv...