CTDATA's Q&A profile
Windows Search Technologies Scanning tens of thousands of files on network drive?
I am running version 2.6 of WDS on a Windows 2000 machine. I have a network drive (mapped as "h" with many subfolders and thousands of files. In WDS, I choose to only index a couple of very small subfolders (with, say, 300 files) and then tell WDS to start indexing. In the status window, it starts counting up, saying: "Items left to scan..." As of now, after about 2 hours, that number is at 57,000 and counting. Last time I tried this, the number got to 250,000 before I stopped it. Meanwhile, the "Items indexed so far..." counter is not increasing at all. What is going on It seems like maybe its trying to scan the entire H drive Or maybe the entire network Or something equally weird All I want is for it to add ...Show All
Visual C# Need Help in developing MS WORD like application
Dear All, I have seen applications that has tool bar, with different buttons which are same like MSWORD 2003 look like, and when click on one button suppose table button , a list popup which also same like MS WORD 2003, and there are increase and decrease indent buttons, center align, lift align or right align buttons, and its functionality is also same like MS WORD. I want to implement such functionality in my own application, but remember please don’t refer me to MS Visual Studio Tools for Office Development, show me some other way by which I could do so. Refering me to code for downloading office like application will be highly appretiated. thanks If your application edits word file t ...Show All
.NET Development Cannot see DataSet created from XSD
I created XSD from my XML document. I add it to my project and can edit it using "Open as Dataset editor" option of the VS2005. However, i am unable to create an instance of the class because IntelliSense does not "see" the class definition. What is a correct way to open XSD created from XML as a DataSet Maybe it is. I must check it. There is a file named DatasetFileName.Design.cs that is created when you select a Dataset as a new item in your project. I expect to get the same file. As well i prefer that the file will change on each change i do in design time, like it is happening with a datset created in VS2005. ...Show All
Visual C++ Mixed mode C++/CLI idiom
In my C++/CLI components, for each component I create a ref CLR class and a C++ class, the latter which does most of the internal processing and interfaces to the C++ standard library and 3rd party libraries such as Boost. I do this so I can use C++ libraries in my CLR component, especially when the .Net framework does not offer all the facilities which 3rd party C++ libraries have. In order to allow the C++ class to access the properties, methods, and events of the corresponding CLR class I have a pointer to the C++ class as a private member of my CLR class and dynamically create an object of the C++ class, passing a pointer ( ^ ) to the CLR object to the constructor of the C++ class, and assign the resulting C++ object to the pointer in ...Show All
Visual Studio Crash in setup.exe after VS2005 SP1 failure due to insufficient disk space
Dear all, Sorry if this question has already been asked but I cannot install VS2005 anymore on my machine. The scenario was: - Installation of VS2005 - Attempt to install VS2005 SP1. - VS2005 SP1 setup reports insufficient disk space to copy a file and ask to retry after making space on disk - "Retry" pressed after making space on disk - VS2005 SP1 setup reports an error and stops installation - Uninstallation of all VS2005 components - Attempt to install VS2005 The result is a crash in setup.exe. Error signature: EventType : visualstudio8setup P1 : 183 P2 : 8.0.50727.42_rtm_x86ret P3 : msi P4 : inst P5 : f P6 : ca_installassemblydef.3643236f_fc70_11d3_a536 P7 : - P8 : 1603 P9 ...Show All
Visual Studio Team System VSTS Bug? "Unspecified error"
I have a project that builds fine in Visual Studio 2005 Professional. When I open the project in VSTS and do a Rebuild I get: Skipped Rebuild All msg and quits. If I try to compile any file in the project I get: "The operation could not be completed. Unspecified error." I've turned on full diagnostics (Tools/Options/Projects and Solutions/Build and Run/Detailed), but doesn't produce any output. Any ideas on how to troubleshoot this. I'm kind of dead and will need to go back to VS Professional soon if I can't resolve. Mike This is not a VSTS bug. Rolling back to Visual Studio Professional didn't help. To fix the problem I did Repair (Control Panel/Add Remove Pgms) on the Mobile SDK. ...Show All
Visual Studio Distributing an App Containing CR
I created a desktop application using VS2005/VB. The app uses the built-in VS2005 CR components. Within the solution I created a Setup project and in that project I include the CrystalReportsRedist2005_x86.msm merge module. When I install the resulting package on a different system I get an error: "Method not found: 'Void CrystalDecisions ReportAppServer.Controllers.ISCRDatabaseControler.ReplaceConnection(System Object, System Object, System Object... when the user tries to open (preview) a report. I thought that merge module was supposed to include all required components What else is needed here ...Show All
Software Development for Windows Vista New in Windows workflow:) please help me :):)
i have installed visual studio 2005 team suite,where windows foundation workflow is included. i have download some example from msdn which is "SimpleSequentialWorkflow: i have opened the project in the visual studio. but i dont know how to run this.or how to deploy this in any server.i am new in workflow. plz help me , how i deploy or run workflow application. The ones above are for Beta. We have released RTM. Check these out - http://msdn2.microsoft.com/en-us/library/ms735927.aspx http://msdn2.microsoft.com/en-us/library/ms741723.aspx http://wf.netfx3.com/files/folders/documentation/entry4919.aspx Thanks, Kushal. ...Show All
Windows Forms Sorting with DataGrid & DataGridView controls...
The Grids are a great way to display data, but I just noticed that sorting text columns poses a hiccup. Specifically, if I have three rows with IDs: BB1, BB2 & BB10 Then the Grids sort them in the order BB1 BB10 BB2. This is particularly problematic in my case as I use the data in Grids to generate printed reports, & I want the data to be sorted in true alphanumeric sense. So, is there a way to achieve the desired affect Well, that will work in a one-off case... But my Grid is being populated dynamically with fields that are selected by the user using a QueryBuilder. Although in theory, I can program the Grid to follow the approach you suggested for all alphanumeric fields, I was looking at a more ...Show All
SQL Server How to avoid Leaf-Level calculations
From Spofford's book: "...the developer can create measures instead of using an MDX script to perform leaf-level calculations. Then the leaf-level calculation is precalculated during cube processing time via an SQL Query, and the expensive on-the-fly calculation is avoided. For the Amount = Price * Volume type of calculation, a simple calculated column in DSV ... " Now how do you achieve similar performance gain when you have a division instead of a multiplication For instance average price, calculated as TotalPrice / Quantity. According to this book, using a MDX Script (under the Calculations tab of Cube Design in BIDS) will imply a heavy performance penalty. Are there any alternatives ...Show All
SQL Server Change the "text filegroup" property of an existing table
How can I change the property "text filegroup" of an existing Table Thanks Markus In enterprise manager, right click the table and choose "design table", then click the "table and index properties" icon (2nd from left, next to save) and then set the Text Filegroup option as appropriate. ...Show All
Windows Forms How do I filter a BindingSource using the Child token?
I have to DataTables with a parent-child relation set between them. The BindingSource object is bound to the Parent table. Is there a way of applying the filter with search/filter criteria specified for the child DataTable I've tried: ParentBindingSource.Filter = "child(RelationName).aChildCol='strToFilterOn'" but I get an error "Cannot interpret token 'child' at position 1." Any ideas on how this can be done After some research I've seen comments stating that Child can only be used with aggregate functions. Is there a way to use any aggregates to achieve the above Thanks, Nate This functionality is kind of important. Does anyone out there know an alternative to ach ...Show All
Software Development for Windows Vista How to grab the element of Pop up window ?
While executing in the UI Automation framework, the main program waits indefinitely whenever a pop up window is invoked by the program. I tried invoking the pop up in a thread, but in that case also the main thread waits indefinitely In the main thread i am trying in a loop to find the window, with sufficient time interval between each loops been given Is there any way we can handle this ~JK Please see the thread at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=885374&SiteID=1 for a discussion of this topic along with a possible solution. Thanks. ...Show All
Visual Studio 2008 (Pre-release) Paint the region between different Paths
Hi guys, Is it possible to paint all the region between the different Paths. If I put Fill property to the Path which is ArcSegment in my case, only the Arc will be painted of course. <Canvas xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml "> <Path Stroke="Black" Fill="AliceBlue" StrokeThickness="1" Data="M 10,300 A 180,10 0 0 0 400,300" /> <Path Stroke="Black" Fill="AliceBlue" StrokeThickness="1" Data="M 30,230 A 180,10 0 0 0 380,230" /> <Path Stroke="Black" Fill="AliceBlue" StrokeThickness=" ...Show All
Software Development for Windows Vista Help, Persistence not working!
I have an ASP.Net web service that uses workflow. I followed the examples to use SqlWorkflowPersistenceService so my workflow instances would be saved in a SQL database I created for this purpose (running the SQL scripts in C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN). Here's my problem: my workflow instances are not being saved to the database! I can see my workflows going idle, but when I check the database I see no records in InstanceState. Am I missing something Could someone help me debug this, it's driving me nuts! Here's some of my configuration and relevant code: < add type = " System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.0.0, ...Show All
