Theoblob's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. 16000 hz
Hey, I was just wondering, I am making a game; will a microphone that records at up to 16000 hz provide speaking clear enough for a game, or will it sound at all moughled If it is extremely clear, how is it that I play a sound on directsound or directmusic that isn't at a standard hz, such as 22050, or 44100 If that isn't extremely clear (clarity wise), could you point me to a relatively cheap headset that is, and tell me how to play a not standard hz sound please thanks for your help. Thanks. How would I go about recording at 44100 with an exciter also, could you point me to one One other thing: This sounds like it is sort of like overclocking a cpu from what I understand , (or am I totall ...Show All
SQL Server SQL Server 2005 SP 2 December CTP authentication fails
Hi, if I try to install SP 2 using SQL Server authentification (sa) it fails. The following lines appear in the file "Hotfix.log": 01/03/2007 14:08:23.859 Authenticating user using SAPWD 01/03/2007 14:08:23.875 Validating database connections using Windows Authentication 01/03/2007 14:08:24.171 Pre-script database connection failed - continuing to wait for SQL service to become responsive to connection requests ... repeated 60 times ... 01/03/2007 14:13:33.625 The following exception occurred: SQL Server reagiert nicht vor der Skriptausfuhrung Date: 01/03/2007 14:13:33.609 File: \depot\sqlvault\stable\setupmainl1\setup\sqlse\sqlsedll\instance.cpp Line: 1411 Why does it try to use Windows Authentification although I have tol ...Show All
Visual C++ Mixed mode finalizer bug in C++ class destructor with std::vector member
I have discovered a bug when finalizing a CLR class which deletes a data member which is a pointer to a C++ class, and the C++ class has a std::vector<ANYTYPE> as a data member. When this occurs an exception is thrown, with the message in the debugger being: "An unhandled exception of type 'System.AccessViolationException' occurred in msvcm80d.dll Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Breaking in the debugger shows that the exception is occurring in the stack trace from the vector's destructor code, with the last source code trace being line 45 of xmtx.c in an _Mtxlock routine. Tracing the bug shows that the finalizer has executed afte ...Show All
.NET Development Get the Disk drive information in vb.net
I want to know the free space, used space in the particular drive of my hard disk by vb.net program. so can anyone help me in this issue sure. in .NET 2.0 there is a DriveInfo class in the System.IO namespace For Each curDrive as DriveInfo in My.Computer.FileSystem.Drives If curDrive.DriveType = DriveType.Fixed Then dim theFreeSpace as long = curDrive.AvailableFreeSpace MessageBox.Show(theFreeSpace.ToString()) End if Next You can of course get the name of the drive using the name property to check to see if it is the drive you are after does this help ...Show All
Visual Studio Tools for Office impossible to install VSTO
i try to install VSTO 2005 (8.0), but get the message installed Office 2003 SP1 is necessary. my system is windows installer 3.1 (kb893830) .net framework 1.1 .net framework 1.1 german language pack .net framework 1.1 hotfix (kb886903) .net framework 2.0 .net framework 2.0 language pack DEU Office Access 2003 Office Access SP 2: MAINSP2ff Office Basic Edition 2003 Service Pack 2 for Office 2003: MAINSP2ff Visual Studio 2005 Tools for Office Runtime Visual Studio 2005 Tools for Office Runtime Language Pack on a pc with WINDOWS XP SP2 i deinstalled office 2007 i tried all variations (office only with SP1 etc.) , but allways the message: office 2003 sp1 is necessary. what shall i do has anybody an idea i'm very desperate! ...Show All
Software Development for Windows Vista Multi-step workflow with WebserviceInputActivity failed
Is there any sample available where WebserviceInputActivity is not the first activity in the workflow. With the simple 2-step workflow WebserviceInputActivity/WebserviceOutputActivity there is no problem. Even though I've added the SQLPersistenceService to a 3-step workflow (CodeActivity / WebserviceInputActivity / WebserviceOutputActivity): the instance failed at the following statements: Dim ws As localhost.WSTestWorkflow_WebService ws = New localhost.WSTestWorkflow_WebService ws.CookieContainer = New CookieContainer() ws.CookieContainer.Add(New Cookie("WF_WorkflowInstanceId", _ Session("workflowInstanceId").ToString, "/", "localhost:1423")) ==> res ...Show All
Visual Studio Express Editions Read a "word" from a line of text
How can I read a textline and pick up a word that is being placed between parentheses So far, I am able to read the line character by character until I reach the 1st parenthesis "(" but I am having difficulty extracting or assigning to a variable all following characters until I reach the 2nd parenthesis ")". Here's one way Dim textLine As String textLine = Console.ReadLine() Dim index As Integer = 0 Dim leftIndex As Integer Dim rightIndex As Integer While (index < textLine.Length) ' find first left parentheses from index onwards leftIndex = textLine.IndexOf( "(" , index) If leftIndex < 0 Then ' no mo ...Show All
SQL Server How to Email to Microsoft?
I find a bug in Reporting Services ,How to Email to Microsoft http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=604575&SiteID=1&mode=1 To submit bugs, you can contact Microsoft Connect, at https://connect.microsoft.com/SQLServer . ...Show All
Visual Studio Express Editions about array?
hi there i have a problem regarding array....here's the situition i'm supposing to count a number of area... so i used select command count to count... i want is to compute all the number of area and put the result in textbox...(each result has seperate textbox) txtbox1, txtbox2 and txtbox3... in my code below the dataset overwrite the result instead of to retaining and print the result of area(1) and area(2)... dim conn as new oledb.oledbconnecion("connectionstring") dim area() as string = {"area1","area2","area3"} dim i as integer for i=0 to 2 dim sqlcom as new oledb.oledbcommand("select count(*) from table where area ' " & area(i) " ' ", connectionstring) dim ds as new dataset() 'whe ...Show All
.NET Development Why System.Reflection.FieldInfo.SetValue() works for "Class" but not "Structure"?
Hi, I wants to use System.Reflection.FieldInfo.SetValue() to set the value of a "Field" of in a "Structure", I fails. Following is the code I modify from the Example of System.Reflection.FieldInfo.SetValue() from MSDN (The underlined word is what I have changed). My question is how set the value of a "Field" of a "Structure" by giving the name of the "Field" in a string variable Imports System Imports System.Reflection Imports System.Globalization Public Structure Example Private myString As String Public Sub New ( pValue as string ) myString = pValue End Sub ReadOnly Property StringProperty() As String Get Return myString End Get End Prop ...Show All
SQL Server Execute Package Task: setting child variables
Hi, Let's say I have a package taking as parameter "InvoiceID". I want to execute this package as a child in another package. The parent package gets the list of invoices to produce and calls the child package for each entry of the list. How do I pass the InvoiceID to the child I know I can use the parent's variables from the child but I don't want the child package to be dependant on the parent package. For example, I might want to execute the "child" package as a stand-alone in development (providing it with a predefined InvoiceID). I might also want to call the same child package from another parent package with other variable names. What I would like to do is "push" the value instead of "pulli ...Show All
Visual Studio Team System How does everyone else do it ?
We've just starting looking at Team System, and really want to use it to manage work items and their progress. Basically, we have 3 types of work to manage; 1. We have a software product that we sell and maintain, a keep a register of bugs, enhancement request etc. Periodically we will pick out some from the list and develop then release. 2. We get asked for Large pieces of bespoke development that require full spec's and multiple developers. This needs to be broken down into components. 3. We get 'Issues Lists' from clients when implementing with a mixture of bugs and requests. The problem I have in managing all of the above is that we have various methods of receiving work / bug / request lists, from Excel to Word to faxes to ...Show All
Visual Studio Express Editions free for using?
The visual express software are free for download and implementing applications. Can the application or web application built be able to run in runtime Is it free from implementation of the application to usage of the application Yes, what you create with the express editions are yours and you can freely install it to use in real live applications. There are no limitation on what you do with your creations. You can even package the applications you make and sell it as a commercial product. ...Show All
.NET Development Configure what ports the .NET component uses?
I am trying to run an application (Smartermail, a mail server built on the .NET framework), which uses a .NET component to manage its TCP connections. The application does not specify a local port, so apparently the component chooses one it considers open, from the range of 1024 to 5000 I think. Is there any way, as an administrator of the machine, I can predict, constrain, or influence what port will be chosen For example, how does the component decide a port is open Can I configure the machine to declare all but a few ports closed, so the component will always choose the ones I want it to use Can the component itself be configured at the machine level Is there some other utility in Windows 2003 server, the platform in questi ...Show All
SQL Server Method of EnumJob()
I use the method of EnumJob() in order to create an DataGridView in Visual Studio to put in it all the jobs of a server with three of their propertes! So I use three columns!In first Column I put the "Name",in the second the "Status" and in the third the "Last Execution". I found from the "SQL Server Books Online" that their DataPropertyNames are Name,CurrentRunStatus and LAstRunDate. I used them and only the DataPropertyName : "Name" works!!!!! What am I doing Wrong I would appreciate if somebody could help me or give me an idea Seems that this is not implemeted in the SMO classes, the appropate lines shows: public DateTime Last ...Show All
