Admiralman's Q&A profile
Visual C++ Graphics Issue
Hey, For my final project for school, I decided to program the known game SOKOBAN in Visual C++. We didn't learn much about graphics but it's vital i'll use it. So, what I have so far is all the classes for the game ready, and their implemntation, reading a level from a .txt file and import it to a viewable level by printing bits of images into a whole level (the level printing is being done by the BitBlt function) My next thing to do was to clear the screen off all images and produce a second level, after the first one got finished (by clicking on a button for now) and I would like to know how can I clear the screen from all con ...Show All
Visual Studio Express Editions Console output
I have a few window console applications written using Express VC++ Beta2 which sent output to a window within the IDE (I forgot what that window called, Quick Output ) when using "cout<<", "cerr<<" etc. I just uninstalled all the Beta products and installed VC++ express released version. I can not find that output window any more, all output produced by cout, cerr are sending to a seperate console window. Can I still send these output to a window within the IDE Or is this feature removed from Beta2 For Win32, you can use OutputDebugString (http://msdn.microsoft.com/library/en-us/ ...Show All
Visual Studio 2008 (Pre-release) Enabling a button though Data Binding
I'm using the November CTP, and am having difficulty enabling a button with Data Binding. I've looked at code from previous CTPs, so it seems my code is right, and this should work, but I'm having no luck. <Button x:Name="btnSave" Content="Save"> <Button.Style> <Style TargetType="{x:Type Button}"> <Style.Triggers> <DataTrigger Binding="{Binding Path=SaveButtonEnabled}" Value="true"> <S ...Show All
Visual Studio Team System Problem to connect to AD while doing automated tests
Hello All, I have a very strange behavior while running the tests on my development machines and on the production server. I have posted this thread in the CLR part but you may already have encountered this problem while doing tests. Thanks to have a look ! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=391203&SiteID=1 Jarod A new element : so I have created a brand new virtual machine with "Team Suite Trial" --> all my tests are ok Then I have create breand new virtual machine with "Team Edition" --> all my tests are ok Then I have upgrade my VM from "Team Suite" ...Show All
Visual C# Form2Form Problem in Visual c# Express
Ok gang, I have been doing research on the net and on these forums for about 3 days now and I'm still stuck with the same problem. There are tons of expanations out these but I dont understand why they dont work for me. I have 1 main form which is a MDI parent I have a second form which I call and make a child. Like this public void newProjectToolStripMenuItem_Click(object sender, EventArgs e) Form newproject = new NewProject(); newproject.MdiParent = this; &nbs ...Show All
Visual Basic no output visible from debug.print(...)
Hi I create a simple Windwos Form Application, place one button on the main form which executes debug.print("hello") Pressing the button while running the application in IDE generates no output in the Output window. (neither 'Show output from: Debug' nor 'Show output from: Build' Debug is the active configuration and 'Program Output' and 'Exception Messages' are enabled to show in the Output window. My IDE is: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: IDE Standard Does anybody know how to resolve my problem Thanks Reto Are you using ...Show All
Visual Studio XI and VS 2005
I recently purchased XI developer. What version of the merge modules should I be using to get things working with VS 2005 - the ones that shipped with XI, Visual Studio 2005 or others I didn't install the VS CR version - just kept my XI developer version. I am having problems exporting files from the webviewer. Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden. ...Show All
Visual C# abstract/virtual events
If you have an abstract base class which has an event that children may implement, and none of the base class methods connect or raise the event, then what's the difference between declaring that event as either abstract or virtual I can't find much of anything in the docs about abstract or virtual events. An abstract method declaration provides no actual implementation, there is no method body; the method declaration ends with a semicolon no braces ``{ }''. public abstract void MyMethod(); The implementation is provided by an overriding method which is a member of a non-abstract class. Vi ...Show All
Windows Forms Disabling individual Tabs in form load
Hello, I am using the Windows forms TAB CONTROL and am disabling the tabpages 1 and 2 in the form load event using tControl.TabPages(1).Enabled = False tControl.TabPages(2).Enabled = False I dont know why, but this is not working! The documentation shows that the code is right Is there something I am missing I feel pretty lost now You won't need to&nb ...Show All
.NET Development XML-DSig and PKCS#12
Hello! I need to sign a XML file. Format: www.w3.org.2000/09/xmldsig The certificate is stored as "PKCS#12" (I think this is called "softtoken container" ! ). Is everything I need for accessing the certificate and signing the XML inplemented in .NET 2.0 / VS 2005 Are there programming examples with SourceCode available for this Best regards CSharpNewbie22 Hi, MSDN includes a sample that demonstrates how to sign an Xml instance with a certificate. http://msdn2.microsoft.com/ms229745.aspx You can use the class X509Certificate2 that is able to load a PFX file, by using the Import method. Re ...Show All
Windows Forms could I type more than 1 charactors in ComboBox?
I have a problem on ComboBox by C#. I have a long list data for this comboBox, when I type in the first charactor, then the data started by this charactor will show up. But there are still tons of data, so I wanna type in the second charator, third charactor... to narrow down the data to select. Could I do that Thanks! AutoCompleteMode is new in .NET 2.0, that is, in the new Visual Studio 2005, not in earlier versions such as Visual Studio 2003 (.NET 1.1). What you are looking for is not the default behaviour of the combobox control. However, you can cause the combobox to drop down by setting its Dropp ...Show All
Visual Basic dlookup Newbie Troubles
Hello I am a newbie to VB programming, and I downloaded VB2005 Express. Anyways I was wondering if there is an equivalent to dlookup in VB2005. I found a page on the web talking about it, but as I only know how to use VB2005, I'm not sure how to get it working. In my app I use table adapters, not recordsets. Thanks Jeff What is it that you want to achieve Tell us that and we can tell you how to achieve it using ADO.NET 2.0. ...Show All
Windows Forms Develping a Incremental Search Dialog in .NET
Hi, The problem I am facing is I have a Data-grid and the menu item in the context menu opens up a Search Dialog(similar to Eclipse). It is used to search in a particular column in the data-grid. One option it has is "Incremental Search". It means as you would go on entering a letter in the textbox in this dialog, it will search in the data-grid. But the problem is, the moment I enter my first letter in the find dailog, it appropriately searches but it moves the "FOCUS" from this dialog to the grid and again I have to move my cursor to the textbox in this "Find" Dialog to start the search again. Because of this focussing problem betwee ...Show All
Game Technologies: DirectX, XNA, XACT, etc. dxwebsetup wierdness - deployment with app
Hi, sorry to post this in this forum, I am unsure where to post it. OK here is the thing. I have a deployment problem. I am creating a setup with my app, created in VS 2005 Pro, using C#(.NET 2.0) This app of mine requires DirectX runtime end user files, or the SDK but really the runtime files. Now, during installation, I bundled in the dxwebsetup.exe. This executes fine. 2 main problems here already: 1) I want to silently install it without the need for user interaction, switch used to do this: /Q. When specifying this, it just seems to show then disappear instantly. I then find this next problem: ...Show All
Visual Studio Team System tfs b3r and office12
I've installed the TF-Client on a computer with Office2003 ... all worked just fine. Then I upgraded to Office12 B1. Now Excel and Project have problems to connect to the server: TF84034: Team Fundation was unable to initialize the workbook. This document will no longer be associated with a Team Foundation server: TF80071: Team Foundation ecountered an error while accessing the work item database. Please contact the Team Foundation Server administrator. IS TFS B3R not supportin Office12 I am having this problem each time I add a custom colum to the right of the table (which places WI-ID, Name and Ass ...Show All
