jcnconnect's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. CDXUTDialogResourceManager cannot be deleted and recreated.
This bug took three days to track down. It's nasty! The sympthom was that every time I moved the D3D window from my primary monitor to my secondary monitor or vice-versa, D3DXCreateFont() would have a protection fault. Eliminating all of the fonts in my code reveals that other D3D functions were also throwing protection faults. It turns out that the fault has nothing to do with D3D, but is instead in ~CDXUTDialogResourceManager() of all places! What happens is that the destructor calls two obscene little functions: CUniBuffer::Unitialize() and CDXUTIMEEditBox::Unitialize() which unloads some .dlls !!! These uninitializers are not mirrors of functions that were in the constructor. The dlls were loaded by the CUniBuffer constructor and ...Show All
SQL Server RDA with Identity column.
Hi Everyone: I am new to Mobile programming. I am now working on a mobile project. I encounter an issue when I sync the data: cause I can't modify the schema, so I have to use RDA instead of Merge replication on sql server 2005. However, There is an identiy column on each table I will pull them down to local mobile database. And I will use those identity columns to connect tables. Even worse, the photo's new name will combine the photoID which is an identity column. There would an issue, if i sync data, the photoID would be same on different local mobile databases. And there would be generate same identity value when users sync data. How can I avoid those issues If you have any good ideas, please help me out so that I can meet ...Show All
Visual Studio Team System How to Import the Metadata File into a Solution
My "Test Project" has lost its connection to its Metadata file (*.vsmdi). After I have opened my project, when I attempt to open the metadata file (VS->Test->Load Metadata File), I see this warning message: “Metadata files that belong to projects cannot be edited. If you wish to use this metadata file, please import it into the solution”. I have opened the VS Solution Explorer, but ‘am not seeing an option that will allow me to do any sort of an import operation. What is the proper way to import a Metadata File into a Solution Hi Lester, If you are using VSTS team suite or tester edition, the Import Metadata button is on the Test Manager window toolbar. The ...Show All
Visual Studio 2008 (Pre-release) UsernameToken over Certificate authentication
I need to use client certificate to validate the domain of the request and user name token to validate the user in that domain. I know that this is a classic case for federation but lets ignore that for the purpose of this post. So the first authentication of the request was through certificates, which was relatively easy. Instead of passing user name and password as arguments to a method, I would like to send a user name token in the request. On the server side, I would like to validate the user credentials in the WCF plumbing. How would I go about doing the second part given that it has to happen right after the first part Thanks. I was going to try to build one for you, but at it turns out, there is a sample describing this (Jan ...Show All
Visual Studio Express Editions syntax code
to those of you who are familiar with the coding, could you write a simple code example so we can understand,give us simple syntax examples please of; deleete command accept changes command that way those of us who are beginners can read the syntax and get a better view of how it works. indeed but it has been explained on what things are doing at the time and how to fix it. It's hard to just explain where the problem is if you have any errors and not explaining in depth on what code you have, where the errors are coming from etc... What exactly, in this case, do you need help with I understand for this thread you are wanting to know how to use a Delete command correct I have supplied cod ...Show All
Visual Studio Tools for Office when using word 2003 the embedded excel object of it should open in my second excel application
Hi, iam having two excel applications opened ,and iam opening a word document,in that iam embedding an excel ,and it gets added to the first excel application but i need that to get enclosed with my second excel application. How to solve it ,help required Prasad Sethuramalingam Hi Prasad I'm afraid your problem description is not accurate or detailed enough. First of all, are you using the VSTO technology If yes, with which version of Visual Studio If you're not using VSTO, then please ask in an office.developer newsgroup, as listed in the Please Read First message at the top of this forum. Be sure to include all relevant programming environment and version information when you ask. And provide more inf ...Show All
SQL Server Merge Join question
Hi, All, In the data flow of Intergration Service, my understanding is that the "Merge Join" only does the "join", there is no way to input the "where" clause. If I need to input the the "Where" clause or selection criteria, how should I do it in Integration Service TIA, here's a discussion, the merge join would be even better if it could join more than 2 tables at a time. I have many packages that require a left join to 5 or 6 other tables and the only way to do this is to use a merge join for the first two tables, then get the data from the 3rd table, add another merge join transform, then join the output of the first merge join to the data from the third table to get a ...Show All
Visual Studio 2008 (Pre-release) ORCAS DEC CTP
What happened to the ORCAS DEC CTP There was a post about it yesterday and now its gone Maybe you could have just said that on the forum thread... rather than deleting it and supressing the information that was there... *jokes*. ...Show All
Visual Studio Express Editions Tutorial on adding dataset from access database programatically
Hi, After moving over the 2005 Express I have always used the Add New Datasource wizard from VC#2005e to add datasets but I have run into some problems sometimes. Could someone please point me to a tutorial on how to add a dataset from an access database the good old fashioned way... programmatically Thanks ! Thanks. A couple of Qs Where do I tell the code where to find the access mdb In the place of "connectionstring" What does declare it globally mean How and where do I do this in VC#2005 express ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creative X-Fi support
Hi I was wondering if XNA / XACT can support the advanced features of Creative's X-Fi range of soundcards. I mean things like preloading sounds using X-Ram which is supposed to help increase frame rates. Hi, can You please tell me what are the options to use surround 3d sound in FMV (full motion video) used in game when using XACT How can I have 5.1 sound in avis or other video files played in a game using XACT ...Show All
Visual J# ByRef Question
Okay, here's the details of my problem: I'm using the WinSock 6.0 ActiveX control and I've get the following error from the compiler: C:\ImmuneSoft Security .NET\ImmuneSoft Agent\src\securesocket.java(336): Cannot pass object of type 'com.ms.com.Variant' as parameter of type 'byref Object' Now, the whole Variant path is what I took before when this was coded in J++ and it worked just fine. However, its being rejected now. I've tried the Variant.getObjectReference() function, tried converting it to an object array, as seen below... C:\ImmuneSoft Security .NET\ImmuneSoft Agent\src\securesocket.java(712): Cannot pass object of type 'Object[]' as parameter of type 'byref Object' Anyway, I don't see a ByRef or Ref, and I tried ...Show All
Windows Forms Remove blank lines from a textbox
Blank lines in a textbox can be: A series of spaces followed by a carriage return OR A carriage return OR A line filled with tabs How can I remove all blank lines from the text entered in my textbox Silver platter indeed. If you look earlier in the thread you will see that I figured out some regex myself. I'm not paid a salary for coding and I think these forums are to help those who are learning. So let's quit the flaming. If you don't want to reply, just don't. ...Show All
Visual Basic how to change code from visual basic to visual C #
I was wondering if I can change a piece of code from visual basic to visual C#. Here the code. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click RichTextBox1.Clear() End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim Line, Star As Integer For Line = 1 To 10 Step 1 For Star = 1 To Line Step 1 RichTextBox1.AppendText( "*" ) Next Star RichTextBox1.AppendText(vbCrLf) Next Line End Sub Private Sub Button3_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click ...Show All
Visual Studio 2008 (Pre-release) First Impressions of WPF/E
I have been playing with every single CTP of .Net 3.0(WinFX) and I was very excited to hear about the upcomming WPF/E. So when I heard others say the first CTP of WPF/E was comming out today, I made that my first order of business. After installing the SDK, I ran though the examples. Wow it worked :). Then I tried it in FireFox and it worked as advertised. Looking at the code then reading the documents, my level of excitment dropped. I had put my expectations too high. I was hoping I would be able to write code in C# along with the XAML, almost like XBAP with a compiled app. Looking back on all the articles, I see this was never an intended implementation of WPF/E. I work in an all Linux/OSS enviroment working mostly with a Pretty Hu ...Show All
Windows Forms Calling Timer Tick Event with Custom EventArg
Hi All, I want to create a timer tick event but pass an argument to the event. I am getting stuck in how to pass the custom EventArgs to the tick event. The code below with the missing lines compiles with one error, because the "Clock.Tick +=" line is missing the information on the argument. I just don't know how to pass it. Thanks in advance, Marci Weinberger ... MyEventArgs objEventArgs; objEventArgs = new MyEventArgs(iBoard); Clock = new System.Windows.Forms.Timer(); Clock.Interval = 1000; Clock.Start(); Clock.Tick += new EventHandler(Timer_Tick); ... private void Timer_Tick(object sender, MyEventArgs objArgs) { } Hi Brenden / all, I modified the code a bit and I understand how everything works (thanks), ...Show All
