Srilowha's Q&A profile
SQL Server Problem running SQL CLR MSDN example
Hello, Using VS 2005 SP1 beta and SQL Server 2005. I am trying to learn how SQL CLR works by using this example: http://msdn2.microsoft.com/en-us/library/5czye81z.aspx When I press F5, I get this error: A .NET Framework error occurred during execution of user defined routine or aggregate 'InsertCurrency': System.Data.SqlClient.SqlException: Must declare the scalar variable "@CurrencyCode". Do I need to declare @CurrencyCode in the Test.sql script Thanks for any suggestions, Tom Hello NNTP User, Thanks for taking the time to reply to this question. I did try your suggestion. That did help. The project does not hang when I try and run it now, but there still ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Model is drawed incorrectly
Hello, I have tried to export to both .fbx and .x format, but model is drawed incorrectly. What could be the problem http://img204.imageshack.us/img204/5971/screencc1.jpg ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Nice Work Guys!
Just compiled my game to the XBox and it ran perfectly after a few minor changes. Cons: - Having to create a seperate 360 project (should just be able to select XBox 360 or PC from the dropdown list next to the Debug dropdown list) - Not being able to share the game yet to people without a PC - Not being able to share the game yet to people without providing the source code (not many people want to distribute the source, which makes the Creators Club very pricey for what you get) Questions: - Is there anyway of displaying a picture next to the game (i.e. when selecting the game in the Club menu before launching it) - Any way to control the Xbox Music via a XNA game... i.e. changing songs, or getting song information - Any way to get X ...Show All
Audio and Video Development Questions about Media Source
How does Media Source get Presentation Descriptor or meta data Media Source in MF sounds to me like a combination of file/network reader and de-multiplexer in DirectShow. Is it sure In playing premium content, my understanding is that Media Source needs to expose the IMFInputTrust interface, from which the topology loader can obtain an input trust authority and then from the ITA to a decryptor. How does Media Source determine what decryptor should be used ... The answer to your question about what decryptor to provide is similar -- since the Media Source knows what data it's going to be sourcing, it presumably also knows about how it's encrypted. This should be enough info to come up with a decryptor. ...Show All
Microsoft ISV Community Center Forums sending emails from MS Word with variable subject line
Hi, I've searched these forums but have not been able to find exactly what I need. I know how to send emails with VBA in Word, but the only problem I have is that as far as i'm aware the subject line is always fixed in the code ( .Subject = "New subject" ) What i'm trying to do, is send reports i have reviewed to an email address by clicking a button in the toolbar. The email address is always the same but the subject line shows the customer's name and his account number (so that's different all the time) Is there any way I can get the VBA code to copy the first line of the report (which has the customer's account number and name) and use that in the subject ...Show All
Visual Studio Team System Too many errors when FXCop uses my custom rules
Hi, based on the example that David M. Kean gave on his blog ( http://blogs.msdn.com/fxcop/archive/2006/04/07/570553.aspx ), i tried to create a custom rule which verify if our naming conventions are respected for local variables. My rule is running fine in FXCop but it gave me too many errors with ids like "CS$0$0001","CS$5$0000","CS$0$0002",... How can I filter those errors I suppose that I forgot a "if" somewhere in my check() method but really don't know ... Anyone has solution We are using FXCop 1.35. Here is my code : public override ProblemCollection Check( Member m) { Regex lRegLocals = new Regex ( @"^(l[A-Z][a-zA-Z]+)$" ); Method method = ...Show All
SQL Server Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance
No wonder Microsoft is giving it away for free. It’s not worth anything. I am very disappointed in this version of SQL server. I decided to start learning VB so I downloaded and installed VB 2005 express edition and SQL 2005 express. I tried to build a personal website using the starter kit. I kept getting the following error message, for which I have seen numerous postings on this forum. “Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.” I went out and bought the Standard version of VS 2005 thinking there may be a feature that the free express version is lacking. I uninstalled the express version, cleaned the registry, deleted all the fo ...Show All
Visual Studio Team System Failed to detach database
Doing right as said in the Readme section when installing CTP6, still get that error message: "Failed to detach database" Any ideas Thanks so much... Hi Gert ! First all thanks for reply and support quick this great product. I like the way it makes the job. I use it as a regular user with restrictions on a Windows 2000 Server evironment. Lets say in domain mode. All users here have restricted accounts against domains computer, like developers and me. I’m DBA but i have my local restricted account in the domain. Before installing CTP6 i have to upgrade the version of SQL Server 2005, from express to developer edition. I have intalling it for support ...Show All
Visual C# How to run managed multiple processess every one minute
Hi Im running five processess (.exe) to do different tasks every one minute using a timer simultaneously. The problem when five processes are running after a minute they launch again, what I want is when each process is still running it must not lanch its associated process until it finishes then launch e.g. 1 minute processes 1,2,3,4,5 starts and then 2,3,4,5 are still running The next minute it scans the running proccesses and starts only 1 Your help will be highly appreciated When you start a process you hold the Process object so you can use it later to determ if it is still running with the Process.HasExited property. Use the Process.WaitForExit method to wait untill the process exited. A little example: private ...Show All
Visual C++ Change DLL Search Order Dynamically?
Is there a way I can alter the dll search order dynamically (launching executable process) * SetDllDirectory( ) only works with LoadLibrary/LoadLibraryEx * CreateProcess( ) doesn't seem to have any flags/parameters to toy with. * LoadLibrary( )/LoadLibraryEx( ) don't load executable bits for executing (only for resource manipulation) * Changing values in the registry upon load is unacceptable and would likely break anyway. einaros wrote: Rafael Rivera wrote: Yea, I went down the Detours path but couldn't find a way to avoid having to write a copy of the original executable to disk so I abandoned it. If I could use Detours and pipe the output to a portion of memory and execute it, then ...Show All
Internet Explorer Development IE7 Crashes when closing streaming video window
I am running Windows XP Home and Windows XP Pro at home. All boxes are up-to-date with Microsoft patches. My boxes were very stable until I installed IE7. Now when I am watching streaming video from a news source or a trailer from a movie source and I finish and close the streaming window, I get the Microsoft error window that wants to send the error data to Microsoft. If I send or don't send the data, all IE7 windows are closed. I have backed out IE7 on one of my boxes (by using Microsoft Restore Points) and I get my stable IE6 environment. I want to upgrade to IE7, but I can't have the browser die so easily. I have a pretty standard load of software on the boxes. I do have Microsoft OneCare Live installed also. Can anyone help me Tom ...Show All
Visual C++ Build error converting C++ 2003 to 2005
I have an unmanaged C++ project in VS 2003. I converted it to VS 2005 without any problem. However, when I build it in 2005 I quickly get a message 'Build failed' in the bottom left hand corner. But the error list is empty! Can anyone help Thanks That's the problem. There are no errors, warnings or messages. Unless I'm misunderstanding what you mean, I'm looking at the grid at the bottom of the sreen headed 'Error list'. Thanks ...Show All
Visual Studio Express Editions Enabling "Windows Application" in Visual Studio C++ Express Edion on Vista
Hi, I am running Vista Business. I recently installed Visual Studio C++ Express Edition and following the instructions at: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ I installed the psdk and attempted to configure Visual Studio to create windows applications. I followed all the steps but the radio button for Windows Application is still disabled. I have tried reinstalling both Visual Studio and the platform sdk. I also have downloaded the Visual Studio update from Windows update. Nothing seems to help. If i delete the file AppSettings.htm in “%ProgramFiles%\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033\" which is what I am supposed to modify Visual Studio will not work and complain ...Show All
Visual C++ Why is base class destructor unresolved in Release mode (VS2005)
Abstract base class, Foo, exists in library F Derived class (from Foo), Bar, exists in library B Module M uses Bar (but never Foo directly). Linking M to B satisfies all external references in Debug mode. In Release mode, however, linking of M complains that the reference to Foo’s destructor is unresolved. This seems inconvenient. It is caused by optimization because if you disable the optimization on M, there is no link problem. Can this behavior be justified Does anyone understand what sort of optimization is happening that causes this behavior Is there a way around this other than either disabling optimization or linking M to F (also setting M’s C++ Properties/Optimization/Whole Program Optimizat ...Show All
Visual Studio Refreshing problem in Crystal Report Viewer Control 9 in VC++ 6
Hello , I am using VC++ 6 with crystal reports 9 . I have a problem with the report viewer control. The following code couldn't automatically refresh the data in reports. It always shows the data which I had given at the design time. But when I manually click the refresh button in reports , it shows the updated data. Here is my code :- ...................................................................................................... CCrystalReportViewer9 m_viewer; m_viewer.SetReportSource(m_Report); SendMessage(WM_SYSCOMMAND, SC_MAXIMIZE, NULL); CRect rect; this->GetClientRect(&rect); int nWidth=rect.right-rect.left; int nHeight=rect.bottom-rect.top; m_viewer.SetWindowPos(&wndTopMos ...Show All
