Tom Medhurst's Q&A profile
Visual C# VS 2005 Beta 2 - Visual Web Dev - set default language to C# from VB
On Visual Studio 2005 Beta 2 - Visual Web Developer How do I set the default language to C# It seems to default to VB. The default language is based on the Profile you choose when you started VS 2005 the first time. If you choose the profile as VB.NET Developer then my default even the language selected for ASP.NET Projects would be VB.NET. You can go to Import/Export settings tab and Reset the profile. Next time the IDE starts you can select the C# Developer and the default for ASp.NET Projects will be C#. Regards, Saurabh Nandu www.MasterCSharp.com www.AksTech.com ...Show All
Visual Studio Express Editions graphing readings (1,2,3,3780)on X axis and volts ( 0 to .017562) on Y axis
1. Is there a way to draw graph from lower left of screen instead of top left only 2. can the coordinates be "scaled" like they used to in QB45 { screen (0,3780) - (0,.017562) } I have the large array(3780). I can put it in a textbox. I can console.writeline(array(k)) to the output screen. I can multiply my Y data by a thousand to see a little of the graph, but I need an example to scale the window and change the origin of the graph. OX this draws a nice upside down graph if I can send the data file. Suggest how I can send the data file code: Public Class Form1 Dim volts() As Single ...Show All
Windows Forms Dependant tasks? Subtasks?
Has anyone tried implementing a way to provide subtasks functionality What I would like to be able to do is create tasks that are "under" another task. i thought the exact same thing when i first saw it...I haven't had any time to check it out yet, but when I do, I know I'll definitely be looking into that. I'll ...Show All
Visual Studio Team System Team Build (RTM) failing with error: Attempted to perform an unauthorized operation.
I can't quite seem to track this one down - attached is the log file. Note that I am using a build of the new Web Application Project but I have disabled it from building in the build so it shouldn't be an issue. BB was set up as per the TFSInstall.chm documentation that came on the RTM CD. Build started 25/03/2006 11:28:11 PM. __________________________________________________ Project "C:\Builds\Scripts\Adhoc\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: UpdateBuildNumberDropLocation BuildNumber='Adhoc_20060325.3' DropLocation='\\SERVERNAME\Drops\Adhoc_20060325.3' ...Show All
Software Development for Windows Vista HandleExternalEventActivity -> Wrong EventArgs
I am preparing an article fo a german magazine and prepare an example of a data exchange service. The interface looks like this: using System; using System.Workflow.Activities; namespace SimpleWorkflow { [Serializable] public class HelloEventArg : ExternalDataEventArgs { private string _Name; public string Name { get { return _Name; } set { _Name = value; } } public HelloEventArg(Guid InstanceID, string name) : base (InstanceID) { this .Name = name; } } [ExternalDataExchange] public ...Show All
Visual Studio Remote Web Access over http in VSS 2005
I am currently evaluating VSS 2005 beta and have been advised by MicroSoft Customer Services that the 'remote web access over http' feature is available in VSS 2005 as a standalone product and it is not necessary to have Visual Studio installed. However, I am unable to determine how to connect remotely. I have installed VSS 2005 Beta on a server and created a SourceSafe Database on the same server, which I can obviously easily open. If I am working in the office on another machine, I can easily connect to the VSS database on the server, by specifying the path, as with VSS 6.0. However ...Show All
Visual C# good and cheap DBGrid for C#
hi, can anyone recommend and good and cheap DBGrid for C# application. The most important for me is to assign an ID (e.g. Primary Key) for each row instead for adding it as a column but hide it which i feel it's stupid way... Many Thanks, Jassim Rahma Here is a list of third party controls: XtraGrid Spreadsheet FlyGrid iGrid List of top rated grid products ...Show All
Visual Studio 2008 (Pre-release) Cannot connect to local SQL 2005 Express
I get an error that states: Unhandled Exception: System.Data.SqlClient.SqlException: An error has occurred w hile establishing a connection to the server. When connecting to SQL Server 200 5, this failure may be caused by the fact that under the default settings SQL Se rver does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) After reading the error, I fired up the SQL Server Management tool. I ensured that "Allow Remote Connections" was enabled, and restarted the SQL Server service. Then I tried to run SQLMetal again, but same error. I ran SQLMetal like this ...Show All
Windows Forms Very noobish question... how can i show a new dialog (header file)
Okay, i know this is stupid, but i've tried and tried to find (and figure out) an answer for this and I can't seem to get it right... I was working on a program and desided i needed an about dialog, so i created a new form as a header but can't figure out how to show it when the user presses the about button... I tried including it in Form1.h (where it will be called from) and in the main cpp file... but i can't seem to get it to load into memory correctly... sorry, i know this is probably stupid but... -Leif902 #include "AboutDialog.h" Putting this in a button handler or something will cause the dialog to be c ...Show All
Visual Basic Clickonce deployment - An attempt to attach an auto-named database failed
Hi, I have an application which I wish to deploy using clickonce from a web server to a number of client machines using VS 2005 Beta 2. The application requires an SQL Server Express instance on client machines to manipulate user data. When I publish my application to an apache web server the client machine is able to install the application with no problems. However whenever the application is loaded on the client machine I get the exception "An attempt to attach an auto-named database failed....". This exception does not occur in normal debugging. It appears that it is trying to access a database file copied ...Show All
Smart Device Development Display Program AssemblyVersion..?
With my normal VB.NET software I can use a couple different things. Below is one of them. I would like to do the same thing with my Smart Device programs. I am sure I am just missing something simple but can not find how to do the same thing with Smart Device applications. stMajor = System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).FileMajorPart() stMinor = System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).FileMinorPart stRevision = System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetEx ...Show All
SQL Server Can't play files: Video Series: SQL Server 2005 Express Edition for Beginners
I cannot play any of these video files in RealPlayer or in Windows Media Player. Any suggestions Anyone else having this problem Thanks, Brian Video Series: SQL Server 2005 Express Edition for Beginners C00D1199: Cannot play the file Could you give me a pointer to where you got this file Regards, Mike Wachal SQL Express team ---- Please mark your thread as Answered when you get your solution. ...Show All
Smart Device Development Export C++ class and use in .NET C#
Hi all, I have a serious issue that relates to eVC++4.0 and C#. I have a class that I want to export using eVC++ 4.0 code and use it in C# later on. How to do it e.g #ifdef MYCLASS_EXPORT #define EXP_CLASS __declspec(dllexport) #else #define EXP_CLASS __declspec(dllimport) #endif class EXP_CLASS Test { public: Test(); ~Test(); int DefaultNum(); }; Question is how to use this class in C# What all steps I have to follow Your help will be appreciated Hi, Thanks for your help. I was finally managed to run the solution you gav ...Show All
Visual Studio Express Editions Newbie: Using Opengl
i've been programming with Opengl in other enviroments like Dev C++ and other and recently i've been trying to migrate to Visual C++ (i'm using Visual C++ 2005 exprees edition). - already downloaded the SDK - already have the Win32app template My questions are: -how do i LINK the libraries needed (i was used to simply write somewhere what library you want to link, but in vc++ i cant find where and the msdn help is ..... bad) - what should i know before using Vc++ 2005 (Diferences between Vc++ and the Open Source Alternatives, the basics, etc...) - Why it's so complicated to write a program (maybe it's part of Microsoft policy) Please ...Show All
SQL Server SSIS LOGGING
Second time around w/this one. I'm running my sqlserveragent with a domain admin account and everything works well. I then switch to a domain user and the package fails. Windows app log contains ths Package "Package1" failed. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . So I go to the sql server agent jobs and select the job I'm trying to run. I then go to Job Step Properties and under the logging tab choose SSIS log provider for Text files. What is supposed to go in the Configuration String It will let me type a text file in there or choose from one of my "3&q ...Show All
