I just want to make sure I'm understanding the documentation correctly. If I add System.Data.SqlServerCe as a reference in my Visual Studio 2008 project, compile it, and copy the contents of the "bin\Release" directory to a Windows machine that has the latest version of the .NET framework, will it just work? Or do I need to do something else?
Hi All,
What LayoutManager should I use to achieve a transposed version of FlowLayout?
Essentially, I want a vertical list which occupies multiple columns if it can't fit all of it's components within one column.
+------------------------+
| item 1 |
| item 2 |
| item 3 |
| item 4 |
| item 5 |
| item 6 |
| item 7 |
| item 8 |
+------------------------+
or
+------------------------+
| item 1 item 7 |
| item 2 item 8 |
| item 3 |
| item 4 |
| item 5 |
| item 6 |
+------------------------+
There are quite a few Lightbox implementations. Is there any such that it displays a larger version of the image as soon as the user enters the thumbnail with the mouse? The preview should be displayed next to mouse position. The shaded lightbox effect is not required.
Is there any way for a before_save filter to halt the entire save without halting the transaction? What I'm trying to do is have a "sample" version of my model that the user can interact with and save but the changes themselves are never actually saved. The following will halt the transaction and (naturally) return false when I call @model.update_attributes:
before_filter :ignore_changes_if_sample
def ignore_changes_if_sample
if self.sample?
return false
end
end
Thanks!
What I've googled so far is that the upcoming BizTalk 2009 R2 will be supported in VS 2010. Nothing is said however regarding support for the current BizTalk 2006 R2 version.
Anyone knows whether BizTalk 2006 is supported in Visual Studio 2010?
Hello, everyone!
Opera (version 10.10) under Linux (don't know about other OSes) does not recognize http://0.0.0.0/ as local address (http://127.0.0.1/) , while Firefox does.
What is the difference between these addresses?
Which ob the two browsers in this case is standard conform?
I found plenty of info on this for Safari 3, but things have evidently changed in version 4. I just happened to stumble upon the answer by experimenting, so posting it here for others.
if(get_magic_quotes_gpc())
{
$location_name = trim(mysql_real_escape_string(trim(stripslashes($_GET['location_name']))));
}
else
{
$location_name = trim(mysql_real_escape_string(trim($_GET['location_name'])));
}
That's the code I have so far. seems to me this code is fundamentally ... OK. Do you think I can safely remove the inner trim(). Please try not a spam me with endless version of this, I want to try to learn how to do this better.
For example, I cannot combine the concepts of this simple example:
link text with the concepts of this example: link text, which uses the styled V3 api.
In Chrome I get an error saying that:
Uncaught TypeError: Cannot read property 'DROP' of undefined
And it refers to this line of code:
animation: google.maps.Animation.DROP,
When I replace the javascript link reference to use the version of the API from the first example, the error goes away, but I lose the custom styling. I have not tried this in Firefox or IE.
EDIT: Link to example: link text
Soon I'll be launching my new site and i was planning on using gmail as the email server for things like registration and lost password.
I'll be using google apps (free version) so I can have [email protected].
Besides the 500/day limit are there any other potential problems with using gmail for this service?
Given:
var
isIE = $.browser.msie && !$.support.opacity,
isIE6 = isIE && $.browser.version < 7;
Which would be faster:
if(isIE6){ doSomething(); }
else { doSomethingElse(); }
OR
if(!isIE6){ doSomethingElse(); }
else { doSomething(); }
Are they exactly the same in terms of speed?
I am running Symfony 1.3.2 on Ubuntu. I need to write a batch script that can:
Access the database using the ORM
Send email(s)
IIRC, this was in a previous cookback, but I thing that was for an earlier version of Symfony (the API may have changed since).
Does anyone know how I may access the database via the ORM layer in a batch script and also how to send out email(s) in a batch script?
I sometimes check out some previous version of the code to examine or test. I have seen instructions on what to do if I wish to modify previous commits -- but suppose I make no changes. After I've done e.g. git checkout HEAD^, how do I get back to the tip of the branch?.. git log no longer shows me the SHA of the latest commit.
My input string is '16-MAR-2010 03:37:04' and i want to store it as datetime.
I am trying to use:
db_inst.HB_Create_Ship_Date = datetime.strptime(fields[7]," %d-%b-%Y %H:%M:%S ")
fields[7] = '16-MAR-2010 03:37:04'
I am getting an error:
::ValueError: time data '16-MAR-2010 03:37:04' does not match format ' %d-%b-%Y %H:%M:%S '
I am running Python version --EDIT-ME-- on the --EDIT-ME-- operating system.
My locale is --EDIT-ME--.
Which format do I have to use?
I am new to .Net framework.
I want to develop a PC application, probably in .net framework 2.0. I will create an installer and want to run it in another machine which has windows 7 OS.
Which is the .net version i need to install on windows 7, so that I can run my application.
Hiya.
I'm using Services_Facebook pear package with php 5.3.2 to create a facebook app,
it seems that some users can see the application and the application can fetch their info properly, and on some users that script detects as they're not logged in.
using the default example as shown in the following URL:
http://wiki.developers.facebook.com/index.php/PHP
using latest Services_Facebook version.
any ideas?
thanks
I noticed the eclipse indenter has support for the latest version of java, and it would be nice if I could use that class to indent generated java source code. Is there a way of integrating it ?
EDIT: I need to be able to include the code formatter in my code. No external calls.
EDIT2: I've managed to get it working. You can read the story here. Thanks VonC !
Should we learn all CSS (till version3) even if all browser don't support and we don't use?
Here mentioned http://meiert.com/en/indices/css-properties/ all css properties I don't know about all even in 2.1 , should we learn about each css property of all version even if they are not in use.
I have a SVG file that I want to extend by adding onclick handlers to edges and nodes. I also want to add a script tag referring to a JavaScript. The problem is that the script tag gets an empty namespace attribute added to it.
I haven't found any information regarding this that I understand. Why does XSLT add an empty namespace?
XSL file:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<xsl:output method="xml" encoding="utf-8" />
<xsl:template match="/svg:svg">
<xsl:copy>
<script type="text/ecmascript" xlink:href="base.js" /> <!-- this tag gets a namespace attr -->
<xsl:apply-templates />
</xsl:copy>
</xsl:template>
<!-- Identity transform http://www.w3.org/TR/xslt#copying -->
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<!-- Check groups and add functions -->
<xsl:template match="svg:g">
<xsl:copy>
<xsl:if test="@class = 'node'">
<xsl:attribute name="onclick">node_clicked()</xsl:attribute>
</xsl:if>
<xsl:if test="@class = 'edge'">
<xsl:attribute name="onclick">edge_clicked()</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
am almost done with my project in android, now I want to make the executable version of the application.
I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse.
List esns=session.createQuery("from Pool e where e.status=:status "+
"order by uuid asc")
.setString("status", "AVAILABLE")
.setMaxResults(n)
.setLockMode("e", LockMode.PESSIMISTIC_WRITE)
.list();
I have the above query written, however it is not generating for update query and simultaneous updates are happening.
I am using 3.5.2 version and it has a bug in Criteria API, is the same bug present in query API as well or I am doing something wrong?
Hi all,
my first question on stackoverflow!!
I'm usgin the last NANT version: 0.90
How do i specify the lib names using the task?
Example: how do i link with the gtest.lib?
Morover i have a curisoity: why NANT doesn't allow an external property file?
Example:
It would be great if one of the developer answers.
Is there a ratio or is only not enough developing time?
What are the requirements for running .net framework targeted application on Windows CE 5?
When I try to start an application that I developed for Windows Mobile 6, I'm getting an error
Cannot find 'Projectname' (or one of
its components) Make sure the path and
filename are correct and that all the
required libraries are available
My app is a simple hello world app. What could cause that such error message?
Is there a way to dertimine which .net compact framework version is running on my system?