Pr0ger's Q&A profile
Visual Studio SolutionExplorer click event
Hello I've found almost every event in the book that the AplicationObject.Events has to offer. However, I can't find theClick event. I want to do some code whenever an item is being clicked on the solution explorer. Is it possible Avi Avi, You can use the EnvDTE.SelectionEvents. The Onchange eent is fired whenever the selection in the SolutioExplorer changes. HTH, Chetan ...Show All
Visual C++ Saying Goodbye to an Old Friend
I recently read this article regarding security changes to the C/C++ ANSI standard in order to improve overall behaviour and programming issues when dealing with memory overruns and potential malicious use of the Runtime library functions. [EDIT] http://msdn.microsoft.com/library/default.asp url=/library/en-us/dncode/html/secure03102004.asp Anyway, it was only until after starting to use the Microsoft C++ 2005 Express Beta 2 system that these c ...Show All
Visual C++ Getting LNK4224 with B2 - what's the story?
Hi David! When building projects with VS2005 B2 I'm now seeing lots of these: mymodname.obj : warning LNK4224: /COMMENT is no longer supported; ignored While the message is straightforward, what's the story behind it The "/COMMENT" was marked as depricated in VC2003 and is now consequently removed... You should use " #pragma comment" instead. The reason might be: more C++ conform. -- Greetings J ...Show All
Windows Forms form object not displaying
Hi. I'm writing a chat program that involves sockets and windows forms. I have a socket object that connects to a server (TCP/IP), listens for any messages from the server, and instantiates a new windows form object (upon receiving a special message e.g.: BEGIN_CONVERSATION). The socket object continues to listen for more messages from the server. I have written a simple windows forms class ( public class ConversationGUI : System.Windows.F ...Show All
Windows Forms import info into dhcp
im trying to find away to import infermation from a text file our webpage generats into the dhcp database. we assign ip addresses using the users mac address and instead of entering each one by hand i want to have it inport the list we generate. can this be done thanks Use it can be done and you will have to look at WMI, this can be done using vbscript or the System.management namespaces. ...Show All
Windows Forms Syntax highligth in rich textbox
Hello, i want to make a syntax highlight using RTF, but the method that i'm using, requires to select the word that i want to highlight, and that fact produces a flickering. I am searching for a method that doesn't produced that flickering. Anyone have any idea My profile: C++ managed programmer. For future candidates: Simple Color Syntax Code Editor for PHP written in C# and .NET http://www.c-sharpcorner.co ...Show All
Visual C++ _vcclrit.h is deprecated. What's the replacement?
I have an managed DLL that compiles fine in VS2003 but fails on Whidbey Feb CTP. I couldn't find any document about replacement for _vcclrit.h according to http://support.microsoft.com/ id=814472 Any advice C:\Program Files\Microsoft Visual Studio 8\VC\include\_vcclrit.h(23) : warning CRT1001: _vcclrit.h is deprecated C:\Program Files\Microsoft Visual Studio 8\VC\include\_vcclrit.h(94) : warning C4996: '__lock_handle' was declared deprecated C: ...Show All
Visual Basic May i know what happen here??
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click PictureBox1.Image = "1.JPEG" Label1.Text = "what text" End Sub when i clck this button, the text "what text" will appear. but the picture stil can;t be display. the error showed is " value of type string cannot be converted to 'System.Drawing.Image'" May i know what happen> Ass ...Show All
Visual Studio Express Editions Class Library can't access System.Windows
I'm trying to create a new Class Library for a custom control. The base code is as follows: Imports System.ComponentModel Public Class DynamicCheckedListBox Inherits System.w... End Class When I try to type System.Windows.CheckedListBox, Intellisense shows no entry for Windows. The list displayed includes "WeakReference", "XML", but no Windows option. In my other projects, this works fine. Yes ...Show All
Visual Studio Change 'arrowStyle' of a connector at runtime
hi, i want to change the arrowStyle of a connector. If i change a certain property (enumeration type) of a relationship, the style of the connector end should be changed too! Is this possible Thanks! BENJAMIN Unfortunately this doesn't work in the current CTP. You can change the line color though! Add a file to Designer\Diagrams containing something like: using directives and namespace ...Show All
Visual Studio Team System Problems found when install TFS on a AD domain controller
I install TFS on a Windows 2003 Active Directory Domain Controller, using Single-Server depolyment mode. Everything seems ok during the installation, but after that, when I open the event log, some error appear found : Volume Shadow Copy services could not start, the error code is 0x8000FFFF. Does anyone encounter the same problem How to solve this Thanks! I see many people are having trouble installing Team System in a single machine. Eve ...Show All
Software Development for Windows Vista Sleep mode in Vista steals intel ICH6 INUSE_STS semaphore?
One of our clients had us write a small legacy driver for them which communicates with their device over SMBus using the controller in an Intel ICH6. The ICH6 includes a software-semaphore in I/O space at register BASE+0x00, bit 6. This software semaphore, INUSE_STS, allows multiple drivers to share access to the SMBus controller. To request the semaphore, you simply read BASE+0x00, if INUSE_STS reads back as a 0x00, you have been granted th ...Show All
Visual Studio 2008 (Pre-release) CultureInfo --> XmlLanguage
After upgrade to Feb CTP, a compiling error occured in my code : Error 15 The best overloaded method match for 'System.Windows.Media.GlyphRun.GlyphRun(System.Windows.Media.GlyphTypeface, int, bool, double, System.Collections.Generic.IList<ushort>, System.Windows.Point, System.Collections.Generic.IList<double>, System.Collections.Generic.IList<System.Windows.Point>, System.Collections.Generic.IList<char>, string, Sy ...Show All
SQL Server SQL 2005. Dynamically assigned column name? Is it possible?
Is it possible Select * from Mytable Where (@ColName=@ColValue) No. You cannot execute dynamic SQL like that. You have to form a valid SQL statement as a string and execute it using EXECUTE or sp_executesql. See one of those topics in Books Online for more details. Ex: set @sql = 'select * from MyTable where ' + quotename(@ColName) + ' = @colValue' exec sp_executesql @sql, N'@colValue varchar(10)', @colValue = @colValue ...Show All
Software Development for Windows Vista Problems in design question?
Hi, Posted this on the Vista forum as well - but think this forum might be more appropriate! im a uni student and was wondering if anyone could help me I have to write a reasearch paper relating to the problems when designing operating systems. I am trying to base my research on Windows and PC operating systems in general. The actual question I've been set is: 'Research the typical problems faced by modern operating system desig ...Show All
