Kunal Sharma's Q&A profile
Visual Studio Express Editions Debug Window Output Problem - DLL Loading/Unloading
I recently updated my virus application and have noticed that (whether it's running or not) the virus program will continually output DLL load/unload messages to my Debug Output window, which makes testing a huge pain. The messages are as follows: 'LogCopy.exe': Loaded 'C:\Program Files\Trend Micro\Internet Security 2007\TMAS_OE\TMAS_OEHook.dll', No symbols loaded. 'LogCopy.exe': Unloaded 'C:\Program Files\Trend Micro\Internet Security 2007\TMAS_OE\TMAS_OEHook.dll' I'm using MS Visual C/C++ 2003 and am building a .NET Windows Forms application. I've written the software vendor about this problem, but was wondering if there's a way to filter out the messages in the Debug window itself If I could just selectively disable display ...Show All
SQL Server SubQuery returns more than one row - Update Query
Hello, I'm trying to update column based upon the results of a subquery. I'm getting the error that my Subquery returns more than one result. I've tried adding the EXISTS or IN keywords and cannot get the syntax right. I can't find any examples of how to write this with an Update query. Here's my query: UPDATE temp_UpdateRemainingHours SET UsedHours = (SELECT dbo.vw_SumEnteredHours_byCHARGE_CD.SumEnteredHours, dbo.vw_SumEnteredHours_byCHARGE_CD.CHARGE_CD FROM dbo.vw_SumEnteredHours_byCHARGE_CD INNER JOIN dbo.temp_UpdateRemainingHours ON dbo.vw_SumEnteredHours_byCHARGE_CD.CHARGE_CD = dbo.temp_UpdateRemainingHours.CHARGE_CD) FROM dbo.vw_SumEnteredHours_byCHARGE_CD, temp_Update ...Show All
Software Development for Windows Vista Where did CertKeyFileTool.exe go?
Hi, The SDK RCs included a tool called CertKeyFileTool.exe, which could be used to set security properties for installed certificates. This tool seems to have disappeared in the RTM. Anyone know where it's gone or what replaces it Thanks, Kent From the SDK Doc: It can be difficult to find the location and name of the private key file associated with a specific X.509 certificate in the certificate store. The FindPrivateKey.exe tool facilitates this process. That doesn't sound like it allows NTFS permissions to be configured to me. I'd check myself but it, too, is missing from my SDK's Bin directory! A desktop search found the doco but not the tool. And I have checked both my installation at hom ...Show All
Visual Studio Team System get the value of custom fields in work items thru api
Hi I am using tfs client api to get the value of a custom field in work items. I can see the all the custom fields there with the ids, names, allowedvalues, data types, etc. ; but i don't see the value there. I'm trying with this: oWorkItem.Type.FieldDefinitions[1] Any ideas on how i can get the value of the custom field thru api Thanks. You can try the following statement (just change "MyFieldName" to your custom field name). string strMyFieldValue = oWorkItem["MyFieldName"].ToString(); Thanks, Mohammad ...Show All
Visual C# My OLEDB Datalink dialog (after I add connection) is changing to a dialog with only a property grid, why?
Hi guys, I have this strange problem. After I add a new Data Connection from Server Explorer, then I choose .NET OLEDB Provider, I get a dialog with only a Data Source and a property grid displaying only connection string and its property. Why does this happen Can I change it back to the way it was I've reset the setting using Import and Export Settings... from Tools menu, but it doesn't help. This is how the image look: (I can't display the image, so I give link to the JPG image of my strange dialog) http://rxcommunica.com/strange_oledb_dialog.JPG I have other computers with Windows XP SP2 with VS 2005 (same configuration as mine), and it doesn't show that. It shows many choices of OLEDB provider first and then letting us to c ...Show All
Visual Studio 2008 (Pre-release) Problem with Listview, XAML and hover
Hi, I have a program that is done in XAML with C# code behind. I have a ListView that is employing the GridView layout. I need to be able to detect the ListViewItem over which the mouse is hovering so that I can make another form pop up (similar to a ToolTip) displaying information relevant to the user contained in that item. The ListView is instantiated in XAML, so the GetItemAt event only allows me one argument, index. I would like to be able to use mousePoint.X and mousePoint.Y to get the item that the mouse it currently over. I tried this event handler: grdUsers.AddHandler(ListViewItem.MouseEnterEvent, new MouseEventHandler(Tip_Opening)); however, it doesn't give me the ListViewItem as the sender, but, instead, gives me the ListView it ...Show All
Visual Studio Express Editions Plz I want to have source code to make scientific Calculator
Microsoft Team plz i want to have an code to make scientific Calculator in vb.net Express editon 2005 Thank's My Love 4 ever Microsoft This mater was edited by Ahmedxp Thanks , thank you very match But i'm sorry i want an other code to make scientific Calculator to make skin with it ..... the Calculator of system not able to had skin this code also can be run any program on windows such as word Public Class Form1 Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Process.Start( "winword" ) End Sub End Class ...Show All
Visual Studio Express Editions How do I convert .NET 2.0 Coding into VB 2005 Express Edition coding?
How do I go about understanding and converting the coding of .NET 2.0 into the coding that Visual Basic 2005 Express Edition can understand .Net V2.0 is a framework for languages. VB.Net uses that framework. There is not such thing (other than ILASM) as "coding of .Net 2.0", therefore, I am confused by your question. ...Show All
SQL Server ProtocolExecutionSettings and Vacuum schedule
I have a ProtocolExecutionSettings in the Application definition file as below <ProtocolExecutionSettings> <RetrySchedule> <RetryDelay>P0DT00H15M00S</RetryDelay> <RetryDelay>P0DT01H00M00S</RetryDelay> <RetryDelay>P0DT10H00M00S</RetryDelay> </RetrySchedule> <FailuresBeforeLoggingEvent>3</FailuresBeforeLoggingEvent> <FailuresBeforeAbort>3</FailuresBeforeAbort> </ProtocolExecutionSettings> And my Vacuum schedule is as below. <Vacuum> <RetentionAge>P0DT00H00M01S</RetentionAge> <VacuumSchedule> <Schedule> <StartTime>23:00:00</StartTime&g ...Show All
SQL Server Installation Problems: System Requirements
Hello, Wondering if anyone can help. When I install SQL Server Express it says that my computer does not meet system requirements. I have a Thinkpad T60 with XP SP2 and .Net Framework 2.0 but it still won't go. So my system meets the requirements on the web but the intsaller says it doesn't. Any ideas Thank you! You should have a report screen that displays the missing requirements... Normally this will be memory. I would check deeper into that report and see what it says. With the memory It could be that your thinkpad has 512 and is using some of it for the shared memory for the video card. ...Show All
SQL Server Snapshot Agent missing files.
My Snapshot Agent for SQL Server 2005 sometimes does not fully complete. I am expecting around 2073 files in the snapshot folder but only get 492 (this number does change). I have immediate_sync set to true, so I should get a full snapshot every time. It seems to quit after all data has been BCP'ed out and before the schema generation starts. I do get the " The replication agent has not logged a progress message in 10 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber, Publisher, and Distributor are still active. " message in the MSSnapshot_history table. I am guessing that there is some sort of blocking ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Visual Stuido pro
Is it really the case that I can not use my vs pro version with XNA If so does anyone know the reason for this It is currently not supported. VC# Express and VS Pro work seamlessly side by side. The initial focus of releasing XNA was to reach the broadest audience possible. Extending the free Visual C# Express was the best mechanism to do this. ...Show All
Visual Basic Date
Hi I have thsi Dim thisday As Date = Convert.ToDateTime(theNumber) How do i say thisday + 7 days more Reagrds alvin As you dont state what thenumber is I will assume its a string as you using the Convert.ToDateTime method. You can then simply use the dateadd method to add any specific date or time interval you want. Intellisense will give you all the options. So in this example thisday will be 7 days on from the thenumber. Dim thenumber As String = "01/01/2005" Dim thisday As Date = DateAdd(DateInterval.Day, 7, Convert.ToDateTime(thenumber)) Dim thisday1 As Date = Convert.ToDateTime(thenumber).AddDays(7) ...Show All
Visual C# Append new column into a existing Access Database by c#
I'm using C Sharp and I want to append new column into Access Database. Please help me if you have source code for this issue ...Show All
Visual Studio 2008 (Pre-release) Introducing: ADO.NET Entity Framework Services
Greetings, Just wanted to let people know about a little project I've put some time into, that has served as both a primer course for EF and Web Services (since I really didn't know either of both when I started!). I call it ADO.NET Entity Framework Services, and it's meant to assist with applications developed with web service boundaries. You can find this project here: http://codeplex.com/entityservices This project helps developers to: 1) Create a "fascade assembly" based on a current EF-empowered assembly. 2) Load up an entity fascade based on Load Plans defined in configuration. This fascade can then be sent over the wire to a remote destination. 3) Hydrate an entity object from an incoming fascad ...Show All
