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

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

Chris_21

Member List

timw86
WebSigMan
tinaM
saigopal
Sunil Hareendran
seham
Peter-ZT
lSalamon
Marko Mihovilic
Mr.No
OlivierJ
Chadh
MikeW
pekara
pms
VuDZ
Noah M.
Studbolt
Stormsys
jankoesp
Only Title

Chris_21's Q&A profile

  • Windows Forms How can I trigger MouseLeave on leaving control Bounds instead of client area?

    Simple question, but a major pain for me so far. I have a checked list box that I want to expand on MouseEnter, and collapse on MouseLeave. Unfortunately, MouseLeave triggers as the mouse leaves the client area, and enters the vertical scroll bar area. The effect is that the list collapses down as soon as I try to use the scroll bar. Is there some way of creating a MouseLeave event that will trigger when the mouse leaves the Listbox BOUNDS instead of when it leaves the client area Alternatively, can I somehow access mouse events for the scrollbar - letting me keep the listbox expanded till the mouse has left one or ...Show All

  • Visual Basic VS2005 and VSS problem

    I am having problem in VS 2005 and VSS ... VS 2005 automatically checkouts file even user presses an key by mistake ... is there any way we can set this option that user will have to explicitly checkout the class or form or whatever thing and than can modify the concerned thing Hi Aqeel. 1. Go to Tools > Options and make sure "Show All Settings" is checked. 2. Expand the "Source Control" node and select "Environment" 3. Find the "On Edit:" dropdown and select "Prompt for Check Out" 4. Click OK After doing this, you should be prompted if yo ...Show All

  • Windows Forms INI files

    What is the preferred method of reading and writing Application information to a file and should you keep all of your Application information in the Application.exe.Config file. I know how to use INI files, but did .NET introduce any methods that are now the preferred method I have used the application.exe.config file for storing information and have no problems rea ...Show All

  • Visual Studio Team System Error 32000 The Commandline "F:\TFS\Tools\Createds.exe"/Setup/install ...

    While installing Team Foundation Server Beta 3 Refresh (Single-Server installation)an error {Error 32000 The Commandline "F:\TFS\Tools\Createds.exe"/Setup/install " http://kaushal-2k3/ReportServer/ReportService.asmx " tfsREportDS "Data Source = KAUSHAL-2k3;intial catalog=TFSWarehouse" "KAUSHAL-2k3\TFSREPORTS"} is displayed. INstalled Prerequistes:     OS Windows 2003 Server.    Windows Share point Services.    IIS 6.0    SQL 2005(RTM) (Installed Analyisis and Reports services) Error is as displayed:    Help me out in finding solution to overcome this error. Thanks in ...Show All

  • Visual Studio Team System Project alerts exception

    Added a project alert for "A build completes" and added three email addresses. Started a build and got this error in the Event Log: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 2005-11-10 15:37:48 Machine: TEAMSYSTEM Application Domain: /LM/W3SVC/3/Root/services-1-127760976098191996 Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details:   Process Name: w3wp   Process Id: 2 ...Show All

  • Visual C# CallBack from a WIN 32 C++ dll

    Hello Everyone, My application is written under C#, but for some of the low level stuff I have to use C++ dll's and one of the dll require password before I can make some function call or if user entered wrong should ask again..... How can I implement something along those lines.... At first I can send the pasword, but if the password is wrong what is the way to get the password....If you want I can even post my procedure which asks for password..... Any help, suggestion highly appreciated... Thanks, Harsimrat   What were to happen if you were to return something other than S_OK, like ...Show All

  • SQL Server Virtual Memory best practices with SQL 2005?

    After having my newly installed SQL 2005 instance lock-out all connections due to an Out of Memory error during a data transformation, I decided to start looking into memory config options. (Please consider I'm primarily a SQL developer who was selected as the DBA and therefore has to manage a Windows 2003 server as well.) In my case, the SQL memory settings looked fine but Windows 2003 Server had a fixed maximum on virtual memory of 2Gig on the system partition, and no virtual memory space on the data partition. I changed it to system managed for both partitions, and it seems to be working ok now when I pull over large datasets. It still ...Show All

  • Windows Forms Where did Control Arrays go in VB.NET?

    OK, I'm lost.  How do you iterate through a specific set of controls Ex, in VB6, you would do the following: For Ea = 0 To 3      TxtBox(Ea)= "Test" & Ea      lblLabel(Ea) = "Label" & Ea Next Now, in VB.NET the only way seems to do: TxtBox0.Text = "Test0" lblLabel0.Text = "Label0" TxtBox1.Text = "Test1" lblLabel1. ...Show All

  • Visual C# Reusing an open FileStream with multiple BinaryWriter objects

    Hi all, a quick question: Part of my application (Windows Forms / C# / .NET 2.0) deals with different objects which all have Serialize / Deserialize methods (custom ones, not implementations of ISerializable). At some point, I create a FileStream for writing, and then need to call those objects in turn, passing the FileStream object to the Serialze method. Each object should then append some binary data to that stream (and the reverse process for deserialization, of course). The problem: When first creating, say, a BinaryWriter, passing the FileStream, everything works fine, and the data is written. However, when the writer i ...Show All

  • Visual Basic question on unhandled exception error

    I have an app with ~40 win forms that runs fine on my development box, but when I deploy it on another box, 3 of the forms give me the following error: ************** Exception Text **************    System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualBasic.Compatibility, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    File name: 'Microsoft.VisualBasic.Compatibility, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f1 ...Show All

  • Visual C++ excpt.h error

    I’m working on a DLL that’ll export some functions. I tried this with File->New->Projects->Win32 Dynamic-Link Library, and then selected the radio button 'A DLL that exports some symbols'. When I try to compile the project (as it is with the default code inserted by VC++), I get these errors:  d:\program files\microsoft visual studio\vc98\include\excpt.h(36) : error C2144: syntax error : missing ';' before type 'int' d:\program files\microsoft visual studio\vc98\include\excpt.h(36) : error C2501: 'i' : missing storage-class or type specifiers d:\program files\microsoft visual studio\vc98\include\excpt.h(36) : fatal error C10 ...Show All

  • .NET Development Rijndael Algorithm + Padding error...

    Hi all I am trying to encrypt and decrypt data using the Rijndael alogrithm. I have been successfull in encrypting and decrypting the data in one go. However problems arise when I attempt to save the key and the IV value and return at a later time to decrypt the data, The error I am getting is as follows: "System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed." Here is the code that I am using to encrypt and decrypt the data: Imports System.web Imports System.web.services imports system.web.service.protocols imports system imports system.text imports system.secu ...Show All

  • SQL Server Query to another database

    Dear all, I have views in database that select records from a table in another database in the same server. Can I set security in such a way for not to give direct access to the table. I know than it is possible if a table and views are in the same database and have the same owner, but I failed to get the same for different databases. Thanks. The following thread includes an example of how to achieve this via signed code: controlling security through stored procedures -- 2005 behaviour Also, for another option, search for "cross database ownership chaining" in Books Online. There ...Show All

  • Visual C++ error C2143: syntax error : missing ';' before 'PCH creation point'

    I am attempting to port a simple c++ project to MS Visual Studio 6. All my C++ programs give me the error error C2143: syntax error : missing ';' before 'PCH creation point' These programs all compile fine in Borland C++. How can I fix this. john_j wrote: I am attempting to port a simple c++ project to MS Visual Studio 6. All my C++ programs give me the error error C2143: syntax error : missing ';' before 'PCH creation point' These programs all compile fine in Borland C++. How can I fix this. Code that compiles in Borland is not guaranteed to compile in Visual C++ (the revers ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Loading DirectX inside a .NET control

    Hey - i am working on a terrain editor, and i need to be able to load the terrain (from my original engine) in a .NET control such as an ImageBox, or SplitPanel - is there anyway to do this, if so how I was sure i saw a tutorial once but i'm drawing a complete blank. Regards James Gupta I do not know about any direct tutorials on creating DirectX devices inside a windows control, but I do have some links to samples that are doing it. The first is a free control system that uses DirectX in a Windows Control, http://gosub.com/OpenSource/DirectXControl/DirectXControl.htm . It also includes various helper classes that might be helpfull ...Show All

©2008 Software Development Network