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

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

YongLi

Member List

NickoM
Chad Boles - MSFT
Doug4636xx
Mikhail Podolski
AnthonyAM444
Newkid
swfisher
Tamar
shakalama
ilango2006
gsm
HomerJS
lvwrz
Joe Lynn
MrekM
Robert Arthur
SK_Rajdev
Noah Campbell
Anand Narayan
toypaj
Only Title

YongLi's Q&A profile

  • Windows Forms User Control That Could Contain Controls Dragged On It At Design Time

    I want to make a new control that acts like the Panel but with some other functionalities. What code do I need to make a control dragged onto it to be its child at design time Any help would be appreciated. Decorate your user control with this attribute- [Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof(IDesigner))] public class MyControl : UserControl { } This works with VS.net 2005. http://support.microsoft.com/default.aspx scid=kb;en-us;813450 ...Show All

  • SQL Server Help with Page Breaks and large amount of text...

    What have folks here done with large amounts of text in a table with regard to page breaks I've found that the page break happens before the large block of text starts regardless of where it starts on the page. Even if there is 3/4 of the page empty it will always page break. Here's an example. To illustrate, I'm just pulling back the Article Title and the Article Details. I made the table background dark just so to distinguish it from the rest of the page. http://www.1uvaknd.com/pagebreaktest.pdf This is in VS2003 preview mode. Take a look at page 2. The page size is huge in comparison with the other pages. http://www.1uvaknd.com/pag ...Show All

  • .NET Development Internet or Network Monitor

    I want to make an internet or network monitor to retrieve how much data has been received and sent in bytes, does anyone know how to make this in .NET, what namespaces should i use thnx... You might want to look into PerformanceCounters... and check for Bytes Sent and Bytes Received Counters ...Show All

  • Visual Studio Tools for Office VSTO 2005 with German Office 2003 Installation problem.

    Hi, We installed German version of MS-Office 2003 Professional with SP1. We then installed English version of Visual Studio 2005 and VSTO 2005. When we tried to open the IDE to create a new Excel project we could not able to find any project templates for creating MS-Office application. Please kindly let me know the details in order to resolve this issue. Thanks in Advance. Hi There is an important step missing from Above before Office Pro you need to install the .NET Framework 1.1 for the PIA's to be installed automatically on installation of office, on dev machines I select install all options of Office. This is likely to be the reas ...Show All

  • SQL Server SQL Agent fails to run a ssis with all accounts but one

    Hello, I have a hard time understanding a security problem with SQL Agent. I have jobs that run SQL only ssis packages and ssis packages that access external databases like Oracle and older SQL boxes. For the sql only package, I can use the SQL Agent Service account however for the ssis that access the outside world I have a big problem. Only 1 account will work through a proxy, my personnal Windows NT account. If I try to use an application account through a proxy (Windows NT as well with no password expiration), then The job fails. The packages have loging enabled however the log is not even created when using the applicatio ...Show All

  • Visual Studio Stability of Modeling API

    Hi, We are looking into the possibilities of generating DSL models from other DSL models. We see two obvious options for this. Read the XML model file and create the generated XML model file ourselves using XML. This means that we are dedenpent on the format of the XML files for the models. Read the model file using the modeling API and create the generated DSL model using the modeling API. This means that we are dependent on the modeling API. The question is what the status of the XML format and the modeling API is. Which one(s) is going to be officially documented Which one is expected to be the most stable How m ...Show All

  • Visual Studio 2008 (Pre-release) CLS Compliant ?

    In Feb CTP, I find this: public Collection< ToolBar > ToolBarTray. ToolBars { get ; } It seems WPF DLLs will not be CLS Compliant Thanks! I remember that Generics are not part of CLS. Did it changed recently Or my knowledge on it is wrong from the beginning Thanks! ...Show All

  • Visual Basic need program of motion detection and capturing live video from any device

    hi i need a program that capture live video from any divice like webcam ,tv card(AV) or any other and also detect motion mean it has motion detection functionlality thanks Vicon, Panasonic...to name a couple of mfgs that have video motion detection devices available on the market today!  They are not that expensive and can be added to a variety of sources  ie NTSC, PAL etc... ...Show All

  • Visual C++ is old THISFILE DEBUG headers at top of CPP files still necessary under VS2005?

    VS2003 scattered the following lines at the top of CPP files .. are they still necessary thanks #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE [] = __FILE__ ; #define new DEBUG_NEW #endif a No they are not. This is a lelict from the old VC6 compiler. It wasn't able to collect often used string constants to one reference only. So this trick was used to prevent a code to explode when a lot of new statements and other debugging features of the MFC are used (DEBUG_NEW). The new compiler can collect equal string constants and reduce them that ...Show All

  • Visual C# AppDomain Disconnected??Why

    AppDomainSetup setup = new AppDomainSetup(); setup.ApplicationBase = "c:\test\someclass"; setup.DisallowBindingRedirects = false; setup.DisallowCodeDownload = true; AppDomain appDomain = AppDomain.CreateDomain("Test", null, setup); (SomeClass) someClass = (SomeClass) appDomain.CreateInstanceAndUnwrap("Test", "SomeClass"); someClass.TestMethod(); I don't know some time the someClass will be disconnected. Why ...Show All

  • Visual Studio Team System Error on Check In

    After upgrade checking out a file works fin. When I check it in a couple of error dialogs appear saying checkin failed. Output window shows: YesNoRadioButton.cs has been automatically checked out for editing. Changeset 240 successfully checked in. Object reference not set to an instance of an object. Looking in the Source Control Explorer shows the file checked in! But in the Solution Explorer it still shows as checked out. On restarting the IDE the Solution explorer agreed it was checked in. Trying this again locks up the IDE, no response, had to kill it in Task Manager. Arrggghhh.... So ...Show All

  • Visual Studio Team System Installation problems

    I am currently trying to install Team Foundation Server 2005 Beta 3 onto a Windows 2003 server (SP1) for testing purposes, but having some weird problems. I have downloaded the installation instructions and Installed SQL Server 2005 (CTP). This installed fine, with no problems. Then I have installed Sharepoint services with SP1, again no problems there. Finally when I tried to install TFS, this is what I do, 1. click on setup.exe and select Install Team Foundation Server. 2. Clicked on Single-Server installation and get the following 'Thank you for participating in the Beta program. You must uninstall all pre-release products in a speci ...Show All

  • Windows Forms Determine if a MenuItem is on MenuBar

    Hai .....,          I have designed a User control, a custom MenuItem, that is inherited from MenuItem. Now when the user adds my MenuItem to the mainMenu1 (MenuBar), I don't want to do anything to my custom menuitem control and leave it to its default behaviour. How can I determine that my custom menuitem control is on the menubar or not Regards, Hemant You could actually change that line to: bool isTopLevelMenu = this .Parent is MainMenu;   If someone has derived from MainMenu, then your check will not work. ...Show All

  • Visual Studio File or assembly name CrystalDecisions.Web, or one of its dependencies, was not found.

    To All I have developed a report in VS 2003 that is ran in both a Win App and a Webpage.  When I run the app or the webpage via "localhost" the report is ran correctly.  When I run the webpage on our webserver (different machine) I get the error:   "File or assembly name CrystalDecisions.Web, or one of its dependencies, was not found." I have found a post on the http://support.businessobjects.com website refering to the assemblies being different versions but this not the case here. Following is the full error from the website:   Server Error in '/webKanban' Application. Hello David, It sounds like you need to deploy ...Show All

  • Visual Studio Tools for Office Deploying a shimmed Excel add-in

    Hi! I seem to have the same problem as many others here; deploying an Office add-in. I have read probably everything available in these frums and others several times over. My issue is the following; I have built a shared add-in in managed C# and shimmed it so it works perfectly in my dev environment. My target is Excel 2003, and I am extending IDTExtensibility2 using VS2003 / .NET 1.1, on an XP SP2 box. Signed, sealed and ready to go, or so I thought... I had a second machine set up with Win2000 Advanced, since this will most likely be the target OS platform and Office 2003. Installed my deplyment packege and saw my en ...Show All

©2008 Software Development Network