Worf's Q&A profile
Windows Forms Access list of files in MSI in custom action
Hi All, I have created a VS deployment project to copy “my.dll” file in a particular folder. Initially we were copying this dll on target machine manually. But if I build my.dll with some changes into it and try to copy by using installer (created by VS deployment), then my.dll file won't get overwritten. This is because both dll has same version. If the dll from my installer has version greater than already existing dll file then the old file get overwritten. I got some similar links: http://groups.google.co.in/group/microsoft.public.platformsdk.msi/browse_thread/thread/390b379c234a675c/713da5248c51a888 http://groups.google.co.in/group/microsoft.public.platformsdk.msi/browse_thread/thread/4839c934fe7e6ff6/3def ...Show All
SQL Server x-Axis labeling
Hi, In my report, I have StartDate and EndDate parameters.In my Line chart on x-axis i need to show the dates like this:Suppose startdate=1/1/2005 and enddate=12/31/2005 then x-axis labels like this:1/1/2005,4/1/2005,7/1/2005,10/1/2005,1/1/2006.In x-axis i put the Minimum value:Parameters.StartDate.Value and the Interval is 90( days),it is not working properly. How to show quarter of the year on x-axis. Please help me Thanks in advance Hi, Reporting Services does some formatting on it self which makes it impossible to do this just by setting the parameters. What you can do is to add a column that contains the quarter in which the date belongs and add this column as label. Here is a meth ...Show All
SQL Server Designing SSIS package to Cater to SQL Queries invloving multiple joins
I have a query that works fine in SQL Server, SELECT TC.[TestId] ,TS.[NameId] ,[regressionLevel] ,Mstr.[MethodId] ,users.[UserId] FROM [db_db].[dbo].[TEST] TC join [NEW_DB].[dbo].[Users]users on users.FirstName=TC.Username join [New_DB]..[Method_Master] Mstr on Mstr.Description=TC.Method join [New_DB]..[TestSource] TS on TS.Name = TC.TestName basically there is a join between three tables to repalce all the varchars to the corresponding ID. Please guide me in how should I go about in designing my SSIS package to achieve this requirement. thanks in Advance Jamie Thomson wrote: Why do you want to do somethign else This is the correct thing to do. ...Show All
Smart Device Development Array.Resize
I'm trying to dynamically resize an array of objects and getting a error: Error 1 The type arguments for method 'System.Array.Resize<T>(ref T[], int)' cannot be inferred from the usage. Try specifying the type arguments explicitly. D:\Code\CSharp\StuntFighter2000\StuntFighter2000\StarField.cs 89 17 StuntFighter2000 I'm confused what this means my code is: Array .Resize( ref cStarArray, 210); cStarArray is declared as: private Array cStarArray = Array .CreateInstance( typeof ( Star ), 200); Any thoughts This might work Star [] cStarArray = new Star [200]; // instead of Array.CreateInstance( typeof( Star ), 200 ); Array .Resize< Star >( ref cStar ...Show All
Visual Studio 2008 (Pre-release) Calling a web service from an XBAP
Hello, I am using Visual Studio 2005 and I am attempting to create an XBAP application that simply calls a "Hello World" web service. I have created/consumed a number of web services in .NET in the past, however, using web services via XBAPs has proven to be a challenge. I have reviewed the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=517445&SiteID=1 as well as many other blogs. However, I can't seem to get a reference to my web service. My web service is available at an address similar to the following: http://computerName/Services/Service.svc wsdl I then select "Add Web Reference" from my XBAP project. Through the wizard in Visual Studio 2005, I can find the service, I can sele ...Show All
Visual J# help im a first time user
i feel really stupid in asking but im getting real frustrated... how do i compile my code do i need a seprate program or is it in the options can you tell me how goto microsoft web site and download the express version of Visual J#.NET 2005 and start developing with J#. Enjoy it!!! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Laptop Computer Requirements - Simple DirectX games
Compiler: Visual Studio.NET 2002 Hi All, I want to buy a new laptop computer to program basic DirectX games. I have only ever bought desktops before and am a bit suprised by the lower technology of the laptops (especially the motherboard). My present desktop is a 2.6GHz with a 256 MB Graphics card. (I need a laptop, as it is becoming more impractical for me to be in front of my desktop when I am able to do any programming.) I am programming simple(ish) DirectX games. The game I am working on is chess. I am using full Direct3D including textures. Obviously the AI is quite heavy. Sounds are basic. Due to the AI requirements I believe I need a minimum of a 2GHz motherboard. However this puts a bit of strain on the cost so I might ...Show All
Visual Studio Team System Explanation of branching and normal workflow
Can someone describe more about how branching works from a developers perspective Or is there already information about this somewhere that I haven't found This would be very useful for us coming from ClearCase / Subversion / some other version control system. What I really would like to see is an article or blogpost about how two developers working with a project/solution would do to create a branch, let one developer use this branch for a few days while the other is continuing on the normal main branch. After a few days a merge should be done. I would like to see the steps necessary together with an explanation why this is the best way to do it if there is more than one way. Suggested outline: - Assume both developers has thei ...Show All
Windows Forms UserControl - Hiding certain properties (design mode)
Hi I have an UserControl , A . This control consists of a TextBox and a Button . A has several user-declared properties, p1 , p2 ... pn . When I add instances of A to a Form, I see all the properties including p1 - pn . If I make another UserControl , B , and add several instances of A to it, how do I get only certain properties of the instances of A visible in the properties window of B For instance, B contains: A a1, A a2, A a3 ; public A A1 { get { return a1; } set { a1 = value ; } } (and so the same for a2 and a3 ) In B 's properties window I only want p1 - pn to be the displayed properties for A1 - A3 . I hope my explanation is understandable :) Kind Regards Thanks, that hel ...Show All
Visual Studio Express Editions How do I make the enter key handle a button click?
I have a form that has a combobox on it, if the user clicks a button after selecting from the combobox, another form will show. I would like to have the user select an item and be able to either click the button or just press the enter key on their keyboard. Thanks in advanced. I think what your refering to is more commonly described as the default button. If this is the case then setting the AcceptButton property on the form to the name of the button should do the trick. ...Show All
Windows Forms "Full trust application" but have security exceptions...
Have a simple program which connects to an Access database using OleDbConnection. When I 'open' the connection I get the following error: System.Security.SecurityException was unhandled Message="Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed." Source="mscorlib" It is a "ClickOnce - Full trust application". It did work for sometime but it stopped working when I disabled "Enable the Visual Studio hosting process" in Debug screen under Project -> Properties. Have re-enabled it and get the above stated error. Many thanks!! I have had this pro ...Show All
Windows Forms MSI installation via SMS that uninstalls previous versions
I'm trying to make a MSI packet which will uninstall all previous versions of this same software. I've found out that I should add property ALLUSERS=2 FolderForm_AllUsers = ALL and same product and update ID's but still can't get it work...What else should I do to make it happen thanks The UpgradeCode must be the same but the ProductCode must be different. http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Lauching another DX program in a window
I know it's possible to run another DX/D3D program in a window, but how exactly would one go about doing this I've scoured the internet and I only get links to a dated program that allready does this, not how to do it myself. Well that program is for early versions of DirectDraw only so it might be doing something particular to those APIs [moving to DirectX general since this is not a 101/beginner problem - hopefully someone smarter than me will know an answer] ...Show All
Visual Studio 2008 (Pre-release) Getting DLINQ to work in existing projects
Hi Is it possible to get DLINQ working in existing projects or do I have to use the special DLINQ template evrytime greets Bastian Terotech.Com Ltd wrote: Hi, You can use DLinq either in new or existing projects. For existing projects you may have to perform a bit of refactoring of your existing codebase in order to be able to fully integrate with the DLinq way of working. regards, DaveW This is exactly what I want to do. In other posts here someone talked about custom compiler actions that are needed - how do I get them into my project Regards Bastian ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tiling a texture?
Hey, I have a 3d terrain system. The terrain is built using a heightmap image. Then I have a large texture that I paste over the top, this covers the complete terrain. I'd like to be able to dispose of the one large terrain texture image and use tiling and different layers for different tiles. (Texture splattering, I think this is called). However, for now I'll be happy with just tiling my grass texture over the top of my terrain instead of it automatically scaling. Can anyone point me in the right direction to repeat and tile my texture rather than stretch to fit Thanks Fluxtah, Thanks for your help. I can now get the terrain with one correctly sized tile (I am using 25.0f as a scalar). I ...Show All
