Ubersnack's Q&A profile
Visual Studio Team System Adding a previously deleted directory
Hi, We've come up with an interesting issue with TFS that I'm hoping to find a workaround for. We had a directory named 'Core' (with a number of sub directories) in source control which was deleted. Sometime after this a directory with the same name, and existing at the same position in the directory structure, was added rather than undeleting the old directory. This has caused the old deleted directory and previous structure to not be viewable in Source Control Explorer - the only way to view them is by syncing back to a change before 'Core' was readded. This causes a number of problems, such as not being able to undelete the old structure (due to the existance of the new directory) and not being able to view the old source without pri ...Show All
Visual Basic New row in datagrid: Old values are overwritten instead of a new row appears
First post from a not so experienced VS.NET/VB programmer I am writing a short piece of code that allows users of the program to enter some data in textboxes and then by clicking on a button, allow them to add the information they put in the textboxes to a datagrid. The first time they press this button, it shows perfectly in the datagrid on the form, but the 2nd time it only updates the first row instead of adding a new row. By doing some searches on Google, I found out that I am not using the right code, but I can't find how to do it correctly. I hope to get an answer here. Below you see the code I am using currently, I wanted to attach an image to show the screen of the application, but obviously as a ...Show All
Visual Studio Team System Filegroups
I am receiving this error when using the project "deploy" option. Error 1 Msg 5035, Level 16, State 1, Line 1 Filegroup 'ppf_table' already exists in this database. When I use the "build" option, this error does not occur. This file group does indeed exist in the target database. What I can't figure out is why it attempts to create it given I am using the "update deploy" option. I tried removing the file group items from my project in the solution explorer. This caused all of them to be removed (temporarily) from the schema view except for this one. No difference. When I tried to generate a change script via schema repair, the script created was fine - it did not include an attempt to recreate t ...Show All
Windows Live Developer Forums Custom Maps (DWG/DGN)
How can i use my own maps, in dgn, dwg, etc How can i attach its Check out this article on how to roll your own tile server: http://viavirtualearth.com/VVE/Articles/RollYourOwnTileServer.ashx And look in the SDK for "Working with tile layers" under getting started. John. ...Show All
Visual Studio Express Editions weird problem
Hi, the enqueue function does not work. It creates a weird exception. How can I fix it void Queue::enqueue(string newItem){ QueueNode *newptr = new QueueNode; newptr->item = newItem; if(isEmpty()){ back = newptr; back->next = newptr; } else{ newptr->next = back->next; back->next = newptr; back = newptr; } } int main() { Queue e; e.enqueue("m"); return 0; } In which line is the exception generated What exception is thrown -- SvenC ...Show All
Software Development for Windows Vista LAN Driver problem
Hi all. Finally yesterday finished downloaded Vista x64 Ultimate for my pc, it is build 5600 rc1. Upon getting into vista and being very impressed with what ive seen i started to install the drivers and such, now i couldnt install the drivers using vista so i set the compatibility for Windows XP SP2 and the drivers installed fine Unfortunately under the network area in vista it says unidentified network and the onboard lan cannot connect to my router. whenever i try to renew my ip address nothing happens and the private 169 address is given to the adaptor. Im using an Asrock 939Dual-SATA2 - This has a ULi M1695 chipset. Does anyone have an idea where a vista compatible driver is for this chipset Any help appreciated! ...Show All
SQL Server FlushFailure
Without going into plumbing metahores, I would like to know why a SQL Ev SqlCeConnection FlushFailure is fired. So what's a background flush I've been told that when SSEv is told to close the last collection, it cleans up the database, completes (or rolls back) transactions and does other housekeeping. If this process fails, the engine fires a "FlusFailure" event. ...Show All
Windows Forms Dropdown List
Is there a way to make a Dropdown List typing enabled in a web application. Thank you in advance hello U_T_A I dont thnk that we can attempt this,because its against the design of that control ,but again why did u actually need such a functionality ...Show All
Visual Studio 2008 (Pre-release) Convert VS.Net 2.0 Project to C# 3.0
I've got a lot of VS 2005 code that I'd like to start using LINQ/C# 3.0 features in. I've got the same references as a LINQ project and I've got the same "using" clauses. However, I am still getting a compilation error that System.Array does not contain a definition for "Where" Anyone have an idea on how to accomplish this Kavita Kamani posted instructions for adding LINQ support to existing projects at http://blogs.msdn.com/kavitak/archive/2006/10/16/getting-linq-to-work-outside-of-a-linq-project-template.aspx . Check it out and see if it helps. Jim Wooley http://devauthority.com/blogs/jwooley ...Show All
Windows Forms ERROR system.argumentexception: datagridviewcomboboxcell value is not valid
I am able to fill a datagridview combobox with the following code Do While AReader.Read Me .ActMsg.Items.Add(AReader.Item( "actionmsg" )) Loop This works fine but when i set the datapropertyname from Dim myadapter As New SqlDataAdapter(sqlstr, connstring) myadapter.Fill(table) dgv1.DataSource = table i get this error system.argumentexception: datagridviewcomboboxcell value is not valid I found the problem it was that the fill data was all uppercase but some of the datatable fields were lower, I did Upper(actmsg) on both the cbo fill and the datatable data and it works great ...Show All
.NET Development I am facing "Item has already been added"
I have an appliction created in .Net 2003 using SortedList. And it is working fine with .Net framework 1.1 Now we are analysing the impact of migrating the application to 2005. There we are facing this problem SortedList mySL = new SortedList (); mySL.Add( "First" , "Hello" ); mySL.Add( "Second". , "World" ); mySL.Add( "First" , "!" ); Error message: Item has already been added. Key in dictionary: 'First' Key being added: 'First' IS it only because of Duplicate entry Please any one kindly clarify this. Thanks Moi Hi, Yes, it is because "First" already exists as a key, the sortedlist object can not accept duplicate k ...Show All
SQL Server Copy & paste of custom task loses internal property settings
We have a built a custom control flow task that we use frequently. It has a simple user interface form where we can set certain properties. Problem is, after I configure it once and then copy and paste it all of the internal property settings seem to be lost on the newly pasted task. When I open up the editor for the task all of the properties are displayed visually in the editor form, but the properties pane is empty. How can this be corrected I'm wondering if this is a SSIS bug or if the custom task needs some code to either prevent this situation or finish off the setting of internal properties Has anyone else created a custom task with a UI form that they can copy\paste without losing custom int ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems implementing a skybox
Perhaps somebody with more experience could help me. I want to implement the skybox example from the DirectX SDK (Samples/C++/Direct3D/StateManager) and I've copied and renamed the following files (skybox01.x, skybox02.dds and skybox03.fx) to my project folder and have added them to the content pipeline. But I don't get it managed to load the skybox with her texture and set the camera to the center of the box, I think because I don't know how to handle the effects of the *.fx file and how to transform the box correct. (I'm new to XNA and I only have tried out the simple 3D examples with BasicEffects from the help files so far.) So if somebody has the time to show me how to handle these files correctly, I would be very glad. (You c ...Show All
SQL Server MCTS Exam 70-431 Database Administration Study Documementation and Samples ?
Hi, I am looking for good documentation and examples to use to 'study' for Microsoft exam 70-431. This has everything to do with nuts-and-bolts Database Administration of SQL Server 2005. The December BOL examples, do not cover enough topics. The topics that are covered are not in enough detail. The 70-431 exam requirements are very detailed. This seems to be a nuts-and-bolts test. I am looking for nuts-and-bolts study material. No books are published yet. Does anyone have any good ideas on where to find 'good' samples and tutorials meant for a person who is studying for the new Microsoft SQL Server 2005 Database Administrator Exam MCTS 70-431 All answers and ideas in 'any form' are appreciated. Thank you very much. ...Show All
Visual Studio Express Editions Webbrowser Control with Loading Bar
This is a relatively simple question, I suppose, but I have searched for a week across the internet and haven't found an answer nor source code that contains a webbrowser control with a loading bar, such as Firefox, IE, and other popular browsers have. Now, say I have a browser control called WebBrowser1, and a Progress Bar called ToolStripProgressBar1. How do I go about getting the progress bar to show the percent of the page loaded in the web browser control there was a topic about this the past week. implement the ProgressChanged event. This will automatically be fired when the progress of a document loading has been changed. You can then use the CurrentProgress indicator of this event to tell you how much of the document has b ...Show All
