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

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

Varix

Member List

Tim Windsor
fettoter
leohere
CodeJingle
dave987432987
Ed Tenholder
ofer ebert
Alex MacFarlane
Chade
Vikas H
Sathyags
Gafrage
Benjj
kevinzx
GeniusManiac
jbattat
Timmy
narasiman_jayachandran_2b5374
utterlyconfused
EZ1976
Only Title

Varix's Q&A profile

  • Visual Studio 2008 (Pre-release) Why does ClientBase Dispose need to throw on faulted state? (Or, what's the difference between close and abort?)

    Could someone enlighten me as to why calling Dispose on a faulted client proxy needs to throw an CommunicationObjectFaultedException instead of just aborting the client   Essentially we have to do this: Client c = new Client(); try {  c.Foo();  c.Close(); } catch (Exception) {  c.Abort();  throw; } Instead of: using(Client c = new Client()) {  c.Foo(); } Yes, I've read the justifications in the SDK and here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=627970&SiteID=1  but the "summary of internal discussion" seems to be "well, that's what we're doing, so deal with it." I still don't understand why Close must throw instead of just, well, closing I know I'm going to have to live with i ...Show All

  • Visual Studio Team System Permissions Problems!

    I have huge problems with the permissions for TFS. I have created a project in which I add an AD group (Projekt) to the Contributers group. My problem is that the members of the the AD group aren't allowed to add work items to the project. I have tried to add the group directly to the security system, added a single member to Contributors, add the AD group to the Area node and assigning permission, all to no avail. Please help! Do I need to synchronize the warehouse in some way Regards Thomas Petersen Hello Thomas Petersen:   According to your words that the added AD group can connect to the TFS, can access source control in the TFS, BUT only cannot add work items to the project. If ...Show All

  • .NET Development How to omit xmlns="" from the created node through XmlDocumentFragment?

    Hi, I am inserting some new nodes with the help of " XmlDocumentFragment" Object. Here is my Code; XmlDocument doc = new XmlDocument (); string path = Server.MapPath( "~/test.xml" ); doc.Load(path); XmlDocumentFragment docFrag = doc.CreateDocumentFragment(); docFrag.InnerXml = "<url><loc>" + "Here come Location" + "</loc><lastmod>" + DateTime .Now.ToString( "yyyy-MM-dd" ) + "</lastmod></url>" ; doc.DocumentElement.AppendChild(docFrag); doc.Save(Server.MapPath( "~/test.xml" )); This results as; < url xmlns = "" > < loc &g ...Show All

  • SQL Server Is there any way to read the transaction log?

    Hi there, I need to recover certain transactions that I made on the server. Those transactions were in scripts and I lost the files. Is there a way to read the transaction log so that I can see what transactions were executed TIA The transaction log is a binary structure and is not designed to give this sort of information. As Glen points out, there are third-party companies who have licensed the file layouts from us and are able to reproduce the original statements from the logs. Lumigent's Log Explorer is one of these. ...Show All

  • .NET Development How to run custom code when List<T>.Add or List<T>.Remove is running

    Hi, Before generics I used something like this to connect childs with parent classes interface IMyItem { CollectionOwner Owner{get;set;} } class MyCollection : System.Collections.CollectionBase { // ctor public MyCollection(CollectionOwner owner) { _owner = owner; } // internal interface protected override OnAdd(object item) { if(item is IMyItem) ((IMyItem)item).Owner = _owner; } } this way one was able to add items to a owner class owner.Items.Add(new Item()) and the owner had the item instance in his list while the item had a reference to his owner, which made a call like item.Remove() possible instead of calling owner.Items.Remove(item) Now, .net 2.0 introduced generics, way cool. But how do I implement this behaviour wi ...Show All

  • Visual Studio I should really know this one......

    Hi there, Im making a soap request to a web service that is erroring. I have been asked to send back the SOAP that was sent back to me (ie the error). In the debugger I only see the error message and not the entire SOAP message that was sent back. How do I see the entire SOAP message Cheers, Justin. ...Show All

  • Visual Studio 2008 (Pre-release) Data Contracts vs Message Contracts

    Hello, I'm not sure when I should use a message contract. In fact why would I use a message After all my operation parameters get serialized into a soap envelope automatically. So when would I use a message and when would I use a serilizable class Thanks in advance Houman Thank you. I'm new this type of architecture and design, so the question is when/why would I want to write my own messages when I get them for free with WCF bindings Thanks Houman ...Show All

  • Visual Studio Express Editions Update/create SQL Express database

    Not sure if i should post this here or in the SQL area, but anyway... I am deploying an app with 1 click and wanted to know the best way to update and or create the database and objects using a sql express database. My idea was to not include the database as part of the install and have it created from a script or schema file, then on all other updates it does a compare then applies an update based on the difference. Is there a best practice for this or whats the easiest way to be able to update the database once deployed. Thanks in advance I guess yes, you would probably be best storing the script itself in the application directory and reading the entire file and executing that on the Sq ...Show All

  • Windows Forms Problems with form after closing Word

    I have an app that runs out some reports in Word. Word starts and opens the document on top of my project. When I close Word by clicking on Close box of the Word application, Word disappears , but my application is messed for a couple of seconds - some controls are visible, some of them are not. Looks like some kind of Video problem. Is there any way to avoid such a behavior or does anyone know whats causing this I'll take a guess, without knowing exactly how your app is currently written. I suspect that you creating a Word component within your application that spawns Word. You must have controls or other objects that are related to this instance of Word. By closing Word, those objects are poi ...Show All

  • SQL Server how to check if a connection to a server is valid?

    using smo, i am creating a conection to a server. but it doesnt seem to matter what i pass to the server object, it doesnt throw an error if the server doesnt exist: Server s = new server("blaBlaBla"); How do i check if there is a connection to the server, after the server i screated The connect is done as you are doing something with the server as querying the server version or something else. Otherwise you won’t get an error about a non-existing / non-responsive server. HTH, jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server Is this possible?

    Hi guys, Is there any mechanism or tool to convert T-SQL query to its corresponding MDX query Please let me know. Sincerely, Amde Hi, The thing is I have a T-SQL query which works perfectly in a relational database. And I want to implement the same functionality in my Cube. So I am curious to know if I could achieve this thing. Sincerely, Amde ...Show All

  • Visual Basic PrintForm Print Preview

    Probably a newbie question, How do I show a "Print Preview" before printing a form using PrintForm Sample code please Thanks!! Why am I seeing a "Black" patch in the "Print Preview" The height of my form is taller than the screen display. I tried all the Print Options. But, I get the "Task Bar" in some and an unknown black "patch" in few options. ...Show All

  • Visual Basic DIM and Private

    Hello, someone could me explain what is the diference between DIM and Private variable declaration   Thanks dim creates an object/variable. Dim number as Integer creates a variable called number of type integer private would pretty much mean an accessor type. So you can have a method (function/sub) which is public (meaning to let other callers/classes to be able to see this method) or private (meaning only this class can see it and no other classes can see it as its private, only keeps itself to itself) So if you declare the variable globally in the class, it will only be able to be seen by the class itself on a global scope but in order to make it see to other classes, you would need to make it public. Mini ...Show All

  • SQL Server Cannot Access Report Manager

    I have just installed Reporting Services on a 2 server web farm. I can access http://virtualserver/reportserver but when I try to access http://virtualserver/reports , I get the following: The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Have you checked that the reports virtual directory actually exists in IIS If not then you either need to set it up manually if you know how or run the RS configuration tool to set it up. ...Show All

  • Visual C++ "error LNK2005"...How to fix it?please help me...

    I'm using Visual C++ Express Edition..I'm programming in Win32 Console Application.When I compile the appliacation,compiler informs that: error LNK2005: "public: class String & __thiscall String::operator=(class String const &)" ( 4String@@QAEAAV0@ABV0@@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: __thiscall String::String(char const *)" ( 0String@@QAE@PBD@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: __thiscall String::String(class List<char> &)" ( 0String@@QAE@AAV $List@D@@@Z) already defined in UseString.obj 1>String.obj : error LNK2005: "public: char const * __thiscall String::c_str(void)const " ( c_str@String@@ ...Show All

©2008 Software Development Network