Flopik's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DirectSound capture in MDX2 where is the CaptureBuffer.Read function
(MDX = Managed Direct X) I am trying to convert my MDX1 sound recorder library to MDX2. I am nearly there but for this issue with the CaptureBuffer class. In MDX1 I read from the buffer like so.. l_CaptureData = DirectCast(m_CaptureBuffer.Read(m_CaptureOffset, GetType(Byte), Microsoft.DirectX.DirectSound.LockFlag.None, l_LockSize), Byte()) In MDX2 there doesn't appear to be a way to get at the bytes in the CaptureBuffer class. There is no Read ...Show All
Smart Device Development Can't Deploy to SmartPhone Emulator or Physical Device
My project compiles, the emulator is launched, but I get a dialog box which states: The operation could not be completed. Alternatively, I won't get the dialog box, but I'll get a status message in the IDE which states: Connect to device failed. The log messages (see below) state that all attempts to connect have failed. It indicates that it has attempted to contact the device on IP 169.254.19.106. I'm not surprised that this would fail. I have ...Show All
SQL Server user defined function in a select
Hello, i would like to get the result of a function in a select-statement depending on the result of an other column. I attached a little sample that works on the table syscolumns, so everybody should be able to check by now. The only thing I get is an error function name not recognized create Function fn_test( @N bigint) RETURNS Table AS RETURN ( SELECT @N + id as Result FROM syscolumns ) Sample SELECT: Select typestat, ...Show All
Visual Studio Team System Overriding properties in .vbproj and .csproj with Team Build
I have a situation where I want all my visual studio projects in source control to be set to delay signed so that they have no problems developing with that code - which sets the property in each .vb/.csproj to : <DelaySign>true</DelaySign> However for a formal release build on the build machine, I dont want to delay sign. I guess I could go through the labourious exercise of editing every .vb/.csproj file to add a condition to set t ...Show All
Visual C++ Code running help
I am using visual c++ 6 enterprise edition. When I try to execute small uncomplicated codes, VC stops the program suddenly and give me the following message: Loaded 'ntdll.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found. The thread 0xA14 has exited with code 0 (0x0). The program 'C:\Documents and Settings\PREMS\Desktop\C++\Debug\try.exe' has exited with code 0 (0x ...Show All
SQL Server Maintenance Cleanup task not functioning properly???
Using SQL Server 2005 Management Studio and backing up databases. When I add the task Maintenance Cleanup to remove database backups older then 1 day the task fails What part of this TSQL code does SQL Server 2005 Management Studio not understand EXECUTE master.dbo.xp_delete_file 0,N'\\pdxsql03\SQL Backup\POSSQL_Server',N'.bak',N'05/15/2006 08:09:37' The database file backup extension is .bak and the file is older than one day which was specif ...Show All
Architecture Safely access file from a Web server
Hello, I work on a project where clients access to a database and a files storage system (NTFS). On a LAN, all works fine but we would like to allow user to access those data from Internet. My question is: how our Web server can safely access to the file storage Is it acceptable to access directly to the files Must we develop a kind of application server In this case, which kind of technology could be used Lastly, if my web serve ...Show All
SQL Server Changing login permissions
I am trying to set up a secure system and would like some advice on how to do it as it is a bit tricky. The underlying security is Windows Authentication but I need to set various permission levels in the application. What I want to do is to allow users read-only access to a users table. Once they are validated and their permission level is determined, then I want them to be assigned to the role that is set for their permission level. I hav ...Show All
SQL Server HELP!!!! - Report parameter "Read Only"
I'm stuck with a report not being able to use the URL parameter. I get the error: The report parameter is read-only and cannot be modified. I do have a prompting text for the report, and I've checked the XML and there are <PROMPT></PROMPT> tags! Most likely, you've modified the parameter definition in Report Manager to make it read-only. If you are using SQL 2005, this can happen when you m ...Show All
Visual Basic Please help with Dialog/PopUp
Hi, I am having a lot of trouble trying to figure these things out. If anyone can please help me out that would be wonderful. Here is what I am doing, I am prompting the user to enter some values into the dialog/popup window by selecting a few checkboxes. What I want to do is be able to save these values to like a variable of some sort, so that when the dialog/popup window is open again [by clicking the btnUDC1 button], the same values are open ...Show All
Visual C# The sbyte type
Hi, In Learning C# by Jesse Liberty, the author states that the sbyte type can store numbers from -128 to 127. I was wondering whether or not the last bit (8th) is used to store the number's sign. If it does, then how can the remaining 7 bits store a number as large as 128. The largest number that 7 bits can store is 127. So shouldn't the range for the sbyte type be -127 to 127 instead of -128 to 127 as the author has specified. Please clarif ...Show All
SQL Server Merge disparate queries into raw file
I have a requirement to create a file containing security Index and Index Component data (think Dow Jones Industrial Average and the 30 securities that make up the index). The format of the file is for the first index to be listed first (with some pricing data) and then followed by each of its components on a separate line. After that comes the second index and then its components. So, given: index IN1 with COM1, COM2 index IN2 ...Show All
Visual Studio Can't build .NET solution
I've created a .NET application that displays an existing Crystal Report, which runs fine on my machine. Following the directions from the Cyrstal Reports 10 and .NET document from Business Objects, I'm not able to build the application. As described in the document, I added a setup project to the solution, with Merge Module CrystalReports10_NET_EmbeddedReporting.msm. Added the keycode. Added the Primary output from Expor ...Show All
SQL Server Checking that an object is not empty
Hi, Does anyone know the correct syntax to check the contents of an object variable. I want to do this as part of a constraint, TIA R You could read the object variable inside a script task, and check for it equalling Nothing . Then set a boolean variable indicating whether it is populated or not and put an expression on the precedence constraint that checks the boolean variable to see whether it should execute or not. -Jami ...Show All
Windows Search Technologies Cannot uninstall WDS v2.6.5 (5378) under XP SP2
Howdy, I am using XP SP2 on a IBM T40 laptop, accessing through two accounts; one with admin privilege and the other under Power User. For daily usuage, I used the latter. The problem is I can't uninstall WDS v02.06.5000.5378. It is because: a) WDS isn't listed in Add/Remove Programs b) the Uninstaller package is not listed in %systemroot%\$NtUninstallkb911993-V2$\spuninst and lastly c) The "Windows Install Clean Up" doe ...Show All
