captainahab's Q&A profile
Visual C# drawing shape
Can we still drag and drop shape onto the form I want to draw 8 circles (names Circle) and each one is in an array (Circle #1 = Circle[0]). How can we do that Thank you hi, http://www.bobpowell.net/beginnersgdi.htm hope this helps ...Show All
Visual Studio Express Editions Cannot run program from tutorial
"visual Studio cannot start debugging because the debug target 'C;=.\Documents and Setting\<myname>\Local Setting\Appliation data\Temporary Projects\WindowsApplication1.exe' is missing. Please build the project and retry, or set the OutputPath and AssemblyName properties to point at the correct location for the target assembly." That is what I get after following directions in the tutorial built into visual basic 2005 express. As much as I'd like to learn this language, I don't need the frustration. There IS no such program as WindowsApplication1.exe . What am I doing wrong mjmiller@surfglobal.net PS why can't I put ...Show All
Visual FoxPro Office 2003 SP2 with Item Display Method
I have some existing code in VFP6 that was working fine with Outlook 2003 until we installed Office 2003 Service Pack 2. This has done the same thing on 2 separate workstations that were both working. When the loMessage.Display() method executes, the application throws an error: OLE error code 0x00000001: Incorrect function. The outlook message is still displayed but something is wrong. <code> Define Class TEmailSender As TCustom cSubject = "" cBody = "" cSender = "" Function Send Local loOutlook, loMessage loOutlook = CreateObject("Outlook.Application") & ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where to go?
Hello everyone, This is my first post. A week a go I didn’t know C# existed and only had heard the term “Direct X”, but never knew anything about it. 5-6 days a go I accidentally stumbled upon the 8 part C# RSS reader video tutorial (Done by learnvisualstudio.net, but hosted at Microsoft). I watched most of that and became quite interested in trying C#, so I downloaded C# express edition. Later I read a bit about DirectX, which made me really, really, really want to make a game. Since then I have been devoting about 4-6 hours a day to learn C# and DirectX. I have learnt a lot, but I am definitely extremely new. ...Show All
.NET Development Debugging Integrated Services Project
VS 2005, SQL Server 2005 Hi There I'm trying to develop a custom data transformation component. I compiled it as a separate C# class library and implemented it as a usable component in the Integrated Services Project IDE. But now I'm getting errors and I'm not able to directly set break points to the class library source and debug the component's source code. Ne help will be greatly appretiated. Arun M Does your data transformation project use XSLT, and you are using the new XSLT debugger If so, I we would need more details to help. If not, I think you want to post to one of the C# forums. ...Show All
Visual Studio Team System Gaps in Unit Test Documentation, Help Needed
At the risk of seeming an absolute dud, I am having problems getting Unit Tests to work on several fronts. The doco is missing some key points and seems to have no actual ZIP files with simple project samples. Make life hard for a newbie in this area to get off the ground. I have Test Suite which includes Team Addition for Testers . My context is I want unit testing to work mainly from my application code (by manually adding [TestMethod] attributed unit tests in my application code) . These are my issues / questions : >> I assume you have to always make a default dummy test project (via & ...Show All
Visual C# Multi Threading
I' m creating a perl ide, in vs 2003 i have a thread running which takes in data from perl compiler in and outputs it to a text box, i converted the project to 2005 but i get the problem "Cross-thread operation not valid: Control 'txtOutput' accessed from a thread other than the thread it was created on." I understand that i'm accessing the text box on a different thread but i don't know how to go about fixing it the code for the compiler class is using System; using System.IO; using System.Threading; using System.Diagnostics; namespace Interpreter { /// <summary> /// Summary description for compiler. /// </summary&g ...Show All
Visual J# System.out.print and String.length > ~64K bug?
I have ran into a problem where if a String length is around 63-64K in size the System.out.println method will not print the value of the string. Has anybody else experience this This is code I used to reproduce it. int indent = 70000; int k = 0; StringBuffer sb = new StringBuffer(); for (int i = 0; i < indent; i += 1) { sb.append("a"); if (sb.length() >= 53200+k) { System.out.print(sb.length()+" \n"); System.out.println(sb); k+=1000; } } Yes I am using VS 2005. You might be mis-reading the output. It starts o ...Show All
SQL Server How do I run/schedule my legacy dts packages in 2005?
My packages are migrated over our new 2005 server. How do I schedule/run them BOL seems to suggest that we replace the dtsrun commands with the dtexec one. Am I on the right track Have you migrated your old dts packages to new SSIS Packages or you just upgraded your server, and your old dts packages are lying as legacy packages in your server ...Show All
Software Development for Windows Vista Custom Activity - Probelm with EventSink Activity
Hello, i tried to model a custom activity. This activity does contain of a) InvokeMethod Activity b) EventSink Activity out of the activity galery delivered. I also implemented a Service which I added to the workflow engine in order to connect the method invokation and the event sink. Then I build up a sequntial wf out of my custom activity. The method invoke activity within my custom activity works properly, but when my async. operation is finished and I want to raise the event to trigger the eventsink activity the event within the added service was null. The same scenario works fine when i model this directly within a sequential wf. Regar ...Show All
Windows Forms VS.NET 2002 and FolderBrowserDialog
Greetings, By searching this forum I found out that Visual Studio.NET 2002 works with Framework 1.0 only and that I can't use FolderBrowserDialog (actually, it doesn't even exist). I need to write an application where user can pick the directory to save files. Are there any dialogs I can use Thanks a lot. Sorry, forgot an example usage. Here's&nbs ...Show All
Windows Forms Error when applying filter to datagrid with DataView as datasource
I have a datagrid with 4 columns, 3 of which are hidden. The one that is not hidden is also the sort field and is called "cnt_ProdCatDesc". The datasource of the datagrid is a dataview which filters the underlying dataset by a value (Business Unit) in a dropdown on the same form. The datagrid loads fine and shows the single  ...Show All
Windows Forms linklabels in middle of a text
Hello, I'm in need to grab news from a website, those news can have multiple links anywhere in the text and the link's name must be kept to still have a logic message displayed. I was wondering how to do it, and I couldn't figure out how. Thanks for any help / ideas you could provide. Indeed, but from what I know, the links ...Show All
Windows Forms PLEASE, HELP ME WITH TABCONTROL
hi all! what can i do for put a button on the upper rigth corner of a tab control in order to close tab pages like left & rigth buttons but it should be for close. i tried to extend tabcontrol and add a button to its Controls but it throw an exception... please...help me!! Thanks jessica!, its a great idea but the problem with the left and right buttons dont't know how to solve it. i'm doing my university project and can't use code from another example, it should be made by myself. then, if i can't extend the control and add a button to its controls, what shall i do shall i make a control from the beginn ...Show All
Visual Studio 2008 (Pre-release) Get all bindings on a page?
Hi all, I'm trying to create an ErrorProvider that I can give a data context to and have it display errors automatically thanks to the IDataErrorInfo interface. Is there a way to interrogate the current page (this is a WPF navigation application) to find all the bindings on the page Thanks, Do you mean is it possible at runtime to tell what properties on an object were provided through the binding system versus what was manually set on the object When I first think of it, I'd guess no. But then the various bindings have to be stored somewhere right...So let's dive into the framework and see what we find. Let's start with th ...Show All
