dave_sky's Q&A profile
Visual Studio Team System Two-way sync: how to import in a Database Project a table, AFTER Import Schema?
Hello everybody, consider this scenario: I import a schema in a Database Project, then I create a table IN SQL SERVER, and I want to sync it with project. The only way I've architected till now is to create the table, script it, delete table in SQL Server, and copy the script in Database Project (deleting "if exists drop", because this syntax is unsupported in Team Edition for Database Professionals). More practical ways With our current CTP, we only support one-time schema importation. However, we are looking to support incremental schema import by our RTM release. This means if an extra table ex ...Show All
SQL Server Can't uninstall or reinstall nonfunctioning sql server
In previous post in the Getting Started section, I discussed problems trying to run queries on multiple databases: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=299240#299240&SiteID=1 Nobody could help with the problem. I eventually got a query to run after several attempts at deleting and recreating databases. Then, I was hit with the following error message: Class does not support aggregation (or class object is remote) (Exception from HRESULT: 0x80040110 (CLASS_E_NOGGREGATION)) (Microsoft.SqlServer.SqlTools.VSIntegration) Nobody could help with that either but based on posts with the same message, I tried uninstall ...Show All
Windows Forms The parameter is incorrect - Task Vision Server
Hello, when trying to install the Task Vision server, I get the error message "The parameter is incorrect". I have gone through the required steps for this install. Thanks, Kevin Thanks, found the script. I actually made a fresh winXP in a Virtual PC and there it installed. Still came up with errors, but the project is there. Ed ...Show All
Visual Studio Express Editions VSExpress & .Net Framework 2
I installed both VB and VC# Express a while back, along with the required .NetFramework2 Beta. Both products worked fine after the install, but recently I installed another product which required the .NetFramework v2 but refused to work with the Beta copy I had installed with the Express packages. I checked on the MS Downloads page and found that apparently the .NetFramework v2 has been released, so I uninstalled the Beta and installed the released version. My new product now worked, but when attempting to run either VB or VC# Express, I now get an error (unfortuantly I'm at work and can't duplicate the error on my work machine, sinc ...Show All
.NET Development How i can insert null in datetime field
Hi, How i can insert null into the DateTime field in Table it's possible or not .when i insert a value into date textbox then i Convert it into the Datetime its not a problem but if i didn't insert any value into text box then it take current date ( my class property default value).How i can avoid this problem person.SignatureDate=Convert.ToDateTime(txtSignatureOnFile.Value).Date; __SignatureDate = DateTime.Now; In .NET 2.0 you can use Nullable Types, but when you use .NET 1.x you can't. When you can set the value to DateTime.MinValue or something to indicate it is not set. ...Show All
Visual Studio Express Editions string question
Hello, I'm in a situation where I need to make sure a string contains only letters and numbers, no spaces or symbols. How can I go about this All I can get is one at a time if (this->mytextbox->contains(" ")) (MessageBox::Show("Only letters and numbers, please.")); maybe a for loop to check each char is !isalpha then if not !isalpha check if its a number and if not then error Hell i can not even do an Array so maybe best not take my advice ...Show All
.NET Development Incompelete object deserialization using XmlSerializer.Deserialize
I tried to implement object serialization and deserialization using XmlSerializer but somehow deserialization is incomplete, meaning the object is recreated with missing data. My class model is as follow: class A { public field1, field2, field3,...; // these are the serializable attributes public DataList1 data1 = new DataList1(); } class A_List: IXmlSerializable { ... // store an ArrayList of class A objects // implementation of IXmlSerializable interfaces WriteXml, ReadXml and GetSchema } class Data1 { public fields1, field2, field3,...; // serializable attributes } class DataList1 : ...Show All
Software Development for Windows Vista what should I missing to use VS 2005 extension
In builds 5219 and 5231 aero glass worked fine in my ati radeon 9250, now in build 5259 doesn’t seems to work anymore, even with the "enablemachinecheck" tweak. What’s wrong A quick guess would be you are using a different driver now, proably an in box one that isn't LDDM since the 5259 build isn't a public and would probably not have a supplemental driver pack. you shouldn't be using this build unless you are a TAP member and if you were one of those, you shouldn't be post your issues here. I would recommend going back to the 5231 build until next week when according to many news sources we a ...Show All
Visual Studio Team System Can the Project Portal web site upload documentation?
Hello, Before I make the effort of installing TFS, I was just have a question about the project portal system. Is it possible to set up folders for documentation, and give access to this folder to external people (eg development partners or even clients), through the project portal web-site Also, I'd like to allow these external people to create their own documents, or edit existing ones depending on access rights allowed (certain users can read certain documents, others can write too). Is all this possible through the portal web site or do you need to have VS to edit/create new files (in which case the Project Portal just becomes a r ...Show All
Visual Studio Tools for Office How could i develop Office Add-ins compatible with Office 2000、Office Xp and Office 2003?
Hi~~~ I have develped some Office2000 and Office Xp Add-ins with the interface IDTExtensibility2. But it isn't compatible with Office 2003. Then i searched the MSDN, and i found VSTO can solve the problem. But my develop environment is Visual Studio 2003,and VSTO works in Visual Studio 2005. Could i develop Office 2003 Add-ins with Visual Studio 2003(using VC++ ) Do you have any samples or information Thanks a lot!! VSTO is also available for Visual Studio 2003. I believe it's somewhere on the Visual Studio installation cd (but you need the entrprise architect edition)... I have it installed & use it frequently. ...Show All
Smart Device Development Determining version of SQLCE at runtime
How can I determine at runtime which version of SQLCE is loaded on my Pocket PC. Do you mean 2.0 vs. 3.0 If so, you don't have to as it would be the one your application is compiled against. If you have NETCF V1 application which uses SQL CE 2.0, it would run on SQL CE 2.0 even if you have SQL Mobile (3.0) installed and using NETCF V2 runtime. ...Show All
Windows Forms questions about controls
as far as i know, in asp.net there are such classification: server control(including HTML Server Control and Web Form Control), user control(.ascx) and custom control(.dll). I have a .net windows forms control hosted in Internet Explorer, the use of it like following: <object id="MyControl" classid="http:..\control\MyControl.dll#MyControl.MyGraphicControl" height="966" width="1280"> <param name="myFile" value="test.GED" /> </object>" which kind of control does "MyControl" belongs to thank you Yes, t ...Show All
Visual Studio 2008 (Pre-release) Dynamic IP
I write Client and Server in Wcf and i have problem with base address. The Server take the base address from other source ( dll config i write ) Uri baseAddress = TakeBaseIP(); // Create a ServiceHost for the CalculatorService type and provide the base address. using ( ServiceHost serviceHost = new ServiceHost ( typeof (General Service ), baseAddress)) // Open the ServiceHostBase to create listeners and start listening for messages. serviceHost.Open(); when i use in svcutil the file contain the ip of server(base address). < client > < endpoint name = "" address = http ...Show All
SQL Server Error during database restore
Hi, I'm trying to restore a database backup but I get this error. What does it mean exactly Thanks! TITLE: Microsoft SQL Server Management Studio ------------------------------ Restore failed for Server 'WHIDBEY1'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1314.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Co ...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
