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

Software Development Network >> John B. Adams's Q&A profile

John B. Adams

Member List

NormanL
Chaehorim
E.M
Stephen Turton
MikeBur
Ravs Kaur _ MS
marco1974
ComputerSolutions
Kevin O Donovan
Jitendra Shahani
jus
neuhawk
Keyboard_Cowboy
oz_michaelw
Stahl
Rogvi Knudsen
mfitz
ssekhar
Tarek Haoula
daveky
Only Title

John B. Adams's Q&A profile

  • Windows Forms Property DefaultValue of type Point or Size

    I have a usercontrol with many public properties and I want to set their default value.  For those that are int and string, I know how to do that ( [ Category ( "Layout" ), DefaultValue (10)] ), but how do I do it with type point or type size Thanks JGA So you have a property called MonthFont. ShouldSerializeMonthFont should work assuming _MonthFont has been initialized in your constructor to be equal to base.Font. You can debug this by opening up a second instance of Visual Studio and attaching to the first instance of Visual Studio and then in the second VS, set a break point to your ShouldSerializeMonthFont method. My guess ...Show All

  • .NET Development Passing Dictionary in WebService

    I tried to pass Dictionary as a return value of a webservice Here's a snippet of the code:    //I marked BL.Customer class as serializable.    [Webmethod]     public Dictionary<string, BL.Customer> GetAllCustomer()     {         Dictionary<string, BL.Customer> customers = new Dictionary<string,  BL.Customer>();         customers.Add("1", new BL.Customer("John"));         customers.Add("2", new BL.Customer("Jane"));         &nbs ...Show All

  • Architecture Software Architectural Synthesis Factor Table

    Quality attribute requirements drive the design of architecture and the resulting views of the architecture.    A Software Architectural Synthesis Factor Table results from several iterations of putting together different abstraction levels and then views of an architecture.   I had an old factor table that came from an old project that in the end the client decided would be to costly to move forward with.   I thought I would post it to give an example of what a factor table ends up looking like. You can view it here . In his blog , Arnon talks about making architectural de ...Show All

  • Visual Studio Using VSTS Beta 2 - Strange error COM+ in Add-in

    Hi everyone, I'm using the Extensibility Addin Project type to create a new add-in project. I have added a simple User Control (just a button). I've used the new EnvDTE80 (DTE2) objects to create a new Tool Window with my button. The relevant code is below:             windowToolWindow = (((EnvDTE80.Windows2)(applicationObject.Windows)).CreateToolWindow2(addInInstance, "C:\\Documents and Settings\\palleb.EU\\My Documents\\Visual Studio\\Projects\\AddinTOOLB\\AddinTOOLB\\bin\\AddinTOOLB.dll", "AddinTOOLB.Control", "C# Tool window", guidstr, ref objTemp));         &nb ...Show All

  • Visual C++ Migration from VC 6.0 to VC 7.1

    I am porting from VC 6.0 to VC.NET 2003 and I am getting the following issue:- error C2143: syntax error : missing '}' before 'constant'. Plus any document or help on migration from VC 6.0 to VC 7.1 Best Regards, Just another try. So you include MSXML4 with an import. The ShObjIdl.h needs the DOm pointer definition. So using namespace MSXML2 will over this definition for the heaer file. Try to place: #import "msxml4.dll" using namespace MSXML2 ;  in front of the #include of ShObjIdl.h Or use #import with the no_namespace option. ...Show All

  • Windows Forms databinding problem

    I have been converting from ado -> ado.net for the past 6 months.. but this keeps poping up from time to time why is this not the same Me.textbox1.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.dataset1, "table1.col1"))          Me.textbox1.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.dataset1.tabel1", "col1")) when using the studio.net 2003 inferface&nb ...Show All

  • Visual Studio How to Display Image as a blob field from dataset in VS2005???

    Hi Images in the Crystal Reports were displayed as blob field from dataset in VS2003. After upgrading to VS2005 it is prompting for database login. I have tried a totally new application in VS2005 to insert image as blob field after loading it into dataset but it is prompting for Database Login. Please Help ...Show All

  • SQL Server SQL table and column metadata

    SQL table and column metadata Is there a way to add or update the column or table (using the extended properties) description metadata via T-SQL (from within a stored procedure) or via a program (such as VB.NET using ADO) These metadata properties are available via the SSMS interface: Columns via the Column Properties/Table Designer/Description Tables via the Table Properties/Extended Properties/[Extended Property Name] Thanks in advance, Mark Hi, look for sp_addextendedproperty procedure in the BOL. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Express Editions Overriding compared to Java

    When coding in Java the following code will call the correct Display() method. It does not act the same in VC#. Is there a way to accomplish the same characteristic [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Overriding { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click( object sender, EventArgs e) { Override [] overriding = new Override [2]; overriding[0] ...Show All

  • SQL Server Name cannot begin with the '>' character, hexadecimal value 0x3E

    Hi, This is my first attempt at SSRS, I've added code section to the xml file. But when I use <> for not equal to, it is giving me this error. What should I do The code is as posted here. Thanks, Debi *************************************************************************************** <Code> Dim PrevId as Object Dim a_Count As Double Dim b_Count As Double Dim c_Count As Double Dim d_Count As Double Dim e_Count As Double Dim Total As Double = 0 Function SumMPCount(ByVal CurrID As Object,ByVal code As Object, ByVal NewCount As Object) As Double If(CurrID is Nothing or code is Nothing or NewCount is Not ...Show All

  • Visual Studio Express Editions Newbie trying to understand the use of a Timer in Visual Studio VB

    Hi I have copied the example code from the help files. ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref17/html/T_System_Windows_Forms_Timer.htm but cannot figure out how to use it. I tried a whole bunch of things involving stuff like: Dim fred As New Timer fred.Enabled = True fred.Start() expecting the included 5000 ms timer to start and count down to zero then show the message as per the example code - but noting happened. How do I use a Timer   http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=375277&SiteID=1 :) ...Show All

  • SQL Server Passing parameters to Oracle stored procedure

    Hi, How can I pass input parameters to the Oracle storeprocedure from Reporting services. Can any one help me in this Regards, RajeshJV There have been a few related threads on this forum recently, but here is my summary of advice: First, make sure that you are running at least RS 2000 with SP1 installed on report designer and report server. Or use RS 2005. Check the following article for general information about how to connect to Oracle from RS: http://support.microsoft.com/default.aspx scid=kb;en-us;834305 For stored procedures use " Oracle " as data source type which will give you the managed provide ...Show All

  • Windows Forms System.ArgumentException while deploying

    Exception occurred while initializing installation. System.ArgumentException:File = does not exist.If this parameter is used as an installer option,the format must be /key=[value] What i do is: add a custom dialog in instalion process to enter the string, then add custom action In custom action -- in install i add my primary output whose property CustomActionData I set it to /medPath = [EDITA1], also InstallerClass property is true. if i dont set CustomActionData...then i dont get this error I have written a class which takes the value from custom dialog but the exception is generated. In UserInterface I have start welcome Textboxes(custom ...Show All

  • Visual Studio Team System Unable to add code to Source Control (too many chars)

    I'm attempting to add a folder to Source Control that contains a huge directory structure. Any ideas on how I can accomplish this other than modifying the directory structure to be less than 248 chars Microsoft Visual Studio Error The Specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. You can't. Even if you use Unicode filenames (\\ \D:\reallylong...), our database schema limits your local paths to 259 characters. ...Show All

  • Visual Basic VB2005 Book

    Could anyone tell me what would be a good book to start I used vb6 in my last project. Is it ok to skip vb.net Please advice... Hello Paul. I have been using the book "Introducing Microsoft Visual Basic 2005 for Developers" as you suggest. However I am missing out because the code samples have gone AWOL. The suggested link is dead: http://msdn.microsoft.com/vbasic/VB6Migration Can you find them for me Thanks, Vernon. ...Show All

©2008 Software Development Network