tocyril's Q&A profile
Visual C++ Beta2 problems
Hi, 1. I have installed Beta2 this morning, but when i try to compile my program. I see the following text.. No error presented ========== Rebuild All: 0 succeeded, 0 failed, 3 skipped ========== Why is VS skipping the projects No error is given. When i try to view the properties of a project i get the next error --------------------------- Microsoft Visual Studio --------------------------- The operation could not be completed. Niet nader omsch ...Show All
SQL Server Using Parameters to filter table data
Hi, We ever create reports with dinamic and static parameters in datasets queries or stored procedure calls. For example: SELECT Category_Id, Category_Name FROM Categories UNION SELECT 0, 'ALL' For all parameters list include ALL option . Now i need define render reports from execution snapshots (thats why can't use parameters in query) and try to define parameters but can't use ALL option , because ...Show All
SQL Server FOREIGN KEY problem on Creating new table
CREATE TABLE department ( code CHAR(20) PRIMARY KEY, [name] NVARCHAR(10) NOT NULL, brief NVARCHAR(20) ) CREATE TABLE major ( code CHAR(20) PRIMARY KEY, [name] NVARCHAR(10) NOT NULL, department CHAR(20) NOT NULL FOREIGN KEY REFERENCES department(code) ON DELETE NO ACTION ON UPDATE CASCADE, brief NVARCHAR(20) ) -- THE ABOVE 2 ARE ALL RIGHT!! CREATE TABLE class ( code CHAR(20) PRIMARY KEY, [name] NVARCHAR(10) NOT NULL, department CHAR(2 ...Show All
Visual J# a String "contains" method
Hello, I am new to J#, migrating from Sun's java. I want to do something simular to this in J#: String dayList [] = {"good day", "bad day"}; for (int a=0; a<2; a++) //iterate through the 2 Strings if ( dayList[ a ].contains( "good" ) ) //if the String contains "good" System.out.println(dayList[ a ]); I do not see a method " contains( String s ) " in ...Show All
Visual Basic How To Create Report In Visual Basic 2005
How can I create report in visual basic 2005 :( can u help me please Hi, Are you referring to VB Express 2005 If so no reporting engine is included in the Express edition. Its only available on the standard, professional and Team Suite editions. But if your referring to any of the said products you can create a report by adding a crystal report object in your project. cheers, Paul June A. Domag ...Show All
Visual Studio Team System Work items seems to use sAMAccountName as key to the AssigneTo field.
When assigning work items to people the dropdown list displays a list of sAMAccountName . In our case these are very none informative - they don't give a clue to the persons name as it consists of random letters and digits. Is it possible to get it displayed as givenName , middleName , sn or something other more readable When hovering over a user in the team project permission dialog a tool tip displays some other field from AD that is of some ...Show All
Visual Studio 2008 (Pre-release) An AsyncCallback threw an exception
Hey! I've built a service with AsyncCallback (via http with WSHttpBinding). I want to do exact the same thing with tcp and NetTcpBinding but I'm getting an exception: "An AsyncCallback threw an exception" Is this possible or is that just a bug in January CTP Thanks. [melack] It seems that the problem only occurs in a windows application. I tryed th ...Show All
Visual Studio Tools for Office We don’t test our code, Microsoft! (word toolbar events broken)
Just can’t imagine how stupid is that You are releasing an add in to Visual Studio 2005 that allows you to write code to Microsoft Office, and you are not running enough tests before releasing it. Don’t believe me Here is a simple scenario: 1- Create a new Microsoft word template with C# project. 2- In the document start event, add a new button to the toolbar; here is some code. private void Thi ...Show All
Windows Forms InvalidOperationException with DataGridView bound to object data source
I am getting an InvalidOperationException with the message "Operation is not valid due to the current state of the object." when using the DataGridView and an object data source in 2.0. After going crazy trying to find the source in a larger application I created a very simple app to see if I could reproduce the error and found that even a simple example application causes it. Here are the steps that reproduce it: 1) Create a new pr ...Show All
Visual Studio Team System TF53010: An unexpected condition has occurred in a Team Foundation component.
Hi, I got the following warning log: Event Type: Warning Event Source: TFS Warehouse Event Category: None Event ID: 3000 Date: 4/25/2006 Time: 5:49:05 PM User: N/A Computer: TFS Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (fo ...Show All
SQL Server How to download the english version of SQL Sever Express?
Hello, when i try to download SQL Server Express from http://msdn.microsoft.com/vstudio/express/sql/download/ i only get the german version. But i want to download the original english version. Because i like more to work with the english terms than the translated german ones. Regards, Markus Visit this page , select English then click Change , scroll-down to the Files in This Down ...Show All
Windows Forms Drag and Drop to Windows Explorer
Hi, I'm trying to implement drag and drop functionality in my program. I have implemented the dragging of files into the form. Now I want to accomplish the reverse. When a file is dragged into my form I show the File Sender dialog. I want to show the File Receiver dialog when something is dragged out of my form to the Windows Explorer ( http://behindfirewall.sourceforge.net/screenshots.html ). How should I implement this Thanks, Rovshan ...Show All
Windows Forms MessageBox does not display correctly
I developed a very simple VB program and it worked fine before. However, now when I opended the program, my MessageBox would not display Yes and No on the face of the buttons. I have went through Microsoft Office update and Windows update in between. Double check against this KB article, some antivirus applications are known to cause this problem: http://support.microsoft.com/default.aspx scid=kb;en-us;893708 ...Show All
Windows Forms Bug in Object.Equals method.......?while comparing boxed object...
I don't understand whether its a bug or not... Consider this code. int i=1; int j=1; Object ii=(Object)i; Object jj=(Object)j; 1) Console.WriteLine(i==j); 2) Console.WriteLine(ii.Equals(jj)) 3) Console.WriteLine((Object)i==(Object)j); Resuls: 1) True. 2) True 3) False Why its giving difference result for == operator and Object.Equalse() method while comparing object after boxing(ie int are type c ...Show All
SQL Server sql question
Hi i created a table that has 3 columns and the primary key is ID and has the Identity turned om .. she will increment herself bye 1 every time new row is added my problem is... when i delete a row.. i want all values in the primary key atuomaticly go 1 back.. ( in MySql the auto increment did that) example: ID | Something ----------------------------- 1 | aa 2 | bbb 3 | cccc 4 | dddd 5 | eeeeee command: delete from table where id=3 R ...Show All
