wargy2's Q&A profile
SQL Server Is this possible? How
hello guys, I want to create a report using a bar chart data region from a cube. The cube contains Date and Time dimentions. Here is my question: The catagory field (x-axis) value of the bar chart is dependent on the paramaters value(i.e.StartDate and EndDate). For instance if the difference between StartDate and EndDate is greater than 1 year, the x-axis value for the bar chart should come from the Date dimention and display the year value. ...Show All
Visual C# How C# talk with Flash Communiaction Server
Hi buddies, do any body gone through, how C# communicates with Flash Communication Server any idea.. please help.. thanks, Vinu Hi buddies, Can anybody please help me with a sample code or any article on how C# communicates with FCS via remoting. Regards, Vinu ...Show All
Windows Forms How to Filter Date in BindingSource
Hello!!! I want to filter a BindingSource, that has a field named "DateField", by month. The values are of Date type. Example: All rows that was created in november. I tried the following code, in the BindingSource Filter Property... "month(datefield) = 11" ...but the filter property don't allow this function (month). Somebody can help me Thanks If the BindingSource is bound to a DataTable, then you can set the filt ...Show All
SQL Server can't find xp_sqlagent_proxy_account procedure
I want to allow access to xp_cmdshell to a regular (not sysadmin) user. I am not finding the xp_sqlagent_proxy_account in my master database. Hence I can’t allow this option. Any idea why and how should i proceed from here I'm using April CTP. Thanks Christina To do this in SQL Server 2005 use the sp_xp_cmdshel_proxy_account stored procedure. It's actually an xp and listed under the Extended Stored P ...Show All
Visual Studio Express Editions "Parameter is Incorrect" When Creating Tables
I am attempting to create a table through the database explorer. The problem is, every time I right-click on Tables, and select Add New Table, I receive an error message stating "The Parameter is Incorrect" I CAN connect to my SQL 2005 Express server, and the connection to my project's database works, but I cannot add tables... Any ideas Wish I knew. I have the same problem. I see your posting was mad ...Show All
.NET Development OneCare vs Safety Center
Just got into the Safety Center Beta site and it appears that there is a lot of duplication of functionality between it and One Care. Except for the Backup capability in OneCare, it looks like the same tasks can be performed in either - virus scan, disk defragment..... Are these going to be seperate products or Thanks, M.H. ...Show All
Visual Studio 2008 (Pre-release) VB9 Object Initializers and Parameterized Constructors?
In VB 9 how will the use of an object initializer work if the only public constructors are parameterized constructors, that is if the basic constructor's modifier prevents its use In the current LINQ CTP (May 2006) we disallow this case to simplify implementation. However the design is still under consideration - so keep a look out for new updates. Ting Liang ...Show All
Visual C# navigating between web forms in a web app
What is the syntax for navigating between web forms in a web app When the user clicks a button, I want it to load a seperate web form. They are all in the same project. Thanks Hi, the code for your button would be protected void Button1_Click( object sender, EventArgs e) { Response.Redirect( "PageYouWantToLoad" ); } PageYouWantToLoad stands for a filename of the page yo ...Show All
Windows Forms Small problem with a e.cancel in a KeyPress event Plz help
private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if (!(Char.IsLetterOrDigit(e.KeyChar) == true ||(e.KeyChar)==8)) { e.cancel = true; } } i tried the above code for my alphanumeric filter as a textbox it is giving me the following error.: its saying : --->System.Windows.Forms.KeyPressEventArgs' does not contain a definition for 'cancel' <----- help! how can i ...Show All
Visual Studio Team System The application for project is not installed (project types .rptproj and .dwproj)
It used to work, but then... Visual Studio 2005 was hummin' and I had a number of BI projects in both Report Services and Analysis Services. I wanted to add source control and decided to install the Team Suite and I did something wrong. I just don't know what it was. In the end, I deinstalled every Visual Studio 2005 (including, of course,the Team stuff)and SQL Server 2005 application, and reinstalled old faithful Visual Studio 2005, but n ...Show All
Visual C# How To: get all the buttons from a form
Hi, i'm trying to get all the buttons from my form in some sort of collection, array, ... Is it possible to get a certain type of control out of your form Greetz You can iterate over all controls on the form and lookup of they match a specific type. Control[] textboxes = GetAllControlsOfType( typeof ( TextBox ) ); public Control[] GetAllControlsOfType( Type type ) { ArrayList buffer = new ArrayList ...Show All
Visual Studio Unspecified error when doing Get Latest Version
When I do Get Latest Version from within Visual Studio on a complete solution or project I get the following error: Unexpected error encountered. Error: Unspecified error. File: vsee\lib\path\cvapipath.cpp Line number: 2459 When I do Get Latest Version on an individual source file, it works correctly. When I do Get Latest Version on a project from within the VSS client, it also works correctly. I got the following setup: Visual Studio ...Show All
SQL Server How to use user defined function in stored procedure?
Hello friends, I want to use my user defined function in a stored procedure. I have used it like , select statement where id = dbo.getid(1,1,'abc') //dbo.getid is a user defined function. procedure is created successfully but when i run it by exec procedurename parameter I get error that says "Cannot find either column "dbo" or the user-defined function or aggregate "dbo.getid", or the name is ...Show All
Windows Forms DataGridView Object Data Sources
Hi All, I have tried to use a datagridview in a windows form to render a list of wine objects. The wine object contains a Region Object. I want the datagridview to to display two columns, Wine.Name and Region.Name. I have created a BindingList of Wine objects which is then bound to a datagridview. Using autogenerated columns, the Region.Name column renders as just its type name - not the data... What am I doing wro ...Show All
SQL Server Getting Started with SQL 2005 CTP
Has anyone setup new db's Thanks, BillB Hi, Independently from Management Studio or your own program in SQL Server 2005 you can also use sqlcmd utility (see BOL) If you run SQL Server 2000 on your machine, you can also use SQL Server 2000 tools like Query Analyzer or Enterprise Manager and connect to CPT15 instance Thanks Mirek ...Show All
