compatibility

Delphi 2006 Application messing up the GUI on Windows 7

Hi. I've been searching the Internet for a solution. Also here on Stackoverflow. But I haven't had any luck so far. We're having a problem with a Delphi 2006 application running on Windows 7. Some ComboBoxes are not shown. The exactly same application runs fine on Windows XP. I been trying to locate any patches. Do any one of you kno...

Hardships of upgrading

I recently upgraded to Snow Leopard, the new XCode, and the new IPhone SDK (3.?). Now when I load some old IPhone projects downloaded in association with a text book, they won't compile because the compiler is looking for iphoneos2.0. Where in the information associated with a project is the iphone OS version identified, and can it b...

How do I implement an Delphi coded "ICollection" from a C# .NET collection defined within a 3rd Party Open API Tool.

How do I implement an Delphi coded "ICollection" from a C# .NET collection defined within a 3rd Party Open API Tool. I have a Laserfiche API toolkit where I am calling the code to return a collection of search hits. --- This is the process to call it from VB# --- search.BeginSearch(True) set results = search.GetSearchHits() ' retrie...

Declaring temporary variables in PostgreSQL

Hello, I'm migrating from SQL Server to PostgreSQL. I've seen from http://stackoverflow.com/questions/1490942/how-to-declare-a-variable-in-a-postgresql-query that there is no such thing as temporary variables in native sql queries. Well, I pretty badly need a few... How would I go about mixing in plpgsql? Must I create a function and th...

Groovy Superset of Java

Is Groovy a superset of Java yet? If not, what are the incompatibilities between Groovy and Java? By superset, I mean source backward compatibility, in the sense that: you can take a Java file and compile it as Groovy source file, and it would work just as before. It has been the goal of Groovy to make very similar to Java, to minimiz...

Dynamically Including jQuery using JavaScript if it's not already present

I'm writing a little JavaScript tool for myself that I plan on making available to other people and it uses jQuery. My dream for this little utility is for people to be able to include a single .js file from a remote source and, when that file is loaded, have it check to see if jQuery has already been included and, if it has, make sure i...

What fonts are included with which operating systems?

Is there a decent resource anywhere listing the fonts included with Mac OS X and (post-XP) Windows? ...

Linux distribution binary compatibility

Any way to make a binary in a Linux distribution and run it on another distribution with same architecture? Or I should compile and build it on different distributions? Is there any compatibility between Redhat, Debain based distributions for binary files? (I want to use my ubuntu binary file on fedora!) ...

Firefox does not show tooltips on disabled input fields

Firefox doesn't display tooltips on disabled fields. The following displays tooltip in IE/Chrome/Safari except Firefox: <input type="text" disabled="disabled" title="tooltip text."/> Why doesn't Firefox display tooltip on disabled fields? Is there a work around this? ...

How to simulate allowsSelection on a UITableView before iPhone OS 3.0?

On OS 3.0, when allowsSelection = NO, it's not possible to select any row and it also cancels row highlighting. On pre OS 3.0, the most obvious solution to disallow selection is to return nil in willSelectRowAtIndexPath, which is part of UITableViewDelegate However, there are two problems with this approach: 1) It's not stable (i.e. f...

fgets() linux vs mac

Does fgets on a mac read until a carriage return '\r' or does it also depend on the new line '\n'? Reason is I am using fgets to read a file a line at a time. However if it is run on a mac file with only '\r' for the line ending it fails to do what I want. (run in linux) I don't want to be writing library type functions to deal with cr...

supports-screen with 1.5 target, can't make app non-scaling

Hey, I'm a bit lost right now, what I'm trying to do: build a 1.5 compatible app that should also run on 2.0/2.1 devices like the Nexus. The problem is that supports-screen doesn't work the way it's supposed to with 1.5 target set in eclipse. Did I miss something? Basically, I just want my app not to scale anything, I'll handle that ( ...

forcing IE8 browser display a website in IE6 standards mode

Hi, there are document compatibility modes for all versions of IE browsers, but none for IE6. why is it like that? how can I make IE8/IE7 browser display a website in IE6 standards mode? other than changing the code to use conditional statements for different browsers, or different websites altogether, is there any easier or better sol...

Prevent access to Javascript based website or...

Hi, Some websites I develop have a great need for the use of Javascript, they will not work without it. Lots of the site functions and actions depend on some Javascript code that cannot be replaced by server-side code. Sometimes, the Javascript is so complex and needed that it's impossible to provide a fallback for browsers with Javascr...

How does your thick-client test whether it is compatible with the database schema?

I develop an app with both thick-client and thin-client components. We also version our database such that schema changes result in their own version number and change scripts can be applied. Database changes, however, don't always occur in step with thick-client changes. Yes, today's database change might add a column and necessitate a ...

Forward or Backward Compatibility in Android?

Hi, I would like to know whether the Android provides any sort of compatibility i.e either forward or backward. It means as in Blackberry if develop an Application with JDE 4.2 then that application will work on any handset with OS 4.2 or higher which means it has forward compatibility. Is there anything similar in Android? Suppose I ...

C# Applications Dependencies Check

I have an application that i wrote in C# and it does databases. So to run this app on any machine i need .NET 3.5 and SQL Server 2005 installed. Is there a way that when the application starts. It first checks whether SQL Server 2005 and .Net 3.5 exist on the machine or not. If not then it may exit and if they do they may continue. ...

IE8 won't load JavaScript file in "Compatibility View."

Here's my JS insert: <script type="text/javascript" src="include/profile.js"></script> In IE8 with "Compatibility View," the file never loads. The first line in the file is a simple alert() call, so that I know it loaded. Change the browser to Standards View, and it loads fine. Also, if I add: <meta http-equiv="X-UA-Compatible" cont...

Magento Bundled Product Restrictions

We need to represent computer systems on our Magento site. We're going to use bundled products to represent these systems. We'd like certain computer systems to have various options available (for example, mainboard, RAM, CPU, etc.). However, we want to prevent our customers from configuring the system with incompatible parts (i.e. us...

aspNetCompatibility WCF and WinForm

I would like to use Windows Forms with a WCF service and leverage the pre-built authentication of asp.net by using aspNetCompatibilityEnabled = true in the WCF service. Is there any module or pre-built assemblies that can add ASP.NET functionality to a Windows Forms application? As far as I understand, this functionality isn't built int...