Richard Cleaver's Q&A profile
Visual Basic Text File Problem
I am doing a project for school which is a restaurant menu system, and I am saving both the name of a product,and its price in the same text file. I wondered if there is a way of extracting just the prices from the text file, so I can add up a total price Any help would be greatly appreciated, thanks Yes. I support that approach as well. Use XML for storing the data. You can just use the XMLDocument or the Dataset to then load the data and use it as required. Very clean and easy to use approach. Regards, Vikram ...Show All
Windows Forms when can I get my pocket pc?
the Program Manager of .NET Terrarium have told me that I have been chosen as one of the winners of the International Terrarium Contest , but I wanna know when I can receive the award(I have send my mailing address to him ten days ago)! thanks for answer from anyone! Do you mean you will send mail to me or&n ...Show All
Windows Forms publishing apps
having a problem with publishing my app publish it to a server ok, however when trying to install on clients it fails, install trying to acces files on development machine which may not be powered up at all times, am i missing something Thanks in advance GS May be the deploymentURL is still pointing to your dev machine. Please check the .application file on the publishing server. If so re-publish your application with right deploymentURL (which is the server URL) -Sreekanth ...Show All
.NET Development Question about using Transactions in ADO.NET
In one of our Data Access Layers, it was suggested that we use transactions around all commands that are stored procedure types. Most of our stored procedures are simple (SELECT * FROM <sometable> ) My question is: Do we really need a "begin transaction" ... "end transaction" for a simple select What is the default isolation level if no transactions are specified Thanks in advance. (casperOne@discussions.microsoft.com) writes: > Also, the comment that you do not need transactions around select > statements is only partially correct. If you have a single select > statement (or insert, or delete ...Show All
SQL Server MSSQL 2005 JuneCTP Install Issue
Any help on this: Win2003 STD server With SP1 MSSQL June 2005 CTP Enterprise version: During install i am getting this error: Failure adding user NT AUTHORITY\NETWORK SERVICE to local group SQLServer2005MSSQLServerADHelperUser (1388) well, i got everything installed finally on a domain controller it works fine.... can’t install sql 2005 and VSTFS together on a member server, needed an domain controller.... Irie Mikky ...Show All
SQL Server Sequel 2005 installation Perflib problem
Hey everyone, I'm trying to install SQL 2005 developers edition on my local PC and I get the following error during the System Configuration Check: - Performance Monitor Counter Requirement (Error) Messages Performance Monitor Counter Requirement The System Configuration Check for Performance Monitor counter registry value has failed. For details, see How to: Increment the Counter Registry Key for Setup in SQL Server 2005, in the readme file or in SQL Server Books Online. I looked it up in MSDN and i'm having problems resolving the problem. How to: Increment the Counter Registry Key for Setup in SQL ...Show All
Visual Studio Tools for Office Outlook and VSTO
I am working on defining the requirements for a new CRM system. We want to fully integrate the interface the CRM System with Outlook as much as possible. We have done some prototyping with the Janus controls which simulate an Outlook interface and we have just begun looking at VSTO for Outlook. After looking at VSTO for Outlook, I’m not sure what we want to do is technically feasible or not. What we would like to do is create a Visual Studio.Net interface within Outlook…One major folder within Outlook would be “CRM” and would be on the same level as the standard major Outlook folders (Mail, Contacts, Calendar, Tasks, et ...Show All
Windows Forms client vs. non-client area of control
I am creating an owner drawn control where I want certain parts to be active and others to be inactive. However, I want to be able to draw within the whole control. This means that I can't just use the standard region property to designate active areas because I won't be able to draw the inactive areas as well. Is there a way to classify ...Show All
Visual Studio extension to make a cfg
Hi, I would like to make an extension to visual studio that creates a control flow graph (CFG) for an arbitrary C++ program. The only problem I'm having is that I can't seem to access any code element in the body of a function such as an "if" statement or an assignment. Is there some way to see and manipulate these code elements Many thanks! Robert The code model was not designed to give statement level code elements. You will need to parse the contents of a function yourself to get to that information. Craig ...Show All
SQL Server In SQL Server 2005, is there any equivalent of taskpad of SQL Server 2000
In SQL Server 2005, is there any equivalent of taskpad of SQL Server 2000. (in Express Edition ) I found it. From SQL Server 2005 (SSMS), select the database & goto Summary tab (F7). Click on Report drop-down & select the report you want to see...... ...Show All
Smart Device Development Access & PocketPC
Hello Its probably not the right forum but heres my question: Active Sync has an entry to Sync Pocket Access but the Pocket PC has no Pocket Access installed so what does it do Because I have an MDB File (Data + UI), which i also want to use on a PDA (recipe Database ;-) ). Is this possible in a simple way or must I write an Application one the PDA which use the CDB File Regards Norbert There has never been a Pocket Access application for Pocket PC (it was present in older Handheld PC platforms) but the underlying format was supported. It is now deprecated in favour of SQL CE (now SQL Mobile). If you are starting a n ...Show All
Visual FoxPro Cursor help
Hi I am new to foxpro and have a question reguarding cursors. I am using VFP 9.0. I am working with a local VFP data base. As I understand it a cursor is a recordset created by a SQL statement that is stored in memory (or also on the hard drive if it is to big to fit into memory) on the client computer that the application is running on. I also understand if it uses the hard drive for temporary files that they will be deleted when the cursor is closed. I have tried this in the command windows and my table does not get updated when the tableupdate() function is called even though it returns .t. Here is the code I used: OPEN DAT ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectSound under VS2005 - null reference using buffer notifications
Hi, I'm very new to DirectX. Using VS2005 and the December 2005 SDK I have created a very simple winforms app that plays a WAV file. This works fine. I then tried to add buffer notifications specifically so I could detect when playback stops. Immediately though I hit a stumbling block, when I instantiate a new Notify instance I get a null reference exception. The buffer parameter is most definitely not null. This is a cut down version of the code to illustrate what I am doing. It runs in response to a form click event (DSound is a namespace alias for Microsoft.DirectX.DirectSound): // Initialize default playback device DSound.Dev ...Show All
Visual C++ c/c++/c#
I am currently an intermediate programmer in visual basic .net. I want to learn a C language and was wondering which I should learn first and the main differences between them. Between C, C++ and C#. Thanks, Korab I would really take a few weeks and learn the basics of the C++ langauge before tackling anything domain specific. If you know the fundamentals you'll find it easier to apply C++ to any problem. ...Show All
Software Development for Windows Vista Create Tracking/ persitence database for WWF 2.2
Hi I had some problem with the SQL database created with the scripts in C:\Windows Workflow Foundation\Labs\Lab03\Resources (hands on labs). I searched this forum and found that new files where located under C:\WINDOWS\WinFX\v3.0\Windows Workflow Foundation\SQL\EN. They do, but they seems incomplete When starting my workflow with SqlTracking i get and error saying: Unhandled Exception: Could not find stored procedure 'RetrieveNonblockingInstanceStateIds' And if i run "CreateTrackingStoredProcs.sql" som the labs this does not help Any suggestion RetrieveNonblockingInstanceStateIds is ...Show All
