rtayek's Q&A profile
Visual Studio Team System data generator
After adding a data generation plan, unselecting a column of a table and then executing the dgp I get the error below: Error 206 The data type of column dbo.Contact.CommissionPlanID is Int. The selected data generator 'Integer' with the selected output 'Output' does not generate data that can be converted to this type. Select a different data generator. ...Show All
Visual Studio 2008 (Pre-release) Screencasting a WPF Application
Have anybody tried to screencast a WPF Application I'm trying with Camtasia Studio or Windows Media Encoder, but when the recording start -->everything goes really slow. Any suggestion THanks Gio I'm fairly sure that both of these apps simply repeatedly take screenshots and assemble them into a compressed movie file. This is pretty expensive in XP and I doubt there is any way around that. On Vista this MIGHT be less expensive if the apps upgrade to the thumbnail api, but this is just an assumption. ...Show All
Visual Studio 2008 (Pre-release) How to make Expander control shrink to fit resized child content?
Hi I have nested Expander Controls. ExpanderChild is inside the content pane of ExpanderParent. When ExpanderChild is collapsed, the ExpanderParent's content Area remains at the size it needed to be when ExpanderChidl was expanded. It other words the Expanders content area seems to grow to fit its content but it does not shrink back when the content resizes to a smaller size. Any ideas on how to make that happen. Thanks. /Chris the following seems to behave as you are expecting. what kind of content do you have in the child < Expander Header = " master " > < Expander Header = " child " > < ListBox Name = " list1 " > </ ListB ...Show All
Visual Studio Team System Build/Deploy Failure - inconsistent contents?
Hi Using Visual Studion Team Suite 2005 we're unable to Build or Deploy a number of projects within a solution. The following error is produced at each attempt. Error: The internal state of the database project is inconsistent with its contents. Unload the project and then reload it to resolve the issue. Doing as advised, unloading and reloading the project, produces no improvement. Neither does creating a new solution with the same projects, nor deleting the local workspace copies of the projects and re-loading via the Source Control Explorer. The same projects can be deployed on an alternative PC, suggesting problems with the local copy, hence re-loading everything from source control. All other functionality works fin ...Show All
Windows Forms Splash Screen/Message Box Issue
I have a Windows App written in Visual Studio 2005. I start the app by displaying a splash screen until the main form loads. Well as soon as the main form loads and the splash screen is gone I want to display a message box to the end user about updates to the program. I have tried several ways but it always seems to make the program hang on the splash screen. I would appreciate any help! Nikki I'm a bit confused! :-) you had stated that the splash screen hangs/app hangs when its about to show the messagebox - is this not the case How are you showing the splash screen and how are you showing/running the main form ...Show All
Software Development for Windows Vista Why to check base.ActiveView.AssociatedDesigner?
In the implementation of the OnLayoutSize method of several WF designer classes, I have found a check similar to the following: if (base .ActiveView.AssociatedDesigner == this && ... Why is it important to check, whether the associated designer of the active view is the running instance Background: I have overwritten OnLayoutSize in several cases and would like to see if I have to implement this check in my own methods, too. Thanks for your help so far. And thanks to the WF development team. I think, you have done a very good job. Only customization of appearance of the designer and the activities should be a little bit easier, than having to derive from the existing base classes and associate custom designers usin ...Show All
Software Development for Windows Vista Setting up the database for SqlWorkflowPersistenceService
Hello, I used the Hands-on Labs Beta 2 for an introduction to the WWF. There were added special SQL scripts to create the database for the persistence service. Though I have read in a paper by Dino Esposito that there are some dialog-based utilities for download to easily create the target database. My question is : Where can I find these utilities Thank you very much in advance! Iris Stern Thank you, Bill, for your quick response. I had already found and used the SQL scripts from the labs before sending my message. These scripts have to be adapted manually, when you want to use e.g. other database names. So I asked if there exist dialog-based tools to create the databases for persis ...Show All
SQL Server Please help me SQL 2005 and Access Databases
I have a restaurant POS application that is written in VB 6 and the data is being written to a access database. I need to access this database over the internet. I need to get certain tables (current sales) in this database to automatically send the updated data to a Web Server. My questions are: What is the best way to do this Do I need to have sql express loaded on site and let it do the interactions with the Access server and then connect to SQL express over the internet I am new to this and not sure of the best way to design it. Do I use Report services or analysis services to design Thanks What about using a WebService which exposes the data grabbing functionality. The WebService can be additional ...Show All
SQL Server Extract data from SQL Server 2005 by SMO or DMO
I am running an old script generator using SQL-DMO. Even on SQL Server 2005 it is working fine, but the new features like xml data type are not supported. So I switched to SMO. At the first view it looks pretty cool and easy. I changed the properties in the following source a thousand times but it doesn’t script any data to the file. Is it a bug or a stupid misunderstanding Transfer t = new Transfer (db); t.CopyAllObjects = false ; t.CopyAllTables = true ; t.CopyData = true ; //t.Options.WithDependencies = true; t.Options.ContinueScriptingOnError = true ; t.DestinationServer = "PC-E221\\SQLEXPRESS" ; t.DestinationDatabase = "TestAgent ...Show All
Visual Studio Express Editions getting computer info and writing on an xml ....please help me :'(
Hi i have got three questions. :) How can i get my computer info (for example:cpu model, graphic card model and memory size, cpu usage...) How can i write an value on an xml .....i use this codes for reading from xml: _____________________ Dim AppDataDir As String = My .Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData Dim StreamReader As New System.IO.StreamReader( "\ayarlar.xml" ) Dim XmlTextReader As New System.Xml.XmlTextReader(StreamReader) Dim AyarlarDoc As New System.Xml.XmlDocument AyarlarDoc.Load(XmlTextReader) Dim girisad As System.Xml.XmlNodeList = AyarlarDoc.SelectNodes _ ( "ayarlar/Programlar/Registry/Giris/GirisAdi" ) _____________________ and how ...Show All
Visual C# Exporting database on to the client machine
HI Is there any possibility of exporting an database on to the client machine. I have developed a product using C# and backend is sqlexpress 2005. I am packaging it using setup and deployment project of visual studio 2005. I don't know how to export database on to another machine using the setup. Hope i am clear with my problem. You are almost done. Try this link http://blog.krisvandermast.com/FailedToGenerateAUserInstanceOfSQLServerDueToAFailureInStartingTheProcessForTheUserInstanceTheConnectionWillBeClosed.aspx and if that didn't help try to google a litle, there are many pages about this message. If nothing helps then, try reinstalling SqlExpress and also at the end you can set User Instance=false. Message points that cur ...Show All
Software Development for Windows Vista TransactionScope with sql and msmq
Is it possible to use transactionscope and in the {} to use sql and msmq msmq is the datasource and the sql is the target. I wan't it to be transactional Could't find a sample for it . Is that possible Thanks Avi Its not working even only for the msmq here is my code public static void getData() { MessageQueue messageQueue = new MessageQueue (qPath); try { using ( TransactionScope tScope = new TransactionScope ()) { for ( int i = 0; i < 5; i++) { Message m = messageQueue.Receive(); Console .WriteLine(m.Label); } //throw new Exception("Error \n"); Console .WriteLine( "Finished the scope \n\n" ); tSc ...Show All
Windows Live Developer Forums MSN Messenger API without Windows Messenger
Hi all, I'm very confused right now. I made an application that grabs the contact list of MSN Messenger and imports it into an address book. This works fine untill I remove Windows Messenger for the system. I've clients that use MSN Messenger without Windows Messenger and the tool doesn't work for them. Is there a way to grab the contact list without Windows Messenger (and the Messenger API) installed Does anybody has some great code snippets What's language you use I did a Delphi VCL component here . I think I can convert it to other language if you like. ...Show All
Visual Basic Store and retrieve an Image in an access database
Hello, I was wondering how I can store and retrieve an image in an access database for display in an application I am currently designing using VB.NET 2005, All the information I keep finding is in VB6 and it doesn't work... The object I am trying to display the image in is a Picture Box, The user selects an item from a list and the item's picture will be placed in the picturebox... And so on... Any help would be appreciated. Regards Jason this does exactly just that: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=756349&SiteID=1 ...Show All
Software Development for Windows Vista Display resolution and font size
Hi, It is my understanding that Vista has the ability to scale all text sizes according to the display resolution (i.e. 12 point fonts will actually be 12 ponts regardless of the display resolution). Has this capability been implemented in Vista Beta 2 If not, is it going to be I have tried it out with Vista Beta 2 and the text sizes still decrease as the monitor resolution increases. Thank you kindly. Unfortunately the word "resolution" has been distorted from its original meeting, which is virtually synonymous with DPI. Many people (and the Windows UI) refer to the screen's size in pixels as its resolution. Not everyone has adapted their usage of the word. If I spend $1000 on a larger ...Show All
