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

Software Development Network >> Brian Weed's Q&A profile

Brian Weed

Member List

Maciej Swierzewski
Raidu
Adiavn
Phil Graham
Telarin
Jurassic
vignali
Eric Gooden
Xie Guangzhuang
Ramyakeerthi
Gabriel Mongeon
references on solution explorer
cafeshopkeeper
Mike Wachal
Robert Phan
jenn hweehuangdong
AirborneMarik
chmarroc
netterdotter
Assaf Ella
Only Title

Brian Weed's Q&A profile

  • Windows Forms User Controls with parametrized constructor

    Is it possible to allow designer support for a user control that does not have a default constructor (i.e. the only constructors available take parameters) I modified one of my existing user controls to eliminate the default constructor and now I can no longer drag it onto forms in the designer. In addition forms that already contained the control do not&n ...Show All

  • Visual Basic try-end try in a property

    I get errors when I place try and/or end try either before or within the property declaration and/or the end property declaration. Is there any way of catching errors within a property or an overloaded property dennist685 Without seeing your code it's a bit hard to tell you what's going on. However, try blocks within properties is perfectly legal: Public Readonly Property MyProperty() As MyType Get    Try       Return MyValue    Catch ex as Exception       'Handle Error    End Try End Get ...Show All

  • Windows Forms TransparencyKey usage consuming memory

    I can open up to 5 Webbrowser controls on 5 separate forms.  A medium size panel control on each form is transparent.  I can only open up to 3 forms before memory is exhausted.   As a test, when I eliminate the transparency I have opened the same form up to 50 times without any problems.    Has anyone else run into this&nb ...Show All

  • Visual Studio Team System New FxCop Rule Requested

    Folks: My I recommend the addition of a new rule (or does this rule already exist ). FxCop should generate a warning message when an object that implements the IDisposable interface is instantiated in a method, and is only used in that method, and is not part of a using block, and isn't disposed. Sincerely, Eric Bergman-Terrell www.PersonalMicroCosms.com This rule does exist but we neglected to ship it in the last update to FxCop. This was an oversight. I'll talk to the team about a timeframe for correcting this issue and will post another reply here soon. Michael ...Show All

  • Visual Studio Field auto Conversion

    Hi, My table contains a field with Date time type. But once i drag the field in to Crystal report desing, it shows string. What would be my setting problem. I am using CR9.0 Dot net bunded version. Anyone help me in this issue ...Show All

  • .NET Development Bug using a Serialization Surrogate

    Using also a very simple implementation of Serialization Surrogate the deserialization fail, if there is a forward reference, with a SerializationException and a message:    "The object with ID 1 was referenced in a fixup but does not exist." this is a sample to see the bug: Can anyone tell me if I'm wrong or confirm the error. Also any workaround are welcome. ------------ using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters; using System.Runtime.Serialization.Formatters.Binary; using System.Reflection; namespace SerializationTest { sta ...Show All

  • Visual Studio Build Solution in IDE and Msbuild

    Hi, Is building a solution using command line msbuild call different from building a solution within VS2005 IDE. If yes, is there any references/tutorials with respect to that. Our solution compiles successfully within the IDE but fails when I call msbuild Project.sln Our solution contains C# projects with web applications and website (website contains one web application as virtual). Thanks MRI hi, i am doing build process using cruise control with msbuild.iam getting the error which is mentioned below, pls tell me how to clear this error ASPNETCOMPILER (,): error 1003: The directory 'D:\SWCode\CodeFromInd ...Show All

  • Visual Studio Express Editions Moving to SQL Server 2005

    I have some books on order so hopefully my immediate questions will be answered shortly without too much help from others here. I have lots of experience developing/using SQL Server 2000, so I thought taking up SQL Server 2005 wouldn't be too much of a mind shift. How wrong could I be My initial experience of SQL Server 2005 is not particularly positive because I seem to be struggling to get off first base. I had expected to see an updated copy of the Enterprise Manager that I was familiar with in SQL Server 2000, but no such thing seems to exist for SQL Server 2005 on my development PC (or at least, I can't find it if it is there). I ...Show All

  • Smart Device Development Can not find type http://tempuri.org/:ComboBoxVO

    Hello there, Our app runs on the pocket pc and connects to a web service. The web service returns a value object which looks like the following: ****************************** public class ComboBoxVO {   public string id = null;   public string name = null;   public ComboBoxVO(){}      public ComboBoxVO(string id, string name) {     this.id = id;     this.name = name;   }   public string Id {      get { return this.id;}   }   public string Name {      get { return this.name;}   } } ****************************** ...Show All

  • Windows Forms Dynamically determine column type for a cell?

    I am using a datagridview to display some data and allow user input. After they input a value, I capture what they typed and then do a retrieval of data for that record (row) in the datagridview. If I return 1 item, I'd like the adjacent cell to be a textbox that is read only for that row, however if there are more than 1 record retrieved, I'd like to have a combobox where the user can pick the value in the adjacent cell. Can this be done I have read some stuff about virtual mode, thought maybe it could help but am unsure. One option would be to make the adjacent cell a combobox column and automatica ...Show All

  • Visual Studio Rename VSS Database Name

    Hi, Is it possible to rename the sourcesafe database name to something else I tried searching for an answer but couldn't find anything concrete. Thanks in advance. Yes. You can open the database selector dialog (File/OpenDatabase), then press the Browse/Add button (depending on whether you're using VSS6/VSS2005) and re-add the database, and providing a new name for it. VSS will prompt that database is already in the list and will ask if you want to rename it instead. Answer Yes to rename it. If you're familiar with the registry, you can also rename it directly there. The databases are stored in lists ...Show All

  • Windows Forms DEAR JACOBMVP

    ur code that u send for clearing the datagrid does not work. I have wriiten the code on the click event of the delete button  "it gives error " nothing does not exist in the class or namespace" Kindly give the alternate if possible. thanks in advance sayyed It should work , probably you 've mispleed it, and if I were to it&n ...Show All

  • Visual C# DirectX and Visual C# Express???

    Hi, I'm trying to play around with DirectX and C#. I downloaded the C# Express edition, and the latest DirectX SDK. After installing the DirectX SDK, I tried to add a reference to my project for Microsoft.DirectX, but I couldn't find anything DirectX under the .NET tab. Then I went through the browse tab looking within the directory structure for the DirectX SDK, and couldn't find anything C# would reference to. I then browsed to the C:\Windows\Assembly directory, and found all the Microsoft.DirectX stuff, but C# express wouldn't add those as references. Is there a setting I'm missing somewhere, or does DirectX not ...Show All

  • .NET Development making a data type unique across web services

    I'm writing client and webservice code.  The problem is that in the client, i get ambiguous references when i use a common data type.  How do i make computed Permissions one and only, unique across all my webservices Thanks. Error 102 'ComputedPermissions' is an ambiguous reference between 'MyCompany.XXX.API.AdminServiceWSE.ComputedPermissions' and 'MyCompany.XXXt.API.SearchServiceWSE.ComputedPermissions' D:\src\MyCompany\XXX\Main\Source\Production\XXXt\API\VaultDocument.cs 47 17 VaultAPI Hi Here is what i understoodd. this is the problem occurring when u ...Show All

  • .NET Development Is it impossible to send Nothing in an integer input parameter?

    A third party webservice wants null / Nothing values for certain optional integer input parameters. I understand that the integer datatype cannot hold a null/nothing, but is there anyway to force this Can I manually do it somehow   Tracy     Yes, thank you, I WAS able to talk the web service provider into making a modification to interpret 0 as a null value. I count my self very lucky, however, for many providers would not consider modifying their service to suit a single client. I tried modifying the proxy class, and using an IIF() to force a Nothing down the throat of the Invoke method, b ...Show All

©2008 Software Development Network