Philip at Beaufort's Q&A profile
SQL Server Downgrade SQL 2005 Entreprise to Workgroup Edition ?
Hi I have the following problem : I have licensed a german version of sbs 2003 premium. With the upgrade to sbs 2003 r2, I will buy the rights to use the sql 2005 workgroup edition. But the german sbs 2003 r2 is not available by now. I could go in production with the sql 2005 trial, this is an entreprise edition. My question is : can I downgrade the sql server 2005 from this trial edition (entreprise) to the workgroup edition Is it possible easy any recommendations Many thanks ! Ferrarirosso You can upgrade Trial SQL Server 2005 to Workgroup edition but it must happen before the trial edition expires. ...Show All
Visual Studio Project Item Templates
Hi all, I'm developing a new project wizard which has to create both new projects and project items according to project and project item templates that we've created and tested. The problem I'm having is this: The new projects are being created correctly with the new template via (Solution2) GetProjectTemplate() but whenever I try to create the project item from its template via (Soluntion2) GetProjectItemTemplate() it throws the following exception: System.IO.FileNotFoundException Message: "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)":null Source "EnvDTE80" string As I mentioned both templates have been tested and appear in the proper VS dialogs. It just seems tha ...Show All
Visual C++ Project properties error
I am using VS 2005 Standard version 8.0.50727.42. I have a solution that contains one VC++ project. My colleague is able to able open the project and edit the properties but in my case I get the following error when I try to edit the properties for WM PPC 5.0 sdk or WM SP 5.0 "The operation could not be completed. Unspecified error." I was using VS 8 Beta2 and now using complete (standard ) version after uninstalling beta and installing complete. I am able to edit the properties when I select the Win32 platfrom Thanks. This seems to be a installation issue. Try doing a modify installation and make sure you select the needed components (for eg x64 compiler, WMSP5.0 etc.) ...Show All
Visual Studio 2008 (Pre-release) Designer for Avalon UIs
Hi, if I understood correctly, the following facts are correct: 1. Avalon will be available on Win XP machines. 2. Visual Studio 2005 will be the developing tool for the next 2 to 3 years for XP and for Vista. 3. Microsoft encourages developers to develop UI-designs for avalon and use XAML for that purpose My question is, since I know VS2005 quite well: Will there be a designer, similar to the windows forms designer, for designing XAML applications And if yes, how will it be integrated in VS2005 As an Add-In Maybe there are some resources on the web, which are dealing with those basic questions. Thanks for any help! - Klaus AFAIK: VS 2005 will be released in november (and will not contain any W ...Show All
SQL Server How can User add order from only one company at a time
tblUser ----------- UserID uniqueidentifier PK (newid) UserName varchar(MAX) tblCompany ---------------- CompanyID uniqueidentifier PK newid() CompanyName varchar(MAX) tblUserCart ----------------------- CompanyID uniqueidentifier FK newid() UserID uniqueidentifier PK Product varchar(MAX) Asume we got 3 tables like above. Relation ship is clear: tbluser ---->tblUserCart-----<tblCompany What i want is , if user gives an order from a company , sql 2005 will decline the orders from other Companies. Naturally Orders are stored in the tblUserCart table. For example, if user Arnold gives an order of CuttingTool from Company named T3 , Arnold will not be able to give another order from other than T3. I hope im clear about situation. H ...Show All
.NET Development Serialization in .net
Hi, I am reading serialization in .net. I have a question regarding it. If I have a class named "Employee" and a webservice which has a method like "GetEmployee(int EmpID)" which is supposed to return me an object of class employee with all details of the provided EmpID. Even if I dont mark my class "Employee" as Serializable, the web method still shows a response on browser with complete employee object in XML format. Then Why would I require serialization at all Can anyone help clarify this point The XML Serializer used with Web Services does not require [Serializable]. It will serialize any public members of any public class. [Serializable] is for use with .NET Remo ...Show All
.NET Development Problem with calculated columns - no automatic refresh
Hi I have three tables tbl_customer_visit (master), tbl_customer_visit_parts (detail) and tbl_customer_visit_services (detail). That have 1-many relations using customer_visit_id column in each table. I am using calculated columns in both the tables as following: tbl_customer_visit_parts and tbl_customer_visit_services have calculated columns for calculating the total cost for each part sold and service given for a given visit. then I have aggregate calculated columns in those tables to calculate the total costs for each table for a given visit. Then I have calculated column in tbl_customer_visit to take the totals from the detail tables (respective calculated columns) and give me the total amount due for ...Show All
Smart Device Development UPNP_E_EVENT_SUBSCRIPTION_FAILED
Hi all !!! This project on developping upnp device will definitely make me crazy. I'm getting a UPNP_E_EVENT_SUBSCRIPTION_FAILED error whereas I'm using the microsoft sdk implementation. I don't understand anything. If you know the microsoft platform sdk UPnP API, I'm using the implementation of DCO_DimmerDevice. The registration works fine but the service cannot be gotten because of the UPNP_E_EVENT_SUBSCRIPTION_FAILED error. The hosted service failed to subscribe to event source I think. I don't know the reason. Do anyone know hpw to solve this, I am waiting for help. Thanks a lot. You need to check your implementation of the Connection Point. It looks like the host is calling AdviseSink on ...Show All
.NET Development Determine if I can create Directories or files.
How do I find out if I have write access to a directory to create files and / or directories without actually writing/deleting anything. I started looking at ACL stuff but it's a bit daunting. I figured that somewhere in the bowels of .Net there is a 'IsWriteAccess()' call somewhere - just that I haven't been able to find it. My thanks to you both for answering. It appears the simple routine I wanted is not available. The purpose was a backup program. I did not want to alter the output directory till some future scheduled run-time as I also have an asynchronous monitor watching for timestamp changes. ...Show All
.NET Development pass argument to the Thread
hello Everybody I want to pass argument to the Thread Currently i m having the code like this createthread() { this._WatchThread=new Thread(new ThreadStart(RunWatch)); this._WatchThread.Start(); } private void RunWatch() This works fine, but i m not able to pass the parameter I want to pass the this parameter i.e. the whole class. Thank you in advance Thank you for the reply But i don't know why it is not working properly Previously i was using .net 1.1 i did downloaded and installed the following but still it is not working it is showing the error that the namespace name ParameterizedThreadStart is not found Microsoft .NET Framework Version 2.0 Redistributable Package (x86) http://www.microsoft.com/downlo ...Show All
Software Development for Windows Vista Cannot share Access Database on Vista
Hello, I have three computers running on a peer-2-peer network. Two are Vista (Ultimate) machines and the other one is an XP machine (sp2). All have Office 2003 installed. I have setup one Vista workstation to share an MDB file in its Public folder. Everything works fine until I attempt to get the other Vista workstation to access this file at the same time. If I first open the MDB file on the Vista workstation that physically contains this file, I cannot open the file on the other Vista workstation. MS Access will hang or freeze until I close it on the first machine. The XP workstation does not have this problem and everything works fine. Please understand that everything works great until I try to get the two Vista Workstations ...Show All
Visual FoxPro Can't rebuild project after moving from VFP7 to VFP9
I have several large projects that I developed in VFP7 under Windows 2000 server. I have copied them entire to a new server and I'm trying to convert them to VFP9 to run under SQL 2005. When I open the projects in VFP9 and try to rebuild them I get an error that the project's memo file is missing or invalid. The same projects rebuild under VFP 7 just fine. Does anyone know a workaround or am I going to have to rebuild the entire projects under VFP9 Thanks, Chandler I think this can be changed from Control panel>System>harware>hdd driver properties but I don't trust in solutions who are modifying hardware to match the software. In you case I will try to access all tables and database ...Show All
Windows Forms Help Required to access the values of the data table
Hello, I want to display the values of the datatable into a DataGridView. Can you pls help me to write a code which access each row of the table or each column of the table and their values...pls reply ASAP waiting for your reply.... Thx a lot in Advance... -sweety If you just want to access each row or each column of the table and their values,use the foreach clause,as: foreach ( DataRow dr in tableA.Rows) { //some code } foreach ( DataColumn col in tableA.Columns) { //some code } and,if you want to display content in the datatable to DataGridView,just set the DataSource property of the DataGridView this .dataGridView1.DataSource = tableA; ...Show All
Visual Basic Invocation Error.
Ive written a little app in vb.net when i run the app i some times get a invocation error. the error saysTargetInvocationException was unhandled. After this has happened i cant debug my code beacuse my breakpoints dont work. If i tick the "Allow source code to be different from original version" box under the "location" option in the breakpoint menu i get another error saying that the source code cant be found. Last time this happened i published the project and it sorted the problem out. But i since got the Invocation error back and now the project wont publish because it says that the "certificate cant be signed". How do i handle this exception and what casuses this error. My code is a bit messy ...Show All
Internet Explorer Development Outlook Web Access - TEXTAREA problem in message window
A few days ago now, I found out that when opening a new message window or replying to a message, the message window opens and loads correctly until its last item, the TEXTAREA. When looking at the source, the textarea is correctly filled with the preset data (when replying). On my other PC, this still works as normal, so it is not a website problem, more my pc, but how can I resolve this It only displays a red X in the top left corner instead of actually displaying the TEXTAREA. URGENT HELP IS REQUIRED, please reply to frenzow@hotmail.com as well as this forum. It is a setting on the advanced tab in Internet options - although I dont know exactly which one. You need to uncheck something. ...Show All
