ArekP's Q&A profile
Visual Studio set credentials for ReportViewer?
This can't be rocket science. In RS 2000, I could set a credential like this: rs.Credentials = New System.Net.NetworkCredential(repSvcUserID, repSvcPwd, repSvcDomain) What is the equivalent to this in RS 2005, when calling a report via a webform reportViewer control I've found some very complicated examples of creating your own class with IReportServerCredentials, but I can't seem to get it to work. Is there some simple example avai ...Show All
SQL Server Row numbers on export
HI I have written a script to export data from customer table to another crm package, on the export they require the first column to be numbered 1 - .... say 1000 or how ever many rows there will be. Is it possible Thanks Rich Are you talking about a batch count Or does every row have to have a number If it's batch count then use DTS add a global variable, assign the count, then use the file syst ...Show All
Visual C# Create Too Many Form
is there way to create form just when i want like vb6 form.show() shows the form but in C# when i want to show the for i have to use form frm = new form(); that create too many form so when i pass value i cant pass it to the certain form i want and other question if i have more than one form how i can pass the value to the form i want i hope that it was clear sorry for my bad english ...Show All
SQL Server Errors in the high-level relational engine. when building cube with DSV with two different data sources
I get the following error when trying to build a cube when the measures are create d from a data source view with two data sources both SQL Server 2000 . There error is: Errors in the high-level relational engine. The following exception occurred while the managed IDbCommand interface was being used: Could not locate registry entry for OLE DB provider 'SQLNCLI.1'.. The SQL executed looks like: FROM OPENROWSET ( N'SQLNCLI.1', N'', The cube builds ...Show All
Visual Studio Team System Mechanism to see Work Item Queries actual SQl Statement
Is there a mechanism to see Work Item Queries actual SQL statement without needing to do a witexport There's no mechanism to see the SQL statements corresponding to a work item query. However, if you are referring to the WIQL (or Work Item Query Language) for a query, you can see this by doing a Save As... from VS on the query. Save the query as a .WIQ file and open the file in notepad to see the XML with the embedded WIQ ...Show All
Visual Studio 2008 (Pre-release) Is MediaElement/MediaPlayer support broken in December CTP?
I have tried playing around with the MediaElement in both Independent mode and using a MediaTimeline but could not properly control the running Video. I implemented Pause/Resume as well as Stop/Play to restart the Video but both failed to work properly. Both will stop the rendering frame at the instance of Stop/Pause but will never re-render new frames once Resume/Play is called. In both cases the Video sound restarts at the beginning ...Show All
Visual Studio ToolWindow, obtain project reference
Hello, I'm developing a ToolWindow and I want to interact with a loaded project (add folders, create files, add references, etc.) How can I obtain a reference for the project object When I developen an add-in I used a DTE2 object reference from the method OnConnection in the Connect class and then I used te Solution.Projects collection. Have the ToolWindow something similar Regards From managed code (MPF) you can just c ...Show All
Visual Studio Team System Having a similar problem : All details are enclosed
We are trying TFS Beta 3 refresh solution. Everything seems works ok except the Reports node in the Team Explorer. If I run Visual Studio as "TFSSETUP" user - the problem is gone and I can see all the reports, but it is still exists with any user other than TFSSETUP. Also it is impossible to use button "Stop Refresh", it does not stops but changes mouse cursor into hourglass. Report services is running ok. I can see ...Show All
Windows Forms Windows forms and avalon
How we can place avalon controls in windows form application LeRoi wrote: Thank you! ...Show All
.NET Development list of files from another web server?
Hi. I was wondering if there is a way to retrieve a list of files given a specific url from another web server I know I could use the FTP classes in .NET 2.0 but this is for .NET 1.1. I also know I could have used the http web request classes however that will not work. I get a 501 error (Not implemented error) the running server will have .NET 1.1 but as for the files, such as images etc... it will be stored on anot ...Show All
Visual Basic include attachment in SMTPMail
Hi, I would like to ask how to attach a file as an attachment in the mail. i have try but it does not work. however, no error message was produced. this is my code: Dim message As New System.Web.Mail.MailMessage message.To = "li-ching.ooi@avagotech.com" message.From = txtMail1.Text message.Subject = txtsubject.Text message.Body = txtMsg.Text message.Attachments.Add(txtAttach.Text) 'Try ' SmtpM ...Show All
Windows Forms C# Version??
This looks like a great sample, but will we see a C# version any time soon Thanks, Eric J. Smith Does the new version include the C# code for the GDI+ Controls bye Luxspes ...Show All
SQL Server Adding Table to Dataset for SQL Server Mobile causes VS 2005 to lock up.
I am running VS 2005 Professional Edition Windows XP profession with Service Pack 2 SQL Server 2005 Developer Edition. WHAT I HAVE DONE: I have a database running in an instance of SQL Server. I set this up for merge publication and then set up a SQL Server Mobile Edition Subscription to that publication. After a few oversights I got everything working. The Mobile database replicated just fine. I went back verifi ...Show All
Visual Basic Using the same structure in multiple objects
I have the same structure of data (customer name, location, status, etc.) that I want to use in multiple objects within an application (one to read the data from a file, one to display it, one to create a new or updated version, and one to save it), and I'm not sure what's the "correct" way from an object oriented point of view of how to define the same structure across all of the objects. Currently, I've got the structure defined ...Show All
SQL Server What is the best scheduled reporting tool?
Hi all, I have recently been exploring reporting options for a scheduled report which will pull data from both Access and SQL Server. I have developed a model using DTS outputting to an Excel file with formatted graphs/charts, but this method is too cumbersome and creates too much extrerraneous data (Excel tabs), and besides that DTS is meant for moving data around, not for reporting, hence I have had to be pretty creative in getting a lo ...Show All
