chrisc313's Q&A profile
Visual Basic Newbie question
It have been about 10 years since I used VB, and boy have things changed. Back when I used it, VB included code for a browser that one could customize, which was similar to IE (surprise surprise). I wanted to see if I could still customize a browser, so I downloaded and installed Visual Studio 2005 Beta 2 and then tried to figure out how to compile and run the Internet Browser from http://cuinl.tripod.com/source-code-7.htm I ...Show All
.NET Development finding next double number
Hi, I have a Double value and I want to find out the immediate next number that comes after it. Dim temp as double = 1.4 then the value I want is 1.5 if it is 1.0004 then I the value I want to is 1.0005 How can I get this Thanks, Try something like this: Dim precision as integer = GetPrecision(temp) temp += Math.Pow(10, -precision) where GetPrecision returns the number of decimal pl ...Show All
Visual Studio 2008 (Pre-release) Problem with sorting in a ListView
Dear all, My simple program has a ListView, a button that adds a record to the ListView and another button that sorts the data in this ListView. When the ListView is not sorted, no problem occurs. When I sort this ListView, the data is sorted properly. However, when I click on this ListView, the caret at the old position is not cleared. That means, there are more than one row are selected. Some time I can not select a specific row. W ...Show All
Software Development for Windows Vista Power icon problem
Hello, I've just installed the Windows Vista Beta 2 (Build 5384) and so far so good, except for one thing: somehow i can't activate the option to show the power icon on the "notification are" of the "taskbar". When i go to the properties of the "taskbar", and then go to the "notification area" options, i'm allowed to select to always show the clock, volume and network icons, but not the power icon. ...Show All
Visual Basic Application Settings - Custom Defined Type
Hi, any help here would be greatly appreciated. I'm having trouble with the Applications Settings in VB.NET 2005. Here is what I am doing: I have an application that needs to store (ability to add, edit, remove) a list of applications on a PC. So I created a Class called ApplicationSettings and a Class called ApplicationSettingsCollection. ApplicationSettings is serialized and contains basic information like AppName, Path, V ...Show All
Visual Studio Team System problem in creating custom rules.
i created a cutom rules. when i applied that rule in fxcop . it shows error as no rules are selected. that tells NamingConstants are not found in DLADesignRules.xml please tell solution for that. public class NamingConstants : BaseIntrospectionRule { // Second argument is the name of the resource stream: XML file. The resource file // is (dll_name).(xml_file_name). public NamingConst ...Show All
Visual Studio Team System How to test Smart Client Windows Forms using VS 2005 Tester
Is there a way to test a Smart Client Windows Forms application (one that is not invoked through IE) Or: How can we test web services directly from VS 2005 Tester without using IE as the interface Thanks, Burkhard Microsoft Partners such as Compuware and AutomatedQA will offer integration packages for functional UI testing - TestPartner 5.4 from Compuware, TestComplete 4 from Automated Q ...Show All
Visual Basic ADO/Access Questions
I've had a moderate amount of of experience with access databases in vb6. We'd declare a file system object and from that declare a workspace and from that a record set descriptor. One could picture and understand what was happening. VS2005 is different though. You could create and delete tables and define them dynamically. VS2005 seems to be different. It seems that things are done up front in the IDE Almost as if the relatio ...Show All
Visual Studio 2008 (Pre-release) Problem DownLoad File
The scenario is: A Host Service communicate directly with a client without ServiceSite in IIS. I want to download a file from Server to a Client. If the size file is more than 60kb the host service generate this error: {System.ServiceModel.CommunicationException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.Net.WebException: The underlying connection was closed: An unexpected error o ...Show All
SQL Server beginner question
Hi, folks: I am looking into using SSIS to create a OLAP database. How easy it is to write a package to re-pull some fact data from the source databae base on some flags. What happend is we are planning to roll up some minute by minute data into hourly averages using SSIS but user is allowed to modified the minute by minute data (maximum is 90 days). Say if we set up some flags, and the package comes in every hour to check for these flags and on ...Show All
Windows Forms Refresh Designer at Design Time?
Hi, I’ve created a simple user control which resizes its height automatically according to the image size loaded by a user at design time. After loading the image my control resizes but the control selection area doesn’t resize automatically - only when I click on the control. My control also has a custom control designer which restricts the control user to set the user controls height at design time. ...Show All
Visual Studio Express Editions Application Configuration Incorrect
Hello, This weekend I was programming a game using the Win32 platform SDK (Feb05), Glut and OpenGL. When I compiled the release edition and tried it on another computer (included all DLLs as per Dependency Walker) it failed with error 14001 "This application failed to start ... application configuration incorrect." I ended up having to dig out my old Visual Studio 6.0 CD and create a project using it to get it to run on any other machine ...Show All
Visual Studio Team System How to Customize Existing Work Items and How to add reports in WSS?
Hi there, How do I customize existing work items, the documentation on msdn2 for this is an empty page. I would like to add new work item types, and modify the fields of existing ones. Also, how can i add new reports to the project portal From what i can tell, the redirect ASPX page is custom for TFS becasue in WSS we could use frontpage to add more links to reports. And lastly, is there a way to pull data of work items into excel, mod ...Show All
SQL Server The SQL Server service failed to start
Hi, I'm trying to install SQL Server2005 Express but get the following error: The SQL Server service failed to start Attempts to start the service manually have failed. Pse advice. Thanks, tonyKM ####################################################### Error Signature: ####################################################### EventType: sql90setup P1 : do_sqlscript P2 : 0x733f P3: sqls__service__sta ...Show All
Visual C++ VC++ migration problems
I'm trying to bring a project from VC6 to VS2005 Pro. When I first imported the project there was, not unexpectedly, a long list of compiler errors and warnings, and I modified the source code to get rid of all of them, and am now left with 2 problems I'm not sure how to fix. 1) I get an error during the html help phase of compilation to the tune of "windows can't find hcw" - that's the executable for the help workshop. I see that ...Show All
