Cordt's Q&A profile
SQL Server Get Sql Err Message 15422 when activating application role.
Running VB 2005 Express Edition and Sql Server 2005 Express Edition (SQLX). Developing a desktop application which calls a local instance of ".\sqlexpress". This app needs to set data base options and add/del various table columns. When activating the application role, I get the following message: HariCari SQL Error/s 15422 - Application roles can only be activated at the ad hoc level. Anyone know what this message mean ...Show All
Visual Studio Team System Check for throw or rethrow in a try block
Thank you David ...I have another question.... How can I check if there is any sentence in a block ... for example i want to check an empty catch and I do this: public override ProblemCollection Check( Member member) { Method method = member as Method ; bool isCatchExists = false ; bool isThrowExists = false ; if (method == null ) return null ; InstructionList iList = method.Instructions; f ...Show All
Visual C++ Optimum Comparisons
Hi, I am using .NET 1.1 and needing to compare two objects to see if they are equal in the most optimal way possible.. I recieve two Object* pointers. At first I just did: if( pFirstObject == pSecondObject ) but I think that just compares the actual object that the pointers point to, not the values of those objects. So I have written some code that seems to work, but it uses String compares when dealing with Valuetypes, which ...Show All
Visual Studio Express Editions Rookie at vb and visual studio
Environement:I'm using visual basic studio express edition and sql server express edition. Problem: I write a code to delete some datas in the sql server. But i want that before deleting, a message box opens with two options in it. One option as yes if user is sure to delete the data and no if the user changes his idea. I tired to add a new dialogbox to the project with ok, cancel. I was thinking to use DialogResult.Yes but ...Show All
Microsoft ISV Community Center Forums IE or Windows problem
For some reason I cannot play the trailer from www.wickedthemusical.com/chicago from one of my laptops but I can play trailers from www.imdb.com Please help! I do not understand. Security settings are the same for both machines- same version of IE. Microsoft XP Professional Version 2002 service pack 2 On another note, some of my .jpg files on my ebay website do not appear on this laptop. It skips one of my .jpg files but it does pick up a ...Show All
Visual C# Could you tell what diferent there are in several VS.Net 2005 edition?
Could you tell what diferent there are in several VS.Net 2005 edition What is the limit of Visual Web Developer 2005 Express Beta2 I hope to learn ASP.Net, you know many documents is onyl fro ASP.net 1.1, but now ASP.net 20. beta is available, are there a huge different between ASP.net 1.1 and ASP.net 2.0 Do I need to learn ASP.net 2.0 directly or I learn ASP.NET 1.1 fisrt, then learn ASP.NET 2.0 later. I'm afrai ...Show All
.NET Development N- Tier Architecture in ASP.NET 2.0
Hi .. I have to create n-tier architecture for my new project with visual studio 2005, asp.net 2.0 and SQL 2005.. I had seen my sample applications for that but they all are using a single project and creates Business and DataAccess class in App_Code directory so i am confused whether to use differenct projects (say one for BAL , one for DAL ) or to merge them in the single project... Any idea on which approach is better for a long term project. ...Show All
.NET Development HELP!! WMI connection prolem
I am writing a program use WMI to get info from the computers in LAN. But the problem happens when the computer got renamed. something like compA to compB. But the name compA didn't remove from the AD list. When using WMI scan the network, I have to grab the scan list from AD. Since both CompA and CompB are in the list, so my program will scan both name, the wired thing is that I will still get the info from CompA(I think the DNS got confused, s ...Show All
Visual Studio Express Editions mspdb80.dll was not found !
When I tried to run cl.exe from the command line, the error message I get is "Application unable to start, mspdb80.dll was not found". Can somebody help me with this Thanks, Deepak I have the same problem, but only when I target the Retail Build Environment. This problem is not there (for me at least) for the Debug environment. Reinstalling VC++ express does not fix the problem. TIA Ala ...Show All
Visual Studio strange file not found error..
I have the following in my .csproj file: < Target Name = " AfterBuild " > < Copy SkipUnchangedFiles = " true " SourceFiles = " $(TargetPath);$(TargetDir)$(TargetName).pdb;$(TargetDir)$(TargetName).xml " DestinationFolder = " c:\gsp\common\bin " /> </ Target > (We test the software in an other location than $(TargetDir)) And occasionally I get the following error, a ...Show All
Visual C# System.Data.SqlClient.SqlException System error
why i am getting this error ! An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. this is the code: SQLconn = new SqlConnection("Server=KOBNA\\SQLEXPRESS;Database=shefa;User ID=sa;Password=111111;Trusted_Connection=False"); int new_patient_id = 0; string insertCmd = "insert into persons (PERSON_NAME, ID_TYP ...Show All
Visual Studio Express Editions Modding the Pong starter kit - questions
I finally have some time to put to practice some elements of object oriented programming I learned from that Deitel & Deitel C++ book I partly read a few months ago. I'm trying out the C# starter kit that contains a working Pong game. http://msdn.microsoft.com/coding4fun/gamedevelopment/tenniscs/default.aspx I don't really have any ambitions of becoming this great game programming of the ages, but I've always learned progr ...Show All
Windows Forms Inherited form question
I would like to create a base form with a menuStrip control that contains 2 menu items to appear on each inherited form. This is no problem! However, I need to add different menu items to the menuStrip on the various forms which inherit from the base. I have set the status attribute to protected on the base form's definition of mnuStrip. I still cannot add items to the mnuStrip on the inheriting form. Any suggestions will be apprec ...Show All
Visual Basic Having trouble with syntax
Having trouble with syntax What I'm trying to do here is get the value of the IDColumn. I get a wobbly line under tbl at the bottom saying variable tbl is being used before it is assigned a value. A NullReferenceException could result at runtime. Furthermore, I know ToString isn't going to do the trick, but I don't know what member will give me the value. There isn't a value property, which seems a shortcom ...Show All
Visual Studio Team System Code Sharing And Shelvesets
I'd like to use shelvesets on our team for code sharing. However, it appears that in order for developer A to share code with developer B via a shelveset, developer A can not retain the pending changes in his/her workspace, assuming multiple checkouts are disabled, because the shelveset unshelves into developer B's workspace as a pending change. Has anybody found a way around this without hijacking files It seems like this *could* option ...Show All
