Billat001's Q&A profile
Visual C# FontStyle Properties
Ok. This would be the same kind of question when I asked how to increment the XY position on an object during runtime. Which would be: label1.Location = new Point(165 + 1, 56); Now how would I increment the fontsize during runtime Hi, Yo must set the font object to a new font object: label1.Font = new Font(label1.Font.FontFamily, label1.Font.Size + 1); cheers, Paul June A. Domag Microsoft Sans Serif ...Show All
Visual Studio Express Editions Integrate PSDK documentation into VC 2005 Express?
I downloaded and installed Visual C++ 2005 Express and Platform SDK. I integrated PSDK directories into Visual Studio. However, I haven't found a way to integrate PSDK Documentation into Visual Studio help. When I press F1, only MSDN Express opens, without PSDK documentation. I can open PSDK documenation as a separate tool, but there is no way to search for highlighted text automatically (or is there a switch to dexplore.exe ). So, my question: is there an easy way to integrate Platform SDK documentation into Visual Studio Express so that Win32 API help opens when F1 is pressed Hi The PSDK is not displayed ...Show All
Visual C# Where does C# come in
I was wondering what are the most important features that engineers use to for C# is it OOP Interfaces, Inheritance with method access..or window applications, web forms, ASP.Net Which is the most frequently used by C# Hi Dpowes, I would say all of the above which you have mentioned. C# is a pure object oriented language which caters to the needs of a modern day applications and allows developers to build applications in a shorter timeframe as compared to other languages such as a C++. Read through the following articles if you are trying to compare C++ and C# 1. http://msdn.microsoft.com/msdnmag/issues/0900/csharp/def ...Show All
.NET Development Compacting an Access 97 DB from VB.NET 2003
Hi everybody, Here's my code, Imports System.IO Public Class Access97Routines Public Shared Sub RepairCorruptDatabase(ByRef corruptDB As FileInfo, ByVal destinationFileName As String) Dim accessApp As New Access.Application Try accessApp.DBEngine.CompactDatabase(corruptDB.FullName, destinationFileName) Catch ex As Exception MsgBox(ex.ToString, MsgBoxStyle.Critical, App.Title) Finally &nb ...Show All
.NET Development .NET Runtime 2.0 Error Reporting
Hi, My application is running on 65 PC. After a few hours, this applications crash on 2-3 PC. I get no exception in my log files. I set the Application.ThreadException and AppDomain.CurrentDomain.UnhandledException exception event handlers. The last one is triggered with 'System.NullReferenceException: Object reference not set to an instance of an object.' but there is no stack trace available. I got no dump file, no popup window. I only get the following entry in the event log : Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 1000 Date: 13/05/2006 Time: 21:53:39 User: N/A Computer ...Show All
Visual Studio Team System Modifying Work Item Fields
I presume it is bad practice modifying work item type fields isn't it What I want to do is increase the number of Priority values available in the Bug work item. I see from WITExport that Priority is of type Microsoft.VSTS.Common. Priority . If I wanted to say give 10 values for priority (1 to 10!!) should I change the field type to one of my own i.e. MyCompany.Priority, or am I safe to just add more LISTITEM elements to the existing one Thanks for your help Graham Microsoft.VSTS.Common. Priority is the programmatic or reference name for this field. You don't need to touch that to add other val ...Show All
Visual J# user.dir for Microsoft Java VM
Is there any way to set the default working directory (system property user.dir) for all Java applications run on a system (via a registry key, etc) I know how to do it programmatically for one application, but I'd like to make the setting apply to all applications running on a workstation. Any help is appreciated. Thanks! James Hi Jaiprakash, 1. Sorry I'm fairly new to the Microsoft VM, so I'm not sure if I'm answering this correctly. I'm not actually doing the development, I'm trying to support a 3rd party Java application. More specifically it is a web application using Java applets running in IE. Our vers ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Install the managed DirectX files from the redistributable Package
Hi I'm try to install the DirectX redistributables but the installer don't install the managed files. In the help file of the SDK is written to use the command line "DXSetup.exe /InstallManagedDX". When I do this I get the error message invalid command line switch. I am using the Update for June 2005 and August 2005. Has anyone got an idea what's wrong or an idea how to install the mananged files Thanks Firobo wrote: Thank's for the help, the problem was that the OS was an embedded XP with a installed DirectX 9.0c (without managed wrapper). In this environment the Setup does not ...Show All
Visual C# Debug Output
What the meaning of this on my debug output : 'test.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded. ...Show All
SQL Server Building Intelligent applications using SQL Server 2005 Data Mining
Hello, Are there any samples on Building Intelligent applications using SQL Server 2005 Data Mining uisng Visual Basic.NET, including step-by-step guides Most of them are in C#. Besides, the June 2005 CTP does not have tutorials on the said topic. Thanks. I have a question on connection string in ADOMD.NET when using the AdomdConnection object. Can you use other authentication methods other that Windows to connect to Analysis Services and access the mining models ...Show All
SQL Server Cursor versus Temporary Table
Hi All, I am writing a stored procedure in which I need to read some records from a table which satisfy given condition, fetch the last read record and check its value. e.g. SELECT * FROM TestRequestState WHERE StateId = '11' ORDER BY TestReqNo. I want to read the last record of each TestReqNo and check some values from that row. For this I was thiking of reading the above Select using a cursor and then using FETCH LAST to read the last row into some variable. But this seems to be a round about way and also i have been reading that cursor will slow the execution. IS there any other better way. Should I use temp table instead, ...Show All
Windows Forms Problem removing last two rows of DataGridView
I am using VS 2005 Beta 2 and I'm having a problem removing rows from a DataGridView. The sample code below populates a DataGridView located in an MDI child form with 10 rows. The first three columns of each row contain buttons to Edit, View or Delete a row. The Edit and View buttons work under any circumstance but the Delete operation only works on the first 8 deletes and then when either of the remaining two rows has its Delete button clicked , an exception is thrown. This behavior is interesting, but what is even more interesting is that if I use the spacebar to select the Delete button then I can remove all rows with ...Show All
Windows Forms MS Office COntrols
Hi I always dream of controls like those in MS Office like the commandbar, commandbuttons and dockable menues with their endless customization options. I enjoy working with these objects in Addins but I want to use them in my applications .Romke Soldaat called them (Forbidden fruits of the Office Paradise) in Nov 1999 issue of Microsoft Office and VBA developer (Informant Communications Group) Will Microsoft ship these controls with any version of VS or even sell it as a separete product ! I hope so! I would have to agree with david... There is no control that will provide 100% of what office looks like but there is a set of cont ...Show All
Windows Forms Global object
In a particular app, an object is instantiated as from a frameset form1 pops up for collecting data that user enters to fill in some of the object's properties. Upon clicking a button, form 2 pops up for user to enter more data and fill in more properties of the object. This scenario continues with additional forms in a common frameset... At ...Show All
Game Technologies: DirectX, XNA, XACT, etc. WinCE 5.0/DirectX 9-based Dreamcast game?
(I did a lot of research on the topic, but since i'm not a developer, i may be wrong about a lot of things.) http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnce21/html/dxinwince.asp -- This article is very outdated, but a part of it got my attention. "The Dreamcast console does not actually ship with Windows CE built in. The operating system, DirectX, and the game itself are built as one image and stored on the GD-ROM. When the GD-ROM is placed in the Dreamcast console, the boot ROM loads the bootstrap code, which then loads the Windows CE operating system. This way, there are no versioning issues. You ship the v ...Show All
