Software Development Network Logo
  • VS Team System
  • Windows Forms
  • Visual C++
  • Windows Vista
  • Visual J#
  • Visual FoxPro
  • .NET Development
  • Windows Live
  • Visual Studio
  • Game Technologies
  • Architecture
  • Visual Basic
  • Visual C#
  • Microsoft ISV
  • Smart Device

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

Ot2

Member List

caroline_h
Mehmet Metin
CarolChi
Samuel Cheah
Michael Mortensen
lauch
ZhangQing
Kevin Zhang
ShashankBhardwaj
Virmundi
lulu2005
Richard Petheram
Vivek.
pitatwork
RMD
Jayzzz
Jef Bernhardt
Pieter van der Berg
Greg05
Michael J. Liu
Only Title

Ot2's Q&A profile

  • Visual Studio 2008 (Pre-release) HierarchicalDataTemplate, ItemsSource and CollectionViewSource

    Hello! Is there a way to specify, in XAML, that a HierarchicalDataTemplate may have it's ItemsSource object to be wrapped by a certain CollectionViewSource (The instance of CollectionViewSource could for instance provide sorting of the ItemsSource collection) If yes, may you provide a hint, please ! Best regards, Henrik Dahl Hi Henrik, The data binding team has been discussing that scenario pretty extensively lately. Unfortunately, the decision for V1 is not to support that, but we will for sure consider it again for V2. I think this will be a pretty common scenario, and we should allow i ...Show All

  • SQL Server dependency relations are different from different mining structures with same mining algorithms?

    Hi, all here.. I got one problem in my data analysis case with SQL Server 2005 data mining algorithms-in the dependency network, the attributes mostly affected the predictive value are different in different mining structures tho. For example, I got a, b,c as input attributes to predict attribute d, in mining structure 1 (with all attributes discretized ), i got a as the attribute which has the strongest relation with predictive attribute d . However in mining structure 2 (with all attributes values continuous ), I got attribute b as the strongest attribute with predictive attribute d So what is the problem tho In this case, how ca ...Show All

  • SQL Server SQL 2005 Upgrade problem.

    Hi: I had a serious problem today. I was upgrading SQL Server 2000 default instance to SQL Server 2005 when the setup failed to upgrade the database services with the error: The password does not meet Windows policy requirements. I chose windows Authentication during the upgrade. I for sure know that my password meets all the windows requirements (length, password charcters as outlined in BOL) and still it failed. I tried more than 3 time with the same error. Does anyone know if there is a work around or what is the reason I got the error . was yukon checking some policies when windows authentication mode was chosen during ins ...Show All

  • Visual C# how can i get a substring in a string and then change its color?

    for example if I type /* in the textfield all preceding characters should change to color green and when I type */ the change should stop. You have to write a method that colorize your text. If you want to make everything between /* */ grey do something like this: public void Colorize() { // Store current selection. int selectionStart = richTextBox1.SelectionStart; int selectionLenght = richTextBox1.SelectionLength; try { richTextBox1.SuspendLayout(); // Select all text and make it black (default color). richTextBox1.SelectAll(); richTextBox1.SelectionColor = Color.Black; // Find the open tag. int ind ...Show All

  • .NET Development sql connection password problem

    Hey I have a .net 2 app that uses the SqlConnectionStringBuilder calss to create a connection string. Like so: SqlConnectionStringBuilder b = new SqlConnectionStringBuilder(); b.UserID = _sqlLogin; b.Password = _sqlPass; b.DataSource = _theServer; _sqlConn = new SqlConnection(b.ConnectionString); _sqlConn.ConnectionString = b.ConnectionString; _sqlConn.Open(); this works and I can connect to the database. But later on when I reference the _sqlConn's connectionString property, the password of that string is missing. I dont know why, it may be something to do with my code, but i cant find it. Does anyone know if this is a security fea ...Show All

  • Visual C++ windows.h not found...

    WOW, I can't believe this information isn't easier to find.  I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2.  NOTHING WORKS!  The Directories are not found and there is no apparent way to set them.  Apparently users have found a hack to make it work, but this is crazy.  It seems like the first Microsoft person to install this would notice that it doesn't work and would raise the flag to the appropriate people so they can take the steps to fix it for their users.  Or at least document it on the very first page where it is downloaded, or the very first pa ...Show All

  • Visual C++ MySQL help

    Hey, I'm a total newb at MySQL and C++ (together). However, I know some C++ and a lot of MySQL (I'm a former PHP coder). The question I have is how do you connect to a web-based MySQL server Like to go to PHPMyAdmin, I go to https://srv02.hostww.net:2083/3rdparty/phpMyAdmin/index.php to alter anything MySQL related, and my cPanel is http://www.vgscripts.net/cpanel/ . I have no idea how to even connect to the MySQL database through C++ because I need to connect, and carry out MySQL querys and output rows on my program. Any help would be greatful. Thanks This is off topic. Try to ask this question in a MyS ...Show All

  • Windows Forms checking for drives... (System.IO) - C#

    How do I check for Available drives  (System.IO) THANKS :) If you simply want to know what drives are available, you can use the Directory.GetLogicalDrives or Environment.GetLogicalDrives methods. If you want more information about the drives, you'll need tools outside the standard .NET Framework methods -- either a COM library, API calls, or WMI (using Syste ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Directx 9.0C issues , cant play games anymore.......

    I had a missing system DLL file in my Directx 9.0 C . I tried reinstalling 9.0C but I kept getting the same error over and over , missing system DLL file. So I decided to check with colleagues and on the Internet and Microsoft and found out that I needed to first REINSTALL the original directx 8.1 drivers from my Windows XP Home Edition cd.........but 1 needed file ( d3d8.dll) was not there which i really needed for my UNINSTALL/REINSTALL TOOL ! I tried to rollback my original directx 8.1 files from my Windows XP Home Edition cd ( the CD which came with my original DELL Dimension 8200 computer ) but I kept getting errors that the file d3d8.d ...Show All

  • Visual Studio Tools for Office VSTO & MS Access

    I'm just trying to get up to speed on the new Visual Studio 2005 and the new Tools for Office.  We do a lot of work with MS Access (and Excel) and what I find odd is that in all the articles I've read there is not mention of MS Access w.r.t. the VSTO.  Do the VSTO not work with MS Access   What am I supposed to use if I am doing development with Access 2003 Can someone please clarify how VSTO works with MS Access   We've already been burned by buying Visual Studio 2003 "Special Edition".  It includes the Office Tools that I believe work with Excel and Word.  Too bad we bought the upgrade to work with Access 200 ...Show All

  • Visual Studio Express Editions serial port will not trigger data received event.

    Hello All, I have this problem that is driving me crazy. First I need to say that the test bed is a virtual null modem and another piece of software I have written that sends data serially. I am able to get this to work flawlessly using MSCOMM, but I want to figure out why it will not work with VB2005 express Serial port. Here is the serial port code. Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load 'MSComm1.PortOpen = True 'MSComm1.RThreshold = 1 If SerialPort1.IsOpen = False Then SerialPort1.Open() If RadioButton1.Checked = True Then warn_charge() ...Show All

  • .NET Development how do I set the port number for a web service

    I have a simple web service setup, and when I run http://localhost:4161/OpenHealthServicesSimpleSampleServer/OpenHealthServicesSimpleSampleServer.asmx WSDL I get back: .... < wsdl:port name =" OpenHealthServicesSimpleSampleServerSoap " binding =" tns:OpenHealthServicesSimpleSampleServerSoap " > < soap:address location =" http://localhost:4161/OpenHealthServicesSimpleSampleServer/OpenHealthServicesSimpleSampleServer.asmx " /> </ wsdl:port > That port# appears to be randomly assigned. How do I control the actual port# that gets a ...Show All

  • Visual Studio Team System Added new states, do I need to add new ref names?

    The MSF Agile comes with three states for work items: Active, Resolved, and Closed. In my custom template, I have changed these to In Analysis, In Development, Dev Complete, In QA, Passed QA, Closed. Now In order to track and report the full life cycle of a work item, do I need to add new fields and ref names The fields related to event dates defined in MSF Agile are State Change Date, Activated Date, Resolved Date, Closed Date. They seem to match the states so this leads me think I might need to define my own fields and the related ref names such as Dev Complete Date, Pased QA Date etc in order for the reports and queries to be accurate wh ...Show All

  • Windows Forms Where Did My Bitmaps Go?

    My user-interface design has always been very basic.  "Spartan" some might say.  ("Skins We don't need no stinkin' skins!")  But with all of the visual improvements to the menu and toolbar controls in VS05, I think I've come around to the idea of adding some graphics to my UI.  My first step was to add some simple icons to the main MenuStrip items that I had extracted out of the My Movie Collection Starter Kit project.  Things looked pretty good.  Instead of a big empty grey box next to my menu items, I had a splash of color.  I then had a look around in the install folders, hoping to find some "common" bi ...Show All

  • Visual Studio Express Editions Applications Developed in VB Express work only in XP?

    Hi, I was just reading a review of a VB Express book on Amazon and a reviewer said that applications developed in VB Express will only work on Windows XP PCs. Does anyone know if this is true or not Thanks, Gage ...Show All

©2008 Software Development Network