Brainwires's Q&A profile
SQL Server Could not find stored procedure "addUser" - Please help
Hi , Can someone tell me why I am getting the following error while I am trying to add users in a database.: : System.Data.SqlClient.SqlException Could not find stored procedure "addUser" where should we normally keep our stored procedures ( i am new to sql server) thank you in advance I presume that addUser is an sp that you have written If so which database was it create in and whic ...Show All
Visual Studio Team System How to undelete items from Source Control?
I have been trying to get Team System up and running to gather experience for the "real thing" in November. Now one of the major things is of course Source Control. I have checked in several things and then deleted a few. Now, I'd like to undelete some of those. However, I can't seem to find a way to do so. I can still see the files when I do a "Get Specific Version", but how do I actually get them back into the current version ...Show All
.NET Development .net Framework on Mac OsX 10.4.1
Hi I have a vb.net application that downloads a zip file containing some relevant information onto the system.The application downloads the zip file correctly on Windows.( I use a button ..whe the button is clicked the File Save dialog box appears) However when i try this application on ie on Mac OSx 10.4.1 the aspx file that contains this button is downloaded on to the desktop).Can anyone tell me why ...Show All
Visual Studio Express Editions Syntax coloring for user keywords/types
In previous versions of VS one could designate user keywords by creating using usertype.dat in the IDE dir and change their color using the 'Fonts and Colors' settings. This still works in VS2005 however I noticed that it has an additional color entry: User Types. How does one define user types Nick I thought it should mean that but I'm using C++. Any plans on extending that functionality  ...Show All
Visual Studio Team System Duplicate copies of Work Item Queries appearing in Team Explorer
Has anyone else noticed that if you double-click on the same Team Query repeatedly, it creates a copy within the project which is available to other team members Repro: - Open an existing Team Project - Within Team Explorer, double click on any of the Team Queries (e.g. "Active Bugs") to make it the selected tab. - With the tab selected, double click again on "Active Bugs" Expected: - Nothing, i.e. Active Bugs becomes the s ...Show All
.NET Development Problem in calling C++ dll from C# Code
Hi! I am calling a C++ dll function from my C# code . but facing the problem in a function called inside that C++ function. That's how I'm referring to the C++ dll function inside my C# class : class TestInterop { [DllImport("DBApi.dll", EntryPoint="DeleteRecFromDB", ExactSpelling=false,SetLastError=true, CharSet=CharSet.Unicode)] internal extern static int DeleteRecFromDB([MarshalAs(UnmanagedType.LPWStr)]string empName,[MarshalAs(UnmanagedTy ...Show All
Visual C# VS 2005 RTM crashes A LOT when using refactoring
Hi, Currently I am pretty annoyed... Every second or third time I am using the refactoring-option in the IDE, the IDE crashes. For example, I have a C#-class with some members. I rename one member hit Alt+Shift+F10 and then Enter. After starting the IDE, it works one, two or maybe three times if I am lucky. But then when using it, the IDE will crash. Either a real crash or the Window is just gone as well as the process. REALLY annoying, when ...Show All
.NET Development Protecting Assemblies
I'm building an n-tier application with data access, application and UI layers in separate projects and hence separate assemblies. MyProjectUI.dll MyProjectApp.dll MyProjectDataAccess.dll etc... The application will eventually be publicly available for download and installed on end-users machines. How can I protect my middle tier and DAL assemblies from unauthorised access so that a 'clever' user cannot add a reference to o ...Show All
Visual Studio Team System Problem accessing Performance Counters
I'm running some load tests and I'm getting errors when trying to access SQL stats. I see several msgs like the following at the start of the run: Exception LoadTestCounterCategoryNotFoundException The performance counter category 'SQLServer:Access Methods' cannot be accessed on computer 'sqlsrvname (Category does not exist.) ; check that the category and computer names are correct. Needless to say, the computer name is correct and it i ...Show All
Visual Studio Express Editions Return Value: Array
hallo, i want to do something like that... Dim myArray as Array myArray = MyOwnClass.GetValues() ''''''' MyOwnClass ''''''' Public Class MyOwnClass Public Function GetValues() as Array Dim tempArray as Array = Array.CreateInstance(GetType(Object), 3, 3) ' Work with the array ' Do things with the array return tempArray End Function End Class Why doesn't it work Compiler says that the object myArray has no reference ...Show All
SQL Server How to Fetch the Recrods from MS Access and using it in Script Task Using Control Flow Tools(Execute SQL Task)
Hi I have an application like fetching records from the DataBase(MS Access 2000) and results i have to use in Script Task. At present i have used the record fetching query,connection string in Script itself. I would like to use in Independently. Is there any Tools like (Control Flow Tools like Execute SQL Task) are there to fetch the result set from Acccess and can use the fetching results in Script Task.... Thanks & Regards Deepu ...Show All
Visual Basic Adding a Prefix to SoapHeader Namespace
Hi, Can any one help me to add a prefix to the SoapHeader Namespace. The XML would look like this <soap:Header> < aaa: TocHeader aaa: role="ADMIN" aaa: locale="en-US" aaa: softwareName="TOC" aaa: softwareId="aaaaaaaaaaa" xsdVersion="1.0" xmlns :aaa =" '>http://toc.schemas.testing.com/headers/2006-02-01"> < aaa: Message> < aaa: Id>< aaa: MessageID>10</ aaa: MessageID>< aaa: MessageGroupID&g ...Show All
Visual Basic Add text to a text box from a module
I'm upgrading a program I wrote in VB6 to VB2005 and am having a problem with updating a text box. I have a module that manages serial port communications. When data is received in the serial port buffer, it should update a text box (txtSerialIn) on a form (frmSerialInOut). Here's the code: Public Sub Handler( ByVal strInMessage As String ) frmSerialInOut.txtSerialIn.Text = strRXData & vbCrLf & frmSerialInOut.txtSerialIn. ...Show All
Windows Forms oleDbDataAdapter, datasets, and multiple tables
Hope I can explain this properly. I have a database, and in it I placed one table. Everything was working just fine and this is how I accessed the data using an oleDbDataAdapter, configuring the data adapter, and generating a datset. Also, when I add the table (only one), it auto generates the sql statements. It works fine..... oleDbConnection1.Open(); oleDbDataAdapter1.Fill(dataSet11); oleDbConnection1.Close(); The ...Show All
Visual Studio Express Editions Converting project from .NET 2002 with compilation error c1083
Hi, I converted my project from .NET 2002 and when i'm rebuild it i'm getting compilation error: " fatal error C1083: Cannot open precompiled header file: C:\EM2obj\Debug/test.pch': No such file or directory a.cpp" I'm getting this error for all files. Gil Thanks for your answer. I just opened the "ms c++ express 2005", then upgrade wizard appears, and i followed the instruc ...Show All
