Software Development Network Logo
  • Visual FoxPro
  • Game Technologies
  • Visual Basic
  • Visual Studio
  • Audio and Video
  • VS Team System
  • Windows Vista
  • IE Development
  • .NET Development
  • Visual C++
  • Windows Forms
  • SQL Server
  • Microsoft ISV
  • Smart Devicet
  • SharePoint Products

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

yinpengxiang

Member List

Scott Herbert
elwood
Christian Sparre
Dimitri Clement
Matt Deane
CsNetworks
esgargs
cgillum
pnp
brohans
Dave Jenkins
Michael Weed
Aaron Oneal
JLesch
Rabbi Joseph Gordon
irl-barse
kalsky
Dunia
Martin Goodliffe
dpatfield66
Only Title

yinpengxiang's Q&A profile

  • Visual Studio 2008 (Pre-release) Question about concurrency and sessions

    Hello. I've been trying to understand the interdependencies between: SessionMode, InstanceContextMode, ConcurrencyMode and the used binding. I’ve done a systematic test where I issue two concurrent asynchronous calls over the same channel, and observed the following: With SessionMode=NotAllowed the calls are processed concurrently, independently of the InstanceContextMode (PerCall or PerSession), of the ConcurrencyMode and of the binding (NetTcpBinding throws an exception). This is ok because every call is handled by a different instance. With SessionMode=Required and InstanceContextMode=PerSession and ConcurrencyMode=Single, the calls are processed sequentially. This is ok because the instance is always ...Show All

  • Visual Studio "Version not found" using SS GET!

    Hello there and thank you in advance for any help. I've read some other threads about similar problems but my issue seems to be unique. We had a VSS 6.0d database and we migrated to VSS 2005 (server and client). The database import went fine and all has been working quite well overall. I create a sidestream of several projects by sharing them over but when we use our automated build script which calls "ss get" on those projects, it appears that files that havn't been changed since before the migration are coming back with "Version not found". Using SS Explorer works fine but the command line utility fails. Any help would be much appreciated! Regards, Phil Can you please explain how to manually change the creation ...Show All

  • SQL Server Tools to generating database creation scripts.

    Hello, there are a tools, or a "ways" to generating "database creation scripts" from a MDF files Thank you for help. Bye Toni Here's another free one: http://www.elsasoft.org/tools.htm it will generate scripts for all objects and data in any 2000 or 2005 database, a separate file for each. It's good for getting your database objects into source control if they aren't already. ...Show All

  • Visual Studio Team System Error TSD158 when Building from MSBuild

    My build server does not have SQL Server 2005 installed on it, just client tools. I execute the following at the command line: msbuild /p:TargetDatabase=MyDatabase;ConnectionString="Data Source=SQLSERVERMACHINENAME;Integrated Security=True;Pooling=False" I get the following response: Build started 12/19/2006 3:44:00 PM. __________________________________________________ Project "C:\MyDatabase\MyDatabase.dbproj" (default targets): Target SqlBuild: Building deployment script for MyDatabase: EnableFullTextSearch, BlockIncrementalDeploymentIfDataLoss MSBUILD : Build error TSD158: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be cause ...Show All

  • Microsoft ISV Community Center Forums IIf function within MS Access

    I am trying to do an IIf function within a form in access, but I don't think the syntax is correct. When I view it in form view it just displays the actual formula and not the answer. Any suggestions =IIf([txtRawMaterial]= "MA"," Sum([Blocks])*50","Sum([Blocks])*55.115") Thanks! Hi I assume that you have created a text box for you field, is the formula in the Control Source in the properties, or have you typed it as text in the box If the formual is not in the Control Source try typing it in there. ...Show All

  • .NET Development Syntax Error

    I'm trying to write a database application in Visual Studio 2005 that inserts data into a database from a VB form, the connect and insert code are below: conBooking = New OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=booking.mdb" ) Dim SQL As String SQL = "INSERT INTO tblBooking (Cust_Name, Telephone_No, Going_From, Going_To, Additional_Requirements, Booking_Date, Booking_Time, No_of_Passengers) VALUES" SQL = SQL & "(" & strName & ", " & strPhone & ", " & strFrom & ", " & strTo & ", " & strRequirements & ", " & strDate & ", " & strTime & ...Show All

  • Visual C++ error

    I have this program to chk time, but the accuracy is 2 sec. I want more accuracy ( 1 sec or less ) pls help , thanks #include <io.h> #include <iostream.h> #include <conio.h> #include <windows.h> int main(void) { FILE *stream; std::ftime ft; int h,m,s,ms; if ((stream = fopen("TEST.$$$","wt")) == NULL) { fprintf(stderr, "Cannot open output file.\n"); return 1; } getftime(fileno(stream), &ft); h=ft.ft_hour; m=ft.ft_min; s=ft.ft_tsec; printf("File time: %u:%u:%u\n",h,m,s); printf("File date: %u/%u/%u\n", ft.ft_month, ft.ft_day,ft.ft_year+1980); fclose(stream); cout << "\n\nPress any key to continue"; getch(); // wait for key pressure return 0; } ...Show All

  • Windows Forms help with deployment - mshtml.dll

    i've created a html control that refereces mshtml.dll. When deploying this project, it works perfect on all computers with vs 2005 on it (VS 2005 installs/registers mshtml.dll 7.0) However, whenever we install the program on a computer without vs 2005, it errors when rendering my HTML editor control because that computer doesn't hvae mshtml.dll 7.0. On the install, we register the dll, but it still does not work on anyone's computer. Has anyone worked with this at all any help would be awesome. thanks. It's not with Ie7. It was fixed when we installed vs 2005 on a win XP home box. mshtml.dll is distributed when you install vs 2005. I've seen other software with this dll on codeproject, sourceforge and the like and have not found any ...Show All

  • Software Development for Windows Vista All WorkflowRuntimeServices running in the same thread?

    Hi, If I add three services to WorkflowRuntime, does the services will run in the same thread (3 services inside only one thread) Regards RL I think that I didn't understand very well. My services inherit from System.Workflow.Runtime.Tracking.TrackingService and System.Workflow.Runtime.Hosting.WorkflowPersistenceService. ...Show All

  • Visual Studio Team System Confusion on "Add Computer" in Load Test Wizard

    Hi, I am a bit confused on the "Add Computer" in the Load Test Wizard. Initially I thought the "computer" is the agent that installed on the network But, it is not. Can anyone calrify on this The computers you mentioned are physical computer or virtual computer Does it same with the agent we installed on the network ...Show All

  • SQL Server Unable to get Output Column for the element

    Hi , I am trying to load data from XML file into SQL Server database tables. I am using SSIS for this. When I am trying to do mapping in the dataflow for the source to destination, i am unable to see elements of XML in the XML Source Editor , which do not have child XML. For Example Columns option of the XML Source Editor is unable to show elements which don't have any child. I have following piece of XML file. Here following elements do not have any child elements. <EstimateDocumentID>12345</EstimateDocumentID> <ClaimNumber>12345678</ClaimNumber> <SuffixID>56789</SuffixID> Piece of XML <Reinspection Type="Request" Version="1.0" xmlns:xsi=" http ...Show All

  • Visual C++ Where should I link?

    Hi, I'm trying to build a DirectX program. I get linking error: main.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function _WinMain@16 I get the error using this line of code: g_D3D = Direct3DCreate9( D3D_SDK_VERSION); Where should I link fighter92 wrote: I have linked there, but it doesn't help The docs specify that library, so I'm guessing you aren't linking the right file after all. Where have you added the dependency As an alternative approach, you could try adding the following, e.g. to the header in which you call the Direct3DCreate9 function: #pragma comment(lib, "d3d9.lib") ...Show All

  • Visual Basic Connection string for databases added to application

    All, I'm wanting to add a local database to my application e.g. an access database that the application can use. When I mean local I mean its part of of the application so that only the application can see and use it. All good so far because I've added one. However, when I look at the connection string from the datasource wizard it includes the path of the database is (e.g. C:\MyApp\MyProject\MyData\MyDB.mdb etc) However if I copy this string to store and use in my ado.net code (as a connection string parameter) it would be invalid when someone installs the application in a different directory or drive. (e.g. if a user installs their application on drive E: ) My question is when I add an .mdb file to my application is there a way I can ...Show All

  • .NET Development Irda Classes not found in System.Net.Sockets namespace

    I'm attempting to write an IR application for a Pocket PC. The Irda... classes (e.g. IrdaClient) don't exist in the System.Net.Socket namespace as they should. Any idea what I may be missing Some System.* namespaces are in assemblies not referenced by default in VS (ex.Remoting, DirectoryServices, etc). Only those mainline technologies on System.dll and a few others are included by default (this varies a bit depending on the type of VS project you create) ...Show All

  • Visual Studio 2008 (Pre-release) Using command line arguments in a WinFX Window application

    Hi, I'm trying to use command line arguments in a WinFX Window application. I figured out the "real" entry point of the program was located in the App.g.cs file. There I can add argument String[] args to the main method. However, the header states that modification to this file will be lost when it is regenerated, making me expect that there's another way to use arguments which would be cleaner. Any ideas of a better way to do it Thanks in advance Here is the code of App.g.cs, where I manually added the String[] args argument to main method: <CODE> //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50 ...Show All

©2008 Software Development Network