Stev92's Q&A profile
Visual C# space in file path!
When i use a file path like "C\ test cases\testfile.csv", the file cannot be opened.. I know the problem is the space in my path. If i use "C\ testcases\testfile.csv", then its ok. Is there any tricks to come around this problem. ProcessStartInfo pSInfo = new ProcessStartInfo( "Excel.exe"); pSInfo.WindowStyle = ProcessWindowStyle.Maximized; ...Show All
.NET Development Join 2 tables from 2 different databases in ADO.net
I am tying to build a COMMAND that joins two tables from two different databases, one database is stored in SQL Server, the other one is stored in MS Access, the problem is I can not make the SQL statement in one command, since the connections are different. Example : Dim MyCommand As New SQLCommand(" SELECT T1 .Col1, T2 .Col4 FROM T1,T2 WHERE T1 .Col1 = T2 .Col2",SQLConnection) T1 is a table in MS Access Database ( Database1 ) T2 is a table in SQL Server database ( Database2 ) In addition, I have two connections: MSAccessConnection SQLConnection I tried to load the two tables into a dataset and select the data, but my ta ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Setting up with directX SDK
helllo, i have a very frustrating question. i can not seem to get Visual C++ to work with the directX, i have installed directX 9 but when i open some of the sample programs i get a include error. "windows.h" i have been reading and that has something to do with the PSDK. but i have that installed and i belive i have it included right. if anyone has any ideas, or can offer some help that would be awesome thank you Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=269916&SiteID=1 Hope this helps! Thanks, Ayman Shoukry VC++ Team ...Show All
Visual C# Build Web Comments Page
Does anyone know what happen to the "Build Web Comments Page" function that used to be under the Tools menu in VS 2003 It does not appear to be an option in VS 2005 Thanks for the help in advance. Yeah, it's gone. Visual Studio 2005 will have no built-in way to turn XML comments into a presentation format like HTML. Wait for the updated NDoc, I guess... ...Show All
SQL Server Groupings in Matrix Layout?
Hello, I am trying to come up with a Matrix report using RS 2005 that looks like this one below. I have row data: question, columns data: Ethnicity and Gender, detail data: Gender average response and Ethnicity average reponse. I utlilized Report Wizard to create a report in a Matrix format , however I wasn't able to have Gender and Ethnicity column on the same line. The report wizard groups columns so Gender is a subset of Ethnicity or Ethnicity is a subset of Gender. How can is solve this issuee so that Gender and Ethnicity data is presented in a Matrix format and Gender and Ethnicity are not part of each other. Thank you! ...Show All
Software Development for Windows Vista Compiling DirectShow Samples with Visual Studio .Net 2005
We've just purchased .Net 2005 and would like to compile the DirectShow BaseClasses supplied with the Platform SDK. DirectShow documentation (in the on-line version of the MDSN library) states that there should be a .dsw file in the BaseClasses folder... but there is none. All we could find was a makefile. Is there a way to create the project from a makefile Help! haroonsarwar84 wrote: I am having the same problem.... In trying cpix's suggestion I downloaded the December 2004 edition of the DirectX SDK from a MS site...and extracted it's content......and unbelievably enough there is ...Show All
SQL Server Serious Converting Data Problem
Hi, I am going to map a SQL Server 2005 table to a SQL Server 2000 table. Here are databases specifications: SQL Server 2000: Collation: SQL_Latin1_General_CP1256_CI_AS Table: Party Feilds: Serial int not null FullName varchar(50) SQL Server 2005: Collation: Arabic_CI_AS Table: CMN_tblParty Fields: PartyID int not null FullName nvarchar(50) I used SSIS to map data from 2005 to 2000 but it failed. Actually it can't convert unicode field to non unicode one. Therefore I used a Data Conversion Block and I converted the FullName from CMN_tblParty to string with CodePage 1256. But when I connect this block to OLEDB Destination block, ...Show All
Visual C++ Good old days in C++ are gone
Hi, All! In general, C++ always was a low level programming language. Now this is gone. MS have changed managed extension syntax. Now i can't implement IDisposable by self! What if i don't want call SuppressFinalize I can't implement my own version of Dispose(bool disposing). I like C++ for freedom, now even under C# i have more freedom. I don't like this! Dmitry Native (unmanaged) C++ in VS 8.0, sans the optional Microsoft extensions that have been around for a long time, is one of the most C++-conformant in any product out there, so it's not "gone." It's here today and better than previous versions of Vis ...Show All
SQL Server Retrieve date from filename
Hye all, I need help on this. Let say my source file in excel format. Currently i'm using foreach loop to execute those source files. The problem is that , i want to retrieve a date from the source(filename) itself. i've tried using derived column. but it doesnt work. eg: Source file name Email_Jan_05.xls, i want to grab the string JAN and 05 which later i'm going to put it in my database. any suggestion Thanks in advance. Inside foreach loop, insert a script task before the data flow task, create a presedence constraint between them. Inside the script task, obtain the file date and store it in some variable. ...Show All
SQL Server SMO to Modify Server Protocol
Hello, I am trying to Enable TCP/IP server protocol on SQL 2005. Under SMO I see Microsoft.SqlServer.Management.Smo.Wmi.ServerProtocol But I am not sure how to get to that information. Anyone have any ideas on how to do this Thanks in advanced This should work (note the instance name is different): ManagedComputer mc = new ManagedComputer (); mc.ServerInstances[ "SQLEXPRESS" ].ServerProtocols[ "Tcp" ].IsEnabled = true ; ...Show All
Windows Forms Quick ListView filling
Hi, I'm filling a ListView control with data of a filled DataTable. I have to create and add any row. When many rows are at the DataTable it takes a lot of time to fill the ListLiew control. At a DataGrid it's much better there is a DataSource property it binds the data very quickly to the control. My question now is how I can bind the table data to the ListView control in a quicker way maybe like in a DataGrid Is there any quicker way ...Show All
Visual Studio Team System Exception while creating project "Microsoft.Pcw.wss"
Hi I am using VSTS single server installation, but when i create i get this exception : Initialization for plugin "Microsoft.Pcw.wss" failed with error: "The request failed with HTTP status 404 : Not Found. I have added myself in administartor group at sharepoint. In the dual server with same setting everthing is working fine but whats the problem with single server deployment. The log file is pasted below. Can anybody tell me that whats the problem and what can be the possible solution 05/26/2005 12:13:04.787 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://tcs043253.testdom:8080/bisserver/Elea ...Show All
Visual Studio Team System Data Source for Web Tests?
In the July CTP you cannot choose a sql express database (you cannot change the provider either - it's greyed out). Will this be fixed in an upcoming CTP (I hope quickly) Jeff Ok, I see now. Unfortunately web tests only support OLE DB connections. I have a query out to the SQL team to see if there is a way to connect to SQL Express from OLE DB. Ed. ...Show All
.NET Development Sorting and Filtering a List (of T)
Hi! I have some Classes (my BussinessObjects). In the Business-Tier i often use List (of myCustomClass) This CustomClasses have Propertys like Description, ID, FirstName and so on. Now i want the create the possibility to Sort / Filter this classes. Sorting is noch realy a hard Problem. I think this could be done with: http://musingmarc.blogspot.com/2006/03/extending-dynamic-sorting-of-objects.html (I just have to translate the code to VB.net) Filtering works with a custom predicate. But i have to implement this for every class. This sounds bad. Is there a other way to go (Like the sorting-ob objects ) Any links for me (For ...Show All
Visual Basic Problems installing VB6 program onto other computers...
Hi, I've made a program in VB6, with ADO and an Access database. Now I've made a setup program with the package deployment wizard to install the program on other computers. When I start the setup on a windows 2000 system, It starts with copying 7 files and then gives the message: "Setup cannot continue because some files are out of date on your system.Click OK if you would like setup to update these files for you now. You will need to restart Windows before you can run setup again." So I click OK, restart the system and run the setup again and It just gives me the same m ...Show All
