Software Development Network Logo
  • IE Development
  • Game Technologies
  • Smart Devicet
  • VS Team System
  • Visual FoxPro
  • Visual Basic
  • Audio and Video
  • Visual C++
  • Windows Forms
  • Windows Vista
  • SharePoint Products
  • Microsoft ISV
  • .NET Development
  • Visual C#
  • SQL Server

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

Daikoku

Member List

_bv_
RizMan
Vhradice
barkingdog
Levas
Gravy
lukemelia
Jim Holloway
JRab
Sjas
JawKnee
Otto Ramirez
StephenMas
chaoborid
kaushikn1
Perarg
achalk
Scott Masters
JC Carmo
scdlewis
Only Title

Daikoku's Q&A profile

  • Visual Studio 2008 (Pre-release) Setting foreground and background to be the same when a control is disabled

    Can someone suggest XAML code that would set the foreground and background of a control (say a TextBox) to be the same when it is disabled as it was when it was enabled. I mean if the Background was white and Foreground was Black when the TextBox was enabled, if the TextBox is disabled, the Background and Foreground should remain the same and not be grayed out. you can do something like this(removed the trigger which changes the colors when the textbox is not enabled) < Style x:Key = " {x:Type TextBox} " TargetType = " {x:Type TextBoxBase} " > < Setter Property = " SnapsToDevicePixels " Value = " True " /> < Setter Property = &qu ...Show All

  • SQL Server Error 3154: The backup set holds a backup of a database other than the existing 'xx' database.

    HELP! This is happening with a restore to SS 2005 from a SS2000 backup. This article says to use the 'WITH REPLACE' clause. The SS2005 management studio does not seem to allow this via the GUI. http://msdn2.microsoft.com/en-us/library/aa238217(sql.80).aspx Hi all, I am facing this problem, when i try to restore a file in a database. Scenario Database ABC with 1 Filegroup and 8 Files and 1 Log. Now i want to restore the Database ABC to another Server as ABC. due to space constraint i have thought of file backup and Restore. So i backuped up the first file, when i want to restore, It say the error. I have given overwrite existing media and i tried it with media ...Show All

  • Visual Studio More than one startup project?

    Hi everyone out there! Why is the example in http://msdn2.microsoft.com/en-us/library/ms228782.aspx referring to a "collection of startup projects" Shouldn't a solution have one and only one startup project by design TIA, Alan Boris Jabes (Visual C++ Program Manager) writes that VS supports multiple startup projects in this blog post: http://blogs.msdn.com/borisj/archive/2005/10/11/446102.aspx Not clear if that applies to vs2003 or only to vs2005. ...Show All

  • .NET Development Passing user32.dll GetDC() IntPtr value from C# into C++?

    In C#, I'm getting the DC object via interop by calling GetDC() from the user32.dll. I want to pass this into another DLL that I'm writing in C++, but I'm not sure what the parameter type should be in C++. Am I passing a pointer to a CDC object Or do I need to do some type conversion C# code looks like: ------------------------------------------------ [DllImport("user32.dll", EntryPoint="GetDesktopWindow")] public static extern IntPtr GetDesktopWindow(); [DllImport("user32.dll",EntryPoint="GetDC")] public static extern IntPtr GetDC(IntPtr ptr); [DllImport("mine.dll", SetLastError= true )] static extern IntPtr getSymbol( IntPtr DC ); // Get the handle to the desk ...Show All

  • Visual Studio 2008 (Pre-release) What is a sandbox?

    Hi all: I want to connect my Xbap page with SQL database using SQL data Adapter and DataSet I try to do this but there is an error this error is: Startup URI: D:\walaa Work\XEmployee\XEmployee\bin\Debug\XEmployee.xbap Application Identity: file:///D:/walaa%20Work/XEmployee/XEmployee/bin/Debug/XEmployee.xbap#XEmployee.application , Version=1.0.0.0, Culture=neutral, PublicKeyToken=6b995c520c9daad7, processorArchitecture=msil/XEmployee.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6b995c520c9daad7, processorArchitecture=msil, type=win32 System.Security.SecurityException: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e ...Show All

  • SQL Server INSERTING into IDENTITY field

    I have a table with the following schema: CREATE TABLE [itis].[wrk_taxon_authors] ( [wb_taxon_author_id] [int] NOT NULL , [taxon_author_id] [int] IDENTITY (1, 1) NOT NULL , [taxon_author] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [kingdom_id] [smallint] NOT NULL ) ON [PRIMARY] GO I am trying to insert the following data (as you can see fields are seperated with the | ): 19||Flores-Villela and Sanchez-H., 2003|5| 20||Wiegmann, 1828|5| 16|17482|Gray, 1838|5| 17|9823|(Wiegmann, 1828)|5| I get the following error: Server: Msg 4869, Level 16, State 1, Line 1 Bulk Insert failed. Unexpected NULL value in data file row 1, column 2. Destination column (taxon_author_id) is defined NOT NULL. Server: Msg 4869, Level 16, ...Show All

  • Visual Studio Tools for Office VSTO 2005 SE Beta

    "Anyone who has a licensed version of Visual Studio 2005 Tools for Office or Visual Studio Professional and above (either standalone versions or via an MSDN Premium or Professional subscription) is eligible to download a free copy of VSTO 2005 SE Beta." Right... but do I have to have VS 2005 Tools for Office installed to prove that I have it This is going to sound really stupid, but I have a proper license that I've never been able to install because I have Office Standard + Access standalone instead of Office Pro (due to a mistake by our volume license provider). Why is there such a restriction Seriously, shouldn't there be developer version of Office bundled with VSTO T ...Show All

  • Visual C# Is there any way to implement an application that close other running application???

    help me if there is any way to implement an application that close other running application... thanks in advance.. adorer wrote: rizwan>>>>the same error ... array does not contain definition for kill Its myProcesses[ i ].Kill(); not myProcesses.Kill(); You must be trying myProcesses.Kill(); which causes that error. Best Regards, Rizwan aka RizwanSharp ...Show All

  • Visual Studio Express Editions spy++

    Does anyone know how to open spy++ people say its under the tools menu but it isn't and i have checked in the tools menu of c++ as well. thanks averagejoe, Here is another microsoft alternative to Spy ++, very usefull with sendkeys to id an applications process name- http://msdn.microsoft.com/msdnmag/issues/06/04/ManagedSpy/default.aspx Greg U ...Show All

  • Visual Studio Installing VS 2005 - Error code 4101

    Hi All I'm trying to install VS2005 on XP. From Disk 1 it runs thru the initial copies but eventually hits the following error messages which were written to the error log in dd_vserror80.txt. [09/14/06,15:36:15] Microsoft .NET Framework 2.0: [2] Error code 4101 for this component means "Baseline failed. Please check dotnetfx.log in the temp directory for details." [09/14/06,15:36:15] Microsoft .NET Framework 2.0: [2] Setup Failed on component Microsoft .NET Framework 2.0 [09/14/06,15:36:17] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293. [09/14/06,15:36:17] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionResultColl ...Show All

  • Visual C++ Executing Code

    I have used Jcreator, CodeWarrior and a dozen other compilers for various languages. Now I am using Visual C++ express to compile code (in C++ of course) and I seem to have run into a snag. In literally every toher compiler, there is a prominent 'Execute' button, however, I have looked, searched the database (as futile as that was), searched through everymenu, enquired throughout the digital world, looked at instruction s and lessons and everywhere I thought an answer could be found, and Lo, I have not discovered where Visual C++ Express has hidden its 'Execute' command/button. My professor has some version of Visual C++ where there is a single button that both compiles and Executes code, but Express apparently has no such thing. ...Show All

  • Visual Basic sequence of execution of assembly[in code]

    can anyone of you please explain how is execution sequence like [new->initialise-> ] like that.. untill the user gets the control... Hi Zybernau well if you want to know the process starting creating new thread for the assembly this is it: 1- ThreadHelper.ThreadStart() 2- ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 3- ThreadHelper.ThreadStart_Context(Object state) 4- Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() 5- System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) 6- System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) And this function will call Main() Sub in your My.M ...Show All

  • Visual Studio 2008 (Pre-release) Receiving Sendtimeout after 10 requests to a service

    We have a service which isrunning in IIS on the Feb CTP. This service calls another service. In IIS we a running in memory problems, when calling out of a service another service. So we make the decision to upgrade to the new version (June CTP) of WinFx. Now we have a new problem. After 10 request we are geting the following error: The request channel timed out while waiting for a reply after 00:03:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://localhost/HelloWorld/HelloWorld.svc' has exceeded the allotted timeout of 00:03:00. The tim ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help Please, kinda alot of questions in here

    Hi, im a complete beginner with any kind of coding and i want to make a simple game to start learning how to code. I'm very fluent in 3ds max and want to put some use to the models i've made and put them in my own game... I want to make a simple space ship flight game. I've done the 3 tutorials for moving models but I dont really know how to apply them to my own game. heres mainly what i want; 1. I want the camera to rotate around my model using the right thumb stick. 2. the gun on top of the ship to rotate with the camera view. (when you look up and down the guns would aim up and down etc.) I have bones going through the gun on the model. 3. want to press up or down on the d-pad to toggle 3 different speeds. 4. steer the ship with the lef ...Show All

  • .NET Development Validating xml file with schema.

    Shraddha Gurav wrote : My requirement is somewhat like this: Suppose this is my xml file, which I want to validate using schema. <myroot>      <married>yes</married>      <dateofwedding>1973-10-12</dateofwedding>  </myroot> I would love to have the possibility of having something like this in XML schema: (look at the condition attributes in the dateofwedding element)   <xsd:element name="myroot">  <xsd:complexType>    <xsd:element name="married">      <xsd:simpleType>        <xsd:restriction base="xsd:string">       &nbs ...Show All

©2008 Software Development Network