wuzzle's Q&A profile
Visual Studio Team System New Files added to Project OUtside of VS
I use CodeSmith and Nettiers to generated the Data Layer for our project. It generates a bunch of classes and the project file for me. So here are the steps I follow when generating code. 1. Check out the the projects and everything in them. 2. Close VS and generate the code. This does create new project files in the same location. 3. Open VS. It says the binding information does not agree, I choose the Solution Binding option on the nag screen. 4. Check everything in. The problem is, if there are new files in the project, Team System does not see these as new files in the project. I can't right click them and add them. It just doesn't do anything with them at all. The only thing I can do is manuall go and choose the file fr ...Show All
SQL Server Filters and Page Numbers
I've discovered an issue related to filters and page counts. When I generate a report that creates a number of pages, but then filter the results, the page counts in the navigation bar (above the report), continue to display the original page count (1 of 169, for example). To reproduce: 1 Run a report that contains enough records to span multiple pages. Note the maximum page number. 2 Specify a filter for the report that restricts the number of rows returned to less than a page. Note that the maximum page number does not change. 3 If you click the next page link, (single right arrow) the same page is displayed, but the page display changes to page 2 of x. This also seems to occur if the filter generates a page c ...Show All
Windows Search Technologies How do you get the Desktop Search Bar to show?
I am trying to figure out how to work this thing. I can not figure how to get the Desktop Search Bar to show on start bar. Can anyone give me some insight as to where I can get a Getting Started paper for this thing or tell me how this works Thanks Greg Forster Same problem here. It was showing fine, then I installed Office 12 Beta, and now nothing is showing. An upgrade clearly happened, as trying to reinstall from the msn desktop search location reports that I have a newer version installed on my PC. Trying to uninstall WDS results in a warning that Office 12 Meeting Console may no longer work. Is there a mechanism to get the UI front end to the new WDS (and shouldn't this sort of "upgrade" that regresses fun ...Show All
Visual Studio Express Editions 30 day Free Trial
I am adding "30 day Free Trial" code to my app. I want to write out a file to a secret location with the first run date, etc. Would C:/Windows/System be a good place to put it Instead of using a secret location you would be better off using an encrypted binary file that is located in the startup path of your app....Create a dependency to the file and during app startup if the file does not exist or contains invalid data then shutdown the app ...Show All
Visual C++ Performance of strcpy_s versus deprecated strcpy
I've written a program that has two loops, one that executes strcpy_s and the other executes strcpy. Both loops simply copy a static string into a char buffer of a fixed size. The performance of strcpy_s is horrendous compared to strcpy. Granted that strcpy_s is doing runtime validation, but I didn't expect such a big difference in run time; there's almost a 2X difference in run time between the two when compiled optimized. Not a real compelling reason to switch to the secure versions, at least in released code. const char * srcStr = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890" ; char buff1 [ 128 ]; char buff2 [ 128 ]; const int numTries = 100000000; ...Show All
SQL Server Deadlock at trigger
a trigger need to insert or update record at the other table in high traffic environments however, the deadlock happens; ie, a trigger running twice at the same time want to need to insert record at the table. i trid to change isolation as SERIALIZABLE or REPEATABLE , but i cannot solve the problem. i guess the "while loop" affects the result because i try to cancel the loop and execute smoothly. How to solve the deadlock Thx ----------------------------- i used the following commands to change isolation level: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE begin transaction commit transaction ----------------------------- the code are as follows: declare setskuCursor cursor local static for select item, qua ...Show All
Visual Basic Setting MSSQL Entry as Variable in VB.NET
What I'm trying to do is select data out of a single cell in a MSSQL table using the SQL statement "SELECT JobData2 FROM tblJobs Where JobID=1" which will return a string and set that string as a variable within my VB.NET program the purpose of this is so that when all the MSSQL data is dumped and uploaded it will get uploaded in /home/variable/data/ on the FTP server anywhere heres the majority of the code any help would be much appreciated. Public Sub Work() 'GLOBAL VARIABLES FOR DATABASE DUMP AND FTP UPLOAD Dim dbserver As String = dbserverbox.Text Dim dbusername As String = dbusernamebox.Text Dim dbpassword As String = dbpasswordbox.Text Dim dbpath As String = dbpathbox.Text Dim ftpserver As String = f ...Show All
SQL Server SSB scenario, can it be done?
I currently have a workflow "like" application which uses msmq to pass messages to each step transactionally. I'd like to take advantage to something like SSB to make the app scale. Here's how it works today: Start Workflow WebService puts message on queue. Windows Service has threaded listeners on each queue for the workflow. The listeners do a transactional Receive off the queue. By doing this is in a transaction, we can enforce that only one listener will pick up and process the message. Once they have a message they call a .Net Assembly to perform some work. Once the work is performed succesfully, the listeners put the work context on the next queue using the same transaction as the receive and commit the transaction effectiv ...Show All
SQL Server Reliability? [What the heck?]
One of the MVPs prised SSIS for being on the enterprise-level. I tend to disagree. Here we have - enterprise system for one of blue chips. The package is invoked every minute through SQL Agent. It runs three days or three weeks and then reports: Executed as user: EUR\user04. ...9.00.1399.06 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 13:11:01 Error: 2007-01-22 13:11:08.14 Code: 0xC0014005 Source: Description: The connection type "OLEDB" specified for connection manager "Reporting" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connecti ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA and multiple windows (swapchains) clarification.
Hello all, I would like some clarification on the point of using multiple windows under XNA. I am looking at a major rewrite of software and am currently exploring alternatives. I have a Visual Basic 6.0 application that uses DirectX 8.1. The application has a main control form (standard VB controls). It also contains three other forms which render 3D displays. Each of these 3 windows uses standard VB controls for toolbars and statusbars; but render 3D scenes in a Picture box. Using this method I can render an aircraft in flight (chase view), a birds eye view of flight path, and weapon in flight view concurrently. I also have two forms rendering with the Win32 API, and another form for displaying database data in a grid control. T ...Show All
Visual Basic Embedded VB Compiler
I recently reviewed a dot.net program that included a VB compiler as part of the program. If you wanted to write custom code within the product, you were sent to an IDE, could add their own code, then compile it before exiting. The code then became available to the program itself. So, in other words, let's say the program is a very simple one providing only the ability to sort the data alphabetically. The programmers developers, realizing that some users may have more advanced requirements thoughtfully included a VB IDE and compiler so that the user can create complex data sorts by first writing the code for their advanced search, then compiling that code, and bada-bing, the program recognizes the object you've created and incorporates you ...Show All
Visual Basic Report with subreport is not showing any data on the subreport
I've a main report ("rptFichaProducaoColagem") with a subreport ("rptFichaProducaoColagemOcorrencias"). I want to link both by the field "Data". The main report is bound to table "Numeros_Dia" by the following code: Private Sub frmVisualizarCrystalReports_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim relatorio As New rptFichaProducaoColagem conexao() sSQL = "SELECT * FROM Numeros_Dia WHERE [Data] LIKE '" & DataRelatorio & "'" da = New OleDb.OleDbDataAdapter(sSQL, con) ds.Clear() da.Fill(ds, "Numeros_Dia" ) relatorio.SetDataSource(ds) CrystalReportViewer1.ReportSource = relatorio con.Clos ...Show All
Visual Studio 2008 (Pre-release) How to implement interactive form modifications?
I'm trying to figure out how to save user modifications (i.e. personalizations) to a form. Consider a simple WPF input form, with two label/text boxes and two buttons, OK and Cancel. The user wants to reorder the input boxes (or add/remove a column in a grid, reorder columns etc). I was planning to modify the XAML dynamically (at the xml dom level) and save away the user's modified file. Then when they reload it next time, everything is in their preferred layout. Meanwhile, the buttons still work the way the original code behind requires. Unfortunately, what I've read and tried so far says I can't do this without writing a complex property and event mapper to hook up the code behind, as what I reall ...Show All
SQL Server Internal error using TimeSeries
Revenue 4 GB (4086 MB) Partitioned into 12 partitions (about 340 MB each) The count of records : almost 16.8 millions Each partition has approximately 1.4 million records Algorithm chosen : TimeSeries Time Key : Period (6 digits integer with values range from 200501 to 200512, integer values) (Non-time) Key : Telephone number, variable-length string/text, max 15 char Input-and-predicted column1 : SLI007 Input-and-predicted column2 : SLI008 I have set the value for PERIODICITY_HINT to {12}. I created the project 3 times in 3 machines. All fail. The error message is the same : Internal error : An unexpected exception occured. Internal error: An unexpected error occurred (file 'dmtimeseries.cpp', line 646, function 'DMTimeSeries::ProcessCase ...Show All
Visual Studio Team System can you create an alias for a field?
hi everyone im just wondering since you cant edit a field name or delete it, is there a way to create an alias for a field i am currently drawing a blank of the field name i want to change(at home right now), but i want to change it to resolved in build. Is this possible Thanks Do you need it because you want to show a different label in UI form for field If so, you can enter different label name in workitemtype definition under Form section for a control. You can give a localized field name and a reference name for a field and other than that there is no other alias functionality. If this doesn't solve your needs, let us know why you need that alias function. Thanks ...Show All
