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

Software Development Network >> Mindy Zhang's Q&A profile

Mindy Zhang

Member List

Vamshi Raghu
xgbnow
efratian
Nagarajkg
plenderj
Maxicus
aymenos07
The Mokoda
munkeyboy
Sideways
John Rapp
MorB
tbischel
bmilano
Tom Luetz II
zeltera
WendyHod
plavun
Gary Loong
MetaMeta
Only Title

Mindy Zhang's Q&A profile

  • Visual Studio Express Editions 2 events at once

    I'm creating a simple, old, black and white tennis game for practice. I've created an event handler for 9 keys - 2 for moving 2 paddles up, 2 for moving them down, 2 for left and 2 for right. I also have an Enter key that starts the ball moving. The problem is that when I press Enter, none of my other keys work, until the ball goes off the screen. Does anyone have any suggestions how to fix this If you provide mode detail, someone might be able to provide some guidance. I'll assume this is a WinForms application. What event are you subscribing to to handle the keys, KeyDown, KeyUp, or KeyPress What is the c ...Show All

  • Visual C++ Inside SHGetFolderPath

    Hi, I just discovered while running my application with Application Verifier , that a call to SHGetFolderPath causes the application verifier to log an error related to RegCreateKeyExW. That is, a call to SHGetFolderPath , internally calls RegCreateKeyExW for the reg key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders I was wondering why would SHGetFolderPath need to create a registry key All it should require is to open the registry key and get the folder paths, etc. Any clue Thanks, G From MSDN : You can force creation of a folder with SHGetFol ...Show All

  • SQL Server Single-threading within a Data Flow

    When moving data from a legacy system into a new database, I must "seed" ID's in destination tables, and then push those values back to the old system. This can be done within a control flow sequence container with the following steps: 1. truncate destination staging table 2. data flow to retrieve data from old system, and insert into staging table using an OLE DB Destination task 3. Execute SQL task that calls a stored procedure to seed the new ID's and update the staging table 4. data flow to read the staging table and update the old, source database Alternatively, if the first data flow (step 2 above) uses an OLE DB Command to populat ...Show All

  • .NET Development Services, Logging and Dispose

    I wondering about guidance for my particular situation. I am writing a Managed Windows Service that gathers some information and then spawns some Timers that retrieve, process and write Data to an Xml File, so that there is an updated XML file on the file system. Logging for the Service is important, and I want to Log messages for when the Service Stops, or when the Timers stop updating, for whatever reason. My thought was that I would include a message in the Dispose(disposing) part of the pattern indicating that the timers were being stopped (each timer is contained in a Disposable Class, but I did not want to extend the Disposabl ...Show All

  • Visual Basic KeyEvent Questions

    I know how to get the key event of the application that I am working on, but how do I use the keyevent classes to capture general keystrokes For instance, if I want to mask a textbox to only allow numbers (I use VB.NET 2003), then I would monitor the keyevents for that specific textbox. What do I do if I want to mask a key or several keys for an entire program Would I have to put a mask everywhere or is there an easier way to do this. If you must know what this is for, then here is the skinny. My friend and I are what you would call pranksters. He just wrote this program and slipped it on my machine that made my mouse control go completel ...Show All

  • Visual FoxPro toolbox trouble

    All of a sudden, out of the blue I got a problem with the toolbox. When I click the button on the bar to invoke the dropdown menu with the controls depicted I get an error message instead. Program error File 'aclsids.prg' does not exist When I click suspend, the debugger appears at this position: Object: _activexcategory IF EMPTY(aCLSIDs[1]) IF oReg.EnumOptions(@aCLSIDs,m.cActiveXKey,m.cHKey,.T.)#0 RETURN .F. ENDIF ENDIF The arrow points to the first line: IF EMPTY (... Now this all happens only when there is no form to modify. If there is a form to modify on the screen, then there is no error mesage but the toolbox is unre ...Show All

  • Visual Studio Express Editions Connection string issue

    I have created a project which gets its data from SQLExpress and used the Add Data Source wizard and then dragged and dropped to create data bound forms and TableAdapters. All works well on my machine. Now I want to link to data on another machine on my LAN. If I manually alter the connection string created for me automatically in the Settings tab of my project and point it at another machine all works fine. However I want to be able to do this programatically as all my users wont have VBExpress running. The trouble is that the connection string in the settings tab is read only as it is application scoped. I could create a user scoped ...Show All

  • Visual C# creating a dom navigable document from a string

    Hey, So. What do you reckon the easiest way to do this is. I have a string that contains the source of a webpage, and i want to be able to navigate using the DOM. what is the easiest way to insert this string into a dom-compatible document. at the moment i have tried a few things with mshtml, but to no avail. this is for the purpose of manipulating the contents of an email in outlook, so creating a axwebbrowser object isn't really a viable option. ie i would like to do it without a broser. thanks. XmlDocument doc = new XmlDocument(); doc.LoadXml(mystring); You may need to import System.Xml, and you wi ...Show All

  • Visual C++ Help needed with "error C2784"

    . I am going to address your core question: There is already a lot of discussion in the C++ community that #include <iostream> already pulls in way too many other headers - and believe me it was not designed this way. Why should <iostream> pull in <string> The two are not related and there is really no reason why one should depend on the other. We do provide every STL function and algorithm but our library, which is, BTW, provided by Dinkumware, was designed to minimize dependencies between the different components of STL. If I am using string manipulation functions I expect to add #in ...Show All

  • Visual Studio Express Editions Standard Library missing?

    Hi, I've recently started a Univercity course and I am required to do a small amount of C++ programming such as make calculators etc. These are made in the command line part of the compiler (looks like DOS) and they run there too. My question is how do I get the standard header files in Microsoft Visual Studio 2005 Express Edition to work I mean like when using: #include <iostream> The <iostream> part appears in red and says that it can't find it. In Uni I am using the Microsoft Visual Studio.net (I think that's it's name) and it has a similar look to this one I have, but I can't seem to call upon the head ...Show All

  • SQL Server Experts required to validate these statements of fact

    Hi, Can someone please reply and let us know if these statements are true/false References to articles, help sections etc would be most welcome! 1.      Table variable is not efficient for large record sets 2.      Nested Selects will (always) cause hash joins 3.      SQLServer 6.5 joins should be removed. 4.      Select * is not best practice. I have read nothing that says table variables are less efficient than temporary tables for any given size - I know that it gets stored into tempdb if memory becomes a problem ...Show All

  • Windows Forms Databind custom collection to a combobox

    Is it possible to create my own collection and bind it to a combobox  I have a collection of key/value pairs, a code and a corresponding description. I want the description displayed in the combobox. When the user selects a value from the combobox, I need to know what the code is for that description. I can't seem to find any articles on  ...Show All

  • Visual Studio Style Properties dialog box:Where is it ?

    I dont find the Style Properties dialog box that is mentioned in the VS 2500 Documentation for the Report viewer. I can look at the properties Dialog of all elements of a report, and of the report itself. But never get to this dialog or a item on context menu that would lead to it. Thanx for info in advance, michael The Style Properties dialog applies to elements of a chart. For example, if you open the Chart Properties dialog and click the button next to the Title text box, it will display the Style Properties for the title. -Albert ...Show All

  • SQL Server Major SQL Server/SSIS 2005 Performance issue

    SQL Server 2005 is installed on a brand new 64-bit server (Windows 2003 x64 std. Edition, 2.4 Ghz AMD opteron- 2cpu, 8.8 Gb of RAM). There is barely few hundred rows of data scattered among few tables in one database. SQL server and SSIS performace grossly degrades overnight and in the morning everything is slow including the clicking of tool bar selection.It takes 3 seconds to execute a simple select statement against an empty table. It takes15-20 seconds to execute a SSIS package that normally would take 2-3 seconds. But once SQL Server is restarted, everything returns to normal and the performance is good all day and then the ne ...Show All

  • Visual C# Format source code - Blank lines

    I'm wonder if there isn't an option on the code formatter to delete blank lines from my source code. I like the code formatter options, but I'm missing this feature.   In Eclipse IDE for example, you can define how many blank lines do you want after a class, member, variable, method ... and after you apply format code, your blank lines are removed or inserted. Alex, Thanks for the great feedback.  We don't have this feature now, but we'll add it to a list of things we're considering as we plan for the next version. Thanks! Karen Liu Visual C# IDE ...Show All

©2008 Software Development Network