zuoliang's Q&A profile
Windows Forms Webbrowser control with Flash Website problem - PLEASE HELP
Hello, I've got a VS.NET 2005 (VB.NET) Winform App that has a webbrowser control on it. I can open a web site just fine with it and can even open websites that utilize flash just fine. The problem is this: After clicking around for a VERY brief time inside of a flash file within the webbrowser control, the mouse clicks don't seem to work inside the flash movie. They work for a little while, but very soon after, quit working.&nb ...Show All
Windows Forms List boxes and Combo Boxes don't display contents
Hi all, I've been writing VC++ for several years and also am quite familiar vb. I've recently decided to try to use VC# (2003) for a recent project and am running into an issue I suspect has to do with a control problem (installation issues ) or maybe with the framework version installed on my machine. Anyway, I have a simple window with a combo box with a few values added to it (it doesn't matter if the values were added via the property page ...Show All
Windows Live Developer Forums Visual Studio Only?
Is Visual Studio .NET 2003 or above going to be a requirement for MSN Search API developers I know it's early yet, however that's the only SDK I see and there's no information indicating anything else will be available. I ask because some of us have been developing API's (Google, Yahoo!, eBay, Amazon, etc, etc) for a long time now. You're going to be missing out on an awful lot of really good developers if you're going to have the r ...Show All
Visual Studio 2008 (Pre-release) WBA sandbox question
I am in the process of evaluating WPF as a potential technology for future application development, and I have a question about the web browser application (WBA) sandbox model. Based on what I have read so far, it seems that, in order to prevent UI spoofing, opening a dialog box or new top-level window from within a web browser application is not currently permitted. However, there are certainly scenarios where this type of behavior would be de ...Show All
SQL Server Passing parameter using .SQL
Hi all I need to pass parameters when I call a .SQL file. Is there a way to do this in SQL Server thanks!!!! How do you call the .SQL file Do you use a command line utility, like bcp I need more details to figure out what you want to do. ...Show All
Visual C# Bugs in .NET 2.0 ?
Hi There Either I'm making an error or there are two bugs I have found in .NET 2.0 Beta .... private void button2_Click( object sender, EventArgs e) { toolStripStatusLabel1.Text = "Asterisk" ; toolStripProgressBar1.Value = 33; System.Media. SystemSounds .Asterisk.Play(); System.Threading. Thread .Sleep(750); toolStripStatusLabel1.Text = "Beep" ; toolStripProgressBar1.Value = 66; System.Media. SystemSounds .Beep.Play(); Sys ...Show All
Visual Studio Tools for Office Accessing a Control on a Outlook Custom Form in VSTO 2005
i've added a Combobox to a Custom Form, based on the Appointment Form. Now i would like to be able to access this control from my VSTO 2005 code (C#) but i'm not sure how - anybody tried this The result should be a populated Combobox with data from a Web Service. Hope anybody can give me a pointer to a solution! Martin, Are you talking about a custom Outlook form or a custom .NET Windows for ...Show All
Smart Device Development Component inheritance bug.
Hi I have come across a bizarre problem. I am using Visual Studio 2005 Professional Edition. The steps I have taken to reproduce this problem are as follows: 1) Create C# Smart Device Application (Pocket PC 2003) 2) Add a new blank component called 'Component1' to the project in the solution. 3) Change the component to inherit from "Microsoft.WindowsCE.Forms.Notification" instead of "Component". (A reference to 'Microsoft.Windows ...Show All
Visual C++ Class Designer not a feature for C++?
There is an error in the Visual Studio 2005 product line info at http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx The table lists Class Designer as a feature, but as far as I am concerned, this is not true if it does not support C++. Anyone else look at this table and think it was in there I'm sure someone overlooked this, but it is somewhat disappointing to rely on this table for the past few weeks and l ...Show All
Visual Studio Package load failure in IDE - 'devenv /resetskippkgs' ?
I've installed VS2005 beta 2 - appeared ok, but in IDE I get lots of package load failures, and recommendations to skip package loading (and suggestion to use 'devenv /resetskippkgs' to re-enable). Having completely uninstalled and re-installed several times, nothing seems to work. Any suggestions Sounds similar to this: http://groups-beta.google.com/group/microsoft.public.vsnet.ide/browse_frm/thread/7ac44a69aef72ae0/2278abc3da86a3e1 q=%27 ...Show All
Visual Studio Express Editions Convert std::string to LPCWSTR (best way in c++)
Hi! How can I convert an std::string to a LPCWSTR What is the best way to do it in C++ Thanks. "Ciao guaglio!" FabioDeSantis wrote: How can I convert an std::string to a LPCWSTR What is the best way to do it in C++ Instead of using a std::string, use a std::wstring (also called a std::basic_string<wchar_t>). I get the feeling you want to pass a std::string type to a Win32 API. Those APIs don ...Show All
Visual C# SoundPlayer won't play whole .wav file
I am trying to play wav files sequentially using SoundPlayer. I am using the PlaySync method. According to the documentation, program execution should not continue until the wav has finished. I have a test case with a messageBox call after PlaySync. The wav only plays for half a minute to a minute of any song before it stops and shows the MessageBox. I would like to avoid using WMP; I want to keep resources to a minimum. I appreciate any help ...Show All
Windows Forms bind 2 string arrays, first as .displaymember 2nd as .valuemember
Hi, I have two two arrays, one of string type and second of System.Guid type. How can I bind array of strngs as display member of a listbox and array of System.Guid as Value member of a listbox Thanks, I have another field in&n ...Show All
Windows Forms how to populate the treeview from an sql database ??
Hi. I made an sql database and on form1 i have treeview1. The database has 1 table with 3 columns ID ParentID FolderName. Hot to populate the treeview1 on form1_load with nodes from foldername columns Any help will be apreciated. Thx try this, http://www.codeproject.com/cs/miscctrl/dbTree.asp ...Show All
Windows Forms How to make a datagridview row "un-dirty"?
Hi All, I have a datagridview. When a new row is added (by user) and has data, I insert a new record into the database table. My question is how do I mard the row un-dirty so that it will not be update/insert into the table again when user leaving the datagridview Thanks in advance Call AcceptChanges on the row after insertion, or AcceptChangesDuringUpdate = true On the data adapter ...Show All
