iliketoeaticecream's Q&A profile
Visual Studio Subtyping a subtype
Is it possible to subtype a project that's already a subtype of some other project If so, what should the <ProjectTypeGuids> element look like in my project file For example, I want to create a new flavored project that subtypes the Smart Devices C# project. However, the SD C# project is a subtype of a C# project. Does the project inheritance hierarchy support deep hierarchies (i.e. subtype of subtype of subtype, etc etc) or is single ti ...Show All
.NET Development Using a single connection object
Hi, Let me explain Say, we have an application which accesses data a lot from the database and for every DB call a connection object is being created and then destroyed after the work done or We have an application which has a data access layer which helps in talking to the database and rreturning the result. How can we make sure that only one connection object is there at any time By default, the behavior of t ...Show All
Visual Studio 2008 (Pre-release) next linq release
Any comment on roughly when the next Linq release is scheduled, and what kinds of changes we can expect Keith, I'm guessing that what Henrik was asking is if it will be easy to do something like do a DLinq query in a Web Service to get an object out of a database, send this object (or a graph or list of objects) to a Web Services client, modify the object in the WS client, then, send it back to the WS and have DLinq update the data in t ...Show All
.NET Development calling a COM object from c#
I am calling a COM object from c# using this code: string sProgID = "IData.Update"; // get the type using just the ProgID Type oType = Type.GetTypeFromProgID (sProgID); if (oType != null) { try { Object MyApp; MyApp = Activator.CreateInstance(oType); object[] args = new Object[7]; args[0] = args[1] = args[2] = args[3] = args[4] = args[5] = args[6 ] = true; oType.InvokeMember("uf_run_updates", BindingFlags. ...Show All
Visual Studio 2008 (Pre-release) WPF DataTrigger and Enums?
I'm using DataTrigger in that way: < DataTrigger Binding = " {Binding Path=Source} " Value = " 1 " > < Setter TargetName = " tbSource " Property = " Foreground " Value = " Red " /> </ DataTrigger > But what do I have to use as value when my Binding Source is an Enum I tried its name e.g. AvalonApplication1.Status.Online and its value 0,1,2 a.s.o. but nothing worked :( Any hint for me I think you forgot the ...Show All
Windows Forms column width
i'm trying to set the width for a column in my grid, and get an error that thew index is out of range. does someone knows the solution this is the code: Private Sub FillCustomersGrid() Dim S As String &nb ...Show All
Software Development for Windows Vista Persistence & tracking in beta 2.2
I have created a simple application with 1 code activity, one delay and another code activity, in that order. If i'm enabling both the tracking and persistence, my workflow stops at unload If one if disabled, the other works just fine. Any ideas why this might happen Are you using a shared database Is the app hosted in ASP.NET or a win form app Can you post your code for creating the runtime and ...Show All
Visual Studio Express Editions export whole program/project to work on another pc?
hi dudes, sorry i'm very much vb.newby... can someone please explain how i can export my project i'm writing in spare time at work to my home pc, intact with all code and interface design in place please in vb.net express i have tried saving the project and then copying the whole project folder home but this doesn't seem to work properly when i open a file - there's so many, anyway! another thing i thought i might try was to export proj ...Show All
SQL Server what is the default login user name and password
Hai Freinds, Is there any default username and password for sql server 7.0 Thank You No this has to be specified within the setup process. Try "sa" as a username and one of the popular passwords like "god" "sa" "admin" _blank... HTH, jens Suessmeyer. ...Show All
Visual FoxPro External Connect
Hi I know in Access you can run SELECT queries on external database. You just have to specify type and path. For example: SELECT * FROM <tablename> IN '' [ type ; DATABASE=<path>;] For dBase data source there are values: dBase III, dBase IV; for Excel - Excel 5.0, Excel 8.0. What should I write to specify FoxPro type It will depend entirely on the version of VFP ...Show All
Visual Studio Express Editions Amazon-Enabled Movie Collection
Hello So far I am unable to find the web Update edition on the movie collection kit. Anyone has the link Thank you Hi SMAL, Glad to hear that you are trying out the Amazon-Enabled Movie Collection!! The kit can be downloaded from the following locations: http://msdn.microsoft.com/vbasic/downloads/starterkits/ http://msdn.microsoft.com/vcsharp/downloads/starterkits/ http://msdn.microsoft.com/vstudio/downloads/starterk ...Show All
Visual Studio Team System Unable to add existing unit tests to a solution
We are using Visual Studio Team System for Developers. I have created a new solution from a number of existing projects, many of them class libraries and some of them webservices, but also existing projects that contain unit tests for each of the class libraries. In the Test View window, it says "Currently no tests are available to display in test view". I have two options: Create New Test or Open Existing Tests. Create New Tests ...Show All
Visual Basic Button Tool
I want to apply Windows XP button style on my Windows Form, but how First Add a TextFile to your bin folder and rename it to <ApplicationName>.exe. mainfest That should be manifest. ...Show All
Windows Forms ClickOnce overwriting user settings on update
I'm working on a VB app using ClickOnce deployment. When I deploy a new version to my update location, the clients will install the update and migrate user settings (My.Settings stuff) and data files correctly. However, if I change the update location to a different path on the server, the new update will not migrate the user settings or data files and uses the defaults included in the deployed package. Step by step: 1) user installes app from \ ...Show All
SQL Server Running a Script in DTS
I'm new to DTS. The task that I want to do is that I want to run a SQL Script from DTS. I know that there is Execute SQL Task for the same purpose. But my problem is that the Script that i have to run will be in a file and I have to first read the file in DTS.then execute the contents of the file. The script file may contain : create database SOMEDB create table Table1 ( Col1 varchar(10), col2 int) I tried to use the DTS file ha ...Show All
