rsws's Q&A profile
.NET Development minOccurs question
My question is: how can I set up XMLSchemaParticle Members values, e.g. minOccurs in the VS2005 project manager/browser. I set up a new schema file, opened it up and added new elements with the ToolBox. I cannot figure out if it is possible to set up particles values at design time other than doing it with a Windows Notepad. Not only the values themselves are not reachable. I cannot get the particle name in the element line. Also I want to know if it is doable in XML Notepad 2006. So far I could not figure out how to do it. Here is an example of a line I am talking about. <xs:element name="CompanyID" type="xs:long" minOccurs ="0" /> Thanks. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. d3dx10d.dll
I was using the Direct3d9 samples from DirectX and while running i hadn't got any problems, but when i was copying the code from the sample into my own empty project a message occured that i haven't got the d3dx10d.dll. If your code linked with the DX10 libs, you might be required to run with DX10 dlls. They are in the redistribute package. You can extract them from cab files manaully by using WinRar or similar tools. May this helps. ...Show All
Visual Studio Bullet points for building a guidance automation package from scratch.
After creating my first test guidance package using the Guidance Automation Toolkit (GAT), I've cobbled together some bullet point steps on how to do it here . This is really rough at the moment, but I'll be adding to it as my knowledge grows. It took a while because there's nothing similar to it, like a walkthrough, in the documentation and I didn't want to use the meta guidance package because I wanted to understand how it all hung together first. Sanjukta, I'm not aware that there's any intellisense implemented for the GAT above what you get from the standard xml namespace functionality. All the GAT development I've done so far has been raw editing of xml files. I guess someday there'll be some too ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Smooth movement
I did a "game" where a ball bounce around the screen. It's running at 60 fps but it isn't a smooth movement. It's an issue from XNA Framework Beta I am working with SpriteBatch class... You do (must ) change fChange from {0, 0} at some point right If you didn't you'd most likely perceive no change what so ever. ...Show All
Visual C++ New Thread can't update edit box
I have a simple MFC dialog app with one dialog. I have 3 buttons and 3 edit boxes. When I click each button I start a new thread which increments one of 3 global variables - 1 counter for each edit box. I want to see the counters being incremented in the edit boxed but I have a problem. In the 'thread' function I cannot seem to get SetDlgItemInt to work: like so: UINT Thread1Proc( LPVOID Param ) { while (1) { count ++; SetDlgItemInt(IDC_EDIT1,count); } } The 'SetDlgItemInt(IDC_EDIT1,count);' works elsewhere but not in the code for the new Thread. I keep getting compile errors like error C2660: 'SetDlgItemInt' : function does not take 2 arguments etc... Why is this and how can this be resol ...Show All
SQL Server Changing "Connection String" in SSIS package ???
Hi! I create a SSIS Package for ETL on my own machine. During development database was also on my machine. For access to this database an OLE DB connection was defined within a package in BI Development Studio. Everything worked well both in debug mode and testing package itself. Finally I need to load data to a database on a different machine using this package. I used several scenaries: 1) simply copied the package-file to estination machine, open it for execution, in section "Connection Managers" I edited connection string manually - changed server name and Initial Catalog. And try to execute. 2) on the destination machine I manually created an OLE DB connection (using Microsoft Data Link) to a different datab ...Show All
Visual Studio Team System Query check-ins by work item
If at checkin a work item is associated to the changeset, afterwards how can I query the checkin (changeset) by the work item (aiming to use this to find the code to review for a work item - task). Thanks Dani Daniel, the changesets for a given workitem will be present in Links property of WorkItem object. The links collection will have links of type ExternalLink to changesets. From UI it is easy to see changesets by clicking on Links tab. If you want to programmatically get the changesets, see the code at: http://blogs.msdn.com/jmanning/archive/2005/09/21/472524.aspx ...Show All
Commerce Server Feedback: reorder CatalogCreate.sql
Just a bit of feedback here. When i execute \Program Files\Microsoft Commerce Server 2007\CatalogCreate.sql it throws a bunch of warnings along the lines of "Cannot add rows to sysdepends for the current object becuase it depends on the missing object 'dbo.ctlg_GrantPermissionIfExists'. The object will still be created." When I check the db after the script has completed, the missing object is there, it just needs to be moved to an early position in the script so these warnings aren't thrown. Michael. Max, When i execute that script on a blank database it runs successfully but i get all of these messages: Cannot add rows to sysdepends for the current object because it depends on the missing obje ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Runtime assembly info with GetRuntimeReader()
Hey everyone, I'm having a bit of a problem and was hoping someone might have some insight. After writing my own content processor, I've noticed something. The ContentTypeWriter, as has been pointed out before, has to overload the GetRuntimeReader method to return, to my knowledge, the full assembly path to the Reader as it will be called at runtime. So for instance, if I want to use my processor or importer with a project, I have to go back and edit the ContentTypeWriter's GetRuntimeReader method to look for an assembly in that new project. Here's some pseudocode- Project A - Processor RuntimeTypeWriter (...) string GetRuntimeReader() { return "(ReaderNamespace)(ReaderName), ProjectB ,..."; } Project ...Show All
SQL Server The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro) after SP1
Having installed SP1, my SSIS packages using the OLE-DB Provider for Visual Foxpro no longer work. Using the latest version obtained from here: http://www.microsoft.com/downloads/details.aspx FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en When attempting to create one SSIS from scratch, the message thrown is: "The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro)." The radio button option of "Copy data from one or more tables or views" and then selecting the "Next >" throw the error. It has to be the SP1 causing the problem because nothing else changed on the Server and everything was working fine prior to this. Microsoft, any feedback on this ...Show All
SQL Server problem with custom assembly
Hi, I have problem with my my custom assembly: when i display the result localy in my report it's work very well but in web access with my Url http://localhost/Reports/Pages/Report.aspx ItemPath=%2fmydemo%2fReport2 i got a error message:#ERROR. As you can see my function return just string readed in text file. using System.Collections.Generic; using System.Text; using System.Security.Permissions; using System.IO; namespace SimpleDLL { public class SimpleClass { public SimpleClass() { } public static string returnString(){ FileIOPermission fileReadPerm = new FileIOPermission ( FileIOPermissionAccess .Read, @"C:\TempFold\Sample.txt" ); fileReadPerm ...Show All
Visual C++ Can I turn off the blue dotted "snap to" line when designing a dialog?
How can I turn off the annoying blue dotted line that appears along the outter boundry when designing a dialog It wants to "snap to" the left, right, top, bottom edges of any controls. I find this extremly annoying, but I can't find any way to turn off this behavior. Anybody have any idea ...Show All
SQL Server SQL Server Setup failed to retrieve the SSL Certificate Name
When I try to install SQL 2005 Developer September CTP on Windows XP Professional it returns an error "SQL Server Setup failed to retrieve the SSL Certificate Name" . I was using a certificate from SelfSSL but removed it. Still no luck This appears to be an issue with SQL Reporting Services. If I don't install Reporting Services then I can install SQL 2005. I'm guessing that Reporting Services is now requiring a certificate and doesn't like the SelfSSL certificates Any ideas I am having the same problem with a Windows Server 2003 installation. In the past setups, Reporting Services would just warn you if you did not have an SSL certificate installed to support Reporting Services o ...Show All
Visual Studio Express Editions Help with tables and commands
I have created a sql database in vb2005ee this database allows me to add basic information about a person ( First and Last Name, Address etc…). The Database consist of three(3) tables one (1) lets me enter the persons info the second(2) lets me select the persons race, and the third (3) allows me to select the time of year (summer, winter, etc). I have linked all three(3) tables together so that when I create a user interface I can have all of the info show on one(1) form. I have used the data solutions detail mehod to drag and drop the contains of my person Info table into my form, so that most of my form objects would be created for me. Now I would like to add a table or excel like workspace to my form that will show m ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Docu
hi guys... is there the possibility to get the docu as pdf or html file i want to read the docu at work, but there i dont have installed xna .. or can i open the .hxs file with another tool thx for the tips.. greg ...Show All
