melonboy's Q&A profile
Visual Studio Team System Error when creating new Team Project
I've worked through several resources onlnine to fix other errors in the project creation process and have just about got the New Team Project option working from Visula Studio, however I'm running into an error I can't find a solution for. In creating a project named Foo2, the creation process gets through the Currituck Module, handles some CSS and WorkItemType definitions and then throws an exception saying: ---begin Exception entry--- Time: 06/02/2005 08:36:59.706 Module: Engine Event Description: Task "Currituck.WITs" failed Exception Type: Microsoft.VisualStudio.Currituck.Package.CurrituckPcwFatalException Exception Message: Cannot fin ...Show All
Windows Forms Length of Turn - Microseconds
As my creature's code gets more complex, I start to occasionally skip turns. I tried to put in debug code to measure the time taken in various procedures so that I could optimize, unfortunately I can only get accuracy to the nearest 10 milliseconds. The message I get back from the engine is typically something like "took more than 1760  ...Show All
Software Development for Windows Vista capturing audio stream from microphone
Hello, I'm writing this application that has to Fourier-analyze some piece of audio data but i was wondering how i could access the audio stream from my computer's microphone Is there a way to do this using C's "windows.h" Thanks Yannick I'm actually doing it on Win32 but for one reason or antorher they moved my post to the Vista part of the discussion board. I've been surfing the net all evening now and i found a quite interesting site: http://www.borg.com/~jglatt/tech/winapi.htm Real good introduction to the subject in my oppinion. We're actually trying to build a water-rocket and we would like to design ...Show All
Windows Forms calc needed size of DataGridView
Hi, I want to size the DataGridView based on the number of rows up to a maximum size. So I watch the data source and when the number of records changes, I recalculate the size of the grid. So far so good, but I do not seem to get the right size... I tried this: int height = this .gridView.Top + this .gridView.ColumnHeadersHeight + (rowHeight) * rowCount; But I seem to struggle with the right value for rowHeight, I tried ( RowTemplate.Height+2) which works fine for TextBoxColumns, so the grid is sized correctly without scroll bars. But if another column type is added to the grid, e.g. ComboBoxColumn, the calculated size is too small. ...Show All
SQL Server SQL Server 2005 incorrectly claims I don't meet minimum service pack level requirements?
This doesn't make any sense. I am trying to install SQL Server 2005 on SBS 2003 with Service Pack 1. According to Windows Update, there is nothing left for me to install. However, I am getting this error (while installing SQL Server Express and the Developer Edition): "Your operating system does not meet Service Pack level requirements for this SQL Server release. Install the Service Pack from the Microsoft Download Center at http://go.microsoft.com/fwlink/ LinkId=50380 , and then run SQL Server setup again." When I go to the link, there is nothing there to download (it takes me to the main Microsoft download page). I meet al ...Show All
Visual Studio Express Editions Comparing 2 dates
I have a " dateTimePickerServiceDueDate ", I want to compare: if due date is earlier than today, give error message, I tried " if (dateTimePickerServiceDueDate.Text < DateTime.Today) " it didn't work, and then I changed it into: " if (dateTimePickerServiceDueDate.Value < DateTime.Today) " it worked. Just want to share it with all newbies :) also, if I am wrong, plz correct my mistake, thx. Hi, Thank you for sharing your ideas to everyone.we all in this forum should be like you.. I also would like to contribute to your post..I think what makes it differ ...Show All
Visual C# ValidationEventHandler
Hi, all I'm using ValidationEventHandler Event to catch the error when I validate XML files against schema. But this event can catch only first error it was hit and won't catch any other error refer to this link. http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemxmlxmlvalidatingreaderclassvalidationeventhandlertopic.asp I want to know how can catch all errors in the file Thanks! You need to add current validation error Message to previously error Message store. StringBuilder builder = new StringBuilder (); private static void ValidationHan ...Show All
.NET Development can not create an SQLConnection object
I am getting an initialization exception when I instantiate SQLConnection. The exception occurs emediately upon creating an instance and does not depend on whether I supply a connection string for the constructor. The odd thing is that I am not getting this error on my development computer, only when I install it on a different computer. The computer giving the exception has .Net 2.0 installed from the redistributable which I downloaded from MS on Thursday. This is happening before I set any properties or do anything else with the new connection. Any ideas Jake Wagner Ok, there was no app ...Show All
Windows Forms how to retrieve text from a textbox in another form
i created a windows application in c# that have the most functionality of notepad but . it consists of 2 forms one is mdicontainer and the else has a multiline textbox in the first i put a menu that process the text in size font , color i included also a new menuitem when clicked it opens new window which is the second form . but i need to retrieve text from it to be processed in the first one HOW If you're dealing with large files (e.g. files that are a substantial fraction of available RAM), I would only read in a portion of those files at a time. The programming model is definitely more di ...Show All
Visual Studio 2008 (Pre-release) netMsmqBinding problem with messages larger than 65075 bytes
Hi, I'm having a strange problem with msmq when stored messages are larger than 65075 bytes. The service starts consuming 50% of the cpu and can't receive the message, raising no exception. I'm using Windows XP + Feb CTP Here's a code sample: using System; using System.Configuration; using System.Messaging; using System.ServiceModel; using System.Text; // Define a service contract. [ServiceContract()] public interface IContract { [OperationContract(IsOneWay = true)] void Operation(string message); } public class Service : IContract { public void Operation(string message) { Console.WriteLine(message.Length); ...Show All
Visual Studio 2008 (Pre-release) compiler inferred method
Hi, i am interesting in read home c# compiler inferred method work. I appreciate any help. regards -gabriel C# 3.0: http://msdn.microsoft.com/vcsharp/future/ C# 3.0 Language Specification: http://download.microsoft.com/download/9/5/0/9503e33e-fde6-4aed-b5d0-ffe749822f1b/csharp%203.0%20specification.doc ...Show All
SQL Server Forcing Users to log out of SQL 2000
I am a begginer to SQL. I am truly limited with SQL language. Every month we have to do a month end closing for our company. In order for us to do this we need to get everyone off the database to proceed. This process is horrible and generally takes at least 1/2hr to 45 min. to do so. i am looking for a command that i can use in query analyzer if possible to force the users out of the database. if that isnt an option can you recommend another program in which i can do this. i am at a loss and need some help..... thanks Did you have a look in the BOL for ALTER DATABASE ALTER DATABASE SomeDatabase SET SI ...Show All
.NET Development ConnectionString
Hello, I have a connection string in my config file, that I use to connect to SQL server. But it requires the password. How can I add this sensitive data to the connection string in my application. Thank you. Place your connection string in web.config and encrypt it in place . Microsoft details it here in the section entitled "Step 3. Encrypt Your Configuration File Data" ...Show All
Visual Studio Adding files generated with text template to project and dynamically create a web application
Hi, I am generating several files from one TextTemplate just the way is posted in this forum, I would like to know if there is a way to include the generated files automatically inside the project, how Can I create a Web Application dynamically inside the text template ans add it to my solution file Guys, Can I put my custom Item Template in my own window So its like the built-in Item Add Dialog window, but inside this window is only my custom template. Any suggestion or link related will be really appreciated. Thanks! Herru ...Show All
Smart Device Development VOIP application for Pocket PC
Hi all, Can anybody tell me how to make VOIP application for PocketPC. Is there any API available that can b used in .net compact framework. Thanks Honey Patodia PocketPC does not include VOIP functionality. ...Show All
