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

Software Development Network >> Curtis Gray's Q&A profile

Curtis Gray

Member List

m4lomb
Krish Srinivasan
kcnz
Kelvin Lush
ElisabetdW
DVDMIAMI
Dawn2005
Tabar
fahad11
Bruno B.
Kivak Wolf
Trish
dano992
Lordkire
lovely
Krystof
cool dude
Mahmoud Amereh
Jacksparrow1985
Miguel Angel Herrera Escobar
Only Title

Curtis Gray's Q&A profile

  • Visual Studio Modifying an addin's toolbar in DevStudio 6.0

    I have written a small addin DevStudio 6.0 to support a large project (1200 files, 10gig of source).  It uses what I believe is the expected methods of adding commands and a toolbar, specifically it uses the IApplication::AddCommand and IApplication::AddCommandBarButton to create a tool bar and add appropriate buttons.  Now I want to be able to modify, in any way possible, the buttons which were added to the tool bar.  Yet, I cannot find any method, accessible programatically from my addin, to (a) modify the state of a button, or (b) get a handle to a CommandBar object so that I can do (a), ...Show All

  • Software Development for Windows Vista Creating user interface elements (especially forms) from workflow activities

    I am trying to solve a number of use cases where a particular workflow is required to "create" a variety of different Windows forms.  Based on the workflow running on a different thread than that of the main thread running all the other user interface elements, I am starting to think that this type of use case might not be a good candidate for WWF ... thoughts   Am I trying to use the technology is an incorrect way I understand how to update "existing" user interface elements from a workflow activity.  But these use cases require "new" user interface elements to be created. Any suggestions would be appreciated. ...Show All

  • SQL Server Multiple threads

    Is it safe to use one database connection shared across multiple threads. Each thread has its own set of data i.e its own SQL command etc, but sharing a single database connection. Actually the scenario is that in a web site I want to open a single database connection when web application starts up. On each page hit will construct a SQL command and query/update the database. I just want to know if multiple requests come at the same time will threads be blocked if I share global connection. What will happen if one request is trying to retrieve the data and another request is updating the database using the same connection Thanks ...Show All

  • Visual C++ Where is CWnd::CreateControl ?

    Hi, I am investigating if MSVC 8 provides a viable upgrade path for us. I have ported my MSVC 6 applications to MSVC 8 and have gotten all my libraries to compile. However, every application that uses an ActiveX control generates a linker error regarding CWnd::CreateControl. But my other MFC based applications link and apparently run correctly. What gives This is hand copied so hopefully it is correct. error LNK2019: unresolved external symbol "public: int __thiscall CWnd::CreateControl( struct _GUID const &, char const *, unsigned long, struct tagRECT const & ...Show All

  • Windows Forms Seperate Thread progress form

    I am trying to create a Progress form for my program that loads in a seperate thread so that screen updates and animations on the form are smooth and timely. I have had some success with the following code. The Form Used as a "Template" for the threaded progress form: Public Class frmDebug Private m_Thread As Threading.Thread Private m_CloseByCode As Boolean Public Shadows Sub AsyncShow() m_Thread = New Threading.Thread( AddressOf ThreadMain) m_Thread.Start() End Sub Private Sub ThreadMain() UctlProgressSpinner1.Style = 1 UctlProgressSpinner1.Active = True Application.Run( Me ) ...Show All

  • Visual Studio Team System Unplanned work report incorrect

    For some reason or another, the "Unplanned Work" report (MSF Agile 4.0) is not displaying properly. I set the plan completion date to a date somewhere in the middle of the project lifetime, click on the view report and only see "Planned" work items even though work items were created after the "Plan completion date". The report shows that the number of work items increases after the "plan completion date", but it doesn't show them in orange. Jason, What version of TFS are you using Could you ensure that the reports you have deployed in your project correspond to the latest reports in the me ...Show All

  • Visual C++ unresolved external error

    I am copying a program from a book " using visual c++" OLE and com programming. I created autoserver and tried to test it in a dialoge based application (this calls a function (squareroot )in autoserver  through dispatching) when i run the application I getLinking... testcomDlg.obj : error LNK2001: unresolved external symbol "public: double __thiscall IAutoserver::squareroot(double)" ( squareroot@IAutoserver@@QAENN@Z ) Debug/testcom.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. testcom.exe - 2 error(s), 0 warning(s) i checked the spelling in all modules where the function exists. I dont know why I am getti ...Show All

  • Visual Studio Team System Source Control in Portal?

    Hello -- I was wondering what the most straightforward way to expose source control in a Portal site is, so that I can get latest, check-in, check-out, etc, from the Portal site w/o having to install Visual Studio Ideally, I would be able to have a GUI that works at least as well as Visual SourceSafe w/o having to install Visual Studio. thanks for your help, joyce Team System doesn't support web access to source control or work items out of the box. There are a number of 3rd party products out there that purport to provide such access. I haven't used any of 'em, so caveat emptor. http://www.devbiz.com/te ...Show All

  • .NET Development Deleting lines from Text File. - after a specific charater has been met.

    Hi, I'm using VB.NET 2003, and I would like to know if it's posible to read a file, line-by-line, and then after a 5, or more consecutive (-----) character has been met, it must delete all the line till the end of the file. Thank you... You will have to read charachter by charachter not line by line. And yes of course it is possible, whit kind of framework would .NET be if you would not be able to read a file ...Show All

  • Visual Studio Team System TF84041 error when opening an Excel sheet with Work Items

    When opening the "Project Checklist" from Team Explorer I get the message TF84041 : Microsoft Office does not have the language pack installed that supports your current locale settings. To correct this problem, install a Microsoft Office Multilingual User Interface Pack. I have installed Office 2003 Professional and the Office Proofing Tools (Dutch Language). Does anyone know if I really have to use the Office Multilingual User Interface Pack to get this working Unfortunately, you do have to install the MUI pack in order to get this working in Beta 3. It's caused by an unfortunate Excel bug to do with some ...Show All

  • Visual C++ Exporting a class static instance variable from a DLL using a DEF file

    Hi all,   I have a simple class defined in a DLL that contains a public static variable. I have written a .def file to export it. When applications link against that DEF file they can't find the local variable when I've declared it as DATA in the .def file. On the other hand, if I remove the DATA tag the linker can find it, but it seems to point to invalid memory.   Here are the details. Source files in the DLL: bogus.h: class bogus { public:   bogus(void);   ~bogus(void);   bool empty (void);   int internal (void);   int staticDude (void);   static int kStatic; // Why Can't I link Again ...Show All

  • SQL Server Relationship diagrams in SQL mobile 2k5

    I looked in the manual as to how I should go about putting a realtionship diagram for my database. Unfortunatly i do not see the Diagram node in the object browser they are reffering to. Does anyone know how I can create a relationship diagram for my mobile database You can choose Add Data Connection in Visual Studio 2005, connect to your SQL Mobile database, and then use the Query Designer, choosing all of the tables you wish to see in your diagram. The diagram is presented right there in Visual Studio 2005. Darren ...Show All

  • Visual Basic vb and access

    Hello all, Well I am building an application (as for my final project in the university), and I want some help: I have report in Access, how can I have a button in VB that can call that report thanks Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\accessfile.mdb;") Dim dacv As New OleDbDataAdapter("Select * from table", con) Dim dscv1 as new Dataset Dscv1.Clear() dacv.Fill(Dscv1, "table") DataGrid1.DataSource = Dscv1 DataGrid1.DataMember = "table" Dscv1.WriteXml("C:\queryresult.xml", XmlWriteMode.WriteSchema) finally; you can relation crystal rep ...Show All

  • Visual C# Resize Window and controls on resize..

    hi... today earlier i was lookng an application and i looked on the resize event it resized all the controls in it... the labels,, the controls... the listviws,.,, so if u made the form very tiny,,controls were very tiny,, if u resize bigger the form... u had huge controls... and this guy who developed it told me that he used a control that do this... does anybody know about that control :) mig16 hi, you can achieve that by useing anchor property in this webpage you will find user interface video that talk about this http://www.franklins.net/video/sockets/ hope this helps ...Show All

  • Windows Forms Problems with setup project - am I thick?

    I've a c# forms project that uses SQLExpress and Managed DirectX (developed under Beta 2) I'm trying to build a setup program for it.  I need to do the following:- Include DotNet 2.0 Beta redist Include SQLExpress redist Provide a .exe.config which is not the same as in the development project (e.g. some directories will be different on the target) Provide a link on the desktop and the programs menu. Included more than one executable (ideally in the same directory) I would LIKE to populate the database with a script during installation. I can do the redist inclusion with the 'Publish' option. I can do the links with a Setup Pr ...Show All

©2008 Software Development Network