Don Riggs's Q&A profile
Visual Studio Express Editions How to use C# sqlConnect.connectString for MS SQL server 2005 Express?
what's wrong with these lines String connectionString = "Data Source=(local);Database=loler;Integrated Security=SSPI" ; SqlConnection cx.open(); it give me exception as: {"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"} System.Exception {System.Data.SqlClient.SqlException} Is that I have to set something in the SQL server configuration manager ...Show All
Visual Studio Team System Beta 3 Setup Error: Windows SharePoint Services is not configured as recommended by Team Foundation Server
I am trying to install Team Foundation Server Beta 3 as single server installation and installed all required software components. However, during the installation, it gives me "Windows SharePoint Services is not configured as recommended by Team Foundation Server" error under "Recommened Components" dialog box. I exactly have followed an instruction specified in setup guide for Team Foundation Server Beta 3 for SharePoint services installation. Could anybody tell me what the problem is Thanks in advance. Eric Read the installation guide. "When the installation is complete, a Web browser window opens and dis ...Show All
Software Development for Windows Vista Vista - Play DVD failed in VMR9 windowless mode
I can hear audio, but video display is black. Vista doesn't support windowless mode playback ...Show All
SQL Server Can't Access Cube Templates
Hello, I appreciate this is probably a noddy question but I can't find the answer in any of the normal resources. I'm working through Brian Larsons Business Intelligence with SQL Server 2005. Chapter 6 requires me to set up a Cube from a Template. I've chosen the Cube Wizard from the Project Explorer and then clicked next on the welcome page. Problem is when I select the second radio button (the option that indicates that the source is not a data mart) the chose template checkbox that activates the template drop-down is disabled. This obviously means I can't chose the template I need. I've continued with the book anyway ...Show All
Smart Device Development Data binding with .NetCF
Hi all, I'm having some problems to bind data to some controls, exactly, I have two tables Orders and Customers, Orders has a "ID_Customer" fields which is related to Customers table... So the problem is, how can I create a Windows form with all Orders fields but, instead of ID_Customer, I'd like to see a combobox with the Customer_Name related (which is a Customers table field...) Is it possible to assign at each Customer_Name in the combobox the ID_Customer as value So, scrolling the combobox, I'm able to change the Customer_Name of the order, and when updating, I can get the ID_Customer value in Orders table... I'm using VS2 ...Show All
Visual C# Design Question
Pretty new to C# and Im rewriting a VB6 app that contains many features that should force the ol learning curve. I have hundreds of images that are saved with a filename, such as: temp1.jpg temp2.jpg....etc. The full path will have to be added later, probably to a list or Arraylist...in numerical order. As I recall I had to jump thru hoops to do this sorting with VB. temp1.jpg temp101.jpg temp2.jpg temp211.jpg....etc. What is my best bet now I can name the files anything. I just need to load them later numerically as fast as possible. Sorry, I didn't save the thread. That quote was basically the only thing worth gleaning. Looks li ...Show All
Visual Studio Team System depend request
1) What exactly does add depend request mean 2) Is it possible (without code) to say based on an extraction rule request this page I am writing a web test for a site with multiple security roles. I wrote the test with the master security role. Now I want it only to make certain webpage requests based on the user logon ~Todd A dependant request is simply one that happens because of some other request. For example the request to a server to download an image when you are viewing a page. There is support in the product for doing this without using a coded web test. However it is something we are looking int ...Show All
SQL Server Problem populating temp table from linked server.
Hello, I have a 2000 sql server linked to a 2005 sql server an I am trying to return data across the link. If I just run the sp I get the data back fine but if I try to Insert the data into a temp table the process just hangs and has to be killed. This works fine: EXEC [MyLink].[MyDocs].[dbo].[spGetSearchWrapper] -- (returns 156k records in about 2 sec.) However inserting the results into a local temp table never returns. In fact the process never really runs. CREATE TABLE #tmpOrgResult ( intObjectID INT &nbs ...Show All
Visual Basic How to make subroutine calls from one form to another non-blocking?
Not sure if this is possible, but I have 2 forms, F1, and F2. I would like F1 to make a subroutine call to F2 and while F2 subroutine is running, i would like F1 to continue to execute it's code. My understaning is that VB is single-threaded but i thought i had read somewhere that this is possible to do this. Any help would be appreciated. thanks bc Even calls to a control will typically be single-threaded, i.e. the call will block. Threading in VB6 is mostly done with non-UI DLLs on the server side. If you really want to do threading with a Windows Forms client app, you really should consider us ...Show All
Visual Basic Functions not writing out new txt files
The console pops up for like one second. I am not finding any new txt files being written to the destinatin directory...and not sure why. When I try to debug, it doesn't seem to stop at any of my set points..just the console pops up so quick that I can't see it. Imports System.IO Module Module1 Sub Main () Dim parser As New CParser parser.Parse( "\\myservername\f$\inetpub\wwwroot\apex\ssis\maintenance\sss\phase2\sss_input\sss_input.txt" , "\\myservername\f$\inetpub\wwwroot\ ...Show All
SQL Server Is SSIS slower than DTS????!!!!!!
I am new to SSIS and probably doing some mistake while transferring data from oracle source to oracle destination. Please guide me.. In our project we need to transfer nearly 80 GB data from old system (Oracle 9i) to new system (Oracle 10 G Release 2). To do this exercise we are testing and comparing performance and cost effectiveness between different tools like SSIS, DTS and SQL * Loader (oracle built in tool). We have selected one table, which is having 40 fields with 3 million records. The destination table is also having same structure. Surprisingly SSIS is giving slower performance ...Show All
Visual Studio 2008 (Pre-release) Problem DownLoad File
The scenario is: A Host Service communicate directly with a client without ServiceSite in IIS. I want to download a file from Server to a Client. If the size file is more than 60kb the host service generate this error: {System.ServiceModel.CommunicationException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: Connessione in corso interrotta forzatamente dall'host remoto. ---> System.Net.Sockets.Socket ...Show All
Windows Forms Binding CompboBox after form has loaded
I have a situation whereby my form loads and populates comboBox1 which works fine. However, when the user selects a value from comboBox1 I want to populate comboBox2 with values based on the selection but can't seem to get it to work: Here is my event handler for the first comboBox. private void comboBoxTargetProduct_SelectedIndexChanged(object sender, System.EventArgs e) { string ...Show All
Visual Basic Help with button clicks in a Select...Case scenario
Hi There, I have two panels in an app I'm writing and I want to be able to dock/undock them based on which of two buttons I click. Essentially, Button 1 - Docks Panel 1 and Undocks Panel 2 Button2 - Docks Panel 2 and Undocks Panel 1 I have the dock and undock procedures working fine but the problem is I don't know how to write the code to interpret the button clicks and switch the panels accordingly. Any help on this would be very much appreciated - as I'm an extremely stumped novice.. Thanks in advance Private Sub Form1_MouseClick(ByVal sender As System.Object, ByVal e As System. ...Show All
Visual C++ Error while compiling (C2664)
Hi, I have this piece of code which I am trying to compile in VS 2005. ///////////////////////////////////////////////////////// TCHAR * strGuid = NULL; UUID myUUID1; UuidCreate( &myUUID1); UuidToString( &myUUID1, &strGuid ); ////////////////////////////////////////////////////////////// This compiles OK in VS 6.00 but it gives an error in VS 2005 (The project setiings has _UNICODE & UNICODE defined). Any help is welcome :-) error C2664: 'UuidToStringW' : cannot convert parameter 2 from 'TCHAR **' to 'unsigned short **' Types pointed to are unrelated; conversion requires reinterpret_cast, C-sty ...Show All
