Giusy Provvidenti's Q&A profile
Visual Studio Team System "Compound Words Should Be Cased Correctly" exceptions.
On one specific machine (Windows 2003 Server) my FxCop test unexpectedly/surprisingly generates thousands of "Compound Words Should Be Cased Correctly" messages. All those exceptions are actually wrong. Example: The compound word 'InvalidParameter' in class 'InvalidParameterException' exists as a discrete term. If your usage is intended to be single word, case it as 'Invalidparameter'. "InvalidParameter" does not exist as a discrete term, so this message (and 4 thousand others) is not correct. I am using FxCop 1.32. I have 10 other machines (some of them Win2003 Server) running the same project against the same code without any prob ...Show All
SQL Server Connection option in MSSQL2005
Hi, There is a setting in option-> connection -> 'Perform translation for character data' in Query Analyzer in MSSQL 2000. Is there any option in MSSQL2005 has simliar function Thanks in advance (stephanielauym@discussions.microsoft.com) writes: > There is a setting in option-> connection -> 'Perform translation for > character data' in Query Analyzer in MSSQL 2000. Is there any option > in MSSQL2005 has simliar function Thanks in advance There does not seem to. I had enough with character translation with the 6.5 tools, so I can't say that I miss it. What use would you see for such an option -- Erland Sommarsk ...Show All
Visual FoxPro Detect hard diskk serial number.
Dear Expert, Can I know how to detect the hard disk serial number or code using foxpro Thanks a lots. If you mean the one that format creates: Declare SHORT GetVolumeInformation In Win32API; STRING @lpRootPathName, String @lpVolumeNameBuffer,; INTEGER nVolumeNameSize, Integer @lpVolumeSerialNumber,; INTEGER @lpMaximumComponentLength, ; Integer @lpFileSystemFlags,; STRING @lpFileSystemNameBuffer, ; Integer nFileSystemNameSize Local lncomplen, lnsysflags, lnserialno, ; lcvolname, lcsysname,lnvolsize, lnnamesize Store 0 To lncomplen, lnsysflags, lnse ...Show All
Visual Studio Express Editions Supposed Virus on VB Express Download
When I try to download the install file, my virus scanner jumps in saying that it is a virus... Is this actually correct Many virus scanners respond to cab and msi files. Mine does all the time. This is a sign of a good scanner. That's about all. ...Show All
Windows Forms Richtext box Background Image
Hi as a part of my development Project i need to show a watermark image on the richtextbox.(ie) the image should be transparent.in other words the user should be able to view the text with the background image. There is no background image property exposed. richTextBox1.CreateGraphics().DrawImage(objBitmap,-10,0, new Rectangle(0,0,richTextBox1.Width,richTextBox1.Height) ,GraphicsUnit.Pixel ); And Moreover the image should be drawn Diagonally from bottom left to top right. the above code draws the watermark image but the text is getting Hided(its draws a layer over the text) Pls post me the complete code on how to a ...Show All
.NET Development Generate update, delete and insert greyed out
Dear all, I'm using Visual Studio beta 2005 with postgreSQL through an ODBC connection. I recently upgraded from 2003 and wanted to make new tableadapter in my dataset. The dataAdapter is created but I'm unable to auto-generate the update, delete and insert commands. The primary keys are detected and are shown bold in the Query Builder. Could someone please help me with what is going wrong With kind regards, Paul When you create the select query remove the "public" from f.e. "public".addresses (schema name) after that you update generation goes smoothly... Paul ...Show All
SQL Server Conditional Data Inserting
Hello, My project import data from a text file to a database. I'm able to import the whole file but i want to import only if data are younger than the one i have in database. How can i do Where can i see a tutorial about it thanks a lot Ash has a great post on upserts here: http://sqljunkies.com/WebLog/ashvinis/archive/2005/06/15/15829.aspx Give that a shot. Thanks, ...Show All
Visual Studio Team System how can I backup team projects which I have created
how can I backup the Team Projects in a TFS I'm using the beta2 version . if I reinstall the TFS , I wan to maintain the Projects I have created , can I export the projects which I have created and import them after I reinstall the server Ajay addresses the question of Team System shipping with VS in http://forums.microsoft.com/msdn/ShowPost.aspx PostID=22482 . Buck ...Show All
Windows Search Technologies Installation Problems with your product
ok, so i decided to install your desktop search (WDS) thing. all good, it installs. think it is MSN Search Toolbar with Windows Desktop Search . so, i go for coffee and i feel brave and decide to install you latest beta. this is Windows Desktop Search 2.6.5 beta (KB911993) and guess what......... It un installs MSN Search Toolbar with Windows Desktop Search and the tries to install the beta and fails with error about Update.inf file. Full error message is: Setup could not verify the integrity of the file Update.inf. Make sure the Cryptographic service is running on this computer. And now I ask you: "&quo ...Show All
Windows Forms How can I use field value in a databound grid column's DefaultCellStyle format declaration ?
to make this clearer I am giving the code below. The Product Table Adapter is not used at the time of this class declaration. So how can I mention the field value as function parameter Thanks to everbody for their interest. public class Col_ProductName : Sanat. ssClass1 . ssDataGridViewTextBoxColumn { protected Sanat. ssClass1 . ssDataGridViewCellStyle _ssDefaultCellStyle; public Col_ProductName() { this .DataPropertyName = "ProductName" ; this .HeaderText = "Product Name" ; this .Name = "ProductName" ; this ._ssDefaultCellStyle = new Sanat. ssClass1 . ssDataGridViewCellStyle (); this ._ssDefaultCellS ...Show All
SQL Server Cannot connect with SQLCMD - VIA Provider : The specified module could not be found
I have the full version of SQL Server 2005 on my machine under XP. Installed ok and can connect with management studio, but if I try and connect with Analysis Services or even SQLCMD, I get the error below : HResult 0x7E, Level 16, State 1 VIA Provider: The specified module could not be found. Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establi shing a connection to the server. When connecting to SQL Server 2005, this failu re may be caused by the fact that under the default settings SQL Server does not allow remote connections.. Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired. I have ...Show All
Windows Live Developer Forums How can I apply for an APPID?
since an Activity can be loaded with obj.LaunchApp(AppID, emailID), so how can I apply for an APPID At this point, we are still requiring that all Activities be submitted via the WorldsBestApp website, even though the contest is over. Once submitted, we will process your request, and post your Activity there. We are not supplying AppID's yet, but hope to be able to do so in the future. If you wish to be able to launch your Activity via a link on a web page, you will need to point the link to your Activity URL on the WorldsBestApp website once it becomes available. (UPDATE: the submission ...Show All
Visual Studio 2008 (Pre-release) Listbox with ItemsHost Stackpanel: Scrollbars?
I have a list box style that uses a stackpanel as an itemshost. I can't seem to figure out how to put scrollbars on this guy. I tried ScrollViewer.CanContentScroll = true on the stackpanel, but no luck. I assume that I should set the ScrollOwner of the StackPanel to something but to what Here is the style: < Style TargetType = " {x:Type ListBox} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type ListBox} " > < StackPanel Width = " 200 " IsItemsHost = " True " Orientation = " Vertical & ...Show All
SQL Server Does SQL Server support all languages using Unicode
I have an international Internet business and I use SQL Server with the Unicode field types of nchar, nvarchar and ntext. I seem to have no problem with customers entering Slovakian, Slovenian, Romanian, English or German, but Hebrew and Japanese do not seem to work. The resulting data coming back from the database after adding a record is garbage. I had the software email me the data immediately before adding the data to SQL Server. It was appearing correctly with respect to the foreign language character format. The software does the database add and then returns a list of records currently in that table. The information for Japanese or He ...Show All
Visual Studio 2008 (Pre-release) Can't stop StoryBoard
I am creating an animation in procedural code. Nothing fancy, it just rotates a canvas. I initiate the animation like this TheAnimation.From = 0; TheAnimation.To = 360; TheAnimation.RepeatBehavior = RepeatBehavior .Forever; TheAnimation.Duration = new Duration ( TimeSpan .FromMilliseconds(2000)); // 2 secs per revolution SpinCanvas.BeginStoryboard(TheStoryboard); How can I stop it The sample code in the SDK ( How to: Control a Storyboard After It Starts) suggests that this will do the trick, but no dice. TheStoryboard.Stop(SpinCanvas ); Is it taking me too literally on the "Forever" part ...Show All
