Software Development Network Logo
  • IE Development
  • Microsoft ISV
  • VS Team System
  • Windows Vista
  • SharePoint Products
  • Smart Devicet
  • SQL Server
  • .NET Development
  • Audio and Video
  • Windows Forms
  • Visual Studio
  • Visual FoxPro
  • Game Technologies
  • Visual C++
  • Visual Basic

Software Development Network >> AKW2006's Q&A profile

AKW2006

Member List

Jimmy.Lin
Abhishek.itb
mbosfo
Torsten_Katthoefer
John1001
narasiman_jayachandran_2b5374
vr3h
Azriel Cross
J A Y
Peter Ritchie
ebooker
Arjun B
vijee
kenniejaydavis
vr8ce
Alastair Q
Attila Fogel
ktietjen
Martin Lundberg
Ice_
Only Title

AKW2006's Q&A profile

  • Visual Basic Any idea, please...

    Hello, A question please. I have 2 environments of working. TEST (this is for tests only) and PRODUCTION (this is my release distribution). Now, for example, I create 1 dll that opens my connection. 2 different connections. I'd want to open my connection depending on if I am testing (on TEST environment) or if the program is running on the customer PC (PRODUCTION environment). After I got my program to modify it, how could I set the environment of working without modify my program I mean if my program is running on the development PC, it must open a connection (test connection) , and If my program is running on customer PC, it must open another connection (release connection). Thanks in advance.... ...Show All

  • Visual Studio Documentation Compiler - Sandcastle

    We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Hello Anand., Is there any news on Sandcastle Can we expect the CTP soon I'm really anxious to try it, and from what i can see ...Show All

  • Visual C# Reading the end of an XML file

    I have a program that cycles through an XML file and outputs to another file every 1000 records. Thyis works fine until the end of the XML file is reached, when it fails saying my 'root' tag is not closed - although it does for the previous files. It seems to be having issues with recognising the end of the XML file, so can someone please confirm how this is done Currently I have a while loop to do this, with a for loop inside to cycle through the records, ie: while (XmlReader.Read()) { ... for (int i = 1; i <= 100; i++) { while (reads in a node here) { does the work } } Close the XmlReader and XmlWriter } This works fine for the beginning, until the end of the file is reached; is my way of reading the XML file correct (I have also trie ...Show All

  • SQL Server problem in the calculation of totals SOS

    hello to every body. well i have a strange problem. i have all the partial values of some elements in a hierarchy correct but in the caclulation of the total sql server gives me a wrong result. when i make the calculatin by hand i get another result. and this is only for a specific perios for example (june 2006). for alla the other periods i get the right results.. Can anybody help me Please provide more specifics of your scenario - what do the schema and calculations look like, some sample data Also, since you only mentioned "sql server", are you using Analysis Services and, if so, which version ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Source Control for XNA Projects

    Previously, when we were using MDX 1.1 with C# we were able to use VS2k5 with a SourceSafe server on a machine running Windows Server 2k3. To my understanding, VC# Express does not integrate SourceSafe into the IDE like VS2k5 does. If that is incorrect please let me know. What options for version control do we have using VC# Express Thank you. You may also want to check out perforce. http://www.perforce.com they give you a free 2 user license that is their full blown product. It's fast, reliable and MS uses it internally . ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Controlling Game By MIDI

    I'd like to be able to control directx games via MIDI - eg use a guitar footboard that has a pedal and switches etc to generate game controller events. All the vaguely related references I've found on the web are for using directx controllers to generate MIDI events! I want to use MIDI events to generate the equivalent of key presses, mouse buttons or (say) a throttle control. Are there any drivers that do this already If not, how difficult would it be to roll my own, and what would it involve I'm quite competent at C/C++ etc but most of my experience is in an embedded environment, not Direct X. Thanks, Chris I think you'd have to write your own HID minidriver. It would be similar to hidgame.sys which m ...Show All

  • Windows Forms Changing the application icon

    Hello, I have an application where I have an options dialog, which lets the user change the application icon. I ask the user to browse for a file and then he/she can pick up an icon. My question is how do I change the application icon dynamically, or is it possible at all Thanks for you time !! DMan1 's code is OK. But I prefer C#. :-) Here's my code. [code] private void button1_Click(object sender, EventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.Title = "Choose Icon"; dlg.Filter = "icon files (*.ico)|*.ico |All files (*.*)|*.*"; if (dlg.ShowDialog() == DialogResult.OK) { try { this.Icon = new ...Show All

  • Visual Studio 2008 (Pre-release) DrawingGroups in Sept .NET 3.0 CTS

    I have a WPF app that runs fine in previous CTSs. I just set up a new machine, and I installed the latest .NET 3.0 tools and SDK. A few minor things broke but were easily worked around. However, I don't understand this error at all: {"Cannot add content of type 'System.Windows.Media.GeometryDrawing' to an object of type 'System.Windows.Media.DrawingCollection'. Error at object 'System.Windows.Media.GeometryDrawing' in markup file 'xxxx;component/ui/Resources/Icons.xaml' Line 442 Position 8."} The relevant XAML: <DrawingBrush x:Key="ZoomInIconHover"> <DrawingBrush.Drawing> <DrawingGroup> <DrawingGroup.Children> <GeometryDrawing Pen="{StaticResource OrbIconBorderPe ...Show All

  • Visual Studio Team System msTest fails if LoadTestPlugin is specified for loadtest

    Hi, I'm having trouble running a load test from the command line if a load test plugin is specified in the .loadtest file. It runs fine when I kick the test off from Visual Studio. mstest /testcontainer:mytest.loadtest /runconfig:local.testrunconfig It goes through, loads the configuration files and then starts executing the test. As soon as it starts, it comes back with an 'error in mytest'. If I set the LoadTestPluginClass to an empty string, the test runs fine. How is it supposed to find the plug-in In VS, you have a reference to it in the project, so it can find its location that way. When you kick it off from mstest, the VS project does not come into play. The plug-in and the load test file were all in the same folder. I t ...Show All

  • SQL Server Restoring a database

    Hullo, I am trying to restore a database rs2005sbsDW from the hard disk but it gives me the following error message. TITLE: Microsoft SQL Server Management Studio ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: The media family on device 'C:\Documents and Settings\Administrator.UHRC\My Documents\Microsoft Press\RS2005SBS\Setup\Database\rs2005sbsDW.MDF' is incorrectly formed. SQL Server cannot process this media family. RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL ...Show All

  • Visual Studio Team System Sample Project

    I need sample projects in MSF .. any resources help would be appreciated. There is a sample plan on office online. Based on MSF: http://office.microsoft.com/en-us/templates/TC010184481033.aspx pid=CT101172331033 ...Show All

  • Visual Studio Team System Is it possible to set recursion to false?

    Currently when automation script is run, an item is duplicated and incremented in subsequent runs. Is it possible to set recursion to false Thanks Test consultant Hi, Can you describe what the script does, and the item that is being duplicated More information will be appreciated on this. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • SQL Server Placement of sys.conversation_endpoints and sys.transmission_queue

    Is there any thought going into moving these two tables to a file group that we can control Putting this in Primary with the rest of my system tables is quite problematic, and hinders my ability to manage space usage on my files. Traditionally, we didn't have to consider a primary file group that could grow to large proportions, but now with these two tables it can. If a large volume of messages gets sent through and the system can't keep up, then these tables and my primary file group will grow sometimes enormously. I agree and have raised a suggestion on connect. https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=249443 ...Show All

  • .NET Development Access denied to .Net Framework

    Hi all, W've webservice solution with about 20 projects. I had been no problem with VS2k3; however, when we merged to VS2k5, whenever, we compile solutions, got errors message: "ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'xxx.xxx.xxxfile, Version=1.0.2379.19295, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied." I've checked xxx.xxx.xxxfile and this module has been build with the correct version. I've not had this problem with VS2k3. I'm so sorry if I post in wrong forum. Best Regards, i had the same error message and it turned out that the ASPNET_COMPILE program was using the credentials supplied in the Web.Config imprsonation as ...Show All

  • Visual C# How to split string into an array of char

    Hi all, I had a string as follow : string str1 = "23AB01"; how can I split this string into an array of chars '2' '3' 'A' ...'1' Please help Thanks str1.ToCharArray() Is that it I think you can just also do it like: str1[0] (which is '2') str1[1] (which is '3') etc... ...Show All

©2008 Software Development Network