lleoneye's Q&A profile
Visual Studio Team System Using AssemblyMajorVersion to update AssemblyInfo in Team build
Hi, Haivng used the build script according to http://blogs.msdn.com/gautamg/archive/2006/01/04/509146.aspx , I find that the AssemblyMajorVersion is not updated for the binaries that are compiled. Anybody else who is having the same issue If you know, how to resolve this issue, can you please help me. Thanks Ill try that. Why does this not grab all files with AssemblyInfoFiles within the level < CreateItem Include = " $(SolutionRoot)\*\*\*\*\AssemblyInfo.cs " > < Output ItemName = " AssemblyInfoFiles " TaskParameter = " Include " /> </ CreateItem > It only grabs one when there are about 15 in different directories. How do I get 135 files to be placed ...Show All
SQL Server Convert columnar data into rows
I have a table of data that needs to be converted to rows but with a way to identify for each row the column the row value came from. Here's an example table: Employee FED MEDI SOCSEC 123 $100 $25 $70 234 $242 $54 $90 345 $75 $10 $55 Here's the format the data needs to be in after it's converted. Employee CodeType Code Amount 123 T FED $ 100 123 T MEDI $ 25 123 T SOCSEC $ 70 234 T FED $ 242 234 T MEDI $ 54 234 T SOCSEC $ 90 3 ...Show All
Windows Forms Visual Studio Installer - insert License Agreement Dialog
I am trying to create a simple installer program and wanted to insert a license agreement. I have added a new license dialog, then added the license file in RTF format to the installer project and specified the LicenseFile property of the License Agreement Dialog box. I rebuilded the whole project and still did not see the license text shows up in the dialog. No build errors or warning are reported. What could be wrong Thanks in advance Matador139 Thread moved to the appropriate forum. Interesting. I've never had this. you are sure that there is text in the license file Usually it would complain if there was no file to be found but obviously seems like you attached it appropriately. ...Show All
SQL Server Unable to connect to Oracle Data Source
I'm using SSRS 2005. I'm unable to create a new Shared Data Source, connecting to an Oracle database. I already have the Oracle client installed on my local machine. And I'm trying to create a Shared data source by clicking the Add New Data Source option. Then I select the Type as Oracle and click on the edit button for the connection string. Then I enter the server name in the dialog box and the username and password to log on to the database. The I click on the Test Connection button and get the following error: ORA-12154 : TNS:could not resolve the connect identifier specified. Could somebody help me with this Thank you for your responses. The oracle client is installed and the oracle client pat ...Show All
SQL Server Show dimension members only if there is data associated with them
Hello, Is it possible to set-up dimensions to contain only members that have a match in the fact table I would like the dimensions pull-downs to show only members with data. Thanks, Philippe Hi, I use Excel 2003, I set-up the pivot with a customer pull-down in the page area, and something in the rows, the columns and the data area I would like the page area customer pull-down to show only customers for which there is data, I do not want to have a list of customers were some choices will return a result and some others will return a blank pivot. Thanks Philippe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bullet Hell Tactics - Shoot'em'up game created with XNA (video and screensots)
Hey! For the last couple of months (5 to be exact) I have been working on a shoot'em'up (shmup) game with XNA and have now come to point where I can show what it will look like and how it will play. I have screenshots and a gameplay video that can be found at http://shmup.blogspot.com . (Remember that this is work in progress, and a lot of stuff is missing). Here you can also read about the development and progress of the game. I don't yet have a playable demo for download (sorry). Later on I will have a beta for download for those of you that wish to try it. It has been a WHOLE lot of work to get this thing play (I know maybe it doesnt look like much work when you see it but trust me - it is!) Almost all the gameplay element ...Show All
Visual Studio Express Editions LIFE SAVER !
hi its a simple lil thing all i need is when a picture or button is clicked an double clicked the volume of the computer is muted Simple as :) i've searched and cant figure this out not using windows media player or anything just the computers Master volume to = 0 :) SendKeys can't do this. I've found another way using the WM_APPCOMMAND message. It works on my PC but can't guarantee it will work everywhere: Public Class Form1 Private Const APPCOMMAND_VOLUME_MUTE As Integer = &H80000 Private Const WM_APPCOMMAND As Integer = &H319 Declare Function SendMessageW Lib "user32.dll" (ByVal hWnd As IntPtr, ByVal Msg As Integer, ByVal wParam As IntPtr, ByVal lParam As IntPtr) As IntPtr Private Sub Button1_Click(ByVal sen ...Show All
Audio and Video Development .SWF version supported in Windows Media Player?
Hi, Sorry if this is miscategorized, but I couldn't find a forum specific to Windows Media Player. Does anyone know what versions of Flash .SWF files are supported by the various versions of Windows Media Player (9/10/11) The documentation indicates that .SWF files are supported, but gives no indication of what file version. Thanks, Garth Hi Garth, The Windows Media Player newsgroup is probably your bet bet for getting answers to WMP questions. http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.player&lang=en&cr=US This forum focuses on questions about Media Foundation, the new multimedia platform for Vista. ...Show All
.NET Development TCP Sockets checking aliveness
Hi, I have an app where it is critical that any connection interruption between the server and the client is immediately noticed. Right now I'm using a "ping packet" that I send to the server and the server sends it back. If it's not returned within time x and the server hasn't received a new one within time x the client assumes it's disconnected or the server disconnects the client. However, since I'm sometimes sending large objects over the socket which can take a couple seconds to transmit I can't send a ping packet every 3 seconds or so as it then would time out since the socket might be blocked while sending a larger object. How are other applications dealing with this and which options do I have Thanks, Tom ...Show All
.NET Development How to play MP3 file without WMP?
Hello.How I can make my app to play mp3 files without using Windows Media Player.What I need to learn cgraus wrote: YOu need to learn how to write an mp3 decoder, and then you need to pay the licencing fees associated with writing code that uses that algorithm. Then you need to learn how to write the results direct to the sound buffer. Sounds too much like hard work to me, especially as the world sure doesn't need another MP3 player. Sounds like fun, tho, if you're into deep maths and have a lot of time on your hands. You could use any built-in Windows codecs to convert an MP3 stream into a PCM stream and use the SoundPlayer class. ...Show All
Visual Studio Parallel debugger : concurrent users
Hi, I work under Windows Server 2003 with Visual Studio 2005, on a multi-processors computer ; other developpers and I are developping a parallel application on this computer, and we would like to use the parallel debugger (lanching with mpishim.exe). This one works well, but two developper's can't use it at the same time. Moreover, everytime another developper wants to use it, both developpers must restart Visual Studio. You'll understand that this is a little annoying ! So, if anyone knows or have an idea about this, it woud be really nice ! Thank you etienne Sadly that's by design in the current implementation. Multiple developers driving the MPI shim on the same computer/cluster is not something we ha ...Show All
Visual Studio Express Editions Character Escapes - can't get them to work
Is it possible to use character excapes in strings (such as those to appear in message boxes) in VB as I can't seem to get this to work I basically want strings like that below: "This is a string with a\n new line" to appear as below in the messagebox: This is a string with a new line But I can't seem to get it to do this. I know I can use things like Chr(13) and Chr(10) to achieve the same effect, but it feels cumbersome. Could someone explain the correct way to use escape characters in VB if this is possible. For your case VBcrlf would work. String = "abc" & VBCrLf & "xyz" See also http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=728 ...Show All
Visual Studio catch ReportViewer exception
Hi, i have a problem with the reportviewer control. if the user try to export the report to excel or something and try to overwrite a file, it can be happened that he can't overwrite the file.( because it can be looked by an other application ) in this case the reportviewer throw an exception and i don't know where i can catch this exception in my window has anyone an idea thank you Thomas This is a known issue that has been fixed in Visual Studio 2005 SP1. You can get more information on that release, including the beta, here: http://msdn.microsoft.com/vstudio/support/servicing/ ...Show All
Visual Studio Express Editions Random Access File
I am converting VB code to VB Express, and I need to open a file for random access, and read one character at a time from it. Thanks, Richard in .NET you can use the StreamReader class to read files line by line. import the System.IO namespace then.... Dim theReader as new StreamReader("file.txt") while theReader.EndOfStream = false MessageBox.Show(theReader.ReadLine()) 'messagebox as an example end while theReader.Close() you can also read the entire file: Dim theReader as new StreamReader("file.txt") Dim theFile as String = t heReader.ReadToEnd() theReader.Close() you can also read a block of characters should you wish to   ...Show All
Windows Forms Magic with Installations (Am I re-inventing the wheel)
Hello, it appears that this is the catch all forum for ClickOnce, Setup & Deployment and the Bootstrapper. see Chris Smith's last signoff note at http://blogs.msdn.com/chrsmith/archive/2006/03/10/Bootstrapper-SDK-R1.aspx Anyway, this is what I need to be able to do for MAJOR insurance carriers deployement of our application but everything I try I keep dead-ending. First can't use ClickOnce because of the per-user limitation... 1. Launch Install -OR- Bootstrapper a. Test RAM, OS, DiskCost b. Summarize to end user what is and isn't passing for launch conditions 2. Go no Go bassed on 1a. a. Summarize prerequisites to be installed. In our case .NET and SQL Express (and their prerequisites) ...Show All
