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

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

sjb500

Member List

dreameR.78
mthomasq3
J Tatta
coolkay
70Hours
Dark Dominion
enric vives
Kiranvukkadala
87jerome
emericbart
Nadav Popplewell
Cindy Zhong
sajohnstone
madhurieerupula
Jim Holloway
.net sukbir
Puchu
ReyCri
Microsoft_hates_me
longwood12345
Only Title

sjb500's Q&A profile

  • .NET Development Transactions across WebServices

    What's the best way to handle the transactions across web services in .net How to perform a 2 -way commit Example: Client a makes a request to company ABC Server to add user. AddUser() operation is executed on Company ABC Webserver. Then a call is made to the web service to execute AddUser() operation on Company XYZ Server. ( data is synchronized on another database ) If either operation fails on eith company ABC or company XYZ, the whole operation should be rolledback. Any idea Thanks. monu Hello, If you need to perform transactions in an interoperable way, you probably want to start looking at WS-Atomic Transactions and WCF. You can take a look through the WCF web forum ...Show All

  • Visual FoxPro sys(6) or otrher means to know what selected printer device is.

    Hi; How can I know what is the current printer Sys(6) often returns either nothing or sometimes it would return a path to the server where the app is installed. Thx. Try: Set ("Printer", 3 ) HTH ...Show All

  • Visual Studio File grouping per project

    I work on a large code base (30,000+ files) and what I need is a way in Source safe to group files that I have checked out. So when I do a search to see all the files I checked out, I can mark them to say "for project A" or "for Project B" and if they were color coded that would be awesome. I find myself always trying to figure out if I checked out a file for this project or that and the only way to tell if by doing a difference. When there are 50 files and half are one, and half are the other I waste a lot of time. I don't have the latest source safe, perhaps this feature is available, if so someone let me know so I can request an upgrade. I'm using 6.0 Cheers You could use ch ...Show All

  • Software Development for Windows Vista What is the best way to handle many persistence examples?

    I have been downloading and playing with several persistence examples and or tracking. If I keep using the same database I then receive errors due to a missing assembly from the previous example. The way I have been handling this is by one of the methods: 1.) Wrap a try catch around the method having the issue. 2.) Create a new database for each example. 3.) Prep the database for a new example by dropping the db and running the scripts again. I am curios for a better way. I believe I might be missing a method call to only query for the current applications instance IDs instead of all the examples I have worked with instance ids. Is that what SqlWorkflowPersistenceService (System.Collection.Specialized.Named ...Show All

  • Visual Studio Express Editions small problem with Messagebox

    Hello. I have just a small problem. i have a MessageBox on my form. On the menubar, when ya click File, then click New, if text has changed in RichTextBox1 the MessageBox opens asking if ya want to save it. When ya click Yes on the MessageBox the SaveFileDialog1 opens, which is want i want it to do....the problem is, if ya click No on the MessageBox the SaveFileDialog1 opens. How can I stop this from happening and get the th MessageBox close when ya click No heres my code: Private Sub NewToolStripMenuItem1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewToolStripMenuItem1.Click If RichTextBox1.Modified = False Then End If If RichTextB ...Show All

  • Windows Forms Modify ConnectionString

    Hi, I searched, but couldn't find an answer. Is it possible to modify a connection string at runtime This code throws an exception, not sure how to fix. string connectionString = this .txtConnectionString.Text; ConnectionStringSettingsCollection col = ConfigurationManager .ConnectionStrings; ConnectionStringSettings section = col[ "MyConnection" ]; section.ConnectionString = connectionString; The last line throws this: System.Configuration.ConfigurationErrorsException was unhandled Message="The configuration is read only." Is this something I can configure I have a requirement to allow certain users the ability to change the connections string, rather than forcing them to modify the app. ...Show All

  • Visual Studio Team System Call unit test from Build

    We are using MSbuild to build all the csproj files ( we do not want to use .sln file) . What happens is the RunTest target is running before the actual compilation happens and as a result of this all the unit test fail because the assemblies are not yet built. We need a way where-in we should be able to compile all the csproj and after the compilation is done we need to call the RunTest target. Any idea how to do this Note : we need to compile all the assemblies only project by project and not entire sln ( Solution file) at one shot. We are invoking the msbuild directly something like this < MSBuild Projects = " $(SolutionRoot)\TeamBuildTypes\test\WinProj1.proj "> ...Show All

  • Visual Studio Team System Testers please Help with my master degree

    Testers hi, I have the following 6 questions which I would appreciate anyone answerin between now and the 9th Feb. Your answers will be used as part of my research project for the masters degree I am studying. Could you describe what your experience has been like using Microsoft Visual Studio Team Systems 2005 Why did you choose to use VSTS What effect has using VSTS had on the team What effect has VSTS had on you as an individual What was the expected outcome of using VSTS What was the actual outcome of using VSTS Please reply to this message on the forum or on my email address simes1412@hotmail.com many thanks SImon ...Show All

  • Visual C# Different ShortDateString Format with Windows

    I have a windows service that writes to a .txt file DateTime.Now.ToShortDateString(), the windows service wrote 7/21/2006, but when I use another program to print the DateTime.Now.ToShortDateString() using message box, it prints 7-21-2006. I created that windows service about 2 weeks ago and I changed the date time format last week. I tried rebuilding the windows service, then re-install it, still got the same date format. I added some new functionality to the windows service, the functionality worked, but I still get the same format. Is there any way to solve this problem thanks Guessing a bit, but a custom short-date format is a per-user setting and the service uses a different user ...Show All

  • Visual C++ windows.h not found...

    WOW, I can't believe this information isn't easier to find.  I downloaded and installed Visual C++ 2005 Express, and then downloaded and installed the Platform SDK SP2.  NOTHING WORKS!  The Directories are not found and there is no apparent way to set them.  Apparently users have found a hack to make it work, but this is crazy.  It seems like the first Microsoft person to install this would notice that it doesn't work and would raise the flag to the appropriate people so they can take the steps to fix it for their users.  Or at least document it on the very first page where it is downloaded, or the very first page of the documentation.  A user shouldn't have to hit forums to find out how to make a product ...Show All

  • Visual C# Need advise in programming C#.

    Hi, I am wondering if anyone can help me or point me to the right direction. Currently, I can program applications in C#. What I am lacking is the know how to setup a proper application structure. Right now when I create a project/application, everything goes in one *.CS file (with form) which works but not professional looking when you peek behind the scenes. I need advise on properly setting up a project so I can, maybe, create other *.CS file to move out procedures/functions, database related stuff, etc. Any books that can help me Can anyone help. Thanks, Rick.. You can divide your application into different layers as per your need. You can use Microsoft Enterprise Library/Application Bloc ...Show All

  • Windows Forms How do I set the location of a control loaded at runtime?

    I've created a Button control that I want to locate on the bottom of the form.  How can I use the form's size attributes so that no matter how the form size is changed, the button(s) will always be centered along the bottom of the form At this point, I'm dragging a button control from the tool box and positioning it on the form then, using the button's Location property to use in the code then deleting the button from the form.  I can vaguely remember in VB 6.0 that you would use the form's ScaleWidth and ScaleHeight but these are not in C#. Needless to say, I'm kinda lost. Rhubarb Hi, The Height and Width property can be accessed in the constructor. I tested your code, and it works fine despite the fact ...Show All

  • Visual Basic Open A Software Program within VS Created Software

    Hello, Can anyone help me please. I have a file and its path is c:\myfolder\myfile.mde I want to add a button on a form and in teh click event I want to launch the above file. Can anyone help me please with sample code. I am using Visual Basic in Visual Studio 2005. Thank You Joe Process.Start (" c:\myfolder\myfile.mde") ...Show All

  • SharePoint Products and Technologies How to customize DispForm for Document Library

    Is it possible to customize DispForm for Document Library I cannot see display form in Supporting Files tab at Document Library properties window. If I create new display form, how to replace default form with it. You are correct, the tab does not display it. I think you will have to just change the existing one. And since SPD doesnt show it in the folder list, you will have to open it directly using "file-open" and giving the URL to the dispfom.aspx. I have no idea why this should be like that. ...Show All

  • Visual Studio Express Editions problems adding VC++ dll to VC#

    Hi, I am trying to create and then use a VC++ DLL in C#. I created the DLL in Visual Studio 2005 . I just built the dll without adding any function of mine to it. That is, it is a dll that exports symbols and has the following pre-defined export symbols/functions. // This is an example of an exported variable TEST_API int ntest=0; // This is an example of an exported function. TEST_API int fntest( void ) { return 42; } where, #define TEST_API __declspec ( dllexport ) Then I created a simple VC# empty project ( in Visual Studio 2005) and added the class "test" to it. When I add the VC++ dll as a reference I get this error .... "A reference to "../test.dll" could not b ...Show All

©2008 Software Development Network