Steve Perlman's Q&A profile
Visual Basic Importing Managed Code
Is it possible to import any Managed Code into a VB project If so, how do I do it For example, I want to use MS's DirectX Utility Toolkit included in the SDK within my VB project. If I include this file in my project, do I have to do any special processing to it do I use a standard import statement Any help would be appreciated. If you want to import VB.NET into VB6, then you ca ...Show All
SQL Server linked server exec stored procdure results in Transaction context in use by another session.
I am using sql 2005 beta Microsoft SQL Server Management Studio (expires in 355 days) 9.00.1116.00 Microsoft Analysis Services Client Tools 2000.090.1116.00 Microsoft Data Access Components (MDAC) 2000.086.1830.00 (srv03_sp1_rtm.050324-1447) Microsoft MSXML 2.6 3.0 6.0 Microsoft Internet Explorer ...Show All
Visual Basic DataBinding & TextChanged
I would like to enable a Save button on my form when the user makes any changes to any of the bound data controls. I've tried to use the TextChanged event but this event is also triggerred when the changes are due to databinding. I need a way to determine who made the change -- the user or databinding. I didn't use databinding either until I started using VS 2005. I used the same technique you di ...Show All
Visual C# Generic.Dictionary ContainsValue doesnt work
Problem with Generic.Dictionary and Generic.SortedDictionary. ContainsValue function of both of these classes work with usuall datatypes. But when you make a collection of the objects of a class that you have defined yourself it doesnt work. I know that it requires you to implement IComparable which i have done. And this implementation works fine for the other function - Sort- that demands it. Please help. Th ...Show All
Windows Live Developer Forums Gwaam Concept - Need help!
Good day We have developed a new concept in multi user gaming called Gwaam. We need help from someone with the MSN API to produce a Gwaam for MSN version. Desktop demo and instructions can be seen at www.gwaam.com if you can help or know anyone please let us know - understand there is time involved so we can be flexible about payments/shares/recognition And again an update... The Gwaam Bot ...Show All
Visual Studio Step over (F10) responds slowly
Hi, I have start using VS 2005 this week and i notice that when i am using the step over while debuging it is response very slowly compered to VS -6. I notice that the call stack and Autos windows also addes to the poor performance, and each step the auto windows refresh. 10xs alon Please take a look at our debugger FAQ at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=919407&SiteID=1 . There are some steps you ...Show All
Visual Studio Team System How to avoid Designer classes
How do we avoid throwing warnings for Designer class variables like resourceMan, resourceCulture, temp etc. And how to avoid system generated methods like .cctor etc For cctor's, check whether a Method is actually a StaticInitializer, eg: if (method is StaticInitializer) return null; To eliminate certain members, you need to examine the member.DeclaringType. The easiest thing to do is look at Member.DeclaringType.FullName and com ...Show All
SQL Server Mapping a user to a login
I have created a login and a user on a database using SMO. I am having trouble mapping a database to the login. When you create a login from the GUI using SQL Server Management Studio Express CTP the user is automatically created and the database is mapped to this login from the user mapping tab. When I create the login programmatically this is not the case so I need to create the user. How do I map the database to the login. I set the ...Show All
Windows Forms Changing DataGridViewComboBox only for current record
Is it possible to change the combo in a DGV, only for the current record I have two fields: Category and SubCategory (I found a similar thread but it is not solve the problem), so if I select a value in the Category Combo, I want the SubCategory filled with the SubCategory filtered by Category. This happen with my code (I handled the CellValidated event), the problem that all the combo in DGV changes with the new SubCategory filtered... Is t ...Show All
Visual C# Easy way to check if a value is in an enum?
Hi, I am trying to check if an int returned by the browser representing a user's account type is a valid value, ie. it is one of the values within an enumeration of valid account types. Is there a quicker way of doing it than this private bool InputIsWithinRange(ref int accountType) { Type accountTypeEnum_Type = typeof(SiteUser.AccountTypeEnum); Array possibleValues = Enum.GetValues(accountTypeEnum_Type); bool valid ...Show All
SQL Server reset toolbox doesn't delete my components
Hi, I am in the process of developing a custom component. During that time I went through many versions of my custom component, including various DLL names and signatures, different code etc. The problem is that now I have old versions of my custom components stuck in the default settings of the toolbox. When I reset the toolbox, even if I manually deleted the old items, it appears again. I tried to delete all the DLLs I previously copi ...Show All
Windows Forms show selected items of listbox in another listbox
hello how can i show multiple selected items of listbox into another listbox. my second question how can i show multiple selected items of checkboxlist into listbox. thank you for the time and for the help ...Show All
.NET Development Remoting and events
I'm completely disappointed of .NET Remoting. I'm developing an application which requires messages to be sent from a server computer to clients connected to it. Apparently (correct me if I'm wrong) there are two ways to do that: TCPChannels and direct tcp communication .NET Remoting Since I find TCPChannels to be very low level procedure, I want to use .NET Remoting. However I've lost the whole day searching for code on how to implement ev ...Show All
Visual Studio Team System Replace MSF Agile May 2005 Beta in VSTS Beta 2
Hi: Just wondering could it be possible to replace the contents of MSF Agile showed in VSTS Beta 2 (April 2005) with the newest one manually when I created a team project I found the May one contained more information. Or wait for new CTP Thanks! Hi: I downloaded the MSF for CMMI Process Improvement as expected today, July 8, 2005. God work! Thank You! Next, when can we get the process ...Show All
Visual Basic VB vs C#. How capable is VB compared to C#?
I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. ...Show All
