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

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

BackCountry

Member List

Marty Wexler
xxxin
Binou
Lalit Dubey
HUZ
dealogic
Kosar
SJLaing
ACmct
AAjusLT
Jhoraj
SharePointing
kavita1000
Dmitry_M
Ahmed Mestarihi
paulos
Zesovich
Aquind
Hot Rats
evuori
Only Title

BackCountry's Q&A profile

  • SQL Server Connect Delphi 2006 to MS SQL Express

    I use Delphi 2006 to connect MS SQL Express 2005. When I save record, it shows the following error message: Database Server Error : Cannot create new transaction because capacity was exceeded. Does anyone know what happen and how to solve Thanks! A quick MSN Search finds http://bdn.borland.com/article/0,1410,32020,00.html with the following solution: When using dbExpress MSSQL and TClientDataSet.ApplyUpdates, you may encounter either of the following errors while applying updates, due to a SQLOLEDB.DLL limitation: "Cannot create new transaction because capacity was exceeded." & ...Show All

  • SQL Server Upgraded to SQL Server 2005. Updates no longer work. Error "Could not find server 'DEVDB' in sysservers. Execute sp_addlinkedse"

    Hello! We just upgraded to SQL Server 2005 from SQL Server 2000. The DB was backed up using Enterprise Manager and restored with SQL Server Management Studio Express CTP. Everything went as expected (no errors, warnings, or any other indicator of problems). The DB resides in a DB Server (Server1) and the application we are running is a Client/Server system where the AppServer resides on Server2. During the application's operation all read, create, and delete transactions work fine but no update works. When viewing details in Trace Log I see this message after attempting any update: Could not find server 'Server1' in sysservers. E ...Show All

  • Visual Studio A question about OutputPath

    Hi I'm new to MSBuild, so this question migh seem redundant to some of you. I've been trying to create a simple daily build mechanism using MSBuild. One of the things I would like to do is to dynamically set the OutputPath parameter to be equal to the current date, so that my daily builds will be stored in directories based on the date they've occured, like 20051229. Is that possible You can override the OutputPath property to be anything you like.  It sounds like you will need to write a small custom task that will give you an output parameter that is the current date in the format you want, and ...Show All

  • Windows Forms Listview node unique id??

    Am I crazy or is there no easy way to assign some kind of unique ID to a node id a treeview   I'd doing something like: Case 1    Person        property        vehicle        policy            policy1            policy2 Case 2    Person      &n ...Show All

  • Visual FoxPro Oledb driver, length of queries

    well I hope there is a solution to this as for now I can not find one. When I enter a long query in visual foxpro or via driver I get the unexpected phrase/keyword error. Essentially the query is pulling up people by state or county id, so imagine a long query string of cstate='NY' or (cstate='NV' and (icountyid=1039 or icountyid=1718) etc etc, the query is really long when all the most of the states are being used ( if all I optimize it by making cstate!=''.. problem is once teh query is over 500 characters or so it no longer gets accepted, so I have to break it up into a whole bunch of queries. This results in a slow page process that tie ...Show All

  • Visual Studio Express Editions casting to base class

    I'm new to C#. I am having problems with what I was hoping would be a simple concept. I have a class that is derived from the Form class. (Something like what follows:) class MyClass : Form { ... } I would like to pass a reference to the base Form of MyClass to a static method that will modify Form properties of MyClass. (something similar to what follows:) class Utility{ public static Method(Form f, ... ); } What is the ideal way to do this I tried casting the this pointer of MyClass to Form with the following: "Utility.Method((Form)this);" but that gives compiler errors. Thx for the help! Ah ...Show All

  • Visual Studio 2008 (Pre-release) wsDualHttpBinding , IsOneWay and ConcurrencyMode.Reentrant

    Hi I can't understand which is the motive to this interface doesn't work origining a deadlock: [ ServiceContract (CallbackContract= typeof ( IObserver ))] [ServiceContract(CallbackContract=typeof(IObserver))] interface IElement { [OperationContract] void Subscribe(); [OperationContract] void Unsubscribe(); } interface IObserver { [OperationContract] void Action(); } I know that If I use the behavior attribute [ ServiceBehavior (ConcurrencyMode = ConcurrencyMode .Reentrant)] in my service class all works fine but I don't understand why Any clue Thanks in advance Javier ...Show All

  • Visual C++ circular reference in parent/child classes

    I have been trying to understand some code that another guy wrote, and though his code compiles and runs, it seems like it should never have compiled. He has 2 classes. One class is basically the parent, and it includes a pointer to the child it creates. As the child is being created, the parent passes the constructor a "this" pointer, so the child can later access variables in the parent. When I try to duplicate this logic, with a parent class called alpha and a child class called bravo, my compiler (Visual C++.net) complains thusly: ------ Build started: Project: main, Configuration: Debug Win32 - Compiling.. ...Show All

  • .NET Development calling a COM object from c#

    I am calling a COM object from c# using this code: string sProgID = "IData.Update"; // get the type using just the ProgID Type oType = Type.GetTypeFromProgID (sProgID); if (oType != null) { try { Object MyApp; MyApp = Activator.CreateInstance(oType); object[] args = new Object[7]; args[0] = args[1] = args[2] = args[3] = args[4] = args[5] = args[6 ] = true; oType.InvokeMember("uf_run_updates", BindingFlags.InvokeMethod, null, MyApp, args); MyApp = null; oType = null; } catch (System.Exception ex) { MessageBox.Show(ex.Message); } } My problem is this: I am calling a com object that o ...Show All

  • Software Development for Windows Vista Vista / Services / Interact with Desktop?

    I understand that with the new service hardening that services will run in session 0 and can no longer interact with the desktop, but this raises two questions: 1. Why is there still the checkbox "Allow Service to Interact with Desktop" in the services control panel applet 2. Secondary Logon Service (It is still around...) The secondary logon service looks to still be supported (I understand that it is the back end for CreateProcessWithLogonW). A simple test of the runas command succeeded, therefore, how did the secondary logon service interact with the calling desktop to launch the application if services cannot interact with th ...Show All

  • Visual C++ Compiling Lib

    Hello there, There is a library program that I am trying to compile using VC++ version 6.   Followed this instructions:   "Here's step-by-step instruction posted by one of the list subscribers: good luck >>> Subject: FW: [Quantlib-users] Installing QuantLib using Dev-C++ 4.9.9.2: WORKING From: "xxxxxx" <xxxxxx>  Add to Address Book To: quantlib-users@lists.sourceforge.net Date: Wed, 13 Jul 2005 12:12:41 +0800 (...some phrases snipped) I got QuantLib to work using Dev-C++ 4.9.9.2 as follows: (1) Install Dev-Cpp-4.9.9.2 into a folder of the same name. (2) Copy the Boost library folder "\boost" into ...Show All

  • Visual Basic try-end try in a property

    I get errors when I place try and/or end try either before or within the property declaration and/or the end property declaration. Is there any way of catching errors within a property or an overloaded property dennist685 V, I'm sure you're right, but I just don't speak c#. dennist685 ...Show All

  • SQL Server about error

    My Reportingservice can be used no longer. when i open an existed project or new a project,Error is as follows:the application of This project's class(.rptproj) is not installed. How should i do I am not sure what exactly happened. It could be some registry got corrupted. You can try to reinstall or repair "Business Intelligence Development Studio" component under "Workstation components" of your SQL installation. ...Show All

  • Windows Forms edit box

    how do you set an edit box to read only when a checkbox is enabled(checked) how do you clear the edit box after the values enterd are used by the application and you want to reenter the values Thanks I tried this it did not work void CDSPropPage_PageA0::OnCheck1() { if (m_Check1==TRUE) GetDlgItem(IDC_EDIT1)->EnableWindow(TRUE); else GetDlgItem(IDC_EDIT1)->EnableWindow(FALSE); // TODO: Add your control notification handler code here } I get error C2065: 'm_Check1' : undeclared identifier ...Show All

  • SQL Server 24h/7d Time Periods TO 10h/5d Time Periods

    I have to do alot of date calculations. For some calculations, I can use the datediff or dateadd function to get a Time Period between 2 dates. Now for some dates I need to calculate the time between 2 dates BUT: a week = 5 days starting from Monday to Friday a day starts at 8AM and ends at 6PM (so a day is 10 hours) You can probably calculate this manually but what about summer to winter hour and the month Februari when it has 29 days etc. So I was thinking ... is it possible to calculate the Time Period for weeks with 24h a day / 7 days AND then transform that Time Period to a time period for weeks with 10h a day / 5 days ...Show All

©2008 Software Development Network