Is it possible in TFS 2008 to alter the parent of a branch? I've heard this will be available in 2010, but was wondering if there was an equivelent in 2008 (even if it's more long winded)?
f# interactive throws System.OutOfMemoryException when loading large objects into memory.
Exception is thrown at approximately 1.3 gigs. Data set is 2.2 gigs, and loads fine in debugger mode.
Using VS2008 with April 2010 CTP
This is mostly a java library that is being used via ikvmc, but if that were an issue, it shouldn't be running in the debugger either.
A good thing in LINQ to SQL was a fast and reliable way to map database tables and convert them into classes accessible from c# project. However it is no longer recommended to create projects using LINQ to SQL.
What is its substitute? What kind of tool should I use in VS 2010 today if I want to have the same functionality as I had with LINQ to SQL?
When I load jQueryUI on a Windows XP machine using Firefox 3.6.3, I get a bunch of css errors:
Error in parsing value for 'filter' Lines 18, 76, 77.
Unknown property 'border-top-left-radius' Line 274.
Unknown property 'border-top-right-radius' Line 275.
unknown property 'zoom' Lines 300,306,336,345,385,408.
Q: Should I just ignore these errors?
I'm running PyLint from inside Wing IDE on Windows. I have a sub-directory (package) in my project and inside the package I import a module from the top level, ie.
__init__.py
myapp.py
one.py
subdir\
__init__.py
two.py
Inside two.py I have import one and this works fine at runtime, because the top-level directory (from which myapp.py is run) is in the Python path. However, when I run PyLint on two.py it gives me an error:
F0401: Unable to import 'one'
How do I fix this?
Hi all
I am very confused about the const version and mutable version member function like below::
value_type& top() { return this.item }
const value_type& top() const { return this.item }
What is the different these two functions? In what situation they would be used? Could someone give me some explanation about it?
Best Regards,
Hey, I made several tables and relationships using SQL server manager. I then imported them to visual studio and it all appeared in the correct form, except one of the relationships did not appear. I have checked everything I could think of and it is the exact same as the other relationships. If you know anything I can check, I would appreciate it. Thanks
I am using the entity framework, visual studio 2010.
Since upgrading a website from ASP.NET 3.5 to ASP.NET 4.0 my dates come out in US format, ie
3/24/2010. How can I change it back to UK format (24/3/2010) for all pages on my site? Is there a default setting somewhere?
Hi All,
I have "Friday, April 02, 2010" as date now I want to display "04/02/2010" if browser language is selected english and "02.04.2010" if browser language is selected as German.
All I want, is to display the date as per the browser format.
Any Idea how this can be done?
What is the best way to remove all merge fields from a word 2010 document using openxml sdk 2.0, and replace them with a simple text? I have some difficulties to remove them cleanly. Have tried to remove all Run objects that includes a FieldCode with a "MERGEFIELD" defined, and appended a new Run with my text. But I am missing something crucial since the field seems to stay defined for this element.
I am trying to setup a dev environment at home. My primary development environment is VS.NET 2008 (now it is VS 2010 Premium) with SQL Server 2008.
Objectives / Requirements :
- Should be simple and lightweight
- Should have a Visual Studio plugin (cost should be less than $50, if its not free)
- should work just fine with continuous integration systems like TFS and CruiseControl.NET
- VSS is not an option.
Thanks in advance,
SK
Hi guys,
Im just trying to attach a collection from another tfs server(both 2010), but this collection was not detached before restoring on to the new server. Now the problem is that
when i try to attach the collection it return an error saying the collection was not detached properly.Make things worse, the old tfs server has been removed completely.
Is there a way to force attach such collections..
Thankz in advance
Lasa
hi
i try to run this query:
select * from WorkTbl
where ((Tdate = '20100414' AND Ttime = '06:00') and (Tdate <= '20100415' AND Ttime <= '06:00'))
i have this date: 14/04/2010 and time: 14:00
i cant see hem, how to fix the query ?
thank's in advance
Delphi 2010
When reading from file using readLn procedure, by default i get unicode string converted from code page 1251 (code page of windows).
How can i change this and read from file in other code page, in 1252 or UTF16 ?
I have jquery validator running and I the page is so long, so I want the page to scroll up to the top because I display errors on the very top of the page above the form, doesn anyone know where I can put the code for the animation so it fires when the form has errors ?
where can I find the silverlight 4.0 for the production server ?
For this need to install vs 2010 ?
or only need to install 4.0 from where can I find the 4.0 for the production server ?
is there any license for the same or its free ?
I am getting ready to perform a migration of SharePoint 2007 to 2010, and during the migration horus, i will want to prevent anyone form adding content anywhere, but yet I would like for people to read the content. Is there a way to make the sharepoint 2007 site read only?
Given a date of birth, how would I go about calculating an age in C?
For example, if today's date is 20/04/2010 and the date of birth given is 12/08/86, then age will be 23 years, 8 months, and 8 days.
Any suggestions would be appreciated.
Thanks!
I have input boxes with a height of 25 pixels. In Firefox, Safari and IE8 automatically vertically align the text of it in the middle correctly.
However in IE6 and IE7 the text is aligned to the top.
How may I resolve this? Adding padding-top increased the total height of the input as I have explicitly declared its height.
I don't wish to use browser specific CSS.
Thanks.
Hi all
refer to these post : here1 and here2 at last I solve my problem by build a asynchronous solution,and it work well!!! but there is a problem that i face with it,now my code is like this:
class MyProcessStarter
{
private Process process;
private StreamWriter myStreamWriter;
private static StringBuilder shellOutput = null;
public String GetShellOutput { get { return shellOutput.ToString(); }}
public MyProcessStarter(){
shellOutput = new StringBuilder("");
process = new Process();
process.StartInfo.FileName = "sqlplus";
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
process.OutputDataReceived += new DataReceivedEventHandler(ShellOutputHandler);
process.StartInfo.RedirectStandardInput = true;
process.StartInfo.RedirectStandardOutput = true;
//process.StartInfo.RedirectStandardError = true;
process.Start();
myStreamWriter = process.StandardInput;
process.BeginOutputReadLine();
}
private static void ShellOutputHandler(object sendingProcess,DataReceivedEventArgs outLine)
{
if (!String.IsNullOrEmpty(outLine.Data))
shellOutput.Append(Environment.NewLine + outLine.Data);
}
public void closeConnection()
{
myStreamWriter.Close();
process.WaitForExit();
process.Close();
}
public void RunCommand(string arguments)
{
myStreamWriter.WriteLine(arguments);
myStreamWriter.Flush();
process.WaitForExit(100);
Console.WriteLine(shellOutput);
Console.WriteLine("============="+Environment.NewLine);
process.WaitForExit(2000);
Console.WriteLine(shellOutput);
}
}
and my input is like this:
myProcesStarter.RunCommand("myusername/mypassword");
Console.writeline(myProcesStarter.GetShellOutput);
but take a look at my out put:
SQL*Plus: Release 11.1.0.6.0 - Production on Thu May 20 11:57:38 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
=============
SQL*Plus: Release 11.1.0.6.0 - Production on Thu May 20 11:57:38 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Enter user-name:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
as u see the output for run a function is not same in different time!So now would you do me a faver and help me that how I can wait until all the output done in other mean how I can customize my process to wait until output finishing ?? because I want to write a sqlcompiler so I need the exact output of shell.
plz help me soon.thanxxxxxxxxxxxx :X
i have following format of json in which i want to asscess 0.4 , kem , 2 , 2000 values
but it seems it doesn't have name index so how one can access it in jquery.
when i paste following code in json viewer then i am getting numerical index for 0.4 , kem , 2
"td": [
{
"@attributes": {
"class": "odd"
},
"span": [
"3",
"7"
]
},
"0.4",
"Kem",
"24\/04\/2010",
"2000",
"2",
"14000",
"Good",
"Buckley",
"56.0",
"2:05.32",
"36.65",
"54.5"
]
}
I am transforming an XML document. There is an attribute @prettydate that is a string similar to "Friday, May 7, 2010". I want to split that string and add links to the month and the year. I am using the exslt:strings module and I can add any other necessary EXSLT module.
This is my code so far:
<xsl:template match="//calendar">
<xsl:variable name="prettyparts">
<xsl:value-of select="str:split(@prettydate,', ')"/>
</xsl:variable>
<table class='day'>
<thead>
<caption><xsl:value-of select="$prettyparts[1]"/>,
<a>
<xsl:attribute name='href'><xsl:value-of select="$baseref"/>?date=<xsl:value-of select="@highlight"/>&per=m</xsl:attribute>
<xsl:value-of select='$prettyparts[2]'/>
</a>
<xsl:value-of select='$prettyparts[3]'/>,
<a>
<xsl:attribute name='href'><xsl:value-of select="$baseref"/>?date=<xsl:value-of select="@highlight"/>&per=y</xsl:attribute>
<xsl:value-of select='$prettyparts[4]'/>
</a>
</caption>
<!--etcetera-->
I have verified, by running $prettyparts through a <xml:for-each/> that I am getting the expected nodeset:
<token>Friday</token>
<token>May</token>
<token>7</token>
<token>2010</token>
But no matter which way I attempt to refer to a particular <token> directly (not in a foreach) I get nothing or various errors to do with invalid types. Here's some of the syntax I've tried:
<xsl:value-of select="$prettyparts[2]"/>
<xsl:value-of select="$prettyparts/token[2]"/>
<xsl:value-of select="exsl:node-set($prettyparts/token[2])"/>
<xsl:value-of select="exsl:node-set($prettyparts/token)[2]"/>
Any idea what the expression ought to be?
Is there any way to enable debugging from within the Windows Forms Designer in Visual Studio (any version, up to and including 2010)?
What I mean is, say I have some custom user control, and this control has certain validation that it performs when I set a particular property. I'd like to be able to set a breakpoint somewhere within that code, and step through it to see what happens when I set the property from the designer.
I have followed answer given by CMS in relation to getting a menu to stay in one place on the page whilst you scroll the page as per this original question and it works very well but I also have a number of images on the page where I'm using the jquery fancylink plugin to show an enlarged image on click. The problem is when you then close the fancylink popup and scroll to the top of the page the static DIV then decides to stick to the very top of the page. Any ideas or help would this would be greatly appreciated.
I'm creating an email using String Template but when I print out a date, it prints out the full date (eg. Wed Apr 28 10:51:37 BST 2010). I'd like to print it out in the format dd/mm/yyyy but don't know how to format this in the .st file.
I can't modify the date individually (using java's simpleDateFormatter) because I iterate over a collection of objects with dates.
Is there a way to format the date in the .st email template?