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

Software Development Network >> Wanwen Qi's Q&A profile

Wanwen Qi

Member List

e2e
joyfred
windsamurai
Jed
Ner1co
Padschild
DonTheWriter MSFT
Tuyen Tran
AustinStephens
jeromyk
dseatovic
Ries Vriend
Xin MSFT
Djmegamixes
jacky1019
Tech Guy
Kukulcan
Gideon Schlen
scasti1
Dave Jeffrey
Only Title

Wanwen Qi's Q&A profile

  • Visual Studio Express Editions Simple, yet complicated questions...

    Hello, I am new to programming, and would like to jump right into making some quality applications. I have been in a C++ programming class since August, and have really become familiar with the basics. At first, I practiced with the simple stuff, and made some very cool console applications. After creating these applications, I made a release build, and sent them to some friends to get their opinions. Then, I began to step into Windows Form Applications. I created a quick little Form Application, and it worked perfectly. Then, I created a release build, but sadly, when I sent this to my friends, it did not work. I began to do a lot ...Show All

  • SQL Server Need help splitting out columns for each row into new table

    Let's say I do a select statement and the results are Acct #     Zip          Phone                 Addr 11223     23232      333-444-5555      6556 Duns Rd. 12345     34343      222-444-3333      1000 Aspire Blvd. I need to create a record using the Acct # and column for each column as well as append some other values like this 11223     23232   othervalue1     othervalue2 11223     333-444-5555  othervalue1    othervalue2 11223   &nb ...Show All

  • Visual Basic Invokemember method - Method not found

    While reading Microsoft's .net programmers cookbook I came across the invokemember method. It looks useful - but the example isn't really complete. When I try to impliment it, I get a method not found error. My code is as follows. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim operation As New Operations Dim typeInfo As Type = operation.GetType Dim args() As Object = {10, 20} Dim answer As Double answer = CDbl(typeInfo.InvokeMember("AddNumbers", Reflection.BindingFlags.Public Or _ Reflection.BindingFlags.InvokeMethod, Nothing, o ...Show All

  • Visual C++ What do you think about below template code?

    #include <vector> template <class T> class CTest { }; template <class T> class CTestOther { public: typedef std::vector<CTest<T>* > TestVector_t; CTestOther() { TestVector_t::iterator iter; for (iter = m_Vector; iter != m_Vector; ++iter) ; } private: TestVector_t m_Vector; }; vs 2005 compile it quietly, but gcc say like this, I don't know "TestVector::iterator". so, gcc can go on after I modified code like below. #include <vector> template <class T> class CTest { }; template <class T> class CTestOther { public: typedef std::vector<CTest<T>* > Test ...Show All

  • Visual Basic Print directly to the printer

    Dear all...^^. I have a program needs to print directly to a Zebra TLP 2844-Z barcode printer. I tried the codes in http://support.microsoft.com/ scid=kb;EN-US;322090, but an error occurred when i run it, as follows: A call to PInvoke function 'test!test.RawPrinterHelper::OpenPrinter' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. May I ask if any one has any other idea of printing directly to printer in VB2005 Thanks Raymond Here ...Show All

  • Visual Studio Express Editions keypress......please help

    hi guys I have asked this question before with no satisfactory response....... can anyone please explain this to me ........................................................................ I am making a simple animation in vb express.............yes...I know vb is not ideal for game making...but I dont know c++ or c sharp..........so I am stuck with vb.... my problem is this.... when I press a key to move a graphic everything is fine....but if I hold the key down everything else on the screen freezes.....except my little animation ... which flies across the screen........ so how do I stop the keys from repeating ...Show All

  • Visual Studio Team System Bug with Remote connections to Team Foundation

    The scenario is this: I created a project on my network at home. However, I did it by connecting to the external IP address for my server, not using the internal server name or IP address. I then went to a remote location with my laptop (which has the client on it that I created the project with) and opened up Team Explorer. I expanded the project node and the Documents and Reports did not open. I tried to open up the project portal and it would not open either. For some reason it mapped it to the name of the server on the internal network rather than the IP address (which was used to connect to the server). I then opened up the Project Port ...Show All

  • Visual Basic Textbox background image

    Hello all, I've been searching through a bunch of VB websites etc, and I just can't figure this out: I'm trying to make the background image of a textbox one of the .bmp images that the program has (you know how you add item, add bmp. Sorry for such a stupid question! Any help is greatly appreciated -Robert Hi Robert, You can check out this thread - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=429224&SiteID=1 - which points to this article: http://www.codeproject.com/cs/miscctrl/alphablendtextbox.asp Hope that helps, Jonathan Aneja The VB Team ...Show All

  • Smart Device Development VS 2005 and Smart Device installation problem

    I have a weird problem with my VS 2005 and Smart Device SDK installation. I'm using the DVDs from the Windows Mobile 5.0 Developer Evaluation Kit given away at the recent MEDC. I want to successfully install the Pocket PC and Smartphone SDKs and compare the IDE etc with that of evC 4.0. I appear to have successfully installed VS2005 however the Smart device SDKs do not appear to installed correctly at all even though I did install them. There seems to be numerous problems with the setup all of which seem to lead to an error associated with finding a user datastore. If for example I select 'Tools -> Connect to device' I see a message box ...Show All

  • Visual Basic Using XML in Comments

    Hello...I am using a self-study book and in the latest chapter and code example, they use XML in their comments. The book doesn't explain why they start this. What purpose does this serve Without looking ahead in the book, I assume it could be for later use. Is that the main purpose of it Thanks, Brian Hey, What book is it Visual Studio 2005 uses XML comments for .NET 2.0 applications. This is great because the XML is automatically compiled into an XML file that exists with your DLL, and its like instant documentation. Brian ...Show All

  • Visual C++ VS2005 Linker /ENTRY

    We have a bunch of legacy DLL code which uses makefiles to build. The DLLs all use /ENTRY:SomeOtherName rather than the default and I've encountered a problem in VS2005. If I put the /ENTRY switch on the linker command line in the makefile, it doesn't seem to work - when I attempt to load the DLL via LoadLibraryEx(), I get an entry point not found error (0x7f). If, however, I put the /ENTRY switch in the LINK environment variable, the DLL loads without problems. What's up with that I believe the LINK environment variable gets added at the start of the linker command. Could it be that you are addin ...Show All

  • Visual Basic Getting pdf files

    Hi, this is a very simple question, I know I've done this before but I juste can't find how I did it :-( I have have a global table named gtblFileList and the path of a folder ex : C:\Folder this folder has some subdirectories What I want is to fill gtblfileList with the names of all the PDF File I can find in Folder AND his subdirectories AND their subdirectories etc... thanks for your help I wanted my file names and path in a global array. thanks for all your help but I foud an other way a little bit slower but Everything works just fine. Thanks again ...Show All

  • Visual Studio 2008 (Pre-release) Crevier's Virtualization Panel and VisualTreeHelper

    Got an interesting one for you guys... I'm using Crevier's Virtualization Panel and filling it with Image objects. When a user selects one of the images I am attempting to use VisualTreeHelper to calculate it's location so I can make a visual brush and do some animation. I have this working in an example not using the Virtualization Panel. One thought I have is that the V-Panel makes use has a dock panel which contains an items control, and the actual Image objects are in the items collection of the items control. I've tried using VisualTreeHelper at the dock panel level and the items control level but it fails. Perhaps I'm just not address ...Show All

  • Visual Studio Team System Error during setup

    It seems I'm getting one error after another... my newest is the error 29112. -- Dialog -- Error 29112.Team Foundation Report Server Configuration: Report Server is not properly configured or the Reporting Services Web site could not be reached. Use the Report Server Configuration tool to confirm that Report Server is configured properly and that the Reporting Service Web site can be found before running the installation again. For more information see the Team Foundation Installation Guide. -- Part of MSI-log file -- 02/23/06 14:11:09 DDSet_Status: Commandline: "c:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools ...Show All

  • Software Development for Windows Vista Does the file can be rendered while it was opened for write?

    I am using CreateFile((LPTSTR) TempFile, GENERIC_READ | GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL, NULL) to create a temp file then Using InternetReadFile() to read the video file from internet and and using WriteFile() to save the video file to the temp file. I want to play the temp file (using Directshow) while it's downloading. but RenderFile(TempFile, NULL) output an error message says : ERROR_SHARING_VIOLATION. Is there any way to fix it if I want to play it while it was opening for write THANKS LOT It can play the video when the file was downloading from internet. Does Anyone know how ...Show All

©2008 Software Development Network