Rick Strahl's Q&A profile
SQL Server PrimeOutput : difference between 'Output' and 'output buffer'
When overriding the PrimeOutput method in a custom component, you get as parameters the outputIDs and the output buffers (of type PipelineBuffer). using the outputIDs you can get IDTSOutput90 outputs. As I interpret things, each output is associated with one output buffer. When you want to output rows, you add rows to the buffer. But what do you use the output (IDTSOutput90) for Regards, Henk Henk, Maybe you have already come up with a answer, since there was no proper answer in the Thread, I will mention what I think. IDTSOutput90 is used to Specify the MetaData of that particular output, using that ...Show All
SQL Server Can't uninstall or reinstall nonfunctioning sql server
In previous post in the Getting Started section, I discussed problems trying to run queries on multiple databases: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=299240#299240&SiteID=1 Nobody could help with the problem. I eventually got a query to run after several attempts at deleting and recreating databases. Then, I was hit with the following error message: Class does not support aggregation (or class object is remote) (Exception from HRESULT: 0x80040110 (CLASS_E_NOGGREGATION)) (Microsoft.SqlServer.SqlTools.VSIntegration) Nobody could help with that either but based on posts with the same message, I tried uninstall ...Show All
.NET Development Deleting Files Using oledbcommand
I have currently worked out how to add and edit records with vb.net frontend and access back end. im having some problems with working out how to delete things however. Can anyone explain how this can be done When i go to nthe qery builder to try and delete, i select delete from the SQL list however i am then unable to specify that i want the system to wait for the record i tgive it before it deletes. assignment due tuesday. please help!! I can't see the code where you create the OleDbCommand object, so I don't know why you are removing parameters from it. One important thing is the DELETE statment doesn' ...Show All
Visual C# Good C# Authors
I was hopping I could get a couple of good recomendations for C# authors. I took a few C++ programing classes a few years and did a little programing back then, but I never really followed it. I've decied to get back into programing and want to get started with the C# language. Thanks! I really recommed Jesse Liberty, he has a Learning C# book as well as the Programming C# book. Or, there is a book targeted to non-programmers called Programming in the Key of C# by Charles Petzold that is pretty cool. If you are a non-programming right now I would definitly recommend either the Learning C# or "Programming in the Key of C#". Alot of the ...Show All
Visual Basic Copying Files to an Existing Directory
Dear VB Experts, I humbly ask for your assistance in solving a problem I'm having with copying a file to an existing directory. I'm using the below code to try and copy a file from an OpenFileDialog to a directory that already exists. The source file path is derived from the OpenFileDialog.FileName property and the destination file path is a directory in the users MyDocuments directory. When I run the code, If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then Dim filepath As String = OpenFileDialog1.FileName Dim destinationpath As String = My .Computer.FileSystem.SpecialDirectories.MyDocuments ...Show All
Smart Device Development Stop connection balloon?
Hi Guys, Anyone know if it's possible to hide or stop the connection balloon from coming to front My app dials a GPRS connection but this causes the balloon to appear on the screen until it's connected. I'd really like to stop that happening. Thanks John Sorry, you're right. I misread that you were looking for the wireless network message. ...Show All
Visual Studio Adding DataSource to a ReportViewer dynamically
I have a ReportViewer in which I dynamically loaded a RDLC file (Local Processing mode). I need to provide the data to the ReportViewer so I try to add a new ReportDataSource object to the ReportViewer.LocalReport.DataSources. All I get is an ArgumentException with the message "Value does not fall within the expected range" sqlConnection1.ConnectionString = ConnectionString(connectionRef); sqlCommand1.CommandType = CommandType.StoredProcedure; sqlCommand1.Connection = sqlConnection1; sqlCommand1.CommandText = storedProcedureName; sqlDataAdapter1.SelectCommand = sqlCommand1; sqlDataAdapter1.TableMappings.C ...Show All
Smart Device Development Pocket PC MSMQ question
Hi, We are developing a mobile solution that uses the MSMQ as the underlying messaging communication system. Each mobile device sends messages via GPRS to the backend system behind a Proxy-Firewall. I understand that using HTTP based SRMP protocol is not supported for MSMQ on Pocket PC 2003 platform. I like to ask if it is even possible to use MSMQ to message a Pocket PC application to a destination node behind the proxy firewall. I have been searching any literature on this but unfortunately I have not been able to locate anything useful. I hope someone here can point me to the right place... Regards, David ...Show All
Windows Forms Will a 1.0 app run on 1.1?
I have an app built with 1.0. I want to test it on a box with 1.1 installed, but it is not working. How do I configure it to run a 1.0 app on 1.1 box Do I have to build it in 1.1 for it to run on the 1.1 framework Jon If the app is configured to use the v1.0 runtime (in the app.config file ...Show All
Visual Studio Team System Specify Own Build Steps in VS2005 Based Output
All, Does anyone know of a way to specify your own build steps in the VS2005 based output shown after starting a TFS build from Team Explorer For example I am always shown the progress of the "Initializing Build", "Getting Sources" and "Compiling Sources" steps but within these I have declared my own targets and ideally I would like there progress shown. Thanks... Yes, it is doable but you will need to write custom build logger that will be some dev cost. Send me a mail at gautamg at microsoft dot com if you want more info. Thanks. ...Show All
.NET Development Will .NET support semantic web standards?
Don't know if this is the right place to raise this question, but I haven't found a better one. We're interested in using semantic web standards (RDF/OWL) on a .NET platform. There are many open-source packages that support the semantic web, but all the most advanced ones are written for Java (ie, HP's Jena). There are a few offerings for.NET, like Joshua Tauberer's SemWeb , but none go beyond basic RDF to support ontologies and inferencing (that's the OWL part). So, I wonder if anybody is facing the same problems and has found any solutions, or if Microsoft is planning on pushing ahead in this area Mike Travers This i ...Show All
Visual Studio Login Issue
I am developing a windows application using VB.NET 2003 and the bundled version of crystal reports. I have an issue with deployment to a number of users. I have a report viewer in my application that sends a dataset created from an xml document at runtime to a crystal report document. The reports display on all of our company PC's without any issues, but a couple of our users are getting 'Login failed' when trying to view the reports and are shown a dialog asking for the database location. Using crystal to display data from ADO.NET at runtime seems to work with 95% of users, but we can't figure out why some users are encountering this issu ...Show All
SQL Server Unable to use SSMSE to connect to SQL Express server on secondary IP address
I am having trouble to use SSMSE to remotely connect SQL Express server using IPs other than the base IP of the machine. Machine settings: (1) Has multiple IP configured. Those IP are accessible remotely (2) Firewall is not on. SQL Express server configuration: (1) TCP/IP and named pipe are on Browser service state: (1) running (2) listening at 0.0.0.0:1434 (UDP) SSMSE connection results: (1) with <baseIP>\<instance>, connects OK (2) with <otherIP>\<instance>, connection failed. Both connections use exactly the same authentication information. Testing results usin ...Show All
Visual Basic Object invoked has disconnected from its clients ERROR
Hi everyone.. Im working on a VB6 migration to .Net and Im getting a very strange error. Heres part of the code im executing and where the error is thrown.. I got a form where a message is shown in screen for the user to track what operations the main applications is running.. the routine is in my VB99_loadingScreen. VB99_LoadingScreen.DefInstance.Message("Reading Tag Configuration for Smart Devices") My form has the next routine where the message is shown. I use doevents to keep other part of code executing... Public Sub Message( ByVal sMessage As String ) If Visible Then lblMessage.Text = sMessage ...Show All
SQL Server Custom Data Flow Transformation loosing CustomProperties
I created a custom transform that has a custom interface and is a wizard that uses a web service. It creates custom properties and output columns on the fly. I set the dialog result to Ok and close at the end of the steps. The transform then has the custom fields and output columns I created in the wizard. I've verified this by right clicking on the transform and going to the advanced editor. If I then immediately run the package, the custom fields don't exist in the CustomPropertiesCollection. If I close the package and reopen it, the properties now are gone. If I then go through the wizard again, thus recreating the properties, they stay ...Show All
