James S. Jan's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. .X features supported in XNA?
Hi, I'm currently working on a .x exporter for XSI with shader support. However I have some questions regarding exactly what features are supported in XNA. Setting the technique in the .x file does not seem to work: EffectParamDWord { "technique"; 3; } XNA always renders using the first technique in the shader, unless you manually set it with Effect.CurrentTechnique :( Also what part and version of DXSAS is supported It would be nice if semantics used in e.g. FxComposer just worked with XNA, e.g things like: float4x4 WorldIT : WorldInverseTranspose; float4x4 WorldViewProj : WorldViewProjection; float4x4 World : World ; float4x4 ViewI : ViewInverse ; Or do you have to manually parse all effect param ...Show All
SQL Server Creating Pull Subscription using T-SQL
Hello, i am trying to create a pull subscription to my publication using T-SQL. The pull subcription is created successfully but the problem is that data is not merged correctly. I mean when i run the agent ( despite of having data in subscription / publication ) the data is not merged and i get "No Data Needed To Be Merged" message. i run following sp in this sequence: At Subscrber: 1 - sp_addmergepullsubscription 2 - sp_addmergepullsubscription_agent At Publisher: 1 - sp_addmergesubscription Again at subscriber : Transaction for adding merge agent job. Regards, If you're positive you have no filtering, and you're positive you're making changes to the correct tables, then it's not clear to me what th ...Show All
Visual Basic [OTP]Visual Basic 6.0 and MS Access linking pictures!
Hey all, im a student in a UK college, using VB for my coursework in computing. Basically, i can't get a hold of the code for something which i think is important in my project. First, let me put it into context, my project consists of a program for use in an opticians, so "stock control" is one of the forms. Thus, i have a database of the available spectacles, linked to the form via an ADO control. My intention was to place images in the database, then have a set space on the form in which the image will change according to the record. E.g. if i move "next, next, last" the image would correspond to the last set of spectacles. I tried a basic hyperlink from the directory in the database (which is MS access btw) but that didn't seem t ...Show All
.NET Development NetworkCredentials need local login access?
There are several apps across our company (some are WinForms, some are WebForms, and some are WebServices) that need to access a WebService that is really a SQL Server 2005 SOAP endpoint. A domain service account was created for it so we wouldn't have to enable access for every single user, which would basically be impossible given the number of users this will have. Initially, this service user was setup as being allowed to logon to the server that SQL Server 2005 was running on. However, when we tried to access it, nothing worked (401 unauthorized). After monkeying around for a few days, in order to make it work we finally had to enable this service account logon priviledges to the computer calling the webservice. It turned out we didn't ...Show All
SQL Server call a sap remote-function-module from t-sql Stored-Proedure
Hello, is it possible to call an sap remote-function-module directly from a stored-procedure in SQL-Server-2005 If yes, where can I find an example Thanks Gerd Hi, Never touched SAP, but can you run the remote function module from a DOS prompt if so, could you use xp_cmdshell from the extended stored procedures Just an idea :) Cheers, Menthos ...Show All
SQL Server Send email message - OnError
I used onError event to send email in case ssis pckage fails but it send multiple email with errordescription. for ex below are the errordescription of four diferent emails i received. Thread "WorkThread0" has exited with error code 0xC0047039. An error occurred with the following error message: "The connection "{01AF859A-CF97-4F6C-9C78-1AA4B1C9C27B}" is not found. This error is thrown by Connections collection when the specific connection element is not found.". Thread "SourceThread0" has exited with error code 0xC0047038. The PrimeOutput method on component "Flat File Source - Read from source file" (1) returned error code 0xC0202092. The component returned a failure cod ...Show All
.NET Development Serialisation fails when using generic collections. Feedback 119402.
There appears to be a bug in VS2005 which prevents generic collections from being serialised properly. Specifically, whenever any trivial change is made to the source code, causing the version revision to be changed, a mismatch occurs between the program and the serialised data causing a FileLoadException to be thrown. This only occurs if a) the serialisable object contains a generic (template) collection of non-simple types, b) the assembly has a strong name, and c) the assembly version revision number is defaulted. I have a simple test program which demonstrates this. The workaround seems to be to not put generic collections in serialisable classes. This, however, poses a major irritation for us as we are about to go to market with a pro ...Show All
Windows Live Developer Forums map.HideDashboard(); Not working in Firefox?
Hey guys, using this code -- <script> function GetMap() { map = new VEMap('myMap'); map.LoadMap(new VELatLong(-34.595719307708, -58.394629556952), 14 ,'r' ,false); map.HideDashboard(); } </script> -- The map.HideDashboard(); works fine on IE but it dosn't work on FF. The strange part is that if I use the code on the SDK with onclick="HideControl(); Then it works on both, but I want to hide the control "onload" Thanks for your help! It is due to the VE control not currently supporting FF2. If you put the FF2 hack in place it stops the error being thrown and then it works! < html xmlns ="http://www.w3.org/1999/xhtml"> ...Show All
Visual Studio Tools for Office Working with Excel Pivot Tables
Has any body worked with Excel Pivot tables and VSTO Please reply me ASAP. Reza, see Chelvy's original question from July 7: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=537200&SiteID=1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I Too, Have A DX Problem
My Computer keeps telling me that, due to d3dx9d.dll, d3d9d.dll and, d3dref9.dll, which are all Debug Versions, it's slowing down my computer. How can I fix this problem I enjoy playing games at Neopets and some of the games tell me that there are problems with, DirectX 9.0c. Can Somebody Help Me, "PLEASE" These DLLs don't ship with Windows. They can be installed by other software or drivers though (which would be a VERY bad thing - except for the SDK of course). You should find out what's installing them into your system, and ideally have the uninstaller of that program remove them for you. I'm not sure if there's another way to remove them (other than a delete, which is not a proper way)... ...Show All
Software Development for Windows Vista Vista DVD Maker
Having trouble using the DVD maker software, as soon as I select burn get a 'run out of memory' message. Anyone come across this and know how to fix. The machine has 2GB ram and no other applications are running. im afraid these are the incorrect forums to post your technical query. Best place to ask would be the appropriate communities: www.microsoft.com/communities Thanks! ...Show All
Visual Studio Express Editions Visual Basic 2005 Express Edition Data Binding is not updating the database
Hi Microsoft Community, I'm a new visual basic developer and am using the visual basic 2005 express edition with sql server 2005 express edition. I've been going through some lessons and have encountered a situation that I'm hoping someone can identify what the issue is. When creating a form with listbox and textbox components, I first request data from a table called customer. I'm using a table adapter to manage the connection, request and response from my sql server express database called mycompany. Upon the return of the data, my intermediate dataset is populated with the requested data. I'm sure the data has been retrieved because by utiizing the binding navigator component, I can view the data. I have t ...Show All
Software Development for Windows Vista batching : IPendingWork.Commit
MSDN Says : " The workflow runtime engine calls the Commit method when its semantics dictate that the pending work in the work batch should be committed . When it reaches a commit point, the workflow runtime engine calls the Commit method on each IPendingWork object in its work batch; the workflow runtime engine passes the Commit method the collection of items associated with that IPendingWork object. Either all of the work in a batch succeeds or none of it succeeds. You should throw an exception if any of the work items passed to the Commit method in your implementation cannot be committed. Depending on your implementation, you may want to perform some rollback in your Commit method if it cannot commit its work items. If th ...Show All
Community Chat Help please
How can i create any password to my USB (flash drive) without using any software! is it possible thanks jovert wrote: How can i create any password to my USB (flash drive) without using any software! is it possible thanks ...Show All
Windows Forms Show data from ms access in a textBox
Hi there, I need your help with something you may find easy but it isn't for me, sadly. I need to show data from my MS Access database into several textBox-es just showing no modifing. I have a sample from my program : OleDbCommand nameCmnd = new OleDbCommand("SELECT name from Customer WHERE customerID = "+ enteredID, myConn); OleDbDataAdapter nameAdapter = new OleDbDataAdapter(nameCmnd); DataSet dsName = new DataSet(); nameAdapter.SelectCommmand = nameCmnd; nameAdapter.Fill(dsName); I try this: nameTextBox.Text = dsName.ToString(); but its wrong! And I have to do the above for every customer details such as name, mobile number, home number ..etc So you can see I need a solution plzz. ...Show All
