auto

Auto refreshing the UI when business objects change

This is more of a design question. I am building a tool that displays business objects in various ways (ie Tree Nodes, List View Items, Combo Boxes, Text Fields, etc). Anytime the user changes any of one of them, an event is raised that signals that that business object has been changed or the collection that it belongs to has been c...

database autocommit - does it go directly to disk?

So I know that autocommit commits every sql statement, but do updates to the database go directly to the disk or do they remain on cache until flushed? I realize it's dependent on the database implementation. Does auto-commit mean a) every statement is a complete transaction AND it goes straight to disk or b) every statement is a c...

auto c/c++

Has anyone ever seen the storage class auto explicitly in use in c/c++? If so, in what situation? ...

Page auto reload with parameters

I am trying to autoreload my page after every 20 seconds. I am using JavaScript for this instead of the <meta>. I have <body onload="SetTimer()"> and here is my JavaScript function function SetTimer(){ setTimeout('window.location.replace(window.location.pathname)', 20000) } Now my problem is I also pass a parameter wi...

Why XAML Width="Auto" does not work for me?

I have recently started maintenance on some poorly written XAMLs. I myself am relatively new to XAML. One thing I need urgently is - grid columns should automatically adjust their width as per the text contents. The MSDN documentation on GridViewColumn.Width says - set it to Auto to enable auto-sizing behavior. However even though the...

Creating a textarea with auto-resize

There was another thread about this, which I've tried. But there is one problem: the textarea doesn't shrink if you delete the content. I can't find any way to shrink it to the correct size - the clientHeight value comes back as the full size of the textarea, not its contents. The code from that page is below. I'd appreciate any help or...

How the C++0x standard defines C++ Auto multiple declarations?

mmm, I have just a little confusion about multiple auto declarations in the upcoming C++0x standard. auto a = 10, b = 3.f , * c = new Class(); somewhere I read it is not allowed. The reason was(?) because it was not clear if the consecutive declarations should have the same type of the first one , (int in the example) , or not. Poss...

MSSQL record date/time auto delete

I want to delete records from a db table based on a time-stamp for each record. I would like to have it automatically delete records compared to a date/time interval without user intervention or admin intervention. What would be the best way to go about this, I could create a process that runs in the background that does checks but that ...

First jQuery plugin issues

Hey guys, first off let me just say Im a jQuery noob! I want to make a simple plugin that auto-populates a html select element, it works fine on the first element but when I call it again to populate a second it appends nothing. Here are my calls in the ajax tab where #product and #new-category are the select elements: $(function(){ ...

How do you make a webpage change its width automatically?

In HTML, is there a way to make a webpage expand to the user's monitor? Like say I have a 15inch, but someone else has a 24 inch. The webpage would be small on their screen, but would fit on min. How would I make the page expand to 100%, or maybe 95%? ...

Script to delete all folders it is placed in

Can anyone here help me out with a script that will let me, when run, delete all the folders and their contents in whatever folder it is placed in. ...

Auto Slider / Scroller to display dynamic content

Can any one tell me how can i implement a auto slider/scroller in my web page. The slider should show dynamic data from a database. (Ex : Hot jobs tab in the plipl.com site's home page (www.plipl.com) . Is there any easy way to do this with jQuery ? ...

Jsmooth exe autostart on os start-How?

Hi everybody I have prepared an exe out of my jar file using Jsmooth. Now I want to have autostarting feature for my exe on OS startup. I have selected Autodownload wrapper and winservice wrapper as I also wanted to detect JRE on user PC thanks in advance ...

Using auto and decltype in C++0x

I'm trying to learn the currently accepted features of c++0x and I'm having trouble with auto and decltype. As a learning exercise I'm extending the std class list with some generic functions. template<class _Ty, class _Ax = allocator<_Ty>> class FList : public std::list<_Ty, _Ax> { public: void iter(const function<void (_Ty)>& f) ...

convert auto height of TR to pixel or percentate

Hi, Is anyone know how to convert the height of TR element which is in AUTO to pixel or percentage? ...

How to automaticly copy & paste fields from excel into a website form

Hi! I have about 50 excel sheets to input on a website everyday, but unfortunately I can only submit 8 of these sheets per hour. Therefore, I'm looking for a tool, or comnbination of tools, that will allow me to automaticly copy & paste fields from Excel sheets, into a designated form on a website, and will allow me to set the time wh...

Auto save of form

I have form in ASP.NET 3.5. Where lot of data elements and where i have Save and Submit buttions. I need to auto save my form every 2 min. What is the best way to implement this kind of functionility in ASP.NET. ...

Autocorrelation and shift vectors

Basically I'll be using Autocorrelation method to try to find cloned regions within an image. This is what i did in MATLAB i = imread ('D:\image.jpg') I = rgb2gray(i); imshow(I); f = fspecial('LOG'); h = imfilter(I,f); x = xcorr2(double(h), double(h)); imagesc(x); figure(gcf) basically loading up an image, changing it to greyscale, ap...

VB.NET Browser Auto Refresh

Hi, I want to make a program in Visual Studio 2008 in Visual Basic. It involves a web browser and I want to make it auto refresh and allow people to choose the time period in which they want to auto refresh. It won't take user input but I have checkboxes that are preset. I think this may be possible using a timer and the WebBrowser1.Ref...

AutoHeight IFrame

Hello, i want to make a iframe page that loading a page from other site. I have try "jQuery iFrame Sizing" to set auto height in iframe... but it is failed. What's the problem...? This is my code : on Head < script type="text/javascript" src="js/jquery.js" > < script type="text/javascript" src="js/iframe.js"> on Body < iframe scroll...