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

Software Development Network >> search and deploy's Q&A profile

search and deploy

Member List

Ed77
ACCOUNTINGONLINE.US
John Galt 2007
mterui
dummies
Andre's
Tiziano27
Petchey
Ian Griggs
A.Russell
tnsgod831
bxs122
GustavoPollitzer
Anand Raman - MSFT
Carpet King
steal
jerrykur
DrJim
lfassio
sedlin
Only Title

search and deploy's Q&A profile

  • Visual Studio 2008 (Pre-release) Can someone explain how TCP endpoint connection pooling works?

    Hi, I tried to use tcp connection pooling but can not get it to work. I made a sample host that looks like the following: class Program { static void Main( string [] args) { ServiceHost host = new ServiceHost ( typeof ( Calc )); host.Open(); Console .WriteLine( "Host open" ); Thread .Sleep(10000000); } } [ ServiceBehavior (InstanceContextMode = InstanceContextMode .Single,ConcurrencyMode = ConcurrencyMode .Single)] public class Calc : ICalc { #region ICalc Members [ OperationBehavior ] public int add( int z, int y) { return z+y; } #endregion } < system.serviceModel > < behaviors > < serviceBeh ...Show All

  • Visual Basic Best practices for Error handling and Callbacks

    Are there any best practices for placing error handling blocks This is a VB winforms scenario. Is it best to place the error handling in the client form, or middle tier / business logic side Thanks This is a question with many answers, and whatever practice you choose to adopt will probably evolve with experience. As a general rule of thumb I always work on the principle that I only trap exceptions if I can resolve the cause. Indeed, this is the pattern recommended by the FXCop team. A number of languages provide a concept of checked and unchecked exceptions which may well be worth your investigation. It's a nice pattern to adopt and leads to cleaner code generation. In short, and unche ...Show All

  • .NET Development Multiple async calls to 2 different web service methods

    Hi all I have a web service, one of the methods takes around 5-10 mins to execute, so I call this asynchronously, which is fine, however, I want to call another method on the web service called GetStatus every 5 seconds or so in order to obtain the status of the initial method call. How can this be achieved Thanks Kev Hi, you can try to use the Application object or use Sessions. Also, I suggest you read this article, it seems pretty neat. http://www.beansoftware.com/ASP.NET-Tutorials/Managing-State-Web-Service.aspx Thanks, John ...Show All

  • Visual Studio Express Editions DataGride View Question

    I have a DataGridview being filled by SQL. My question is how do I only show certain columns. Here is my code that I am working with. My rows that I want to show are name,id,DE_status Dim connectionString = "Data Source=localhost;Initial Catalog=TESIS;User ID=sa;Password=passw" Dim theDataSet As New DataSet() Dim theSqlCommand As New SqlCommand( "Select * from [FR-DEVICE-TABLE] WHERE [DE_STATUS] = 'Active'" , New SqlConnection(connectionString)) Dim theDataAdapter As New SqlDataAdapter(theSqlCommand) 'SqlDataAdapter.Connection.Open() theDataAdapter.Fill(theDataSet) theSqlCommand.Connection.Close() DataGridView1.DataSource = theDataSet.Tables(0).DefaultView thank y ...Show All

  • Smart Device Development Breakpoints do not get hit...

    Hello,   a colleague has big troubles debugging compact framework 2.0 applications from his VS2005 environment (to be more specific: he has hijacked my PC because the troubles do not occur there ). The problem is that every CF2.0 application he runs will not break when run on a device, but the same application runs and hits the breakpoints on the device emulator. It doesn't matter if it is a big multi-project solution or just a simple little HelloWorld project, the debugger just isn't interested in breakpoints anymore.   We searched over this forum, but none of the solutions work for him. Some of the things we found and tried are: Deleting de bin/obj folders. Showing the Debug toolbar. ...Show All

  • Visual Studio Express Editions IE toolbar

    Hello, i want to ask if anyone can help me in that, i want to make a simple toolbar for internet explorer, something like "google toolbar, msn toolbar " but i don't know how to start , i have googled it , all what i found was an artical in codeproject, which depend on c++ library, is there any way to do something like that but pure vb.net thanks in advance ...Show All

  • Visual Studio 2008 (Pre-release) Need HELP getting started with WPF... (downloading the proper programs)

    Hi. I need help getting started with WPF. I am trying to download a beta version of this new program and I can't seem to figure out which files I need. Is there not a bundle I can download and just get quickly started I need any Visual Basic program, .net 2.0 plug in, as well as an SDK pack I am a graphic designer, not so much a programmer. My company has elected me to get in on this software -- and I can't even figure out where to download. Please advise.... Thank you. Best Regards, M .NET Framework 3.0 RC1 Windows SDK RC1 Visual Studio "Orcas" Extensions for .NET Framework 3.0 RC1 (also see readme for WPF designer) Visual Studio 2005 Extensions for Wind ...Show All

  • Visual Basic Why does my Leave-eventhandler execute twice?

    Hello, I have a problem with my Leave-event handler - it fires twice. I have 3 text boxes on my form. The user will put numbers in the text boxes, but the numbers cannot be the same. So when the user jumps to the next text box my Leave-event handler checks if the text box, whixh was left, has a unique number. Below you can see the code - somewhat simplified: Private Sub TextBox_Leave( ByVal sender As Object , ByVal e As System.EventArgs) _ Handles TextBox1.Leave, TextBox2.Leave, TextBox3.Leave Dim CurrentTxtBox As TextBox = sender RemoveHandler CurrentTxtBox.Leave, AddressOf TextBox_Leave ' ...code for testing... CurrentTxtBox.Focus() AddHandler CurrentTxtBox.Leave, AddressOf Tex ...Show All

  • SQL Server How do I create a Relationship in DB Diagrammer ?

    Hi Folks, When I try to create a Relationship between two Tables I find the Relationship is always created from the Table I start with to itself. I seem to have to select a Table to enable the Create Relationship option, and then when I 'Add' it creates a recursive Relationship to that Table. I guess it must be possible to do what I am trying to do I'd appreciate any advice. Thanks. Barry You need to add at least 2 tables (relationFrom/To). When you have your tables on diagram surface click and drag the key column on to foreign key column of other table. ie: If you have 2 tables: Customers: CustomerID primary key Orders: CustomerID foreign key Click and drag Cust ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A Few Questions

    I've been programming for a while, but I can't grasp a few basic concepts of game development, so I have a few questions (actually a lot of questions, but i'll only ask a few) I see a lot of documentation talking about 3D stuff, but I'm interested in 2D and it's hard for me to relate 3D tutorials to 2D. What exactly is the SpriteBatch class, and how should it be used Would I derive an "enemy" class from SpriteBatch I don't understand the way a "camera" works.. if you move a camera, is the actual camera moving or are all the sprites moving Do I have to move them manually Ro0ke wrote: What exactly is the SpriteBatch class, and how should it be used From the ...Show All

  • Architecture Architecture for Notification based application

    I need to develop a notification based system in .Net. Basically as and when certain data gets updated, the client machine is informed about it. There would be a windows based application running across all these clients. One way I was thinking of was to have the clients poll the server for any updates at frequent intervals. Whenever the Server does an update it would post the update into a queue. Every client would poll the queue for any updates. Would like to know if this approach is alrite or suggest an alternative architecture. Thanks Sai I agree with the "ToadKillerDog" person. Consider Notification service in both version of SQL Server and consider UDP instead of TCP/IP protocol to reduc ...Show All

  • Visual Studio Team System ClickOnce Deploy

    Hi all, I am doing a clickonce deploy using the following Task in the AfterCompile target: <MSBuild Condition=" '@(SolutionToBuild)'!='' " Projects= "%(SolutionToBuild.RelativeDir)folderpath\projname.csproj" Properties= "Configuration=%(ConfigurationToBuild.FlavorToBuild); Platform=%(ConfigurationToBuild.PlatformToBuild); SkipInvalidConfigurations=true;VCBuildOverride=$(MSBuildProjectDirectory)\TFSBuild.vsprops; FxCopDir=$(FxCopDir);OutDir=$(OutDir);ReferencePath=$(ReferencePath); TeamBuildConstants=$(TeamBuildConstants);$(CodeAnalysisOption); PublishDir=$(DropLocation)\$(BuildNumber)\; ApplicationVersion=$(BuildNumber); PublisherName=Name that shows in App menu; PublishUrl=http://urlpath/virtualhost/; http://urlpath/vi ...Show All

  • Visual Studio Express Editions Compatibility with binaries built with 2005 standard edition

    How does the Express Edition work together with binaries created with the std ed compiler Can I directly link .obj or .lib files created with the std compiler with .obj files created with the express compiler I'm currently trying to link a few downloaded .lib files to my express compiled project. The downloaded binaries are built with the 2005 compiler but I can't get them to link properly. So the big question is: Must I look for special 2005 express binaries to be able to link 3rd party lib files Looks like it's not a compatibility problems at all but rather the new default compiler option for Zc:wchar_t causing the link errors. I should have seen that. Now all that's left is the fun new circus wi ...Show All

  • Visual Studio Why the namespace can't be found when the project is really included in the solution?

    I opened a solution from VSS. When I tried to build it, there were hundreds of errors: some namespaces can't be found. But the fact is that the projects which define the namespaces are really in the solution right now. I wonder if I should make references to the .dll files of the projects. Why Thank you in advance. Regards, WLh93 You don't really provide a lot of information to go on. What language (or languages) are you using Does "not found" mean that you are getting an error like "namespace does not exist" or are you getting an error inicating that a particular file or assembly cannot be found or something else When you tried to build your solution, were the ...Show All

  • Visual Studio Team System Error 28925 - TFServerStatusValidator TFSService Account

    Does the Service account for TFS have to be a member of the servers domain or can it be a local user account I've tried every combo known and still am getting this error at the end of the install. Hi, Mike,   In my case, single server, no other server domains (i.e., TFS only, no ther Windows Servers on the network). I created TFSService account as a local user account. The groups assigned for it are 'IIS_WPG' for IIS worker processes, 'STS_WPG' for SharePoint services, and 'Users' group.   Hope this helps.   Regards, killem   ...Show All

©2008 Software Development Network