Colleen TechNot's Q&A profile
.NET Development Howto create a read/write application setting?
Hi! I'm trying to create a writeable application setting with VS 2005 Express beta-2. When I open the Settings tab in the application properties I have a designer that allows to create a new setting (say "MySetting" of type String). I can specify a default value and I can use the properties window to enter a description etc. In the code file Settings.Designer.cs a property "public string MySetting .." is generated automatically. But this pr ...Show All
Visual Studio Can you model Aggregations in Class Designer?
Hi All, Can you model Aggregations in Class Designer I couldnt find the aggregation element in Class Designer ToolBox. Imesh. Will nested class be example of aggregation/composition Nested class is supported by C#. http://DotNetWithMe.blogspot.com vikas goyal ...Show All
SQL Server Data source column discovery at runtime? Help much appreciated
Hi -- I am fairly new to SSIS development, although I am starting to appreciate it more an more, especially since I have started getting into extending the object model. Here's my question: I have a data flow that pulls data from any number of different delimited files with different numbers of columns. I have had no problem dealing with setting up run-time file locations and file names by using the expressions of a flat file data source, and ...Show All
SQL Server possibly merge join bug?
i'm merge joining 2 data sources, one is oracle and the other is excel...the problem is in the oracle source, it's a sql statement like: select hdr.div_ord_no, hdr.mtr_no, hdr.prod_cd from qctrl_div_ord_header hdr, (select max(sub.eff_dt_from) min_eff_dt_from, div_ord_no from qctrl_div_ord_header sub group by div_ord_no ) tmp where hdr.eff_dt_from = tmp.min_eff_dt_from and hdr.div_ord_no = tmp.div_ord_no having that sql statement, me ...Show All
Visual Studio Tools for Office InfoPathNamespace screwed...
From the Infopath documentation: ....The InfoPathNamespace attribute (which is implemented by the InfoPathNamespaceAttribute type) is applied to a class to identify the XML DOM selection namespaces used within the class. The namespaces referenced in the InfoPathNamespace are maintained by the InfoPath project system.... However, I managed to get rid of all the information (except the My namespace) And InfoPath doesn't put it back either ...Show All
SQL Server Migrating Reporting services from SQL 2005 CTP (April) to SQL 2005 Enterprise
Hi, We were trialing SQL 2005 with their CTP edition from April. The trial was a success hence we have purchased SQL 2005 Enterprise edition and would like to migrate all reports/models created in the CTP edition to the new enterprise edition. Has anyone successfully done this as there is lots of info about upgrading from SQL 2000 RS to SQL 2005 RS just none about Beta to Full version as we havent managed yet We have tried coping ...Show All
Software Development for Windows Vista Could you tell me when will the windows workflow foundation official edition publish
Could you tell me when will the windows workflow foundation official edition publish The latest info on the release date can be found here . ...Show All
Visual Studio Object datasources vanish from rdlc data sources in web project
Anyone having issues with their object datasources appearing and vanishing from the datasource browser I create an object for binding as a datasource in my App_Code folder, compile my web project and it appears in the datasources in the report designer. Then I will make an aspx, setup a reportviewer control for my new report, go back to the rdlc and the object datasource sometimes just vanishes. I refresh, no luck. The only solution I ...Show All
SQL Server system.Data.SqlServer for CRL integration ??
After installing Visual Studio beta2 with SQL express, I try to use common Language Runtime to create Stored proc. But in the example I follow I got to do this But in my setup I cant add system.data.sqlServer. This namespace is not valid and return an cannot be found error. Do you think I got to install SQL server full version to use CLR Here is my code: Imports System.Data Imports System.Data.Sql Imports system.Data.SqlServer Public ...Show All
Visual C# Circular dependency + WinForms depency problem
Hello everyone. I have a question about an indirect circular dependency caused by some not-so-loose coupling, and I'm looking for options to solve it neatly. The operation is very simple - I wish to split my application into a library of core components and a bootstrapping EXE which contains all the WinForms stuff. This is in aid of writing a Linux GUI, and it is why some of the usual options are closed to me due to needing things in certa ...Show All
Visual C# This code(C# 2.0) doesn't compile. But why?
using System; using System.Collections.Generic; using System.Text; namespace Z { public class St<T> : IEnumerable<T> { T[] items; int count; public void Push(T data) { T[count] = data; count++; } public T Pop() { } public IEnumerator<T> GetEnumerator() { for ( int i = count - 1; i >= 0; --i) ...Show All
SQL Server CREATE LOGIN problem
I know this is a really stupid question but I can't figure out how to make this work. It just doesn't seem to want variables. What is the proper syntax CREATE LOGIN [@GUserName] FROM WINDOWS WITH DEFAULT_DATABASE = @DBName , DEFAULT_LANGUAGE = [@LoginLanguage] You could put the command into a variable, and then execute the variable: declare @Command varchar ( 2000 ) Select @Command ...Show All
.NET Development Best practice for public exposed method because of Remoting
I am currently on some P2P application (not file sharing but distributed garbage collector). I looking for advice concerning the accessibility of certain methods in the context of remoting. Basically, I have public class Foo : MarshalByRefObject { public void CalledByAny() { /* snipped */ } public void CalledByFooOnly() { ...Show All
Visual C++ Calling C from C++/MFC in Visual Studio 2005
Hello, I have Win32 C code that compiles fine with VS 6.0. I'm porting the code to VS 2005 to be called from an MFC application. The code compiles fine, but I'm encountering a linker error, LNK2019 when I add a call to a specific function from the OnInitDialog function. I have other calls to other C functions in OnInitDialog and they do not cause this error. I'm compiling with the /TP flag and the C code in question (which causes the fai ...Show All
Windows Forms Changing text of dropdownlist style combobox without text being in the list
I have a combobox on my form which is filled with values from a database table. I want to be able to set the text of the box to something which is not in the list. Changing the dropdownstyle to "DropDown" allows me to do this, but then i do not want to let the user type anything in. Basically what I really want is to behave like the style set to DropDownList, but be able to set the text also. I'm currently using a custom control ...Show All
