NickNotYet's Q&A profile
Visual Studio Express Editions Is it even possible to write a program to do what I need?
Hello All, I am a classic ASP developer. I wrote an ASP app for a companies intranet. They want me to make a "portable" version of it for sales people who do not have access to the web/intranet at certain times on the road. My idea was to have them install IIS on XP (they are all on XP), and run the app that way. The issue becomes that we need to have some way to ensure they have the latest files on their machine. They also want to be able to run the app from a start menu or desktop icon. I wrote an app in VB Express Edition that once installed would open up an IE window and access the ASP files. Here is the code I wrote... very simple: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As Syste ...Show All
SQL Server Performing Date Range Queries Based on a Non-Calendar Fiscal Year
Hi, Using SQL Server 2000, I need to perform date range type queries that involve my company's Fiscal Year, which is not the same as the calendar year. My company's Fiscal Year if from Sept 1 to Aug 31, where Aug 31st year determines the Fiscal Year. For example, since today's date is 09/20/2006, the current Fiscal Year is 2007. An example of a typical query requirement: Find all the sales figures to-date for the current Fiscal Year. So, a WHERE clause will consist of a date range query from 09/01/2006 to 8/31/2007. Initially, I created a Function to find the current Fiscal Year based on the current date, by calling the GETDATE() function and passing the results to the following function: CREATE FUNCTION dbo.fnGetFY (@Curren ...Show All
Visual Studio Team System How to change process guidance template on existing project?
Hi forum. We have an existing team foundation project. Is it possible to change the process template from Agile to the one for CMMI I'm guessing I could overwrite som HTML files somewhere to get the content updated. But we also need to be able to create the new work item types when right clicking on the work items folder in team explorer. It is possible How do I do it The short answer is no, there is no way to change the process template of an existing project. Think of it like this: A process template in TFS is similar to a document template in Word. In Word, all documents are based on a template. The default template in Word 2007 is Normal.DOTX. It contains ...Show All
Software Development for Windows Vista WWF requierments for a web site in terms of applications
Hi, i need some informations on the requierments of WWF in order to run a web site for clients bugs tracking please. As i understood i will need : -IIS 6 or higher -.NET 3.0 -ASP.NET 2.0 -SQL Server 2005 (or Express ) ... What i don't know at the moment is the configuration needs as i'm totaly new to web server configuration. Another question is for this web site, should i do a "pageflow" (the workflow handle the http requests) or leave the asp pages handle the workflow life of a bug. Bugs ticket will have 4 or 6 states. There will be near 3 key pages on the site. Samples don't reply fully to my questions :(. Last question, when the workflow is running, can i modify the code of the web pages, build and publish ...Show All
Visual Studio Express Editions Console App won't run, getting error about "application configuration is incorrect"
Hello, I have a console app created using C++ 2005 Express. I now need to copy it to another machine to use it but it won't run. I have already copied the msvcr80.dll in with the executable but still does not work. I have also try copying in the manifest but this has no effect. What do I need to do to get my console app to run on another machine Thank you for your help, The number you are getting 50608 is the correct one.The policy on your machine will direct such dependency to the correct version. You need to install the SxS binaries into the other machine. http://msdn2.microsoft.com/en-us/library/ms235624.aspx includes more details. Also, the following previous post might be helpf ...Show All
Visual Studio Team System Using a rule to show code metrics
Hi, I'm trying to use a custom rule to calculate and then output certain basic code metrics. For example, count the number of interfaces, classes, how many abstract classes etc.. I have worked out how to gather all the metrics I'm after, what I can't fathom is how to generate a single lne output at the end of analysis. I tried adding my 'fake' problem within an override of AfterAnalysis but this doesn't work - it is not displayed as output. I realise in this case I am not really using the tool as intended - but is there a way of wrapping up the results of several Check()s in to a single 'problem' Tim, If these metrics are measured against an assembly, then simply override the Check(Module) ...Show All
SQL Server Long running stored proc in CLR
How does one prevent a long running procedure form crapping out in CLR I am trying to do a pull from a distant data source and it works, except I have to break down my stored procedure call into several smaller calls. I would like to do everything in one shot, but I get the thread abort exception when I try to get a lot of data. Any ideas Thanks. It's not the time that's causing the issue, but more likely the memory utilization. There is a hard cap on the amount of memory you can use, after which you'll receive a ThreadAbortException if some of the objects can't be garbage collected. Did your ThreadAbortException include a message along the lines of: ...Show All
Visual Basic General Array Questions
I know how to create Arrays and i know how to do stuff with Arrays in PHP, but VB.Net has me confused! :( This code creates 2 arrays (i only need them one dimensional because i don't want to get into 2 dimensional arrays because i havn't played around with them enough yet in VB.NET): Dim newX, newY As Array And i have this code which clears the array before another function needs to add to them: Array.Clear(newX, 0, newX.Length()) Array.Clear(newY, 0, newY.Length()) But how do i add items to those blank arrays (one by one) with an integer And then how do i make a code to count the newX array and use each X value (and i'll just use the same code just with newY in place of newX) in sequence Edit: Just realised that t ...Show All
.NET Development DataColumn.Expression Property
Below is an example from the .NET Class Lib. My question is about the lines of code using expression = " " They always reference another column in the table. How do you reference another variable in your code. For example: I want to call my function mySUM(x,y) that sums two numbers instead of using the line below that I marked. DataTable table = new DataTable (); // Create the first column. DataColumn priceColumn = new DataColumn(); priceColumn.DataType = System.Type.GetType("System.Decimal"); priceColumn.ColumnName = "price"; priceColumn.DefaultValue = 50; // Create the second, calculate ...Show All
SQL Server Attribut Key Not Found Error
I am creating a cube using two tables: Users : UserID PrimaryKey (Dimension) Sources: SourceID Primary Key (Fact & Dimension) When I deployed the cube I was getting the followong errors Warning 1 Errors in the OLAP storage engine: The attribute key cannot be found: Table: dbo_Users, Column: UserID, Value: 1. Warning 2 Errors in the OLAP storage engine: The record was skipped because the attribute key was not found. Attribute: Users of Dimension: Users from Database: WorkFlowMonitor_3 4 5, Cube: Test, Measure Group: Sources, Partition: Sources, Record: 1. Error 3 Errors in the OLAP storage engine: An error occurred while processing the 'Sources' partition of the 'Sources' measure group for the 'Test' cube from the TestMonito ...Show All
Visual Studio 2008 (Pre-release) Showing a combo box inside a ListBoxItem
I'm trying to show a listbox inside of a DataTemplate that displays items in a listbox. The listbox is bound to a list of PropertyInfo objects from a type selected elsewhere on the page. The combo box should show PropertyInfo objects from another type selected elsewhere on the page. I can't get this nested combobox to bind though. I've been trying to set it's DataContext, it's ItemsSource to get it to pick up it's contents from a property exposed on the cs class file to no avail. The only way I seem to be able to get it working is by creating a new type which holds a PropertyInfo object AND the collection to bind the combo-box to. Am I missing something about WPF data binding Thanks (can post some code if helpful) Graeme ...Show All
Visual Studio "sgen.exe" exited with code 1
I am trying to build a project in VS 2005 but I am getting the error: Error 67 "sgen.exe" exited with code 1. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets 1892 9 TAI.Util This project had been building just fine earlier today. The only thing that happened between is I refreshed the web references in this project. As a test I added the same web references to a new project and it builds just fine. Hi, I resolve the problem, I think. You must set your output path in to bin\debug directory project in other mode you must use another security settings bye Nino info@ninocrudele.net ...Show All
Visual C++ msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin hello delta579! You are a genius!I have been trying for months to locate the solution to this problem.well weeks.Anyways the techs at verizon and msn were absolutely no help. finally an answer to a question!Thanks.it is nice to run windoctor and only get 1 error for a change that related to hpqgreg32.dll. my c:program files \hp\digital imag ...Show All
Software Development for Windows Vista I The requested operation requires elevation.
I'm trying to download Poser 6 to my computer running Windows Vista but I keep getting a message saying "The requested operation requires elevation." I'm using the adminstrative account and can't figure out what the problem is. This tread has answered the problem I had yesterday with ipconfig but I'm curious mention of disabling UAC (whatever that is) and wondering whether doing so would eliminate an annoyance for me. My preffered operating system is Linux and the way that works with root access would suit me, ie. If I log on Vista (Home) with an administrator accout, I would like to accept full responsability for doing so without having to confirm that I want to do certain things or find some com ...Show All
Visual Studio Programmatically display Add Reference dialog
Hi, Is there any way I can reuse the standard VS2003 IDE Add Reference Dialog from my custom project type. How can I display it from my VS2003 package Thanks, Nitin It doesn't shows the Add Reference dialog. I think Project.AddReference command is to add the reference to an assembly rather than displaying the Add References dialog. Any other way to bring up the dialog and then to catch the selection made by the user. ...Show All
