vhalexxs01's Q&A profile
Visual Studio GAC support in Templating Engine (Feature Request)
Hello, Templating Engine provided with DSL Tools is really great and useful, but it would be more convenient to use if it had support for referencing assemblies in GAC. I know that it is problem of CSharpCompiler... which doesn't support referencing assemblies in GAC, but you can extend the functionality of Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService.ResolveAssemblyReference() method to search the GAC. Regards This is an interesting discussion. We use references in a two ways internally in T4 and the T4 hosts that we provide with the DSL tools. Firstly we pass the references to ...Show All
.NET Development Collection events
Hi, just wondering if it is possible to have a collections base class send an event to the collection. Not worded well but heres an example. Class Tree Property color Property species Class TreeCollection property ColorCount property SpeciesCount This is very basic but what I want is if the color of a tree changes an event is fired that the collection sees to reset its count of trees with a certain color. Hope this is clear enough Regards You could change it to inherit from CollectionBase intead, so you dont have to do all the re-learning at once. It will work just fine either way. List(Of T) is a better wa ...Show All
Microsoft ISV Community Center Forums passing data from a form to a module
I have the following module Option Explicit Public Currency_Sold As String Sub AutoShape1_Click() UserForm1.Show Cells(10, 11) = Currency_Sold End Sub In UserForm1 I have Public Sub OK_Click() Currency_Sold = Currency_Sold_Code.Value MsgBox (Currency_Sold) Unload Me End Sub When I clik on the AutoShape1 button in the spreadsheet I do get the correct value of Currency_Sold in the MsgBox, but it is not passed to the spreadsheet. I know it is a simple question but I cannot figure it out. Thanks, Antonio I wrote an article about this: P ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I uninstall DirectX 9c
I am having problem with a game and their tech support needs me to uninstall DirectX 9c and Reinstall it. I have asked EA tech support on this on an earlier occasion and this was the reply I got. 1. Forget about it. 2. Find a new hobby. 3. Microsoft sucks so dont try to fix their stuff. 4. The only problem is your brain, if you try to forget about it and find a new interest in life that does not involve this stupid DirectX, you will be OK..... Now this seem like a very unproffesional respoce from a major company tech support, but they are allso only human, and MS have made things realy hard to grasp sometimes. But every problem h ...Show All
Visual Studio Team System Replace TFVC with another source control
Hi, Is it possible to replace TFVC with another source control in a VSTS environment Or could we do one thing - handle version control events (check-in/check-out, etc) and redirect them to another source control with corresponding events. Will this lead to duplication of records and if it will need tools to maintain conssitency of records Let me know your suggestions and approaches. If it is not doable, could you please explain it with reasons. Thanks, Saurabh You can choose not to use TFVC, sure. Mainly, you'll be giving up the integration we've built between VC and work item tracking, rep ...Show All
Smart Device Development Setting combobox datasource to nothing does not clear its items
I created a project with one combobox and 2 buttons. When I set the ComboBox DataSource to Nothing the SelectedIndex is being set to -1 and the SelectedItem is being set to nothing. But, when I click on the down arrow the list of items, from Button1.Click, are still there. (This works when compiled as a regular PC application.) Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim strAry As String () = { "a" , "ab" , "abc" } ComboBox1.DataSource = strAry End Sub Private Sub Button2_Click( ByVal sender As Sys ...Show All
.NET Development Preventing a class from having a default constructor
Hello, I would like one of my classes to behave like DataRow, when speaking about constructors. As far as I can remember, one cannot use the syntax DataRow myDataRow = new DataRow(), and can only obtain a new DataRow from a DataTable by calling the DataTable.NewRow() method. How can this be achieved in C# To be more explicit, I have a class A, and another class AManager (which manages some stuff regarding A objects). I want to instantiate every A object with a syntax like A test = new AManager.NewA(). And I don't want the user to be able to call A test = new A(); Thank you very much! Andrei Ismail Andrei, Unfortunately there is n ...Show All
.NET Development Network API functions
Hi all, Witch API functions can I use in .NET framework for getting information on a specific network. Can you give me links for examples. Regards... Hi Wasim , You mean directly use Win32 Api's if so try Allapi.com ; thats a good place ...Show All
Visual Studio Team System Error: The Team System cube either does not exist or has not been processed
When I tried to open any report, I always got the error message like this: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'IterationParam'. (rsErrorExecutingCommand) The Team System cube either does not exist or has not been processed. I followed the warehouse troubleshooting guide and ran the sql query in the step 2, the result is like this: Last Cube Processing -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Resource management
I was wondering how much difference improving my resource management would make to my applications performance. I use a lot of Sprite animations in my game, that use D3DXSprite. With the animations I know that once I have displayed a frame that image won't be needed again for a while and also know which texture I will want for the next frame. So I wondered how much difference it would make to performance if I wrote a system that would Lower the Priority level of used frames and PreLoad frames that I knew were going to be used in the next frames. Also, if I have displayed a texture frame is there a way to evict that texture from memory Can a ...Show All
Visual C++ Studio 2005 - No more images in toolbar and treectrl in Debug mode... (CImageList problem ?)
C++ ; MFC ; x86 ; Visual Studio 2005 I was using Visual Studio 2003, and since I have installed Visual Studio 2005, toolbars (CToolBar) and treectrls (CTreeCtrl) don't show images in Debug mode and works fine in Release mode !! The common link between these classes is CImageList class... I don't really understand how I can resolve this problem, so any idea is welcomed :o) Thanks The problem seems to be linked with my Manifest (to use XP styles for controls) In release, i don't have xp styles for my control And if I remove the manifest in debug mode, it works... Very strange... So, the q ...Show All
SQL Server How do I get AdventureWorks to show in sql2005.
How do you make the AdventureWorks sample show up (June ctp) I already installed it using the msi file: "C:\Program Files\Microsoft SQL Server\90\Tools\Samples\SQLServerSamples.msi" But following these tutorial directions doesn't get me anywhere, since AdventureWorks won't show up on the database list (last step). What's missing Right-click Database Engine , point to New , and then click Server Registration . The New Server Registration dialog box opens. In the Server name text box, type the name of your SQL Server instance. In the Registered server name box, type AdventureWorks . On the Connection Proper ...Show All
SQL Server Error importing data from oracle database to an SQL database
Hi! When i was importing a database table from an Oracle Database to a SQL database table, the wizard returns this error: Could not connect source component. Warning 0x80202066: Source - VB_PERMISSIONS [1]: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from that property will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page from the component's locale ID will be used. Error 0xc0204018: DTS.Pipeline: The "output column " ...Show All
Visual C# Multiple language support?
Does Visual Studio C# Express have support for multiple target languages (ie program displays English, but I want to also distribute a German version of the program). Would you believe that I had to sign in again using Passport, and lo and behold, there they were... sorry 'bout that... ...Show All
Smart Device Development WebBrowser Problem
I'm currently developping a netcf 2.0 application for wm 5.0 devices. I've embedded a webbrowser control but i have three problems with it : 1- when i do webbrowser.document = "htmlcode" and there's pictures in the html code, the web browser start flicking. 2- The hyperlink in the browser does not seem to work. The navigating and navigated event are not fired when i click on a link. 3- I would like to be able to move the webbrowser to a specified anchor (#part1) using .net code but the navigate method only accept uri... if i try to open the html file + anchor ( \\temp.html#part1 ) the document is opened ignoring the anc ...Show All
