yg's Q&A profile
Visual Studio Adding files to a project during compile
I have a prebuild action that occurs in my project that generates a class. this class needs to be added to the project for compile. This only occurs have the project has been reloaded. Is there a way to add the files to my build without going through three steps - compile, reload project, compile Thanks let's assume I wanted to do something similar, but in a project sub-type (within a package). What is the best way to accomplish this I can latch onto the same event, however I'd prefer to filter my handling of the event only for events triggered by projects of my specific sub-type. ...Show All
Windows Forms Binding To A UserControl
Hi, I have a weird problem. I have made a user control that includes a combo box and a button. I made a new property in order to get/set the SelectedValue of the combo box in the usercontrol: protected object gl_SelectedValue; [System.ComponentModel. Bindable ( true )] public object SelectedValue { get {gl_SelectedValue=cmb.SelectedValue; return (gl_SelectedValue);} set {gl_SelectedValue = value ; if (!(gl_SelectedValue== null )) cmb.SelectedValue = value ;}} After that i did data binding in the main form: usercontrolname.DataBinding( new Binding ( "SelectedValue" , this . ...Show All
Visual Basic Visual Studio 2005 Compiler Error
I have created a Class Library Project in Visual Studio 2005 Beta 2 and I am receiving the following compiler error in the output window: ------ Rebuild All started: Project: ebsSystem, Configuration: Release Any CPU ------ Vbc.exe /noconfig /imports:Microsoft.VisualBasic,Microsoft.VisualBasic.MyServices,Microsoft.VisualBasic.MyServices.Internal,System,System.Collections,System.Collections.Generic,System.Data,System.Data.SqlClient,System.Diagnostics,System.Diagnostics.CodeAnalysis,System.Threading /nowarn:"41999,42016,42017,42018,42019,42020,42021,42022,42025,42032,42036" /rootnamespace:ebrandsecure /doc:obj\Release\ebrandsecure.xml /defin ...Show All
Visual Studio 2008 (Pre-release) XamlWriter customization?
Is there a way to customize the XAML serialization of a class I have public properties I do not want serialized (things like the Parent property in WPF classes). In other cases I would like to serialize a reference to another object and restore that at the other end. I can have duplicate properties holding the ids and recreate the object references after loading the XAML, but I still need to get the object reference properties excluded from the XAML. I would really rather not use get/set methods just to deal with serialization. Ideally there should be some attribute I can place on the properties in question. ...Show All
Visual Studio Team System Error code is 26403
I get a very generic message during the upgrade about the source possibily being corupt. --------------------------- Microsoft Visual Studio 2005 Team Foundation Server Setup --------------------------- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 26403. --------------------------- OK --------------------------- I checked the install log and found the following error prior to the rollback. Couldn't load string ID: 2000 From file: CustomText.1033.dll I googled this error and found that it had occurred in prio ...Show All
Visual Basic Can not save project with vb.net 2005
Hi, I can not save my project. I dont know how to fix it. The error: szAppName: vbexpress.exe szModname: hungapp szModver: 0.0.0.0 offset: 0000000 Win xp, sp2 Pls help. thanks Did you uninstall all previous versions of the .NET framework before you put VB Express on If not this may be the cause of all your problems. Uninstall all versions of VB and .NET framework then install the latest .NET framework then VB Express. ...Show All
Software Development for Windows Vista Input with DirectShow in Full Screen Mode...
Now I'm trying to receive input while video playback is playing and when using put_FullScreenMode, no input can be received using DirectInput. Is there any way to still receive this input while running full screen I know I can use the WM messages, but I need to use DirectInput. I've looked into the Exclusive modes for DI, but my problem is that since we're using force-feedback based controllers, I can't change this. Is there any other methods I can look into ...Show All
Visual Studio Express Editions Data Samples 101
During installation of this sample I get an error message saying the product.cab is corrupt. Is there a work around Thanks, Richard Either Microsoft have posted a corrupt file or it has become corrupted either during or after download. Download it again. If it still doesn't work then it may be that the original is corrupt, although I'd say that that is very unlikely. ...Show All
SQL Server SQLServer2005_ADOMD.MSI and ClickOnce
Hello, We need to install ADOMD.NET on client workstations and would like to install it via ClickOnce. Has anyone built a ClickOnce Bootstrapper Prerequisite Package for SQLServer2005_ADOMD.MSI Also, when running SQLServer2005_ADOMD.MSI on a client workstation manually, we receive an error stating that an updated version of MSXML 6.0 must be installed as a prerequisite. We run the MSXML6.MSI (11/7/2005) found in the SS05 November 2005 Feature Pack and then run SQLServer2005_ADOMD.MSI and everything is fine. This workstation already has Version 2.0 of the .NET Framework installed on it. Isn't MSXML 6.0 a prerequisite for installing V 2. ...Show All
Visual Studio unable to deploy vs2003 add-in on another machine
Hi All, I have created a visual studio 2003 add-in. This add-in works well on my development machine but does not work on another machine. While initializing add-in gives following error. Add-in failed to load or caused exception. Error Message: The system cannot find the file specified. Error number: 80070002 If I create a simple add-in on my dev machine and try to deploy on other machine, it works. But if my visual studio add-in which is using any other user created COM dll then it won't work. Steps followed to install add-in on other machine: 1. Copy add-in dll and COM dll in a folder of target machine. 2. Register add-in dll with regasm ...Show All
SQL Server Error: Attribute key cannot be found
Helo, I have the following problem I have one fact-table in my cube And I have one dimension table When I process the cube I get the following error: "Errors in the OLAP storage engine: The attribute key cannot be found: Table: dbo_fbi_analytic_journals, Column: journals_key, Value: 306." I understand the error, and I know why I get the error, but how can I solve the error In the fact-table there is a record with key 306, but this key is not found in the dimension table. What I want is that in the cube are all the record that are in the fact-table with a reference in the dimension table, so the record with key 306 must not be in the cube An ...Show All
SQL Server Design T-SQL WHERE
Hi , I have following statement : SELECT * FROM Table WHERE Col1>=@Col1L AND Col1<=@Col1H AND Col2>=@Col2L AND Col2<=@Col2LH AND ... AND ColN>=@ColN L AND ColN<=@ColN H But sometimes variables e.g. @Col1L and @Col1H may cover whole range of available values so they will be there for nothing E.g. It may happen my query will be sufficient if I will have SELECT * FROM Table WHERE Col1>=@Col1L AND Col1<=@Col1H -- and no other columns, because @Col2L will be lowest possible assignable value and @Col2H highest possible value, etc. How should I design this type of query Should I ...Show All
Visual Studio Team System Try to connect to SQL Express or SQL DB Error...Failed to generate a user instance
When I try to connect to a datasource, any Datasource, I am getting an Error that a User Instance could not be created for the current user... Your question will be best answered in the Visual Studio General forum: http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=25 When you post your question there, please include additional information, such as: project type programming language installed products ...Show All
Software Development for Windows Vista Improvment to WMP 11? or 12? or... soon hopefully.
First off, I just want to thank everyone developing Windows Vista, we're over due for a new OS and from what I've seen from people who have downloaded it Vitsa It looks good, hard to say about the whole thing, but I'm excited. Where's the Suggestion box I have a problem with downloading multiple video's inside or out of Windows Media Player, When I try & download huge files it firsts "buffers" it, then once it has enough until it finishes or it recalculates how long you can watch it until skipping, right Well what if I wanted to watch a movie while another one is buffering I mean i think I'm simply asking for another section fo ...Show All
SQL Server Simple migration from MySQL to SQL Server Express 2005?
Normally I'd go and write a bunch of code for doing it manually... But instead of that, maybe there is a smarter way What I know is that you can get some kind of dump out of MySQL but I would be very surprised if that could be directly read into SQL Express So if you have a few step guide to migrate from MySQL to SQL Express, I am all ears (and eyes)! Thanks! (Yes I am aware there is some DTS thingy for this but could not find it in the Express folders) There is no real direct ways to do this that I'm aware of, but I have a few ideas I'll share with the group. While SQL Integration Servic ...Show All
