Kamii47's Q&A profile
Visual Studio Express Editions delimiting a CSV file with too many commas
I have a webrequest that returns a stream from a CSV file which i first delimit using the split(controlchars.lf). This works great; however when I try to break down each line into elements using split(","c) it creates too many elements because some of the fields have names which contain commas. I tried using quotes but that does not work either because some names have quotes in them. The CSV files have nearly a thousand rows each so manually manipulating the data would be too cumbersome. Any ideas on how to delimit this string so that i can load the data into a dataset example of data: Ticker list as of 11/30/06 (need to skip or delete) "Name","Symbol","Market Cap","Shares Outstanding& ...Show All
Software Development for Windows Vista Kim's site login
Hi, Has anyone tryed to login to Kim's site ( www.identityblog.com ) useing a InfoCard I have but get no confomation, should I get some On login to the sandbox I get an error, why is this Thanks Luke Hi, I am trying to get a simple web site to use CardSpace, html and javascript are my favourites at the moment, so it would be cool to use these two, a little too ambitous for me I think, as everything seems not to work me :), any help with this I'm not the hottest at javascipt or html as it is, so I need all the help I can. Luke ...Show All
Visual Studio 2008 (Pre-release) EID Slow when on two monitors
So, this behavior caught me off guard. EID is maximized on my secondary monitor. Undock the properties window and drag it to my primary monitor. EID gets unusably slow. Drag the properties window back onto the original monitor and in a second EID is back up to normal speed.... July CTP XP Pro, 3.4 P4, 1G Ram, 256 MB Radeon X600, split for two monitors you could post it on the EID newsgroup for a faster reply http://www.microsoft.com/communities/newsgroups/en-us/default.aspx dg=microsoft.public.expression.interactivedesigner&lang=en&cr=US ...Show All
SQL Server error when an OLEDB source points to an OLEDB destination.
Hi all, I got an error when i do an OLE db Source pointing to an sql 2000 database and executing a sql query inside the OLE Source. The ole source will point to an OLE DB destination which is an sql 2005 database. But i got the below error: Error at Data Flow Task [OLE DB Destination [245]]: the column firstname cannot be processed because more than one code page (936 and 1252) are specified for it. Error at Data Flow Task [DTS.Pipeline]: "component "OLE DB destination" (245)" failed validation and returned validation status "VS_ISBROKEN". Error at Data Flow Task [DTS.Pipeline]: One or more component failed validation. Error at Data Flow TaSK: There were errors during task validation. (Mi ...Show All
Visual Studio Team System 'Glanceable' Lines of Code Metric
I still use Lines of Code to measure developer progress. Does TFS or VS2005 have an easy way to track the Lines of Code for a project I also posted on Channel 9 about it. http://channel9.msdn.com/ShowPost.aspx PostID=131096 As a java and .Net developer, I like to see similar IDE features between Eclipse and VS2005. For eclipse, I use this great metrics plug-in. => http://metrics.sourceforge.net/ Does VS2005 have an equivalent I don't see it so I'll assume not. The TFS data warehouse uses an overly simple way of counting. It just counts linefeeds. We may make this mechanism extensible in the future so that more sophisticated content aware counting mechanisms can be used. Brian ...Show All
.NET Development Failed to access IIS metabase, VS2005 RC
I am developing a webservice in Visual Studio RC. I have just got a new pc and my problem is that I am not able to access this webservice. I have created a virtual directory in IIS, but if I try to browse there, I get a "Failed to acces IIS metabase" error message. Does anybody know how I can resolve this problem I had the same problem : I installed VS (and .NET framework) before installing IIS and just reparing the .NET framework from the add/remove program worked without having to unistall and reinstall. Try repairing firt .. it may save you some time. ...Show All
Software Development for Windows Vista CreateProcess and iscsicli.exe fails on 64 bit pc
I am running iscsicli.exe from within a c++ 32 bit application using CreateProcess. This works fine on a 32 bit machine. However, when I download & install the 64 bit version of iscsicli.exe on a 64 bit pc ( AMD64 ) CreateProcess fails with the error FILE_NOT_FOUND, despite the fact that the exe file can be found using a search with Explorer. Interestingly, on the 64 bit pc iscsicli.exe works fine from the command prompt. It will also run from within a batch file if the batch file is run from the command prompt, but if I run the same batch file from CreateProcess in my application it fails. Anyone any ideas This is expected. On 64-bit installations, system32 is used for 64- ...Show All
Windows Forms Spalsh Screen
Hey, In in properties of a project how do you select what form you want to be a splash screen I used the help in the compiler but I could not get an answer that worked... Thanks :) If I remember right, VB Studio is the only studio with a built in splash screen function. The other studios you have to create them yourself. This task is a piece of cake though. 1) Create a new form and call it SplashForm. 2) Set the forms border style to None. 3) Set the property: ShowInTaskbar to False 4) Set the property: ControlBox to False 5) Set the WindowStart position property to CenterScreen 6) Add a timer control to your form and rename it timerSplash ...Show All
.NET Development Missing parameters
Hello, I have a page with access to Excel file. There is some code there: var ExcelApp = new ActiveXObject("Excel.Application"); var ExcelWorkbook = ExcelApp.Workbooks.Open(strFilePath); var ExcelSheet = ExcelWorkbook.Worksheets(1); In some cases I want to open Excel file with password. Actually I want to prevent users sending files with password. Some solution to my mind will be always open file with some password. Non-password files maybe will be opened OK, passworded - no. Am I right If so, how can I set password in open string Password is only 5th parameter there. How can I miss 2nd, 3rd and 4th I tried 'null', 'undefined', '' but there were errors. Can you help me Thanks! Try: var ExcelWorkbook = ExcelApp.Wor ...Show All
Internet Explorer Development IE7 Crashes With Flash?
Here's our situation. We have a website that allows specific people to login, view a flash presentation, and at the end of this presentation a hidden div is displayed which lets them click on a button (asp:linkbutton) to indicate they have watched the presentation. The flash presentation plays to the end correctly, but when an IE7 user clicks on the asp:linkbutton, the browser is crashing. The presentations range from 20-50 minutes long. Our sessions are set to last 120 minutes, so they shouldn't be timing out. While we didn't generate the flash presentations, we have worked with two different companies to have different presentations created. We are getting the same problem from the flash movies created by both companies. T ...Show All
Windows Forms BindingSource problem when AddNew() get Called and when a control lose the focus
Hi everybody, I somehow developed a generic form, that allows to speed the development of forms, because the form have the insert, update, delete, retrieve, etc, all ready implemented. I inherited the winforms controls to work whit this form, so I can extract the info and create the statements to be executed in the DataBase. I Have a control inherited form the TextBox, I added a new property that works like a keyValue for the text showed in the Text property, it's like I have a Table in the dataBase, and one column in the table, is a key to other table, so, I bring the table to memory, in a DataTable, but I can't show the key to the user, the user must see the text related to the key, so I added the property to my inherited control ...Show All
Visual C++ std::vector::resize bug
This is the declaration for the second form of std::vector::resize (in VC 2005): void resize( size_type _Newsize , Type _Val ); Note it passes by value, not by const reference. This is different to every other function in std::vector, and means you cannot construct a vector of items marked with __declspec( align( n ) ). I modified the vector header to use a const reference instead and it seems to work fine now. The Intel C Compiler does not seem to have this problem, and I've just checked the GCC header and it passes by const reference. I can't really see any reason why you'd want to pass by value, so I'm presuming this really is a bug. Does anyone in MS read these forums cfp I don't actu ...Show All
.NET Development Errors Ocured
Dear All, When I execute my application i got the error.Can Any Body Solve the Issue Error Is: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDatabaseUnavailableException Come on Saroj, you really need to give a little more information than that. How does your application work with RS Is it locally Connecting to a report server Have you installed and configured all the right components ...Show All
Visual Studio Team System Again - TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking
Hello all, We're having this error when creating a new Team Project. I read many other threads who had also this error, but we still couldnt solve the issue.. I also tried the "<httpWebRequest useUnsafeHeaderParsing="true"/>" parameter in devenv.exe.config without any success. Below is the error log. Please help ! Thanx Alexandre -------- 2007-01-12 16:52:14Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0,421875 seconds 2007-01-12 16:52:14Z | Module: Internal | The template information for Team Foundation Server "ETKFOUNDATION" was retrieved from the Team Foundation Server. | Completion time: 0,046875 seconds 2007-01-12 16:52:14Z | Module: Wizard | Retr ...Show All
SQL Server Error when using 'LIKE'
I am running the following query using Query Analyzer against an MSDE version. The query seems like a textbook use of 'LIKE', so the error makes to sense to me. Thanks for any help. SELECT _FAX FROM _IRISH_BNB_DETAILS WHERE _FAX LIKE "[A-Z]%" Error: Server: Msg 207, Level 16, State 3, Line 1 Invalid column name '[A-Z]%'. Thank you! I was following an example in "SQL Server 2000 Administrator Companion" on page 309 that uses double quotes. ...Show All
