AudiRS6's Q&A profile
Smart Device Development Windows CE 5.0 Emulator woes
I have installed Visual Studio 2005 July CTP and I'm having problems trying to run the new Mobile D3D samples on the new emulator. I've read through several posts on this web board and other sites and haven't figured out what to do to get this working. I want to be able to run these samples on the emulator, I'm not trying to run them on my Pocket PC (w/ 2003 SE installed) - at least not yet. One assumption I've made which I should mention is that I believe that the Windows 5.0 Device Emulator is the new version of the Pocket PC 2003 Emulator for .NET 2005. The code I'm wanting to write is for the new Pocket PCs that will h ...Show All
SQL Server Attribute Relationships
Hi, one more question about Attribute Relationships. I learned that you enter the "next higher level" as an Attribute Relationship to an attribute. So "month" is an attribute relationship to "day" (you put it under day), you put "quarter" under "month" and so on. What about attributes which are not a "higher level" but "belong" to an attribute (like "member properties") So if you not only have a "month" but different descriptions of a month in different fields ("01/2006", "January 2006", "Jan 2006"), do you have t ...Show All
Visual C# question about arrays
I have 2 questions regarding array manipulation: 1) which is the best way to reset an array if i initially declare as: private byte[] array1 = new byte[0]; 2) how to insert elements into array at a specified index e.g: initial array = [1,2,3,4,5] new array = [1,2,7,8,3,4,5] Ragards, Donkaiser What do you consider "reset" array1 = new byte[0] would "reset" the variable array1... How do you want to insert values, sorted I would simply use Array.Resize() to expand the array, set the new (last) element to the value you want then resort the array with Array.Sort, I would suggest u ...Show All
.NET Development Oracle sequence generated key value
Can anyone explain how I can get the primary key value of a newly inserted record in Oracle back into the dataset The table has a trigger on it that inserts the Nextval from a sequence, and I can check the data after a save and it's working fine I've also tried using a stored procedure returning a value to an Output parameter and seem to have that working, but this is only for a single record insert What I'm struggling on is the situation where I insert a new parent record and then insert some related child records into the dataset. I call the Update method on the tableadapters (taking care to sequence correctly the handling of ...Show All
Visual Studio Team System Is it possible to change deployment dir
Hi I would like to change deployment dir for tests. Is there any way to do it Michael, You wrote: In RTM we removed this option, from IDE we use solution directory, from command line we use current directory as relative path root, and for each deployment item we expand environment variables. I am using RTM, running tests from command line (and Team Build) and can't get environment variables expand in deployment items. I've added the following attribute: [DeploymentItem(@""%MyPath%\MyFile.txt")] and I've also tried manually editing the testrunconfig file. In both c ...Show All
Visual C++ Embedding an edit control into a tab control
I want to embed four different edit controls into four different tabs. How do I do that Please include more details What technology are you using What have you tried so far yourself Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Basic Copying Files to an Existing Directory
Dear VB Experts, I humbly ask for your assistance in solving a problem I'm having with copying a file to an existing directory. I'm using the below code to try and copy a file from an OpenFileDialog to a directory that already exists. The source file path is derived from the OpenFileDialog.FileName property and the destination file path is a directory in the users MyDocuments directory. When I run the code, If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then Dim filepath As String = OpenFileDialog1.FileName Dim destinationpath As String = My .Computer.FileSystem.SpecialDirectories.MyDocuments ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Setting up Microsoft Visual Studio 2005 for directX
I just can't get the DirectX samples from the samples browser working (provided with directX), when i try to compile them i get linker errors DXUT.obj : error LNK2019: unresolved external symbol DXUTmisc.obj : error LNK2001: unresolved external symbol I have installed DirectXSDK(dec.) and Microsoft Platform SDK. I have added the paths in tools->options [Projects and solutions]->[VC++ directories] to both Platform SDK and Directx dec. There must be something im missing, could someone plz provide me with the infrmation on how to set Microsoft Visual Studio 2005 up to be able to compile the examples. ...Show All
Windows Forms Resource strings c#
Hi Can some point me in the right direction with resources in c#, I've added a string to the resource editor (under project properties), now I want to use that string. I'm want to change the text property of a form using the resource, I have the following: using <AppNameSpace>.Properties; private void FrmMain_Load( object sender, EventArgs e) { this .Text = Resources .ResourceManager.GetString( "ApplicationName" ); //I've also tried this.Text = Resources.ApplicationName; //where applicationname is the string I'm referring to in the resource table. } I keep getting the following error and I'm not sure wha ...Show All
Visual Studio Visual Studio MSDN Help Is Rubbish
I realise that Micro$oft reject the adage "If it ain't broke, don't fix it", but did they really have to change MSDN help in quite such an appalling fashion Does anyone have a way for me to access the VS2005 information without having to use Document Explorer Chris / Neophyte -- Our intent was certainly not to make you hate the help system; at least we didn't add Clippy :) From your posts, I'm not clear on what you dislike about the Visual Studio 2005 help. Changes to Document Explorer features That Help defaults to using Document Explorer rather than the internal-to-the-IDE help viewer MSDN O ...Show All
Visual Studio 2008 (Pre-release) Model-View-ViewModel
Hello, I want to build a bigger application with WPF and it should have a structure like MVC. I heard about the Model-View-ViewModel Pattern but I have never seen an example of how a ViewModel looks like. I don't want to have all that event-code in my code-behind file and thats why I am thinking of the ViewModel Pattern. I want to be able to seperate my business logic from the ui. Any suggestions or hints Thanks I'm not absolutely sure what the scenario is still, so I'll proceed cautiously, and at least perhaps something I say will clarify something. Who is changing the Accounts list Is the datab ...Show All
Visual Studio Express Editions A problem has been encountered while loading the setup components. Canceling setup.
Running WinXP Pro SP2. Downloaded the offline/network installer for Visual C++ 2005 Express and extracted the image's files like the Manual Install instructions tell me to with ISOBuster. I get the following error when I try to run setup.exe and autorun.exe: A problem has been encountered while loading the setup components. Canceling setup. Any help would be greatly appreciated. I have a fresh Win XP SP2 (Brazilian Portuguese) installation with All Updates from Windows Update! No Beta, No Office, No others applications! Now I installed the Visual C# with the Internet Installation! Works Fine! But the Visu ...Show All
Visual Studio Team System Visual Studio 2005 (.NET 2.0) supports SQL Server 2000?
We would like starting our new developments with Visual Studio 2005 (.NET 2.0) BUT can not migrate our database to SQL Server 2000 (because, to my knowledge SQL Server 2005 doesn't support Microsoft Project Server 2003 !). Therefore is SQL Server 2000 (officially) supported by Visual Studio 2005 Guy You can do SQL development using the database projects. Be careful that you select the database project form the "other project types" part of the new project dialog. The one you find in the C# or VB sections all refer to SQL2005 projects to create .NET stored procedures and stuff for SQL 2005 and those won't wo ...Show All
SQL Server sql 2005 updating table definition with 'large' amounts of data - timeout
I'm trying to move my current use of an sql 2000 db to sql 2005. I need to update a table definition (to change a field to an Identity) I'm getting a dialog box (in SQL server management studio) on save saying : 'xxxx' table - Saving Definition Changes to tables with large amounts of data could take a considerable amount of time. While changes are being saved, table data will not be accessible. I press 'Yes' to the dialog box. After 35 seconds, I get another dialog box saying: 'xxxx' table - Unable to modify table. Timeout expired. The timeout period elapsed prior to completion of the operation or the ...Show All
.NET Development web page publish
hi everyone! i have a problem about c#.net 2005 asp.net application. when i opened my web page in internet explorer 6 my browser take me an error message! XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Ad gecersiz bir karakterle ba lad . 'http://localhost/DENEME%20PUBLISH/DEFAULT.ASPX' kayna i lenirken hata olu tu. Sat r... <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_xcp-kflq" %> -^ How can i solve this problem Looks like your server doesn't recognize DEFAULT. ...Show All
