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

Software Development Network >> Jeff Micro's Q&A profile

Jeff Micro

Member List

Neil Kronlage
ian1974
IanBlackburn
WhatIsBigBang
Lixin D
confusesc
M. Lohmeijer
HughFraserLarne
sThanes
GeoMan001
Xena Systems Limited
nikitaj
Dev Null
msbh88
Alan Churley
jelon
Artemio
Janus_42
John Mitchell
千堆栈
Only Title

Jeff Micro's Q&A profile

  • .NET Development ReadOnly List<>?

    Is there a way to get a ReadOnly List<> We could do that with ArrayList with: public class EmptyArrayList : ArrayList { public override bool IsReadOnly{ get { return true ; } } public override bool IsFixedSize{ get { return true ; } } private void OnPopulate() { Console .WriteLine( "Warning: Attempted to populate a static empty ArrayList" ); Console .WriteLine( new System.Diagnostics. StackTrace () ); } public override int Add( object value ) { OnPopulate(); return -1; } public override void AddRange( ICollection c ) { OnPopulate(); ...Show All

  • Visual Studio Express Editions Visual Basic vs Delphi

    what are the main differences between the two - and more specifically which one is better/more popular     Which is better, apples or bananas Which is better... Ford or Chevy They each have their own strengths and weaknesses.  You have to decide which you want. As for the comments about VB.Net being less of a language than C#.  I find that juvenile.  The CLR makes both languages nearly identical.  The rest is just syntax http://geek-dev.com/107/csharp-vs-vbnet-its-just-syntax ...Show All

  • Visual Studio Tools for Office VSTO Question: Looking for WORD Action Pane example that lists and select contacts from Outlook

    Would really appreciate any help or guidence. I want to have an Action Pane in Word that somehow allows the user to select a contact from the Outlook contacts and insert that information in different parts of the document. Are there any examples of integrating contatcs and using the action pane Thanks for any help, VA Actually, you do not need an 'actions pane' example because what you want to do can be done in a variety implementations (winform, user control, etc.). What you are going to do is work with the Outlook OM programmatically to retreive contact names and display them. I have compiled a list of resources to ge ...Show All

  • SQL Server can anyone guide me

    i'm very new to SQl server, even i know nothing about it, all what i know about is Ms Access, i want to ask that :- 1) what is the differences between the queries and the stored procedures, i don't know till now i see both of them are the same thing. can anyone please till me what is the difference 2) i downloaded sql server express edition and it doesn't has interface , in the same time i can't install the managment studio , every time i i try to install it , it gives me message says "the administrator set policies to prevent this installation". so is there anyone has a solution for this ,or can tell me what i can use as interface for ...Show All

  • Visual C# Developing web apps using VC# Express?

    Hi. Is it possible to develop web applications using Visual C# Express Edition, or will I need the full Visual Studio 2005 product for this If not, is it possible to code the project as a windows forms project in VC# Express, and then copy the project to a Visual Studio 2005 machine and compile it as a web application Thanks! /Anders (newbie) The language is not a problem, you can use C# or VB. If you used Visual Studio 2003 to develop web application then you should be familiar with Web Developer (altough there are many changes). If not, then you are probably new to web applications in .NET and that means ...Show All

  • SQL Server How to change from SQL Server Express to Database.mdf connection

    Hi, I've created a SQL Server Express Database that is used by an ASP.NET 2.0 application (developed using VWD Express). I would like to be able to: Make changes to stored procedures, views and table structures while developing/testing ASP.NET application - which, ideally, needs a SQL Server Manager Studio Express connection and Upload my application and data to a database on a network - which, ideally, needs a direct Database.mdf connection. I know that I need to change my connection string - and am able to achieve that with ease - but I'm not sure what the best way of switching between the two ways of attaching on the ...Show All

  • SQL Server how to convert rows to columns

    hi i have a sample data like patientno visit experimentdate 101 1 23-Dec-2004 101 2 23-Mar-2005 101 3 23-Jul-2005 102 1 23-Dec-2004 102 2 23-Mar-2005 102 3 23-Jul-2005 i want it to display like this patientno visit1 visit1date visit2 visit2date visit3 visit3date 101 1 23-dec-2004 2 23-Mar-2005 3 23-Jul-2005 102 1 23-dec-2004 2 23-Mar-2005 3 23-Jul-2005 ..please suggest how can we do it select patientno ,visit1 = max(case when ...Show All

  • Visual FoxPro foxpro

    i have 2 field table, let's say FOOD and PRICE. so i want to make a form with a listbox (FOOD) and a text box(PRICE). when i choose a value from FOOD droplist, i want to have displayed the coresponding value in the textbox. i.e. if i choose "potatoes" i want to have displayed the right price. if i choose another value... etc. i hope someone understood my question and can explain me at aldrenn200@yahoo.com THX Dan Hi Aldrenn, How about something along the following lines.... Make sure your combobox has controlsource, rowsource and rowsourcetype set. Also; set controlsource for textbox. Below is an example. ...Show All

  • Windows Forms How to catch the row change event in a datagrid?

    Hi everybody, How to catch the row change event in a datagrid I'm using VB.NET. I have a datagrid filled from a table. I want to raise the row change event when the user selects a row. I found the code for it in C#, but I want an example in VB.NET. You are right, it doesnt have the Row Change Event implicitly. You will most probably have to use either the CurrentCellChanged event or the Click event. There is a protected event also for row header clicks : RowHeaderClick ...Show All

  • Windows Forms Setting default value for null in datacolumn and datagrid

    Hi, I have a datagrid bound to a datatable. I have different columns in my datacolumn of type Integer, sometimes the value in datacolumn is NULL and in datagrid it also shows up as NULL. Is there anyway I can display some other character such as "-" or "n/a" in datagrid instead of null I am using 1.1 so I cant use datagridview Thanks, I guess a feasible solution would be to iterate through the DataTable and set the relevant values to "-" or "na" whenever you come across a Null value. Later when you bind the datatable to the datagrid, it would refl ...Show All

  • Microsoft ISV Community Center Forums VBA for Powerpoint

    Hi, I have been asked to modify a powerpoint presentation so that from a series of jpg files, one appears on the screen and then after a specific time period disappears and is replaced by another; this being a continuous loop on one slide only - like a photo tour. I have the following code, but need to get it up and running. Any suggestions: Sub ImportABunch() Dim strTemp As String Dim strFileSpec As String Dim oSld As Slide Dim oPic As Shape strFileSpec = C:\PFS Pictures\beach party *.PNG 'Ex. on a PC: C:\My Pictures\Flowers\*.PNG strTemp = Dir(strFileSpec) Do While strTemp <> Set oSld = ActivePresentation.Slides. Add ppLayout ...Show All

  • Visual Studio Does VS2005 support Mixed Mode Edit and Continue in Unmanaged C++ code?

    Under VS 2003 I was able debug unmanaged C++ code called from a managed C# project and use edit and continue to modify the C++ code. Under VS 2005 I am not able to get edit and continue to work on the C++ side when using mixed mode debugging. If I use native only debugging it works. Was this functionality taken away in VS 2005 or do I have a project setting wrong someplace Great question. I just wrote up an answer here: http://blogs.msdn.com/jmstall/archive/2006/01/26/cant_combine_enc_and_interop.aspx You can't have both Edit + Continue (for managed code) and Interop enabled at the same time. ...Show All

  • Visual Studio Custom text markers in VS2005 beta 2

    Hi All, We have a weird problem with custom text markers under VS2005 Beta 2 (8.0.50215.44). <br> Our AddIn registers about 30 custom text marker types. We tested it under VS2005 and, seemingly randomly, some of them work and some do not. What happens is that markers do appear in the editor (tooltips are showing, for example), but they have wrong colors (not what our implementation of IVsPackageDefinedTextMarkerType says they should have) <br> We investigated this problem, and this is what we have found so far: <br> 1. When we remove all registered external markers (all entries from 'VisualStudion\Text Edito ...Show All

  • SQL Server Report deployment without VS

    Hi! I created several reports and I want to give them to several persons for the installation on their SQL Server 2005. Is it possible to create something like an installation package (similar to the deployment manifest in SSIS) Thanks for any help! ...and Jasper's reply reminds me that you can also now script this stuff right from SQL Managment Studio just like you could script tables, views, etc. back in 2000. Launch SSMS, connect to your Report Server, then right-click the object you want to distribute and click Script. ...Show All

  • Windows Forms Updating listbox bound to collection class

    I have a class that inherits CollectionBase and implements IBindingList and I have a listbox bound to it. I also have a text box bound the object.name property which is also the DisplayMember of the list box. The problem is that if I change object.name by editing the text box the listbox does not update.  If I trap the change and write t ...Show All

©2008 Software Development Network