Latso's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. XACT - System.TypeInitializationException on start-up
Anyone else seen this problem starting up XACT It worked in the past but I haven't used it for a few weeks. In the interim, I've installed the Vista SDK, .NET Framework 3.0, WF and WCF extensions for Visual Studio etc. I've uninstalled all these components and reinstalled GSE and Visual Studio Express but still get the same exception on start-up. In the debugger, I see Additional Information: System.Net.Dns threw an exception. I built a quick program to check I could use this class and it worked OK. I'm going to post a duplicate of this question on the XACT forum. Help ! Cheers. I can use the System.Net.Dns class when referencing .NET 1.1 in a Console app. Properties for referenced System.dll show: C:\WINDOWS\Micro ...Show All
Visual Studio Express Editions about sqlconnection?
hi gud day ppol.... i have a problem regarding sqlconnection for example dim theConnectionString as new sqlclient.sqlconnection(" what's NEXT "no idea"") thx in advance... sorry for stupid question yes...in the case of using OleDb for MS Access, you could write this one: Dim theConnectionString as New OleDb.OleDbConnection( " Provider = Microsoft.Jet.OLEDB.4.0 ; Data Source = C:\mydatabase.mdb ; UserId = admin ; Password = ;") ...Show All
Windows Forms bind a datagrid to xml (Dataset)
I have a second question, the data from the xml is now displayed in the grid (I have a xsd-schema too, is this useless ), if the user now changes the value in the cells or add/remove a row, how can I save those values in the xml Hi,Janny,here is an example for you,I hope this will be useful http://www.codeproject.com/csharp/usingdatagrid.asp http://www.codeproject.com/soap/dataset.asp ...Show All
Visual Basic FileSystemWatcher - Created events fires too early
I have been playing with a FileSystemWatcher, to start processing files as soon as one arrives in a folder. Specifically, I'm looking for a zip file, then unzip it. However, when I try to unzip a file as soon as I get the Created event, the file has often not finished being written, and therefore I get an error when I try to unzip it. This time period is very short, a tight loop without pauses trying to open it for write will return OK in 3 loops. Question ======= How do I get FileSystemWatcher to raise an event when a file has FINISHED being written, instead of START being written I'm starting to make a new version which inherits FileSystemWatcher, as you suggested. I want to get rid of the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how to draw other language type in the XNA?
i want to create a 3d chat room, player can write type to send my server, but!~how to draw other language type in the XNA i am a chinese~~thx~ but chinese characters hava 103600 or more~~ for example:in my form i type "中 人的微 " or other,how to send to screen. dont use bitmap .because i dont know what player to write it~ ...Show All
SQL Server Change Report Datasource
I have a c# assembly that uses the reporting services webservice to render reports. Every user accessing this component needs to render this report passing different datasource to it in order to browse data in different databases (es.: test databse server, production database server) Is it possible to create a linked report and change the connection only to it Other suggestions Thanks Hi, you can change the connection string property depending on the user (role or something you want to differentiate with). I don’t know if that is actually a solution for your problem but this is worth a try. using an expression could be something like ="Data Source=" & IIF(SomeExpression,"Tes ...Show All
Microsoft ISV Community Center Forums VBA: read/write chinese words
Hi, I want to read chinese, traditional chinese,korean,japanese words from word doc and write it into text file. But I have no luck up till now. I have no problems with french and german languages but these other 4 languages just can't be written into the text file. It'll leave some empty blank spaces into my text file. Code so far: Const ForWriting = 2 Dim objFSO, objFile Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.CreateTextFile("C:\TCS.mtp", ForWriting) Dim counter as integer do while lineArray = Split(theTable.Cell(caseStartRow, 2).Range.Text, Chr$(13)) objFile.writeLine (lineArray(counter)) counter = counter + 1 ...Show All
SQL Server How to delimit?
My data just like that belowed name,sex,phone-number,address,notes,email "andrew","male","203-222-222","aab","pretty good job,need contince"," adfsa@yahoo.com " .... so,Row delimiter is {CR}{LF} no problem Column delimiter is Comma{,} appear error at notes including a comma inside the content how should i delimit thanks it really like a double quote, although looks similar can be working after specify text qualifier thanks ...Show All
.NET Development Any CPU and Managed C++
I have a C# smart client built using “Any CPU”, the application references a managed C++ assembly that I’ve compiled into both x86 and x64 dlls. Is there any way to redirect the assembly loader to load the correct dll given the client’s platform (apart from manually) Is there any way to configure ClickOnce to deploy the correct dll thanks, rich When you say “ In general the entry points bittness should match all of its dependent assemblies” are you saying that I can safely cast the 64 and 32 bit instances to their common class type Is there anything I should be looking out for if I do this (Some of my objects are fairly big) ...Show All
.NET Development Force XML escape characters
I have to generate XML for some outside people. They want all escapable characters escaped. I am using Xml Serialisation because it is returned by a web service. .NET will only escape &<>, but not " or '. How can I force the escaping of all escapable characters Thanks guys for your help and your intentions. However, neither of your answers have solved my problem. I am using XmlSerializer to serialize an object into Xml. The people who will be consuming this Xml insist that all five of the characters specifically mentioned in the Xml specification are escaped. These characters are: & = & < = < > = > " = " ' = ' ...Show All
SQL Server Returning rows with NULL using WHERE statements
Hi All I have only just started using SQL Server as part of a new job, and have come across something while using Select statements. When you do a query using the Where clause eg. Where city = 'London' it returns results for just London, if you then do the same but using Where city <> 'London' again the results are obvious, but records where the city field is NULL do not appear in either I would have assumed them to appear as part of the second query... As I said, this is probably a daft question but if anyone can shed some light on it, it'd be much appreciated. take a look here http://sqlservercode.blogspot.com/2006/01/null-trouble-in-sql-server-land.html you need to do Where city <&g ...Show All
Visual Studio 2008 (Pre-release) Estimated release date for Linq
Is there an estimated timeframe for release of production version of Linq Thanks ...Show All
SQL Server Update a record based of a record in the same table
I am trying to update a record in a table based off of criteria of another record in the table. So suppose I have 2 records ID owner type 1 5678 past due 2 5678 late So, I want to update the type field to "collections" only if the previous record for the same record is "past due". Any ideas I am a little confused as to why you want to do this, so I might be confused as to what you want, and as such this solution may not be right. But... Here is a way to check the previous row: set nocount on drop table billNotice go create table billNotice ( billNoticeId int identity, owner char(4), dateSent datetime, unique (owner,dateSent), type varchar(20) ) go insert into billNot ...Show All
Visual C# listview flicker
I have listview for which view is set to "Details". When ListViewItems are added to listview it show flicker. I have already tried BeginUpdate-EndUpdate,doublebuffer and ownerdraw still it is showing flicker. I am using visual studio 2005 with XP Thanks ...Show All
Visual Studio Express Editions Compile errors in string.h after upgrade to SP1
My program worked perfectly before the upgrade. Now I get: ------ Build started: Project: hwa_dwa, Configuration: Debug Win32 ------ Compiling... configure.cpp c:\program files\microsoft visual studio 8\vc\include\string.h(136) : warning C4002: too many actual parameters for macro '__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX' c:\program files\microsoft visual studio 8\vc\include\string.h(136) : error C2144: syntax error : 'char' should be preceded by ')' c:\program files\microsoft visual studio 8\vc\include\string.h(136) : error C2144: syntax error : 'char' should be preceded by ';' c:\program files\microsoft visual studio 8\vc\include\string.h(136) : warning C4091: '' : ignored on left of 'char' when no variable is ...Show All
