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

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

Rocksie

Member List

elbowpipe
James 2
Husnok
Stefan Hinterscheid
cwlaualex
bilful
Lee c y
Inetcor
tassie
haiderkhan
Joanne A.
DIW
HXP
gppradeep
WNeidigh
ducas
manba
smartie
Foaad
IgnazioC
Only Title

Rocksie's Q&A profile

  • Windows Forms How do you mimic Undo and Redo Lists in toolbar

    I have a user control that mimics the list that appears when a user clicks on the undo/redo buttons in VS. However I can't find away of attaching it to a toolbar. If I put a ToolStripControlHost around the control then the control appears in the actual toolbar and the toolbar resizes to be really deep. If I add it as an item to the dropdown the I get a Band down the left and border around my control. All I want is my control displayed. Ideally I would use the drop down button, capture the click/mouse down and then display my user control. However the user control will be being displayed outside of the toolbar and to I don't now how to displ ...Show All

  • Visual Basic Connection String for VB/SQL Server Application

    I have a VB application developed in VSTS 2005. This application uses OleDB Data Adapters and Datasets to connect to a local SQL Server 2005 database. This problem is that I will be deploying this application on server machines. Each target computer will have their own SQL Server 2005 database engine. The OleDB Data Adapters want ConnectionStrings that contain the computer name and Database Instance. I would like each target computer to have a unique name. What is the best way to configure the OleDB ConnectionStrings so that the computer name is unique but the ConnectStrings are the same so that the same application image can be installed on ...Show All

  • Visual C++ Strange STL ostringstream compile error with Visual Studio 2005

    I have just installed Visual Studio 2005 and am building a project formerly maintained under VC++ 6.0. The compile error I cannot fathom pertains to STL, specifically it appears to be related to my use of ostringstream. I believe I have isolated the problem to one of my header files where I use the ostringstream class. However, my use of this class is obviously limited to the public interface which is why the compile error below makes no sense to me. btw, I have already changed all header files to reflect the new C++ usage (e.g. <sstream.h> is now <sstream>) Here is the compile error: ********************************************* ...Show All

  • SQL Server Connection failed!

    Hi guys, I have problem with this code: TCHAR szCurrentDir[250]; TCHAR szDataDir[250]; lstrcpy(szDataDir, TEXT( "DRIVER={SQL Native Client};SERVER=.\\sqlexpress;Trusted_Connection=Yes;DATABASE=MyDic;AttachDBFileName=" )); GetCurrentDirectory( sizeof (szCurrentDir), szCurrentDir); lstrcat(szCurrentDir, TEXT( "\\Database\\Data.mdf;" )); lstrcat(szDataDir, szCurrentDir); SQLDriverConnect(hdbc, hWnd, szDataDir, SQL_NTS, szConnStrOut, sizeof (szConnStrOut), &cbConnStrOut, SQL_DRIVER_COMPLETE); When I run my program, I get this message: --------------------------- Microsoft SQL Server Login -------------- ...Show All

  • Windows Forms Resize vs. SizeChanged

    Can someone clarify what the differences are between the Resize and the SizeChanged events   And in which cases do you use one or the other http://blogs.msdn.com/jfoscoding/archive/2005/08/12/450822.aspx -chris ...Show All

  • Windows Forms Creating a Bindable Control

    I've been searching and can't find anything on the subject.  I'd like to make a control that has a DataSource, ValueMember & DisplayMember just like all the regular WindowsForms Controls.  Is there a standard way of doing this   Any links to anything would really be great.  Seems like everything I find that might be useful is for ASP.NET  ...Show All

  • Visual Studio Team System TFS Warehouse errors

    The trials with Beta 3 are still going well, but I've spotted the following in the Application Log. Apart from watching TFS Version Control, TFS Services, TFS Warehouse and TFS WorkItem Tracking stopping and starting themselves, we've been getting hourly errors. It has settled down now to be: ERROR MSSQLServerOLAPService : Event 3 : OLE DB error: OLE DB or ODBC error: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.; 22007. WARNING TFS Warehouse : Event 3000 : An unexpected condition has occurred in a Team Foundation component (etc.) Process Details: Process Name: w3wp P ...Show All

  • Visual C++ Resource Editor: Add/Remove operation is impossible ... read only (NOT)

    I'm working with the mfcie sample application, I believe the most recent version.  Yesterday I was able to add menu items and add event handlers.  Today I attempt the same, am able to add the menu items, however upon attempting to add the event handler, after specifying the class to associate it with (the CMfcieView class), I get the message: "Add/Remove operation is impossible, because the code element 'CMfcieView' is read only" I check my folders, and sure enough the files are read-only, so I change them to not be, then try again.  Same error, in spite of verifying that the relevant file is NOT read-only. I've tried restarti ...Show All

  • Visual C++ Microsoft Visual C++ Runtime Library error question

    I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2.  Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way.  Please contact the application's support team for more information. I am not certain where to post this question and problem.  Your assistance is greatly appreciated.  Currently, I am using Firefox as my back-up web browser.  I have seen a similar Problem. The Culpret was a corrupted Mc ...Show All

  • Windows Forms Windows Platform SDK can we use it in .Net ? How do interact with Windows OS

    Hi can we use the Windows O/S SDK   eg I want to be able to interop with the o/s code in my apps.  I want to able to do things like Shutdown the pc or restart it. Log the current user off and everything else that is native to windows o/s.  Will i have to execute shell commands from my .net app etc.  Please help  ...Show All

  • Visual Studio Minor bug in VszWizard.FindAddItem

    In the Microsoft.Practices.RecipeFramework.VisualStudio.dll in Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VszWizard.FindAddItem() is the following code:       state["WizardType"] = context[0];       state["ProjectName"] = ((ProjectItems) context[2]).ContainingProject.UniqueName;       state["ProjectItems"] = context[2];       state["LocalDirectory"] = context[3];       state["ItemName"] = context[4];       state["InstallationDirectory"] = context[5];     &nbs ...Show All

  • .NET Development System.DirectortServices

    Hi all, I am new to System.DirectoryServices programming. I am trying few samples at home. But somehow the samples in MSDN uses Organizational unit and other AD terms and I dont knwo how to use them at home. I dont have any Active Directory setup in my machine. Moreover the System.DirectoryServices samples in MSDN doesn't work when I try them at home. Here is a basic task I wanted to do. I wanted to add a user to a group. When I use the DirectorySearcher component it throws an exception saying "Domain does not exist or could not be contacted" and sometimes "server not operational" and when I use the FindAll method it s ...Show All

  • Windows Forms Question about CODE tag

    I know we're suppose to use the CODE tag around the code we post... But, I don't see why.  So my question is, should we use it on 5 lines of code   3    Hi, The biggest reason to use the  tag is to preserve indentation. If you're just posting five lines of code that aren't in a block and nothing is added  ...Show All

  • SQL Server Ad hoc updates to system catalogs are not allowed.

    in SQLServer2005 how can I allow update system catalogs (by mouseclick) sp_configure 'allow updates' , 1 - works, but I get the message Msg 259, Level 16, State 1, Line 1 Ad hoc updates to system catalogs are not allowed. From Books Online: This option is still present in the sp_configure stored procedure, although its functionality is unavailable in Microsoft SQL Server 2005 (the setting has no effect). In SQL Server 2005, direct updates to the system tables are not supported. ...Show All

  • Smart Device Development Convert to memoryStream and store in database

    hi i have a Private Points As ArrayList = New ArrayList() which already store a signature inside How do i convert it to the IO.MemoryStream and store it in database What you trying to do is called serialization. In this case it's binary serialization which is not supported on NETCF. You could try using this instead: http://www.freewebs.com/compactFormatter/downloads.html Or you could implement custom serializer: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/fd61d6e094f7f794/0ac54443a55c8f76 q=serialize&rnum=3#0ac54443a55c8f76 ...Show All

©2008 Software Development Network