SergeyPV's Q&A profile
Visual C# 100% cpu load ?
hi. i see this on several machines: while simply editing a source file, cpu load goes up to 100% and stays there. the ide gets extremely unresponsive. load won't go down, even after we waited for 30 minutes. the only way to get working again is a) kill the ide b) _and_ remove the ncb file however, this only solves that for some time: ultimately, the ide will use up 100% cpu again, and we need to kill it again. any ideas what would be causing this WM_THX thomas woelfer http://www.die.de/blog Thomas - We've just released the July CTP. You can find it here ( http://lab.msdn.microsoft.com/vs2005/get/ ). ...Show All
Visual Basic Show data from 2 sources
I have a datagrid view which currently displays all the customers details (Name, address etc). One of the columns has data relating to the customers previous orders. Currently this data is displayed in the format 1,2,3,4,.... and not Order 1, Order 2....... so i need to connect that column with data from another source but also keeping the current customer details. Overall its one column to pull data from another source - is this possible if so please advise (Im using Visual Studio .Net 2005 edition) thanks Here is an example that connects to the northwind database and shows the orderdetails table in a da ...Show All
Visual Studio Express Editions How to start?
I do a win form to send messages in the office. I want to add small win application, and when I get a new message I see small form that write "you have a new message from ..." click on the message open the explorer . (seems like the MSN MESSANGER) I have no idea what I need. ...Show All
Visual Basic VisualBasic IDE Corrupts Form !
Hello There ... I Was Working very smoothly and everything was Allright ... Suddenly I found that Something Corrupts the Code of my Forms ... I got arround 100 Errors (One for every Control i guess) the (Error 6 ) was Like ControlX is not a Member of BlaBla ... I then Went and had a Look at the Code behind the Form And Found that SOME Lines were Missing Like Friend WithEvents TmrTime As System.Windows.Forms.Timer Then I had to write them Manually ... but that Now Happens Constantly and wit Almost all the Forms And what's REALLY a Problem and is Killing me is that Sometimes ALL THE CODE VANISHES! Yes ... the Only thing left is th ...Show All
Visual Studio Team System Visibility of Projects
We have a setting where a couple of small companies share one Team Foundation Server. Sharing is necessary, because the companies cooperate on some projects. The projects are carried out in the same domain. However each of the companies has projects of its own which they don't want to share. Yet they would like to use the same TFS. Hence these projects should not be visible to other parties, i.e. they should not be visible for non-authorized users in Team Explorer. I tried to solve this problem by establishing groups and assigning permissions. But in any case the result was such that those being able to connect to the TFS saw all projec ...Show All
.NET Development Installing .. advpack.dll
Not sure if this is where to put this question but I can't find anything else on these forums (shrug ). I'm trying to install the 2.0 redistribution package and get an error with c:\windows\system32\advpack.dll when trying to install. Any suggestions The reason I'm looking to install it is because I have an application that requires it. Maybe I actually need something different Ugh. lol Has anyone giving an answer for this question yet...I also have this problem..I'm trying to install the 64-bit version of Microsoft .NET Framework 2.0 . I get error error creating process <C:\DOCUME~1\Hom ...Show All
Windows Forms How do I get the MSChart control into VB.NET?
I would really like to use the MSChart control in VB.NET but it is not listed as one of my available controls. How do I get it You can build a managed wrapper around any COM control using the TlbImp tool and then interact with the grid through the wrapper. ...Show All
Windows Forms Using Provider Pattern with Table Adapters
The table adapters that come with Data Sources are good but they are hard coded to use a specific provider. I am looking for a way to use the provider pattern (like DotNetNuke) to allow the Data Access layer to be extracted into a separate layer with multiple provider modules that can be selected in the config file. The VS Wizards have in the past encouraged bad development habits by dumping business logic and data access into the presentation layer. With the Object option of Data Sources, we can now easily separate the DataSets and business logic into a separate project, but the Data Access is still mingled with the parti ...Show All
Visual C# tow ArrayLists values
Hi. If I have tow arrayLists x & y where y initially equqls x, when I try to change the value of specified item in x the value of it corresponding item in y takes the same value immediately I need to change x items only , so how can I do it example : ArrayList x = new ArrayList(); for ( , ,) { x.add("v"); } ArrayList y = x; x = "v1" ; ==> y = "v1" also Thanks in advance for any help, Aya. How do you initialize them now Try to implement the ICloneAble interface on you objects withing the ArrayList or when it are ex ...Show All
.NET Development SQL Connection String Assistance
I'm trying to upload the personal website starter kit to a web hosting site, and cannot get the connection string correct. I want to use the personal.mdb in the App_Data folder within my site, which works fine locally, but once uploaded, I get all kinds of errors - depending on how I mess with the string. In no interation can I get the string to work when trying to use the <AttachDBFilename> entry. When just adding the connection string provided by the hosting service to connect to their server, it opens, but obviously none of the website database functionality works. I am assuming that I will be using the SQL engine on the s ...Show All
Visual Studio Express Editions Hash Table Question
Hi, what I need is as follow. I have a class that contains a string. ref class WordObj { public: String^ string; Int32 info; // further data }; Now I want to add such WordObj to a hashtable. myHT.add(wo->string, wo); As you can see, the string inside the WordObj is the key. Is it possible to prevent the hashtable object to store the string twice Once as key and a second time as part of the stored object. It is important, that the string stays part of the object. Thank you, Bernd String class in .NET is immutable. It means that it can not be modified. You can not change t ...Show All
Visual Studio Team System Defect tracking across projects
We have just started playing around with TS, and I have some questions around best practices for Bug and requirement tracking in our environment. We add functionality to our product on a project by project basis, but there may be defects or requirement requests that do not get completed in a praticular project. What is the best way to track these. Can I move them from project to project May be an example will make it easier to understand. Our product is named widget. We will have a project to add features, and basically create widget 2.0. After the Widget 2.0 project I will have a widget 3.0 project. We will generate bugs and requi ...Show All
Visual Studio How to use a developed DSL?
Hi, i have developed a DSL according to the walkthroughs provided with the installation ZIP file. how to use this DSL. Should i Open new C# Project and add the full.uipc file if so it is showing some XML content, how to parse the same and work.. please clear this doubt.. thanks in advance. Hi, What you can do is "use" the DSL in the experimental environment. You can do this by hitting "Start without debug" from within the solution you are building your DSL in. In the experimental environment, don't try to build the project! In the New Visual Studio Environment (eperimental) you can add a ne ...Show All
Windows Forms In C#, does the TreeView control have the event TreeNodePopulate?
In C#, does the TreeView control have the event TreeNodePopulate I know that the TreeView control in ASP.net 2.0 have the event TreeNodePopulate, but I can't find the same event the treeview control in C#! How can I perform the same function ASP.NET 2.0 is not a language, it's a framework. I assume you're using C# for ASP.NET as well The answer is no, TreeNodePopulate exists to allow you to send a tree to the client without having to send the contents of all nodes that are not expanded. From what I can see, you don't need it in WinForms, you should just assign all the nodes from the start. ...Show All
SQL Server Transactions mode
I have a package that uses only transformation tasks like Lookup, Merge and Slowly Changing Dimension. I would like to rollback all the INSERTs or UPDATEs done if an error occurs (like dup key). I understand the different transactions modes (Explicit, Autocommit, Implicit) but I'm not sure how to use it within an SSIS package. How can I associate a transaction mode to a connection Is there a property for it How do I issue the BEGIN, COMMIT or ROLLBACK TRANSACTION when I'm using Explicit Transactions with an OLE DB connection Thanks! Gilles I have a package ...Show All
