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

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

RayDMS

Member List

Ofir Epstein
Sunkyu Hwang
Atul Kulkarni
Dat23
donnie100
Alok Thakkar
soanfu
tirengarfio
Peramanu
Edward1
Alex_UTL
Gosovic
Jourik
here
EricBrown
Linkin
Jonathan Wong
Lehmberg
Fille
D119
Only Title

RayDMS's Q&A profile

  • SQL Server SQL Server 2005 instance can't start with TCP/IP

    I can't get an instance of SQL Server 2005 to start using TCP/IP. The issue is pretty basic: I have a local SQL Server 2005 that I can get to run and connect to it using Named Pipes. The problem is that from a remote machine, although I can connect to it using Named Pipes, ASP.NET can't connect to it (when I'm in design mode, I can connect to the SQL server to configure Data Sources, but at run-time, it refuses to work). So, I tried to switch to TCP/IP. I can't get it to work on the local machine. I get the following errors: SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems. TDSSNIClient initialization failed with error 0xd, s ...Show All

  • Visual Studio Express Editions Symbols loaded in cpp file but not in dll file?

    'Hello, Although I'm very new to C++ and the Visual.Net environment, I had gotten this exact same quadratic.exe program to run previously. (I had installed Visual C++ 2005 Express with SDK Developer for Windows 2003 R2.) Now, for no apparent reason, I get the below debug code. (I get similar output for all my existing programs; I can enter input to console but get no output.) There must be a simple fix, but I have no idea what it is. Can anyone help Thanks. Rich quadratic.exe': Loaded 'C:\Documents and Settings\rich\My Documents\Visual Studio 2005\Projects\quadratic\debug\quadratic.exe', Symbols loaded. 'quadratic.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'quadratic.exe': Loaded 'C:\WINDOW ...Show All

  • SQL Server Toggle Item Functionality Lost in Excel Export

    I have a report with 3 tables (all of which use toggle items), and their visiblity is based on a user-entered parameter. This works perfectly for what I'm trying to accomplish and looks good in the report manager. However, when it is exported to Excel, I lose all of my toggle items and everything in the particular table is displayed. If I remove the visiblity expression and show all 3 tables all the time, the toggle items work as expected in Excel. Any ideas Here is the Hidden expression I am using on the tables: =iif(Parameters!ReportView.Value = "TEST" , false , true ) Hi sorry I can't help, but i am having a similar problem, however mine is not quite as complicated, i have one t ...Show All

  • Windows Forms Invisible row and column headers in DataGridView

    I want to mimic the existing interface which used ActiveX grid control. Is there way not to show column headers and not to show row headers ( effectively very first column ). Grid will be unbound read-only and updated/rebuilt only programmatically. TIA ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Joining DirectSound to existing app

    I am trying to use DirectX DirectSound which I need to attach to an existing Windows application in order to capture a signal. Since playing sounds is easier, I decided first to attach a button to the existing application that would play a sound. The DirectX 9.0 documentation seems to have no direct tutorials in which such a function is attached to something else. I have done a fair amount of experimenting but am stuck. Specifically, (1) (this is probably trivial) I don't know how to specify the "control" variable in the method Device.SetCooperativeLevel(). (2) (apparently more serious) the instruction "dsDevice = new Device();" throws the exception "[description of instruction] is attempting managed execution insi ...Show All

  • Visual C# Displaying a Generic.Dictionary object in a PropertyGrid

    Hi, I have a property in one of my classes that returns a Dictionary object: public abstract partial class NonStationary : Structural { protected NonStationary( string name, Shape. Shape shape) : base (name, shape) { } private Dictionary < string , Motors. Motor > _motors = new Dictionary < string , Motors. Motor >(); [ BrowsableAttribute ( true ), ReadOnly ( false ), TypeConverter ( typeof ( CollectionConverter )),] public Dictionary < string , Motors. Motor > Motors { get { return _motors; } } } There are four classes th ...Show All

  • Visual C# MDIParent - Tracking Key Presses on Child Frames ?

    Is there a way of triggering events (ie. keypresses) in the MDI Parent when the focus is on a MDIChild I want to configure standard function keys for the all frames handled by the MDI parent. Also, I have little control on the MDIChild frames... other than just calling them. Any help would be appreciated :) You can simply set the KeyPreview property of the MDIParent to true. This will make all the keyboard events targeted to the Child forms available to the MDIParent as well. Actually, MDIParent will receive the event first, so you have a chance of filtering certain keypresses. To do so, you need to set the SuppressKeyPress property of the event argument to true. For instance: p ...Show All

  • SQL Server SQL CE Trouble in Visual Basic 6

    I use SQL Server 2005 Compact Edition RC1 with Visual Basic 6.0. connection provider that i use is Microsoft.SQLSERVER.MOBILE.OLEDB.3.0. for database management i use SQL Server Management Studio. some query can't execute in visual basic but in sql management studio, that query can run very well. for example: 1. select KodeSatker, KodeSatker + ' - ' + Nama as Nama from TMSatker where len(kodesatker)=3 order by KodeSatker 2. Select a.kdprog, a.nama, b.kodesatker + ' - ' + b.nama as SKPD, a.nonurusan from TMProgram a left join TMSatker b on substring(a.kdprog, 1, len(a.kdprog) - 2) = b.kodesatker 2 query above can run in sql management studio, but in visual basic 6.0, that query have an error. error msg:run time error '2147217887 (80040e21)' ...Show All

  • .NET Development C# Com Interop problem - should be simple!

    I have some trivial vb6 sample code that uses a com dll to interface to talk to some hardware but I can't seem to port it over to C# Interop successfully. I have tried many permutation of marshalling attributes but I get a "Attempted to read or write protected memory..." exception with types I believe will work and DataTypeError returned from the com interface function if I am deliberately incorrect with the types.   The com interface declaration in OLE Viewer: long RpcCall(long iJobCode, VARIANT SendData, [in, out] VARIANT * RecvData);   The sample in vb6: Dim n() as Byte Dim r() as Long n = StrConv("Time_s" & vbNullChar, vbFromUnicode) conn.RpcCall(10012, n, r)   The intero ...Show All

  • Visual Studio Team System TF53018: The application tier SERVER is attempting to connect to a data tier with an incompatible version

    There is such error in event log on try to connect to source control: ------ BEGIN OF ERROR TF53010: 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): 10/23/2006 5:01:26 AM Machine: SOLARIS Application Domain: /LM/W3SVC/3/Root/VersionControl-6-128060532856161741 Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details:   Process Name: w3wp   Process Id: 620   Thread Id: 3180   Account name: DOMAIN\tfsservice Detailed Message: TF53018: The applic ...Show All

  • .NET Development Is C# NetworkStream.Read() a processor efficient waiting mechanism

    I have some C# code that reads data from a local socket using the NetworkStream.read() method. I have the NetworkStream.ReadTimeout set to 'infinite' so it will continue waiting as long as possible for data. There may be long gaps where there is no data on the socket, so I am worried that I am wasting procesor time in my thread that just sits in a read() waiting for data. I have a thread dedicated to reading data from the socket, but I still don't want the system giving my thread time-slices if most of the time it is just waiting for data. The question is, does the NetworkStream.read() internally use a processor efficient mechanism to wait for data, like a mutex or a monitor or some such. So should I replace the following code: NetworkSt ...Show All

  • Visual Studio Team System How to fix "TF50615: GSS: There was a failure reading group membership from Active Directory"?

    Hello guys I am currently doing a TFS deployment pilot for a customer and I am seeing a lot of the following entries in the event log. I am trying to figure out how this can be resolved. Furthermore, is there a way to see the LDAP query string so I can verify if whether or not this is the source of this issue Event Type: Warning Event Source: TFS Services Event Category: None Event ID: 3000 Date: 7/02/2007 Time: 9:48:19 User: N/A Computer: <removed by me> Description: TF53010: 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): 7/02/2007 8:48:19 Machine: &l ...Show All

  • Visual Studio Tools for Office Infopath 2007 Default Values

    using VSTO to create infopath template. I can not find the menu that used to set the default values, it used to be under tools In Visual Studio Tools for Office (InfoPath 2007 support), the Tools | Default Values option is under the Data menu Here's a link to the Infopath newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.infopath &lang=en&cr=US You'll likely get a faster answer if you post your infopath questions there! Regards, Eric ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?

    Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream Jim, You are correct, 20% is probably the worst I have seen. Unless you do some real thight loop memory operations. Most people never talk about poorly written code either, which is slow regardless of programming language. There is some horribly inefficent examples for every language out there. Having said that, I find it a lot harder to optimize c++ for performance, than c#. The guts is in the algorithms, if you get them right it should not really matter if you write your code managed c#. Roger Larsen ...Show All

  • SQL Server Error when opening Designer

    When I try to open the designer (with exiting, e.g. tutorial or new project/package) I get the following error message: Microsoft Visual Studio is unable to load this document: Index (zero based) must be greater than or equal to zero and less than the size of the argument list. After closing the project I have the following application event log error: Faulting application devenv.exe, version 8.0.50727.42, stamp 4333e699, faulting module unknown, version 0.0.0.0, stamp 00000000, debug 0, fault address 0x014fb87c.     Did you find a solution to this I am experiencing the same problem and hoping that a reformat and reload is not the only path. Thanks Richard ...Show All

©2008 Software Development Network