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

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

ostrich

Member List

Panagiotis Kefalidis
hallscreations
Jimmy Bogard
Bemba
LenardG
vtr_ajr
Chris Smith MSFT
000Brett000
Ricky Kelley
ChrisParkinson
Daye Rev
Philip Borchert
Tomaszek
davidelloyd
Aceofspades
ScottComstock
BMA
gerbilferrit
Nightowly
sparrG3TI
Only Title

ostrich's Q&A profile

  • Windows Forms pre populated listview

    I have a control that inherits from listview, and i wish the control to populate itself with items when dropped onto a form. Im not sure at what stage to populate the listview. at first i fired the populate method from the constructor. This has the problem or adding the items created to the init stage of the containing form, so the items end& ...Show All

  • Visual Studio Team System Can someone please explain Team System to me

    I've been reading all these comments all over blogs on asp.net, etc.. About how Team System is going to short change individual developers. Seems like the professional version is going to be like EA is now, but I'm not really sure. I like the reverse engineer functions in EA, but I'm not sure what is going to be in each of the versions. The architect version of VSTS sounds cool, but I'm not even sure you can do development with it. Maybe someone at MS can explain the differences between the versions so I can choose which I will need. I would think I would want all the functions at various times, but that may not be possible with th ...Show All

  • Windows Forms Design-time DataSet

    Hi Guys, I am creating an n-Tier application with Four layer.. DAL ->  Web Serice -> Business -> UI. I am passing data using typed datasets.  In business layer I am storing these dataset as static dataset. Basically fecthing them from Web service and storing em in business. Now in UI,  I drag a dataset from Toolbox and select the reference dat ...Show All

  • Visual C++ How to change the text color in Edit control when it is disabled?

    In my program, I try to change the text color in a disabled Edit control, but it always show me the default color. Follow is my code: HBRUSH CMainWnd::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { HBRUSH hbr; if (pWnd == &m_edit) { hbr = CreateSolidBrush(RGB(255, 255, 225)); if (nCtlColor == CTLCOLOR_EDIT) { pDC->SetBkColor(RGB(255, 255, 225)); pDC->SetTextColor(RGB(0, 255, 255)); } else if (nCtlColor == CTLCOLOR_STATIC) { pDC->SetBkColor(RGB(255, 255, 225)); pDC->SetTextColor(RGB(0, 0, 255)); } } else { hbr = CWnd::OnCtlColor(pDC, pWnd, nCtlColor); } ...Show All

  • Visual C# Intellisense is missing a class.

    Hi there. I've just created a new class and everything compiles fine. But now Intellisense doesnt list the class.  I've re-checked the namespace and using lines over and over. I've closed the forms and re-opened and ive closed the solution and re-opened. Still doesnt work. Is there a way i can sort this out This used to happen in VS2003 but usually closing the files or solution would fix the problem. I've just checked the Class viewer and the class viewer shows the class exactly where i want it to be, yet still nothing in Intellisense. -Stark ARGH!!! I clicked and dragged the desired method from the class viewer to my form ...Show All

  • Windows Forms TableLayoutPanel control losts Desgin-time features when attach a designer

    I made a custom control which derives from TableLayoutPanel, class Table :System.Windows.Forms. TableLayoutPanel { public Table() { } } Drop it into my custom form desiner, and it wokrs well. But when I attach a designer to it. [ Designer ( typeof ( TableDesigner ))] class Table :System.Windows.Forms. TableLayoutPanel { public Table() { } } public class TableDesigner : System.Windows.Forms.Design. ControlDesigner { public TableDesigner() { } public override SelectionRules SelectionRules { get { SelectionRules rules; rules = base ...Show All

  • Visual C++ calling a WINAPI function from a managed main creates linker error

    OK, here is the latest saga from this newbie: Whenever I try to call EnumDesktopWindows or GetWindowsText the linker vomits out the following: LocateWindow.obj : error LNK2028: unresolved token (0A00000D) "int __stdcall EnumDesktopWindows(struct HDESK__ *,int (__stdcall*)(struct HWND__ *,long),long)" ( EnumDesktopWindows@@$$J212YGHPAUHDESK__@@P6GHPAUHWND__@@J@ZJ@Z) referenced in function "public: void __thiscall LocateWindow::setPopulateWindowArray(void)" ( setPopulateWindowArray@LocateWindow@@$$FQAEXX Here is the code: (Yeah, its ugly. I am coming at this slow so I get as much of the concepts down as I can) // LocateWindow.cpp : main pr ...Show All

  • Visual Studio Tools for Office Is there version of Dsofile.dll applied for C#?

    Hi, I haved defined a object of DSOFile.CustomProperty named cp,but I can't the cp.value with c#. The property of value is not supported by c#, so how can I get the property of value with c#. Thanks for your help! > cp.Value.ToString() change to cp. get_Value ().ToString() ... see my previous posting -= Maarten =- ...Show All

  • Visual Basic Another Question

    How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) :     Private Sub PicBox_On_Click( ByVal sender As Object , ByVal e As EventArgs)         If PicBox(x, y).Image = Tiles.picPerson.Image Then &nb ...Show All

  • Windows Forms Windows Forms Design strategy

    I am new to .net . When building forms to interface, say, to SQLServer tables and queries, I imagine forms splitted into components (as frames in html), like header, body, footer I suppose the way is to use UserControls as containers (for instance, the footer will contain mainly  buttons, to exit, help, record and form navigation, and the like). The thing&n ...Show All

  • Windows Forms What event do you trap to catch a designer closing

    Hello, I have an ExtenderProvider which provides some inter related properties for ComboBoxes. I have overridden the Verbs collection and also DoStandardAction to provide a Validation routine the developer can run in Design Mode by either DoubleClicking the component in the component tray or selecting it from the RightClick menu. The validation routine is very important so I would also like to run it as the designer is closing and cancel the close if it fails, or at least give the developer that option. But I don't know where to trap the event. I have a custom designer but by the time its Dispose method is called, component.Site is alr ...Show All

  • SQL Server SP datetime Parameter problems

    DROP TABLE TestTable CREATE TABLE TestTable (  StID tinyint NOT NULL ,  StDate datetime NULL ,  Amt float NOT NULL CONSTRAINT [DF_TestTable_Amt] DEFAULT (0),  CONSTRAINT [PK_TestTable] PRIMARY KEY  CLUSTERED  (   [StID]  )  ON [PRIMARY] ) ON [PRIMARY] GO /* And After i'll create insert SP useing 'CREATE STORED PROCEDURE WIZARD' Sp name:'insert_TestTable_1' And Pass Some Parameter values */ Exec insert_TestTable_1 1,getdate(),50.25 --gives Error Server: Msg 170, Level 15, State 1, Line 1 Line 1: Incorrect syntax near ')'. waht is that problem need help.. You cannot use a f ...Show All

  • Smart Device Development [INSTALL] how make a cab recursively with makecab and not cabarc ?

    Hello there. Apologizes if my post isn't in the right place. I made an Installer, and to produce a .cab with the data I use cabarc.exe with can explore a directory with -r option like that : cabarc -p -r n name.cab "path" But now I have to make a multi-cds version, with two or three separate files .cab cabarc.exe doesn't do that, bu makecab do, with a lot of parameters in a DDF file. But... my problem is to ask makecab to explore recursively all the subdirectories in one paths, and store all files. Actually, I just Iteratively put all the pathname\filename in the ddf, witch is not what I want. Thank you for your help ...Show All

  • SQL Server Best practice for handling XML schema hierarchies?

    I have a number of tables with columns of xml datatype.  Each of these columns are typed against a different XML schema collection.  However, each of the XML schema collections contain a hierarchy of schema definitions - and the schemas towards the top of the hierarchy are used by a number of different  XML schema collections.  I want to define the schemas in such a way that if I need to change a schema towards the top of the hierarchy, I only need to change it in one place. I understand that it is not possible to reference a schema in one collection from another - is my understanding correct (If I am wrong, then pleas ...Show All

  • Visual C++ menu item grayed out

    I am usin VC++ 2003.  I have added to items into my menu drop down, the ID of these two items are ID_ITEM1 and ID_ITEM2, then in my code i have this line ON_COMMAND_RANGE (ID_ITEM1,ID_ITEM2, mymethod ) My method exists and works fine.  The problem i have is when i load my application the two menu items are grayed out and not selectable.  I checked the properties of them and they are enabled and not grayed so i what have i done wrong here Thanks ON_COMMAND_RANGE handles all IDs from/to a value. May be at start you designed the software and you start with ID_ITEM1 = 0x8100 ID_ITEM2 = 0x8 ...Show All

©2008 Software Development Network