Tom Kane's Q&A profile
Visual Studio What SQL Server version to use with Visual Studio 2005 June CTP?
I get the NetLogon problem when installing Visual Studio 2005 June CTP. With Beta 2 I was able to install Visual Studio without SQL Express and then installed SQL Express later. But when I try to do this with Visual Studio 2005 June CTP I can't find a SQL Server 2005 version that is compatible with Visual Studion 2005 June CTP. /Thomas Due to scheduling conflicts, there isn't a released version of SQL Server 2005 that is compatible with the VS June CTP. The June SQL Server 2005 CTP is compatible with VS 2005 Beta 2. ...Show All
Windows Forms Determing if a control inherits its font
So, I figured I'd post my first question here, and see if someone can help. I'm writing some code that needs to know if a control's Font property has been set individually, or if the control is inheriting its Font property from the form. I can think of lots of kludgy ways to determine this (that is, I've got it working) but the code is&n ...Show All
Visual Basic Error with Dataset 2003 ???
Dear Team when i made a dataset from 3 tables related to each other an error raised ' dataset is not defined ..'.the tables for ex: Orders,OrersDetails,Supplier ...suppose that the dataset can take many tables thank you very much Hi, would you please provide more details to reproduce this issue - Version of Visual Studio you're using. - Steps by steps on how did you make the data set. Thanks and regards, ...Show All
Smart Device Development Invoke always retuns ArgumentException
Hi, I can not get Invoke to work :-( ... here is my code: using System; using System.Drawing; using System.Windows.Forms; namespace SmartDeviceApplication3 { public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.Button button1; private System.Windows.Forms.MainMenu mainMenu1; public delegate void MethodInvoker(); public void test(){} public Form1() { InitializeComponent(); } static void Main() { Application.Run( new Form1()); } private void button1_Click( object sender, System.EventArgs e) { ...Show All
Visual Basic 2005 .Net Nightmare
As a visB programmer who has been happily coding very successful applications for many years, I have been shocked at the verbose incomprehensibility of the .net framework. Where is the wonderful Basic language that has served so well for so long Is there a way to disable all the garbage in VisB 2005 in order to just write simple single thread applications in the Visual Basic language I have been unable to get even the simplest microsoft SDK examples to run in .Net. I really don't want to invest in learning a language as complex and dense as the .Net applications, I don't believe I will ever need ANY of this functionality. The whole IDEA beh ...Show All
.NET Development Common Language Runtime Debugging Services
Hi, We have installed a software PCDCTfor window and we are getting error on exe failling Reports. But failed and give following error message whenever we try to run a big reports/processes: PCDCT for Window.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process ID=0x710 (1808), Thread Id=0xa8(2688) Click OK to terminate the application. Click CANCEL to debug the application . We have click the cancell and found following detail PCDCT for Window.exe - No debugger found. Registered JIT debugger is not available. An atte ...Show All
.NET Development Type Casting Webservice Response
I use WSDL comand line tool (wsdl.exe) to generate source code of proxy for a webservice, compile that source code on the fly using particular instance of ICodeCompiler into standalone assembly, create instance of proxy class using Reflection, e.g. Activator.CreateInstance(). The Webserive returns an array of complex data types. When I invoke the method, how do I type cast the response object into the complex data type After invoking the method VS C#, returns an object, instead of an array of objects or even an array of complex data types. I have tried creating a object using Create Instance; however, how do I create an array of such Here ...Show All
Visual C# Counting lines of a file
Is there a easy way to get the amount of lines a file has Without looping through every line and incrementing a variable as I am working with large files, or is that the only way I can do it Basicly, I'm looking for the quickest way to get the amount of lines a file has. Thanks. Hi Squimmy, You can do it by the following code snippet. Void CountLines() { string[] fileContents = File.ReadAllLines("d:\myfile.txt"); int linesInFile = fileContents.Length; } Hope this helps, Suma ...Show All
Visual Studio Team System Upgrading to Team Foundation Server Beta 3
Is there any way to migrate data from a TFS Beta 2 database to TFS Beta 3 The setup guide states that upgrading is not supported but I'm wondering if there is some manual process of export/import that I can do to migrate. Thanks There no supported migration for Beta2 to 3. The manual process is not supported and is very difficult, presenting many issues when done. ...Show All
Visual Studio Team System Continuous project checkout
I'm experiencing a rather frustrating problem with a few projects that are being automatically checked out every time I access any solutions which reference said project. I get a specific message each time it occurs: "There appears to be a discrepancy between the solution's source control information about some project(s) and the information in the project file(s). To resolve this discrepancy it will be necessary to check out the project file(s) and update them. If the check out fails, however, and the solution is closed without saving, you will see this warning again the next time you open the solution." It forces a checkout, no matt ...Show All
Visual Studio Document Explorer crashes
Thought I'd start a new thread, since I'm using Visual C# Express, rather than full VS2005. Windows XP Pro SP2, Visual Studio 2003 Pro, SQL Server 2000 Developer Edition, Visual C# Express, Visual Web Developer Express, SQL Express 2005, MSDE. I also have Virtual Server 2005 SP1 beta installed. Problem just started this weekend. Whenever I click on any topic in the Index, Document Explorer crashes. I've tried Repair on Visual C# Express, Visual Web Developer Express and MSDN 2005 Express. Same problem. It was working fine last week, I'm not sure what's changed. I have previously had VS2005 beta2 installed, but I removed that by following the ...Show All
Software Development for Windows Vista What if you don't know what interfaces will be needed on local service?
We want to let our users define state machines workflows via an embedded designer. We have a set of defined activities that they can put into their states which interface to our code library / business logic. However it seems like there always needs to be a carefully defined local service to link the workflow with the triggering UI/whatever. We won't know what interfaces will be needed as they will be end-user defined. The only ideas we have are crazy such as dynamically creating/compiling the local service when the workflow xml is saved by the designer... I can't believe it is this hard and hope I've missed the point somewhere! ...Show All
Visual Basic Instantiating Presentation Object without Powerpoint Opening
How do I create a Presentation Object without opening Powerpoint I've the following code but it always opens powerpoint: Presentations.Open("c:\test.ppt", msoTrue) Thanks. ...Show All
SQL Server Securing the Data of Tables
Hye guys, I am not the perfect database designer nor the programmer. I have designed and developed a simple database application which uses VB as frontedt and SQL as backend. My Program worked fine.. Now I have 2 deploy it in clients computer where DBA is another person by which I am worried abt the data in the table. As X person is a DBA there he can easily change data of my tables in the database. So I want an easy way by which the X person can't edit the data of the tables of my database only I can change the contents of my tables but i should be able 2 change the data from my program only.. Plz Help.. Hi Kebians, t ...Show All
Windows Forms Format phone number
Hello, I have a text field where the user types in a telephone number. When the user is done typing the number and the text field loses its focus I need to take whatever the user typed and format it to a standard format. i.e. ###-###-#### If a user types 1234567890 I need it to change to 123-456-7890. Any ideas on how to do this or examples Thanks! The user will enter in different formats of a phone number. Two ways to do this is to either search the entire string for characters other then numbers, or to check the string and remove certain characters in their predeterimed spot. Here is an event that calls a method ...Show All
