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

Software Development Network >> Michael Koltachev MS's Q&A profile

Michael Koltachev MS

Member List

Jeff Young - MSFT
Ash88
Mark Gilbert
Richard Michaels
momak
schaneville
Neoki
Gun
Youngmin
Yames
GMG_NetCoder
Juan Reyes
KSLCam
Giles Nutkins
almargob
Sathiyarajan
nehajampala
Phreddy
RussellF
happycamper1234
Only Title

Michael Koltachev MS's Q&A profile

  • Windows Forms Setting the Initial Directory on Dialog Boxes

    I use two dialogue boxes in my program, one to open and load pictures and the other to save html documents to a file.  I want the first one to initially point to "My Pictures" and the other to point to "My Documents".  Windows seems to overide the initial directory and rather point at the last directory the user looked at (through a dialogue box).  Is there anyway to override this Code shown Below; Private Sub btnBrowse_Cli ...Show All

  • Smart Device Development MFC CPropertySheet/CPropertyPage

    Good day. I use MFC classes CPropertySheet and CPropertyPage to implement tabbed application. I've got some questions: 1. How can I move tabs to the top of screen I tried to apply TCS_BOTTOM attribute, but it doesn't work: CTabCtrl* pTabs = this->GetTabControl(); DWORD flags = pTabs->GetExtendedStyle(); flags |= TCS_BOTTOM; pTabs->SetExtendedStyle(flags); 2. When I have only one PropertyPage in my Sheet, components of this pag ...Show All

  • Visual C++ _bstr_t question

    How do I do case conversion for _bstr_t Are there any functions available I looked up MSDN, did not find much help there. Appreciate any help, S _bstr_t exists mainly to provide conversion between ANSI and Unicode strings. It doesn't do much else, you'd have to take the string in whatever format you want and put it into a string wrapper that does tolower, toupper, etc. From memory, std::string needs a functio ...Show All

  • Visual C# Changing a control's selected color

    hi there, how does one change the SELECTED color of a control e.g. button which is in a Toolstrip i.e. when the cursor hover's over or clicks on it There are many ways to do that. One of them is to create your own custom control that inherts from the control you want to modify. Then override the OnPaint method (or any other paint method that is for your desire) and "Paint" your way to your control. At the beginning this might ...Show All

  • Visual C++ System.InvalidOperationException

    Hello NG do enyone now how can i update a Form during the runtime some code: ...loud() devForm^ devF = gcnew devForm(); devF->TopLevel = false ; this ->tabPageDEVControl->Controls->Add(devF); devF->Show(); end loud Online() ... //starting a timer timer... .... UpdateForm()... //Here become i a Exception this->devF->ShowData( myString); You are using multiple threads. As the message states, that exception is ...Show All

  • Visual Studio Team System Can I run a query as a data source to a SQL Server database?

    Hi, all. Is it possible to run a query in the data source rather than connect it to a table I have a SQL Server database that I would like to run a query on rather than select from a specific table. Thank you. Yulia, I beleive you are asking about Data Driven Unit Tests. It is not possible to specify a query but you can create a view or stored procedure on your SQL server and specify the name of the v ...Show All

  • Visual C# Missing project file in a solution

    Currently, we are adding a c# project to a solution that was formely code in visual basic. However it seems that every time we tried to load the solution file, all of our c# project is missing and we have to manually add the c sharp project one by one. Does anyone have an idea how to overcome this problem It's not a fatal problem but it's quite annoying after some time. This can only happen if the path's chanced ...Show All

  • Visual Basic String to REG_BINARY

    Does anybody know how to convert a string, containing both text and numbers to REG_BINARY I can convert to hexadecimal, but not REG_BINARY! Help! This is going to sound really stupid, but how do I use / get the b1 and b2 values e.g. assign the b1 value to a label Oh...the program that is going to read the values is Outlook Express. Tim ...Show All

  • Visual C# select statement

    Hi all, I would like to use select statement where something is "". For example, SELECT * from alm_history where userAck is "" how can I put this into a select string You have to escape the quote character. To read more about escaping, see this page, this page, this page and this page. Here is a little escape sequences table: Escape Sequences (Special Characters in C# St ...Show All

  • SQL Server How to recover Database from .MDF

    Hi there,   I lost my .LDF file. Is there a possibility to recover Database from the MDF file with all data and Stored procedures Im using SQL Server 2000.   Please help....and sry if this is the wrong Forum for it...   Thx T. Gnewuch   Try to use sp_attach_single_file_db, it can recreate the logfile if the database is not corrupt. HTH, Jens Suessmeyer. --- http://www ...Show All

  • .NET Development What's a inactive connection or client?

    Hi, All, As you known, IIS has a connection timeout option, which will recover the resource owned by the inactive connection. But what's a inactive connection If we set IIS connection timeout to 2 minutes, a user call a web method which will spend 5 minutes, then, the user do nothing and waiting the web method return, Could the user get the result of the web method The answer is YES. But that does the connection timeout and the in ...Show All

  • Visual Studio Team System Solution to pcw.rosetta and pcw.wss-related error (and a new error)

    Allright... regarding the pcw.rosetta/pcw.wss initialization issues ppl. are getting at the very begining of Team Project creation here is the deal: 1. Install sigle-server (dual-server testers are probably not having this issue since SharePoint doesn't conflict with ReportingServices (Rosetta)) as instructed in the guide; 2. APPLY ALL updates (i mean it); 3. Go to IIS... open and notice that the Application Pool for ReportingServices is the sam ...Show All

  • Visual Basic Issue in Customizing Navigation Bar in Microsoft Sharepoint

    I am facing an issue in Customizing Navigation bar in Microsoft Sharepoint .   The following piece of code introduces VERTICAL navigation bar having links to the sub-pages of the page with the category id as ‘CurrentCategoryID’ mentioned in the code.   <SPSWC:CategoryNavigationWebPart   CurrentCategoryID=68e4bfc5-60f7-4995-bbfd-5ecda9991863 runat="server" id="HorizontalNavBar11" DisplayStyle="VerticalOneLaye ...Show All

  • Windows Forms DebuggerStepThrough related question.

    Hi all, I use the <DebuggerStepThrough()> attributed to stop the debugger from stepping through certain procedures in my widows forms application. But I have several projects in my solution and some of them are debugged already. How can I still keep a project in my solution but prevent the debugger from stepping through one or more entire projects In other words: step through project A, but skip project B. Thanks in advance, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. colorvalue in progressive mesh sample

    Hi, new to DirectX in C#, not in C++. In the August 2005 DirectX sdk update, there is a sample in C# called "Progressive Mesh".  When I compile this sample, I get 36 errors, all of which are type or namespace missing errors.  Here's an example.  'ColorValue', which is supposed to be of the Microsoft.DirectX.Direct3D namespace simple does not appear to be there.  MSDN says it's part of the namespace, auto-complete does not.&nb ...Show All

©2008 Software Development Network

powered by phorum