DaveDB's Q&A profile
SQL Server Problem with querry performance locally vs. network
Hi, I work on speed-up our company SQL Server 2000. I reconstructed one querry and test it on client computer (other than server). There was no profit. I was surprised :(. I supposed several times speed-up. Next I run old and new querry directly on our SQL Server machine. The result was proper - new (after modifications) querry takes 2,5 times less time than previous. Ok, question: why there wasn't profit of modification from client computer I thougth that reason is slow network. So I copy from client computer file of weight 80MB to server. This takes 10seconds. Result of my querry is 35MB and it takes 17 seconds on client computer and 6 seconds directly from server. Best regards, Walter Luszczyk ...Show All
Silverlight (formerly WPF/E) Squeezing objects
I was wondering whether it is supported to "squeeze/distort" objects into various affine and skeewed forms Basically what I wan't to do is squeeze an image (or any other object for that matter) into the following shape: ___________ / \ / \ / \ / \ / \ I would also need a variant the would require adding some skewing like this: ___________ / | / | / | / | / | or ______________ / / / / / / / / / / ...or anywhere in between these. (and no, I'm not talking about clipping :-) Any ideas on how to accomplish this are very welcomed! Thank you very m ...Show All
.NET Development Seperating DataSets,DataAdapters stuff from Applications
Hi, This is probably for most of you a very basic question. My goal is to define in a seperate instance from application all infos related to DataSets and DataAdapters that are needed when connecting to a specific database. Why First, I would like to be able to have in a single instance everything needed when hooking to a SQL Server Express database and in an other everything needed when hooking to a SQL Server CE database. Then, from application, I would like to be able following a few basic configuration steps to choose from one or the other, or even both in specific cases. Second, I want to be able to seperate Database related stuff from application so that I can re-use everything from any other application when needed. ...Show All
Software Development for Windows Vista Allowing multiple issuers
Is it possible to request multiple issuers In other words, I allow CardSpace to choose any card from a set of known issuers I accept cards issued by Bank A, Bank B and Government C Cheers Matt This isn't supported in the current version, but we're looking at this possibility for our next major release. //Toland ...Show All
Windows Forms The path is not of a legal form.
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The path is not of a legal form. Hide at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.GetFullPathInternal(String path) at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project project) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly() at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ...Show All
Visual Studio Team System Unable to perform Web Test
When i try recording a Webtest My Recording doesnt work. The Record options seem to be Greyed out (disabled)..The Browser loads Up pretty quickly when i click on a new webstest But then its all greyed out. The Message that i get is "The web test recorder must be launched from within visual studio" P lease help me in figuring this out. If this does not work, you may need to install the sp1 beta. There is a bug that was fixed that sometimes caused the recorder bar to not be enabled when creating a new web test. If you follow the steps from Mike above and they do not work, then try the beta. You can get it from: http://connect.microsoft.com/visualstudio ...Show All
Visual Studio "Disconnected Context"
I am getting a “ Disconnected Context” error with the vsPackage that I am developing. When a command is invoked I give control to an external program and wait until the External program completes. The external program can take a long time to return control. Once control is returned if I try to access any of the interfaces I get the “Disconnected Context” error. Is this a CLR bug or I am doing some thing wrong How can I fix this error Thanks Can you please provide more information about what you're doing What is your "vsPackage", what interfaces are you using, etc ...Show All
Visual Studio Team System Enable build notification after TFS setup
I`ve installed new TFS and migrated old TFS to new one. After then users reported that build notification mails are not comming anymore. I know, than on installation I`ve leaved blank that checkbox "Enable mail notification...". Where can I set this up now without repairing TFS I think you are on right path. You can see more information at http://msdn2.microsoft.com/en-us/library/ms400808(VS.80).aspx regards ...Show All
.NET Development upload 250mb data in asp.net with c#
hi all, I wants to upload 250mb of data in my web application. Is it possible in asp.net,if not then how to do it in asp.net help me, any code..... i am searching for hours on net......... Using third party and .net forums are great advice. You may also want to consider ftp as an option. If that is too complicated for the user than write a WinApp utility that they can use to do it for them. ...Show All
Visual Studio symbols are not loaded
I want to debug one file say temp.cs which is in C:\My Project\Src directory its projects dll are in C:\My Project\bin\debug folder Now my application is running from in d:\application\dlls..................in this folder both dlls and pdb are there.......... I want to debug my above temp.cs file.............but symbols are not getting loaded............. what may be the reason i want to know how debugger works Can anybody help me....... The PDB files do not match the DLL being loaded into the process. You could check the modules window to see where your DLL is loading from (and more importantly what the date/version is of the dll being loaded). You can also modify the symbol search path (Und ...Show All
Windows Forms How to prevent Combo Box automatic selection of text?
How can I set the combo's text to be the same as the text for one of the combo's Items, but still have the text display UNSELECTED When I set up the data in a combo box "combo" as follows: combo.Items.Clear(); combo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown; combo.BeginUpdate(); combo.Items.Add( "Item 1" ); combo.Items.Add( "Item 2" ); combo.Items.Add( "Item 3" ); combo.Items.Add( "Item 4" ); combo.Text = "Item X"; combo.EndUpdate(); The combo displays the text "Item X" UNSELECTED and shows none of the items in the drop-down list selected. If instead of combo.Text = "Item X"; I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Musician: Looking for a project/s to work on.
Hello, Wasn't sure if this forum was the correct place to post, but I thought it wouldn't hurt to try. Anyway, I am an avid gamer who also loves to make music. I am looking to 'pimp' myself to potential XNA game projects in need of a musician. I've had a little bit of experience: Music for Battlefield 1942 mod - Battlegroup42 (menu and level loading music). Music for Tribes Vengeance Trailer - this was a competition I won. Here are links to them musical pieces mentioned above, and a link to my electronic music band's website which features lots of tracks. BG42 menu music 1 Tribes Vengeance trailer music An orchestral piece and my band's website where you can find lots of ...Show All
SQL Server Service Broker and AS400 MQ Series
Hi, Does anyone using SQL Server broker to send message to a queue outside SQL Server. I mean to non-SQL environment like AS400 MQ Series. Thanks Shafiq Service Broker uses proprietary wire protocol to communicate between SQL server instances. Hence it cannot directly talk to MQ Series. However, you could build an adapter service that can receive messages from a service broker queue and send them to an MQ Series queue in a distributed transaction. ...Show All
.NET Development \SWAPRUN:NET in .net
Hello, I am currently working on a rich client application that will be used by many users in the local network simultaneously. The executable and libraries are stored on a shared drive and executed directly from there. The problem is that I need to update those files once in a while and I can't, because somebody always has an instance of the application running. There used to be a vc++ linker switch \SWAPRUN:NET, that would cause an executable to load into the user's swap first and therefore it would not block the executable file on the network drive. Is there such a thing in .NET I have not found any.. And if not, what would you do in this situation I don't want to kill the running instances, either. Thanks for any suggestions Jaroslav K ...Show All
Software Development for Windows Vista How to get the present Activity the workflowInstance is in
Assume I have a Seqential workflow defined A->B->C->D I processed the workflow till B and then closed the browser. When I reopen the browser my worklist shoud show this workflowInstance is to be processed from Activity C . how to get the info that C is the Active Activity I Can loop thru the activityEvents and get the Activity with Executing Status.Is there any otherway to avoid this looping use ActivityTrackingRecord find the activity status is executing. but in stateActivity it will error. ...Show All
