Cereal123's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DEVICE_OMSETRENDERTARGETS_HAZARD & DEVICE_PSSETSHADERRESOURCES_HAZARD
Hi, I receive the following warnings: D3D10: WARNING: ID3D10Device::OMSetRenderTargets: Resource being set to OM RenderTarget slot 0 is still bound on input! [ STATE_SETTING WARNING #9: DEVICE_OMSETRENDERTARGETS_HAZARD ] D3D10: WARNING: ID3D10Device::OMSetRenderTargets: Forcing PS shader resource slot 0 to NULL. [ STATE_SETTING WARNING #7: DEVICE_PSSETSHADERRESOURCES_HAZARD ] I have a rough idea what this tells me, but I would appreciate some explanation here. - Wolf First, note that this is a warning. It is possible that you need not fix anything, especially if the warning originates from an invocation to OMSetRenderTargets (ie. the RenderTargets are still what the application expects) ...Show All
Windows Forms Trying to deploy the program
I am trying to publish my program using Visual Studio .NET 2005 by going through Build -> Publish "Project".. When I run my project either by building the project and go to bin/Release folder and run the exe file, or just by pressing "F5", it works fine. But if I publish the project and install it on a system, it won't find the access to database file. So I tried to uninstall the program by going to Add/Remove in control panel. But when I try to remove it from the system, it gives me an error messages saying "Uninstall of application did not succeed. See details ...." the detailed message says... ERROR SUMMARY Below is a summary of the errors, details of these errors are liste ...Show All
.NET Development CSV Data
Hallo, I want to create a comma seperated file of columns with specific length. How can i specify the length of each column and may be also define the type of the data. regards swingme This is just an example of how u could do it. This example is using a pure text writer, so all data (like numbers) can be readed when u open the datafile in notepad or something. Best practice is using the binary writer i think, but then u need to convert the data into bytes first As u will see this example opens the file, writes the number of record, writes the colum name, numeric value of the column type (in this case 1 = 32bit integer), writes the second column name, writes the column type, writes the string size ( ...Show All
.NET Development XML Parsing
Hello, I need a fast xml parser, that saves the data in memory after the first read, and lets read and update the data. the operation of searching a child element by name is a very common operation and I need it to be fast (in microsoft DOM implementation this operation is called SelectSingleNode(NodeName)) which parser should I use I want it to be fast, I don't need any more features (like schema validation or XSL transforamation). I also want my parser to use small amount of memory. thanks. ...Show All
SQL Server Publishing a report to the web error
Does anyone know how to fix this error -I've tried allowing anonymous access to the site. -I've added it to my trusted sites. Error: The request failed with HTTP status 401: Unauthorized. Thanks. Hi Mike- This sort of error can be due to several things. I would start by checking your IIS settings on your Reports and ReportServer virtual directories. More information on setting virtual directory security settings can be found here: http://msdn2.microsoft.com/en-us/library/zwk103ab.aspx -JonHP ...Show All
Software Development for Windows Vista Problem displaying state machine wf in the workflow monitor
The Activity layout is a mess when diplaying a state machine workflows in the workflow monitor sample (sdk). Is there a solution I dont use xoml, and therefore get an error when tryong "this.xoml". What should be the value of this.xoml Thanks ...Show All
Internet Explorer Development IE7 Script Error
Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control panel I don't have any problems but when I go to any other user account and do this, no matter if they are computer admins or not, they encounter an IE script error with no description and this popup does not go away whether you click yes or no. It's not just the User Accounts menu in the control panel, it's other applications too. Is there a fix for this problem or any ideas I have already disabled script debugging in IE. I also disable the alerts for script errors in IE too. Reinstalling the AT&T Yahoo Browser did not work for me. I had a long go-round with AT&T support on this in November, and ended up having ...Show All
Smart Device Development Installation Error
I am trying to install CF 2.0 SP2 on my HP iPAQ 2210. When it reaches the end of the installation process on my device, I get an error messages saying "Installation error. Stop all applications and processes, maximize available storage space, and run installation again. Support info: 3." I don't have anything running, and I have adjusted my memory allocation so that I had about 20mb free for storage (I even tried adjusting so I had just as much free for programs). I've uninstalled, did a soft-reset, and tried again. I've removed unused programs, basically I have done everything short of resetting my device to it's initial state. When I had v1.1 on my device, any programs that used it would not work at all (they wouldn't even load ...Show All
Visual Basic certificate problem
I have a problem when using a certificate to get a list of directories from a FTP server. I am looking at the trace file and for some reason, a wrong certificate is being passed, I get a "The remote server returned an error: (530) Not logged in." error at the "Dim Response As FtpWebResponse = CType(request.GetResponse, FtpWebResponse) " line. Here is my code: Public Shared Function ListFilesOnServerSsl(ByVal serverUri As Uri) As String Dim username As String = "username" Dim password As String = "password" Dim retStr As String = "" Dim strFile As String = "certificate.pfx" Dim strPwd As String = "pwd" Dim certCount As Int32 ' The server ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does XNA Game Studio Express Work On MSVS2005 Professional?
Hello, Does XNA Game Studio Express Work On MSVS2005 Professional Or Need C# Express The game studio Express system will only work with C# Express. So yes you need VS C# Express. Game Studio Express Homepage http://msdn.microsoft.com/directx/xna/gse/ XNA FAQ http://msdn.microsoft.com/directx/xna/faq/ ...Show All
Visual FoxPro Problems with MS FaxServer COM object...
Hi! Hopefully somebody has seen this and knows the answer. Using any version of VFP from 6 to 9, using the FaxServer COM object provided by Windows to send out faxes. A simple code snippet is as follows: lo_f = createobject("faxserver.faxserver") lo_f.connect("") lo_d = lo_f.createdocument("test.pdf") lo_d.faxnumber = "9999999999" lo_d.send All PCs are either running W2K or XP, have FAXCOM.DLL present, and the MS Shared Fax Printer Driver installed. This code works on some of the XP PCs, but not all, and on none of the W2K PCs. The FaxServer object can be created on all PCs. However, on the PCs on which the code fails, when the Connect command is issued, I receive an OLE Error 0x80004005 ...Show All
Windows Search Technologies Windows desktop search stopped working after Office 2007
After I installed office 2007 into XP Pro 64bit, I can no longer use windows desktop search. When I open the search function I get a blank window. If I use the smal Icon on the task bar a dialog says "This app...because MAPI32.dll was not found. Re-installing..." Re-installing what app Office 2007 It may be tested but It doesn't search on my machine. I can search in outlook but it will not search my local drives. I can't even see the window on the left that contains the search criteria. Should I replace the mapi32 I remember when I installed a beta of office and then uninsstalled it I had a problem with the same dll Any suggestions ...Show All
Visual Studio 2008 (Pre-release) internal members on dlinq classes
I am getting a run-time error if I makr any members on the dlinq generated classes as internal (I don't mean the generated members, i mean custom members on the other side of the partial class). I've taken quite a long look through the dlinq source using reflector (love reflector :) and it appears that it is a bug in the dlinq framework itself - anyone else having the same problem That actual exception that is thrown (well the actual error is a TargetInvocationException - but thats no good to anyone :) is an ArgumentNullException, details as follows: Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: method Source Error: Line 24: public System.Data.DLinq.Table& ...Show All
Windows Live Developer Forums No add-ins on gallery.live.com
I know this question has been asked before, but why o why is it still not possible to upload Live Messenger add-ins to the Live gallery I have posted feedback on the gallery a while ago, but nothing changed so far. I have created my own add-in and really would like to have some feedback. <shamelessPlugging> http://www.firstfloorsoftware.com/Products/LiveAddin/Default.aspx </<shamelessPlugging> True, but I still think it should be possible to publish your add-ins on the live gallery. Even better, just because the community is small it should be possible, to let the community grow! I am always willing to help and I know there are others too, but there are hardly any questions ...Show All
Visual C# "Remove" Command window from application
I have made my first real application in C#. But when I run my app, the form appears, but so does a command window (the black dos-window). How do I get rid of that My code structure : namespace space{ class myClass{ Form myForm; Textbox box; public myClass(){ myForm = new Form(); //Adds components like textboxes, labels +++ box = new TextBox(); myForm.Controls.Add(box); } //Methods and so on public static void Main(){ myClass x = new myClass(); Application.Run(x.myForm); } } } I have seen in tutorials and so that it is common to write like this: Application.Run(new myClass()); But when I write this, I only get a blanc form. Can anyone help me with this Thank you! Henn ...Show All
