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

Software Development Network >> Yalei Wang - MS's Q&A profile

Yalei Wang - MS

Member List

danjones
JJMack
MobyDikc
Shalinko
Hiya
SanatPalia
bill1000
Tony Richards
csaba legany
minut
WildWildWind
Attila Hajdrik
Binoy_rb
Premal Mistry
Bidmaron
Brian Rose
jholetzeck
23db
iCore
Terry Field
Only Title

Yalei Wang - MS's Q&A profile

  • SQL Server SQL 2000 Publisher and SQL 2005 Suscriber

    Where can I found information on how its works and how to do it I tried to do it but I always received an error message Check out the following topic in SQL 2005 BOL: Using Multiple Versions of SQL Server in a Replication Topology (ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rpldata9/html/45154b65-b46f-4aad-82e4-261376a7e9d4.htm) The general rule of thumb for replication topologies involving multiple versions of SQL Server is the following (with a couple exceptions): SQL Server Version of Distributor >= SQL Server Version of Publisher >= SQL Server Version of Subscriber. If you are using a m ...Show All

  • Visual Studio Generate many files from one template?

    I have a DSL now taking shape, including generating code that executes properly, and I must say I am pleased with how quickly it has come together. Now I have a secondary goal to fill: producing static documentation from the diagram. I'd like to produce a set of HTML files (one for each instance of the primary classes in the DSL). I don't see how I can do that with the current structure, which allows me to generate exactly one file from each template. Do I need to create a new DirectiveProcessor or TextTransformation class Can you offer any pointers on how to create many files from one template Thanks, Brian. ...Show All

  • Smart Device Development Why Don't SmartPhone Apps Provide Exit?

    Why don't SmartPhone applications provide an exit function Would I be doing something wrong if I develop an application with an exit function Thanks, BS"D Thank you very much for your reply. As far as startup lag, I find that my Audiovox SMT5600 starts applications up very quickly. In fact, starting an application with a minimum of applications running, executes more quickly than a resume of an application at a time when many applications are running concurrently. Therefore, I think that I will provide an Exit function on my application menu. In fact, I think that I will provide two options: Suspend - which will pre ...Show All

  • Windows Forms datagrid problem

    hi, how can i remove null values in my datagrid  i want to display only a blank column everytime that column contains (null). in c# please. thanks. Apply a DataGridTableStyle to your grid.  This is what controls its appearance. DataGridTableStyle style = new DataGridTableStyle(); style.MappingName = "MyTable"; DataGridTextBoxColumn colStyle = new DataGridTextBoxColumn(); colStyle.Ma ...Show All

  • Visual Studio Accessing the domain model using code

    Hello, Is there some information or samples available on how you can access the domain model programmatically using code For example I got a simple domain model with classes and these classes have an embedding relation to operations. Then I want to do some things on the double click on a shape like: public partial class ClassShape { public override void OnFieldDoubleClick( ShapeField field, DiagramPointEventArgs e) { //Read some properties of the clicked Class Element //Collect the embedding Operation elements of the clicked class element //Add some new classes to the diagram //A ...Show All

  • Visual Studio Adding new property to project using IVsBuildPropertyStorage

    Hey. I'm writing an IDE plug-in and I would like to use to IVsBuildPropertyStorage in order to create a new property group. A bug is already open ( http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=f017d132-0802-4e78-bb00-399aec8a748b ) Any thoughts Thanks, Oren. Hey Rusty Thanks for quick and helpful answer. Oreng. ...Show All

  • Visual C++ AssemblyInfo.cpp

    I need help, When I create a console app the AssemblyInfo.cpp does not load.  All the other source files loads except that one, what should I do Alright, I had a enough.  I just added the AssemblyInfo.cpp and now I get TWO C1190 errors.  Anyone know what I could do to fix this.  Here is my code: #include "stdafx.h" #using <mscorlib.dll> using namespace System; int _tmain() { Console::WriteLine("Hello World"); return 0; } ...Show All

  • Visual C# Interop in reverse

    I am currently trying to upgrade the user interface of a project that was written in unmanaged C++ under VS6. The project is in MFC. The application handles computing Takeoff and Landing information for a variety of cargo aircraft. The UI is a Single Document template using the CDocument-CFormView template. What I have done so far is to use a StrategyFactory pattern to abstract the current UI so that the user will be given the current UI for all aircraft except the ones we are customizing the entry form for. This way we can customize data entry and calculations for each airframe (one at a time) without affecting all users. Now that we ha ...Show All

  • SQL Server SQL 2005 Enterprise June CTP Installation Error

    Tried to install several times (on Win2003 Ent. SP1) but I always get the following error: Failure adding user NT AUTHORITY\NETWORK SERVICE to local group SQLServer2005MSSQLServerADHelperUser (1388) The user varies (sometimes NT AUTHORITY\SYSTEM) and so does the local group (sometimes SQLServer2005SQLBrowserUser). Any tips Regards Roger I have tried to install SQLDEV ,But got the same error mesage. ...Show All

  • .NET Development Minimal Payload Web Services - a good or bad idea. Comments Please

      An approach to Web Service development has been proposed to me that basically restricts the payload, in all cases,  to a single string. The string contains the actual payload as an XML document. The reasoning behind this is to place the burden of validating the XML on the provider. The downside is that the published wsdl doesn't contain the definition of the required payload. It becomes something that has to be managed/documented externally. What do you see as the pros and cons of this approach   Regards, Rob This should be a better way to go, when you are buildin ...Show All

  • Visual C# Creating word template from c#

    Hi, I am developing an application where user creates his own templates with unchangeable data and few paramters from SQL Server 2005 database tables say for example product table. Once the template is created, he generates the word document as and when required based on the product selected. Please guide me how to achive the above things. Thank you, prashant You can use the Microsoft Word Object Library, here is a little list of articles: Automating MS Word Using Visual Studio .NET How to automate Microsoft Word to create a ...Show All

  • Visual Studio Team System Problems after installing the team foundation system on clean windows 2003 server

    Hello, during the installation of the iis I enabled the frontpage server extensions and I starting installing. Everything went smoothly untill I started with the sharepoint installation. With this one I found out that I can't mix sharepoint and frontpage extensions on one server. After some time I managed to uninstall the frontpage extensions and reinstalled the sharepoint system, At this point I started to try and see whether it's working and everything went perfect. Sharepoint was working perfectly. I continued the installation of the  Team Foundation system and after getting a successful installatoin of the team founda ...Show All

  • Windows Forms How to keep lock button from resetting all entered data?

    How can I get around the fact that the protect form lock button will delete all entered data when it is clicked What is the "protect form lock button"   I'm not sure what control/property your referring to... ...Show All

  • Visual Studio Express Editions Cannot compile the sample from MSDN IADsWinNTSystemInfo

    Dear Sir, I have copied the code from MSDN in order to use IADsWinNTSystemInfo to get the machine name and PDC. The code is listed as follows. #include <activeds.h> #include <stdio.h> int main() { HRESULT hr; hr = CoInitialize(NULL); IADsWinNTSystemInfo *pNtSys; hr = CoCreateInstance(CLSID_WinNTSystemInfo, NULL, CLSCTX_INPROC_SERVER, IID_IADsWinNTSystemInfo, (void**) &pNtSys); BSTR bstr; hr = pNtSys->get_UserName(&bstr); if (SUCCEEDED(hr)) { printf("User: %S\n", bstr); SysFreeString(bstr); } hr = pNtSys->get_ComputerName(&am ...Show All

  • Visual C# AspNetSqlProvider

    I have an error when i am try to make web partzone without using sqlexpress I want to use sqlserver2005 entreprise when i am try to create AspNetSqlProvider test failed and i have this error (An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) ) Please post ASP.NET related questions in the ASP.NET forum. The UI experts there can better answer your questions. Please re ...Show All

©2008 Software Development Network