Swal's Q&A profile
SQL Server Database Question, Scripting Vs. Wizard
There are two ways to get access to a database from C#, for example, I can use SQL statement to create a table; I can also use SQL statement to read value from a table. Another way is to use the database wizard to create a table. One good thing with the database wizard is that you get access to the fields directly by intellicense and the fields are easier to bind with the controls. I am just starting learning database. The problem I see with the wizard, if your database changes. For example, right now I am using an access file about if that change to oracle or any other type. How can I approach that Will that be easier to modify. I want to know if scripting is better or using the wizard. What I like with the wizard is getting acce ...Show All
Smart Device Development Needs to support ARM DSP opcodes out of the box (or, Welcome to the 21st Century)
The DeviceEmulator 2.0 Community Tech. Preview has gone live, at http://www.microsoft.com/downloads/details.aspx FamilyId=13F5DE85-30CD-4506-9C5B-A2068FA1EE9E&displaylang=en . V2 has: Much improved performance DEComInterfaces.idl - the COM interface to the emulator, along with sample code showing how to use DMA to communicate between a Windows app and an app or driver running inside the emulator. This is the DeviceEmulator's equivalent of the "Building DMA Drivers for the Windows CE.NET Emulator" article at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncenet/html/builddmadriver.asp . An eXDI driver for Windows CE Platform Builder 5.0, giving you a hardware debugger interface to the emul ...Show All
Visual Studio SandcastleGUI product update (freeware)
Hi, The latest version of SandcastleGUI (v1.18) is available for download at http://www.inchl.nl . This version contains the following new features: - Table of contents and search capabilities for website output type. - Resolved generic typenames (Dictionary<string, int> instead of Dictionary~2). - Scrollable/resizable userinterface. TIP: Add video examples into your documentation to really impress your customers! For more information see inchl framework preview documentation: http://www.inchl.nl/help/e08e8df3-c5d1-19f6-4b32-5c2b97cad4cc.htm (OpenFileDialog) http://www.inchl.nl/help/531e6a17-d1da-455c-496a-eca1958cabab.htm (OpenPictureDialog) Kind regards, Stephan Smetsers stephansmets ...Show All
Microsoft ISV Community Center Forums Can't open regedit
Hai.... Why if I want open regedit (run>regedit), and then show message error like that The application failed to initialize properly (0xc0000005) Please anybody help me... Jebat Thanks Hi, I'm not sure why that error message appears, but if you would like to open regedit manually, here's how. Click START,SEARCH, TYPE IN regedit. In the look in: search box,click the arrow tab, then browse. Find the windows folder. It will be under my computer, hard drive, then the windows folder. Click on the windows folder to select, then click OK. You are now back in search, click search, then when regedit folder shows up you may stop the search. Left click on reged ...Show All
Visual Studio Express Editions how do i know my picture is a picture
i have a programme part of which loads a picture in using a loaddialog box it all works fine. my question is - how do i know that the file i select is a genuine bmp, jpg or gif if its not then it crashes the programme when i try to load it into my picture box thanks in advance for any advice you should catch exceptions and handle them in case if the file format is invalid. example: try Me.thePictureBox.Image = Image.FromFile( "path\filename.bmp ") catch ex as Exception MessageBox.Show("Error loading image, it maybe invalid." & Environment.NewLine & ex.ToString()) end try however you should catch the specific exception as its cheaper th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Microsoft's future policy for redistributing Xbox 360 games?
Before I commit serious time and effort to the XNA framework, I'm wondering if anyone knows Microsoft plans for allowing us to redistribute our games for Xbox360. I'm an academic. Let's say I want to make some educational/simulation games that my students can use on the Xbox 360. Will I be able to provide them with a CD or download link in XBox live As far as I can tell so far, the only games I can write are for myself. Bottom line: Publishers are out to make money, just like most folks. If a game has appeal it will sell. (Indie films ) That’s all I will say on this one. . . But the real issue is what limitations will be placed on GSE I’d imagine the same as with all the ...Show All
.NET Development .Remoting
How to tranfera database from a local database to a remote database through .net remoting Whew! Well that's quite a topic. Do you mean schema as well, or just the data In addition, are you referring to a single table or multiple tables Also, what about if the data already exists on the destination, you need to consider whether you clear that data out, or try and determine changes. Finally, why not just use replication ...Show All
Windows Live Developer Forums Search results differ
I don't understand why the search results differ in MSN search and Windows Live search for the same keyword ...Show All
Visual Studio Express Editions App similar to HyperTerminal
Is it possible to create a simple application similar to HyperTerminal (that comes with Windows) in VB2005 If so, could you provide me with some code to get me started, or point to some info on the net Thanks... See http://www.innovatic.dk/knowledg/SerialCOM/SerialCOM.htm ...Show All
Windows Forms datagridview to xml
Hi, I was wondering how i can overwrite an existing xml file when a row is deleted in datagridview with the data that currently is in the gridview The same data in an xml file are displayed in this datagridview. So i want to keep the xml file updated. This is what i got so far: this.grid.RowsRemoved += new DataGridViewRowsRemovedEventHandler(grid_RowsRemoved); private void grid_RowsRemoved(object sender, DataGridViewRowsRemovedEventArgs e) { foreach(DataRow dr in this.commands.Tables[0].Rows) { if (dr.RowState == DataRowState.Deleted) { this.commands.Tables[0].Rows.Remove(dr); } } this.commands.AcceptChanges(); } Can anyone help me with this Thanks in advance! -- modified at 9:30 Friday 15th December, 2006 ...Show All
SQL Server Report Designer Question
How to Add the Report Designer in my Application ...Show All
SQL Server SQL Server corruption
Hi all, when booting up my laptop get an error message; "your SQL Server installation is either corrupt or has been tampered with (could not open SQLEVN70.RRL). Please uninstall then re-run setup to correct this problem" I am very new to this, and do not understand how to deal with this error, can someone please help to explain what I have to do to solve this Hi Roger, I found a suggestion for this issue on the web. Feel free to check it out and see if it applies in your situation. I don't have any experience with this tool so please reply back to let us know if it was able to help. <snip> You can try using the windows installer cleanup utility. http://support.microsoft.com/defau ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL Fire Effect
hi all, i have few question about HLSL, Please somebody help. 1) i want create fire ball in my game. who can give me information about create effect 2) below is my fx file code. below is my full fx code. =========================================== float4x4 worldViewProj : WORLDVIEWPROJ; struct a2v { float4 position : POSITION0; }; struct v2p { float4 position : POSITION0; }; void vs( in a2v IN, out v2p OUT ) { OUT.position = mul(IN.position, worldViewProj); } technique simple { pass p0 { vertexshader = compile vs_1_1 vs(); } } =========================================================== ============================================================ below is my game code. ======================================================== ...Show All
SQL Server Data mining cube with 0-value facts
I'm defining a mining structure against an OLAP dimension. The continuous value that I'm using both as input and for forecasting represents the time to complete a certain process. There's something that strikes me as if it could be a problem, but I'm not sure. Our fact table has multiple columns (with multiple correponding measures in the cube). The "time-to-complete" measure is only populated on some of the fact rows - the rows that represent completion information. Other rows represent other information, and the "time-to-complete" value is set to 0. This works fine for cumulative time-to-complete and average time-to-complete, but it seems like it could mess up data mining. Will those 0-value facts skew the mining res ...Show All
.NET Development How to use xsl to count the nodes?
Hi How to count node <Tbl2> and place the total count in between <B> </B> of Tbl1 like shown below < DataSet> < Tbl1 > < A > aaa </ A > < B > 0 </ B > -------Need total counts of <Tbl2> here (eg: <B> 3 </B>) </ Tbl1 > < Tbl2 > < a1 > one </ a1 > < a2 > APPLE </ a2 > < a3 > three </ a3 > </ Tbl2 > < Tbl2 > < a1 > one </ a1 > < a2 > APPLE </ a2 > < a3 > three </ a3 > </ Tbl2 > < Tbl2 > < a1 > one </ a1 > < a2 > PEACH </ a2 > ...Show All
