Software Development Network Logo
  • Visual Studio
  • Visual Basic
  • Game Technologies
  • IE Development
  • Smart Devicet
  • Visual FoxPro
  • SharePoint Products
  • Microsoft ISV
  • Windows Vista
  • VS Team System
  • Audio and Video
  • Visual C++
  • Windows Forms
  • Visual C#
  • SQL Server

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

christophw

Member List

Jonathan Abbott
Basani
Alex Smirnov
Troy Lundin
wleizero
Kardi
Ruben T
MichaelEaton
Andy Johnston
Behn26
Gerhard Brueckl
sqlexpressbeginner
Brent-GPTX
Scott McKeown
muelle60
yosonu
Cory.Isakson
gary560
S Nesbitt
Pradeep Gupta
Only Title

christophw's Q&A profile

  • Software Development for Windows Vista Persistenced Workflow Instances

    Dear all, I enabled the SQLPersistenceService and set UnloadonIdle=true. Now, the workflow will be unloaded automatically when idle. But how I can know how many persistenced workflow instances in the Database after host restart Can it be done without using the Tracking service Please help. Thanks. Andy Hallo, Andy. Please try with UnloadOnIdle = true in the constructor of the SqlPersistenceService, when starting the second host. This should automatically load persisted workflows when an event is raised (e.g. their timeout interval is exceeded). Otherwise with UnloadOnIdle = false you must load the workflow manually by it's ID. You will get all the persisted instances by ...Show All

  • SQL Server Login without Connect Permission somehow managed to become db_owner!?

    I tried asking the same question in other forum but couldn't get an answer. I used exactly the following SQL to create a login with sa account in SQL2k5 Management Studio: Create Login yy With Password='yy123Z' Without granting any permission, straight away, i log out sa and login as yy in management studio, yy somehow can access one of my ApplicationDatabase! So i check with the following SQL in my ApplicationDatabase: IS_MEMBER('db_owner') and it returns me 1, meaning yy is db_owner. I then quickly login as sa and double check on the security|login|yy|properties|User Mapping, NONE of the database is mapped! and i also ensure "Guest account enabled for: ApplicationDatabase" is unchecked. What could be the problem i am facing ...Show All

  • Visual Studio Team System Foundation Server Thinks I'm Administrator

    When I try to connect to the team foundation server for the first time, It says "administrator" does not have an account on that server. I looked, and my visual studio is not running as administrator, nor is anything else. I've checked my username in the few places I can find it in the visual studio environment, and it is set to my username, (not administrator). I tried running it my right clicking visual studio 2005 and saying runas my username...the foundation server still says I'm trying to log in as administrator. It's very wierd. Has anyone else heard of this or know about it Thanks! Thanks Joe! For those who seek a solution to this problem and don't know how to delete a p ...Show All

  • Visual Studio Upgrading from evaluation version of VS05 Professional

    Hi, I have the evaluation edition of VS05 Professional Edition installed, and have been using it successfully for about 80 days. Now it's due to expire, I've bought the full version - however, I allowed myself to be talked into going for a "Volume Licensing" agreement with the "media only" which may have been a mistake, as it has no 25-digit CD key to enter. I don't want to completly uninstall and reinstall, as I understand that is not supported and can cause problems. So how do I upgrade All I have is a 'license number' and 'authorization number' which I've entered on the eopen web site, but this is no help to me. Any ideas, or should I return this to the vendor and get a proper boxed set with a CD key (whi ...Show All

  • Visual Studio 2008 (Pre-release) Round only 2 edges of border

    Hi! Is there any way to round only 2 of 4 edges of border Thanx Josh! I've stopped on the half-way of proposed solution Because the result appeared even more satisfactory than desired. I used only one border with gradient background and gradient brush as you said ...Show All

  • Smart Device Development Toolbox Icon

    Hi guys, How do I provide an icon to be displayed when my custom control is added to the toolbox with CF In the full version, its easy: [ToolboxBitmap .... ] but this seems to be missing in CF. Obviously it can be done, but having trawlled through here and MSDN, I cant find anything. Thanks in advance, Millie. Hello! We are are currently trying the same thing, simply adding a toolbox item to a custom control. Therefore we added a xmta file. <Class Name="Gulliver.CSharp.Controls.Forms.Button"> <ToolboxBitmap>Gulliver.CSharp.Controls.Forms.Button.bmp</ToolboxBitmap> <DesktopCompatible>true</DesktopCompatible> <Property Name=&qu ...Show All

  • Visual Studio Team System Cube Error

    Any ideas, wit this error, I'm getting on my App Server: Detailed Message: The pending configuration changes were not successfully added to the cube because of the following error: Microsoft.AnalysisServices.OperationException: XML parsing failed at line 1, column 0: A document must contain exactly one root element. . Errors in the metadata manager. An error occurred when instantiating a metadata object from the file, '\\ \E:\MSSQL.2\OLAP\Data\TfsWarehouse.0.db\Tool Artifact Display Url.1299.dim.xml'. Errors in the metadata manager. An error occurred when instantiating a metadata object from the file, '\\ \E:\MSSQL.2\OLAP\Data\TfsWarehouse.0.db\Tool Artifact Display Url.1299.dim.xml'. at Microsoft.Analysi ...Show All

  • Visual C# Logging vs stack trace

    We are starting to use Log4Net in our projects and then I came up with a doubt: If Stack trace shows us all methods calls when executing a certain piece of code, why would one use Log4Net (or any other tool for logging), taking some risk to degrade performance and such... Actually I found log4Net a cool tool for logging our queries result. But then, that makes sense only for our methods that return a SELECT result or for those that call an ExecuteNonQuery (CRUDs). Am I right Well considering I am not able to access Reflection to get parameter and return values (in an automatic way), I would only log to show the method calls, what stack trace already does for me... :( ...Show All

  • SQL Server Default values of columns not transferred in SSIS Transfer Objects Task

    I am working on a project that is creating a new application, my area of the project being the migration of data from the old application database, transforming it, and populating the new database. The transformations to the old data are done in a staging database. At the end of the process, the staging database ends up with a lot of new applications tables, populated with the migrated legacy data. We need to move these tables from the staging database to (initially) our test databases, but ultimately what will be the live database. We have tried using the "Transfer SQL Server Objects Task" in SSIS, but have ran into a problem that a lot of the database tables have default values for columns. These default values a ...Show All

  • SQL Server Best way to learn SQL Mobile?

    I am an experienced web developer using PHP and MySql have experience with VB. What is the best way for me to learn programming pocket pc's Is using sql server mobile the best offline database to use as I will be using MySql Compact framework to connect direcly to our Linux server. Any help is much appreciated as I can't seem to find any useful tutorials on quering an sql databse to update, insert, read or delete. I have created a datebase however, I just don't know how to use it. Thanks in advance. Mark Hi Mark, Below is a specific link to IBuySpy Sample app available on MSDN http://msdn2.microsoft.com/en-us/library/ms174006.aspx IBuySpy Delivery 2005 Sample Application (SQL Server M ...Show All

  • Windows Forms How do you not allow user to resize rows in a datagrid for C#?

    I am making a form in C#. It has a datagrid that pulls information from a SQL table. How do I get it so the users can not resize the rows in the datagrid. I do want the datagrid enabled as I need to select currentrowindexes to do stuff with the data in the form. I just want to know how do I prevent the user from resizing the rows This can easily be changed in the properties of the component (if using VCS Express Edition), else just include: dataGridView1.AllowUserToResizeRows = false ; :P ...Show All

  • Visual C++ DLL issue

    I am new to VC++ In VS 2005 I am trying to build a DLL project written previously in VC++ 6.0 . VC6.0 used a makefile to build the test.dll and test.lib Make file entry looks as below: Test.lib: Test.obj Test.def $(implib) -machine:$(CPU) \ -def:Test.def \ Test.obj \ -out:Test.lib Test.dll: Test.obj Test.def $(link) $(linkdebug) $(dlllflags) \ -base:0x1C000000 \ -out:Test.dll \ Test.exp Test.obj $(guilibsdll) My questions are a) What are these $(link) $(linkdebug) $(dlllflags) $(guilibsdll). Where does VC compiler picks these from b) When I build this test.dll and test.lib in VS2005, and used it in a test program I get an error message while running the RELEASE build of test.exe which says 'App ...Show All

  • Visual C# What Can Clone() Does?

    There's a tabControl in my application, on one tab page(say "Test"), there are many Checkboxes and buttons. Now I should add another tab page(say "EasyTest") with several Checkboxes and buttons which have the same function as the same on "Test". That means, "EasyTest" is just a portion of "Test". I hope the Checkboxes and buttons on both tab pages will work together without conflict. The Checkboxes will be selected at the same time no matter user checks on which tab page. I want to reserve the tabpage "Test" with all components and also to use "EastTest" for some simple applications. Is it possible to use Clone() to copy the Checkboxes and buttons on one ta ...Show All

  • Visual C# Moving a byte array between C# and C++

    Hi Guys, hope you can help. I am currently writing a managed C++ wrapper to interface with some unmanaged C++ code so I can utilise the code in C#. Everything is working absolutely fine except I need to be able to pass in a managed buffer from C# in a C++ function, modify the buffer in the function and pass the results back to C#. I currently have the following: C++ code: public : void Play(System::Byte buffer[]) { char buffer2[44100]; // Fill the unmanaged buffer pSidplay2->play(buffer2, 44100); //buffer = buffer2*; // Copy the unmanaged data into the managed buffer for (int i = 0; i < 44100; i++) { buffer = buffer2 ; } } C# code: private void button1_Click(object sender, ...Show All

  • Visual Studio Team System Cant get code coverage logged on OS as a User with limited rights.

    Hi; I am currently trying to use VS2005 Testers Edition to do manual testing with code coverage enabled. But I have ran into a snag; I cant get any coverage when logged in Windows as a User, but when i log in as an administrator, I am able to get the coverage using the same localtestrun.testrunconfig. Do you need to be an OS administrator to get code coverage Any suggestions what we are doing wrong Thanks Hello, Have you tried giving full control rights on your testproject (and everything beneath) to the User Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

©2008 Software Development Network