manick312938's Q&A profile
SQL Server Calculated Members are not displayed in SQL Server 2005 Management Studio
Hi, all here, I am having a question about the visibility of calculated members. Why we can not see the calculated members from SQL Server 2005 Management Studio But when we browse cubes, we can see the calculated members. But why Management studio dose not display the calculated members Thank you very much for any helpful guidance and advices for that. With best regards, Yours sincerely, Yes Calculated members are only visible i BI-Developer Studio and in Management Studio if you start a MDX-query. The idea is to make all changes to the solution in BI-Developer Studio because you actually make scripts of all parts of a cube there. In management studio all your changes are not scripted but directly implemented. You can ad ...Show All
Visual C# How Can I Call A Function Residing In Class A, From Class B (Which Was Initialized By Class A)
Obviously to call another class' function, you create an instance of that class and call it from there, e.g. ClassA instance1 = new ClassA(); instance1.method1(); However, my query is this: I have ClassA, and ClassB. An instance of ClassA creates an instance of ClassB. I want the instance of ClassB to be able to call a function from that instance of ClassA. How do I do this Do interfaces come into it Please help. Thanks what PSHK is right! Alternatively you can make Class A as static to call it's function without creating an instance! But it all depends on the scenerio you have. Best Regards, ...Show All
SQL Server Inserting counts into a table
Hi: I would like to count repeating field values in a table, and to insert the counts into the same table. I have managed by having a temp_table, into which I insert the values: insert into temptable values (select count(*) as Count, fieldname from table group by fieldname) I then do a join on table.fieldname=temptable.fieldname, and update table.count with temptable.count. Is very cumbersome, and does not update counts when table changes. Is there a way to put in a calculated member, or to put the vaues of auto stats into the count field TIA Kar hi karfast, you can use UPDATE FROM statement to rid yourself of the temp table UPDATE table SET table.column = t.columnValue ,table ...Show All
Software Development for Windows Vista SequentialWorkflowRootDesigner in inherited workflow
Dear all, I've created a base sequential workflow and added a new designer like this: [Designer(typeof(NewDesigner), typeof(IDesigner))] [Designer(typeof(NewDesigner), typeof(IRootDesigner))] public class BaseWorkflow: SequentialWorkflowActivity { public BaseWorkflow() { } } public class NewDesigner : SequentialWorkflowRootDesigner { protected override SequentialWorkflowHeaderFooter Header { get { base.Header.Text = "Custom header"; return base.Header; } } protected override bool ShowSmartTag { get { return false; } } } In this base workflow i'll add some properties and if i'm not using any activities (white box model) i think it's possible to inherit from. That's exactly what i' ...Show All
Visual Studio Team System 12000 users
Hi, I am doing load testing on web application. i have created web test and i am calling that test in my load test. I want to generate load of 12000 users. Is it possible with VSTS load testing tool Is there any hardware set up is required Using rig functionality is it possible to achieve Thanks, Shankar Hello, you can do it using Visual Studio Team Test Load Agent. For more information you can refer to these links : http://msdn.microsoft.com/vstudio/teamsystem/products/load/default.aspx http://blogs.msdn.com/edglas/ http://msdn2.microsoft.com/en-us/library/ms253092.aspx Thanks, Anjana [MSFT] Microsoft Developer Support This posting is provided "AS IS&quo ...Show All
Visual Studio Express Editions I wish find filed in table and bind data in textbox
very important !!!!!!!!!!!!!!!! please help me I wish find filed in table and bind data in textbox . code below not reply . Dim s As String = "server=ELMIRA-EZD38MMB;database=sandoogh1;UID=bbb;PWD=bbb" Dim con As New SqlConnection(s) Dim s1, s2, s3, h As String s2 = "select * from acopen " Dim da As New SqlDataAdapter(s2, con) Dim ds As New DataSet da.Fill(ds, "t1") Dim dv As New DataView dv = New DataView With dv .Table = ds.Tables("t1") .AllowDelete = True .AllowEdit = True .AllowNew = True .RowFilter = "acno = " & Val(TextBox2.Text) = s3 .RowStateFilter = DataViewRowState.Modi ...Show All
Software Development for Windows Vista ocx registration on Vista RC2
This may have been addressed else where but the related links does not appear to show anything similar. Ok - I have developing an MFC VS Pro 2005 application which has an inhouse ocx component. On Vista this component fails to register so as a test case I created a "vanilla" ocx using the wizard, only changing the control name. I copied the ocx to a directory on the Vista machine then tried to use RegSvr32 to register the control. Again - failure with error 0x80040200. As this is a "vanilla" block of code I thought it worth raising here. Question 1) Is this a fault in Vista 2) Can I register existing ocx controls, this is relevant as one of my products with this problem was published earlier this year 3) ...Show All
Visual Studio Express Editions Stream data revisited.
Hello all, I would like to ask for some opinions on the best way to do something and possibly the solution. I am beginning to think that my "programming logic" is off when it comes to figuring out how to do something and I would like some advice on that as well. I will use my current project as a case for this. I need to stream data into an application, run calculations or manipulation queries against the data and output the data into a Data Grid View (eventually I will use C# to access Excel and create a custom report). My first idea was to stream the data into a list and from the list into a DataTable then to the Data Grid View. I was advised to stream it directly into the DataTable. Below I have pasted the code for the main form and th ...Show All
SQL Server perl driver for T-SQL
Hi! Is there a driver for perl available, which support all the features of T-SQL Greets nowad If i remember well you could use any SQL Server odbc driver in conjunction with the Win32::ODBC class but you will need to create a dsn (now it may be possible that something more recent exists; i used this in 2002) in the code below some functions are home made (&ExitWithError, &writetolog) It works for select queries but i don't know for Stored Proc execution... $DbConnStr = "DSN=Perl_DB;UID=$SqlUser;PWD=$SqlPass"; if (!($db = new Win32::ODBC($DbConnStr))){ print "Error connecting to $DbConnStr \n"; print "Error: " . Win32::ODBC::Error() . "\n ...Show All
Windows Forms How to close a messagebox
hi all I am developing windows application, where i have login, other options pages, In the main page i checking for the user idle time(in a timer), if the user idle for certain period i should display logout page and close the modal dialogs which is being displayed by the other pages. For modal forms i am storing the current openned form in mainpage's object during time out i will close the opened forms using this object's Close method, But how can i close the messagebox which is displayed in other pages during logout. Is there any way that the mainpage can close or control the messagebox which has been displayed by other pages note: Here pages are various user controls which willl be loaded on the Mainform's panel ...Show All
Audio and Video Development uncompressed YUV to EVR
Hi, I am writing a simple YUV media source to take in .yuv bytestreams and send it to the EVR. I have modified the MFT_Grayscale to act as a dummy transform to copy the yuv samples to the EVR. I am also using the playbackFX sample for the player. I'm having a problem with the player just showing a black screen, as if no samples are being sent to the EVR. I have verified that the samples are being processed in the dummy transform with the correct image size and attributes for my given yuv sample. I have tried other yuv samples and all just display a black screen, but the samples are being processed for sure. Is there any way to debug this to see if the samples are being sent to the EVR Or does anyone have any clues why this is happeni ...Show All
Visual FoxPro Control that comunicate with ICQ, MSN, and other chat servers
Hi, is there a ActiveX control that will comunicete with for example with ICQ server Or is there a way how can I do it myself without any difficulties Thanks >> Or is there a way how can I do it myself without any difficulties I don't know. How good a programmer are you The WinSock control will give you access to this functionality and you can use it within VFP fairly easily. ...Show All
Visual C# Class libraries (dll) using in a windows form
Hi, I've made a class library called: counter. Now I want to use counter.dll in my project yahtzee. How can I say to my form.cs that he must use that dll (soon more than 1). And how can I call the functions that are in my counter.dll I've already got it in references but I assume that's not enough because I can't call any function or methods from that dll. thx Are You Kidding me . I scrolled and Scrolled and Scrolled but it did not ended. Make sure 2 things: Your Application Runs without error when you dont use DLL YOu have Added Refernce to Counter.dll and it exists in the References of the project in Solution Explorer Best Regards, ...Show All
SQL Server Communication Link Failure Error
Hi, I am using ADO in my application to connect and retrieve data from Microsoft SQL Server 2000 SP4. When I start my application, it establishes connection to the server successfully and I am able to retrieve data from the server. here is my test scenario: 1. unplug the network cable from the client machine and put the cable back in after some time. I disconnect from the database in my code when the client machine disconnects from the network 2. Once the client machine comes back on the network, I try to reconnect and retrieve data from the sql server but I get the following error message when I try to execute a sql command: [Microsoft][ODBC SQL Server Driver]Communication Link failure This problem occurs only with Window X ...Show All
Visual Studio Team System CA1062 : unable to validate as requested
In the code sample below the Mybase.New line generates an error CA1062 Since I am unable to test for the validity of the argument BEFORE calling the base constructor, should FxCop be telling me to do something that I cannot - or could someone provide me with an alternative way to this CA1062 : Microsoft.Design : Validate parameter 'eventArgs' passed to externally visible method MyKeyPressEventArgs.New(KeyPressEventArgs) Public Class MyKeyPressEventArgs Inherits KeyPressEventArgs Dim mintKeyAscii As Integer Public Sub New ( ByVal eventArgs As KeyPressEventArgs) MyBase . New (eventArgs.KeyChar) mintKeyAscii = Asc(eventArgs.KeyChar) End Sub Public ReadOnly Property KeyAscii() ...Show All
