QldRobbo's Q&A profile
Visual Basic Question on Registering VB 2005 Express Edition
I realize that this is probable not the correct forum for this question, but perhaps someone could point me in the right direction. I recently downloaded VB 2005 Express Edition and have been unable to register it. I get to the point in the registration process where Micro Soft is to send me and e-mail message for e-mail address confirmation, and I never receive the message. I have attempted redoing the process and now I am receiving an e ...Show All
Visual Studio 2008 (Pre-release) Editing data
WPF doesn't contain a control similar to a DataGrid so I'm asking if I can create a grid allowing me to edit data only using styles and triggers (a ComboBox for example if it isn't active can have textblock layout) or I have to create custom control that switch readonly controls to edit controls. Have you got an idea ...Show All
SQL Server Using a Parameter for ORDER BY Clause
When I try this SELECT * FROM db ORDER BY @ord in the query builder I get the window asking me to enter in the value for @ord. When I enter the column name that I want to sort on I get a error saying 'Variable are only allowed when ordering by an expression referencing a column name.' How do I create a query where I can use a parameter for the Order By clause. Actually, too many CASE express ...Show All
Visual Studio Installing VS beta on Windows XP with no SP2
Hi! I have trouble installing the SP2 on my PC with Windows XP Pro (.."the product key used to install windows may not be vaild." The PC belonged to my former employer and I don't know nything about the Windows version on it. Is there a way to install VS Beta without the SP 2 Regards, Torunn You can only use a MSDN licence for as long as you continue to pay for the subscription. As the subscription has ended you will need ...Show All
Visual C++ Please HElp With LPCWSTR
Hi.. Belive me when i say that i looked all over the internet for this and no clearifing result.. i try to use mciSendString function to play a file.. probem is that it has parameter LPCWSTR.. :(( .. i use WIN32 console application.. so i must read the path from the console.. CODE: int _tmain(int argc, _TCHAR* argv[]) { int error=0; wstring path; wchar_t* str2=L"play MediaFile"; error=mciSendString(path.c_str(),NULL, 0, NU ...Show All
SQL Server Using Sql Express databases with Windows Forms applications
Hello all, I would like my newly converted to .NET 2.0 Windows Forms application to use an Sql Express database instead of MSDE. Previously, development was done on the default SQL Server instance using the full SQL Server 7.0. When deployed, MSDE was used with a named instance. The connection string in the application settings needed to be modified as part of the deployment. Now I've converted to .NET 2.0 and to Sql Server 2005, and/or Sql ...Show All
Visual Studio Tools for Office Seroius error while having combobox into each column's cells
Hi all, After binding my listobject/excelsheet with database I put following code to add combobox into each cell of the column. Excel . Worksheet mainSheet = (Excel. Worksheet ) Globals .ThisWorkbook.Sheets[1]; Excel. Range oRange = mainSheet.get_Range( "C10" , missing); oRange.Validation.Add(Excel. XlDVType .xlValidateList, Excel. XlDVAlertStyle .xlValidAlertStop, Excel. XlFormatConditionOperator .xlBetween, "= ...Show All
Visual Studio Team System Enabling FxCop in Visual Studio 2005
If FxCop is integrated with Visual Studio 2005 Team System, let me know on how the tool is to be enabled from the IDE. I am using the trial version of the software. Haritharan, To enable it on every build, do the following: In Solution Explorer , right-click on the project you want to enable Code Analysis and choose Properties In the properties window that opens, choose the Code Analysis tab In th ...Show All
.NET Development xml deserialization help , please
Hello, I am trying to deserialize a xml file to a an array of odjects and am getting the following exception. There is an error in XML document (2, 2). ({"<Test xmlns=''> was not expected."}) Can anyone please help with what I am missing here, thanks xml file: < xml version="1.0" encoding="utf-8" > <Test> <account number="160738" desc="test1" /> <account number="160739" desc="test3" /> </Test> c# ...Show All
Smart Device Development Closed event fires twice
Hi All, I have a form that is opened as a dialog (Form.ShowDialog). When I call Close() from within the form code the Closed event is fired twice... why Here is the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace LVDDataLogger { public partial class FormLoopsChange : Form { private Station l ...Show All
.NET Development Compare Levels of Web Service Security
Dear all, I'm making choice Platform/Transport Level (Point-to-Point) Security, Application Level Security, Message Level (End-to-End) Security. Which one is best Microsoft document not gave evaluation, performance ... So I'm very difficultly choose which one is best. Everybody has experience about this solution. Please give me your ideas. Thank you very much. Steven It's a kind of long answer, but let ...Show All
.NET Development A class library containing both C# and VB.NET classes?
Hi all.. I have some web controls. Some of them are programmed in C# and others in VB.NET. I want to place all those classes into a unique assembly. Is this possible Thanks Jaime It is not possible to mix C# and VB.NET in the same project to produce a single dll with all of the types. If your goal in the end is to get one dll, with all the types and functionality it is possible to take the C# dll and VB.NET dll and merge t ...Show All
Visual C++ How Do I Make a Derived Class from the Set Class Container
I'm trying to make a derived class from the associative container class Set. Please help. example class mySet : set { }; doesn't compile Learning wrote: I'm trying to make a derived class from the associative container class Set. Please help. example class mySet : set { }; doesn't compile Try : template <typename T> class myset : std::set<T> { }; ...Show All
Visual Studio Team System Team Build Error - TF42046 - Unable to Execute Team Build
All, I am working with a new installation of Team Foundation Server and I am struggling to get the Team Build component to work. Here is the Setup that I am working with: All Systems are running in a seperate Domain (BOOKSTORE) from my company's domain (CTS) BSTEAMSYSTEM - this is the Team Foundation Server that is running Team Foundation Server. I have the application that I want to build stored here in Sour ...Show All
SQL Server Dynamic query: EXEC - Need to get a return value from query
I use dynamic SELECT statement trying to achive the followng: DECLARE @table varchar(50) DECLARE @ColumnA varchar(50) DECLARE @Result float SET @table = 'TABLE_A' SET @ColumnA = 'COLUMN_1' SET @SQL = ' SELECT @Result = (SUM(( ' + @ColumnA + ' )) FROM ' + @table EXEC (@SQL) I need to assign the outcome of this statement to the @Result variable. It does not work because of different contexts for @ ...Show All
