Nemo Wang's Q&A profile
Visual Studio Team System Install for Beta 2 fails
All, After downloading this file for 30 hours and getting it to a DVD, I immedialty get an error returned when starting setup.exe: 'Setup was unable to copy the file E:\VS\setup\DeleteTemp.exe to your temporary directory. Please make sure that the file exists and rerun setup.' In checking for this file I found that in does not exist. There is a DELETETE.exe file. I went back to my hard drive and renamed this file to DeleteTemp.exe and ran the setup.exe from there. I get to the splash screen and select install VS Studio and I now get the message: 'A problem has been encountered while loading the setup components. Canceling setup.' I have not ...Show All
Visual C# XmlDocument.load Security issue
I have been working this problem for over 2 weeks and have reached the end of my rope. I have written a web app (in VS2003 hosted on Windows 2003 server) that has an embedded object in one of the HTML pages. This object contains a method that calls the xmldocument.load method with a path that is on a mapped drive on the server. When this call is made I get the following error: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. I have done some research and have found several suggestions on how to fix the ...Show All
Visual C++ Auto increment build number
Has that now (finally) become a feature in VS2005 Alternatively, does anyone know of a plugin that ups the build count in the project version resource by one everytime i hit build Thanks - Balt Hallo Konstantin, I'm not sure what you're referring to Do I need to create a version assembly I was talking about the version resource. Thanks - Balt ...Show All
Windows Forms Dynamically switching queries and databases
I am using VS2005 and am able to bind a complex query to a DataGridView at design time. What I ultimately want to do is: (1) Select a named query from a drop-down box then reconfigure the DataGridView for the appropriate number of columns and repopulate with the new query. (2) Select a database from a drop-down box and refresh the DataGridView with data from the new database. (Assume I have created the appropriate DataSources.) I see where the query is stored in the _commandCollection of a TableAdapter (and in the xsd file) but I do not find public access to those. As far as the DB connection, I see references in Settings.Designer.c ...Show All
Windows Forms Problems with databinding
Hello, Windows Forms application was ported to .Net 2.0 and data binding stopped working properly. As data source we use typed DataSet. In the dataset we have four tables with relations. Table Types we use as data source for DataGridView and table Bodies (it has all possible bodies for specific type) we use as data source for ListBox. Table TypeBodyCap has default Body Id for specific Type. typesDataGridView.DataMember = "Types" ; typesDataGridView.DataSource =valveStarDataSet; listBox1.DataBindings.Add( new System.Windows.Forms. Binding ( "SelectedValue" ,valveStarDataSet, "Types.FK_Types_Bodies.FK_Bodies_TypeBodyCap.Bod ...Show All
.NET Development Tcp buffer
Hi, Client applications for my application are sending about 1500 short messages/second via Tcp sockets (local sockets, I mean on local host). Besides, my application is running on more than 60 PC, routing commands also via Tcp sockets. I fight againt my colleagues (programmers of these client applications) asking for using ACK but they did'nt want. So, I rely on the Tcp buffer and read (and handle commands) as fast as I can this Tcp stream. What is the best way to read a Tcp stream Should I try to read faster and put commands in a queue I fear that I will just move the problem and will have a very big queue. Thanks in advance for your he ...Show All
Visual C++ RichEditCtrl.
Hi All, How can i enable right click on RichEditCtrl I want to pop up menu on the right click Thanks this is a way http://www.codeproject.com/richedit/popupdemo.asp better way: you can also do it with IRichEditOleCallback::GetContextMenu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Most efficient way to draw a colored square (no, really!)
Yeah I know, this sounds really lame... I've actually got textures, input, sound, physics and a bunch of other stuff working, but I have to conclude that the method I'm using to draw a starkly colored square is murderously inefficient. I can add 50 textured squares to my scene and lose maybe 40 frames per second... but adding 20 colored squares to my scene kills about 600 frames per second... from a human standpoint, this makes no sense, since a textured object is much more intricate than a red square, so I'm obviously doing something really bad somewhere. The lowdown on how I'm drawing these "squares" is that I create a D3D ...Show All
Visual Studio Team System Custom Fields in Report Builder
I have modified a process template to suit our project needs, particularly I have added some (reportable) custom fields (e.g. MyFields.AdditionalField of string type). I also have added some queries that use these new fields and display them (it works). But how can I create my own reports (in Report Builder ) that use and/or display these custom fields if I cannot see them in Report Builder , neither in Fields list nor its predefined values in Filter dialog Thanks in advance. I am assuming that Report Builder is using a semantic model that you created on top of your warehouse before you added the custom ...Show All
.NET Development ConnectionLimit behavior
Hello. I noticed that when I set ServicePointManager.DefaultConnectionLimit to 10 and I spawn 20 threads, the first 10 go through fine, which is expected. However, the next 10 seem to be going out one at a time, not simultaneously. I was expecting them to grab the 10 available connections that had been released by the first 10. Is that the expected behavior Thanks, Ever Unlikely.. How do you know that the next 10 are going one at a time I mean what mechanisms are you using to verify this If the requests are getting queued after the previous request is finihed there is no need to use a separate conn ...Show All
Visual Studio Express Editions System.IO.IOException: Cannot create a stable subkey under a volatile parent key.
getting ... anyone else getting this and know how to resolve it System.IO.IOException: Cannot create a stable subkey under a volatile parent key. when trying to start the SQL Server Management Studio Express CTP, i can click continue and it works, but the error is annoying. here is the entire trace: System.IO.IOException: Cannot create a stable subkey under a volatile parent key. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) at Microsoft.Wi ...Show All
Visual Studio Team System WebTest Recorder with XmlHttp?
Hello everyone, My team and I are starting to look at VSTS, it seems very promising, great work. One important question: our application is a postback light, xmlhttp callback heavy kind of environment, so in order for the test tool to be really effective, we would need it to support the requests made by the xmlhttp com object in the browser. However, this doesn't appear to be happening. I've started to homebrew a recorder, and am considering picking up the VSTS environment at the starting point of the coded webtests, but my preference would be to maxmize VSTS on this topic. Does anyone know of a way to record XmlHttp r ...Show All
Visual Studio Express Editions setup and deployment with c# 2005
hi there how do I use setup and deploymet wizard in VS 2005 thank you Hi hz . If you mean a deployment system for .NET 2 Betas programs, you can use the great ClickOnce method. It is quite simple to use. You can find it in your project Properties panel inside Visual C# Express. It can create also a stand alone executable for the installation (a Setup.exe file), or you can deploy your apps throught an IIS WebServer . If you've ordered the VisualStudio 2005 Beta 2 you can found a better description of ClickOnce in WeFly247 DVD. I hope I've help you . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dynamic mesh creation with multiple textures
Hi... you may remember me from prior threads like "How do I turn on my computer" and "Eek! There's a mouse on my desk!" I am attempting to create a mesh that is two sub meshes - one for each side of a playing card - because each side uses a different texture. That is, I have a deck texture with the various possible backs, and a face texture. It seems like this is something very doable using the SetAttributeTable, but after trying literally a dozen different ways I cannot get it to work as expected I created 2 AttributeRange structs with the data about my two meshes (2 triangles to a side - nothin ...Show All
Software Development for Windows Vista Problem using the SqlTrackingService
Hi. I'm trying to use the Tracking service on a Win32 application that embedds the workflow, but I'm not being able to get it working... I've installed the database and tried it with the example on the Lab03, and it works fine (I can see it with the workflow monitor). On my application, I simply put this line of code before starting the runtime (like the example does): runtime = new WorkflowRuntime (); runtime.AddService( new SqlTrackingService ( @"Initial Catalog=TrackingStore;Data Source=localhost\SQLEXPRESS;Integrated Security=SSPI;" )); runtime.StartRuntime(); But it never saves anything into the database... In m ...Show All
