Runtime05's Q&A profile
SQL Server Question about paging?
- where running a server 4GB of RAM - set to use a min 2.5GB and max of 3.9GB - AWE is not enable -- the problem is that microsoft sql server 2000 is only using 1.6GB and is paging a lot Also the server is dynamically managing memory the RAM at 2.5 GB to 3.9 GB ...Show All
Visual Studio 2008 (Pre-release) Binding sample causes error in VS
Just FYI Steps: Extract and Build - Binding to a Non-Text Property Sample ms-help://MS.MSSDK.1033/MS.WinFXSDK.1033/wpf_samples/html/c08d47f3-610a-4dae-911c-7c201ba1909e.htm Result: Error 1 Assembly '' could not be found. Are you missing an assembly reference C:\Monarch\Sandbox\nball\WinFx\BindNonText\CSharp\Page1.xaml 5 11 BindNonTextProperty Error 2 Type 'c:MyData' could not be found. Are you missing an assembly reference C:\Monarch\Sandbox\nball\WinFx\BindNonText\CSharp\Page1.xaml 8 6 BindNonTextProperty --------------- Note:MyData is part of the project. < DockPanel.Resources > ----------------- Here's t ...Show All
Visual Studio CMDUSED_SECTION and shared commands
By default in the IDE, F8 is bound to the command Edit.GotoNextLocation ( guidVSStd97:cmdidNextLocation) . This command works in the both the Output and Find Results windows. I would like my tool window to respond to Edit.GotoNextLocation. Is this just a matter of setting up my ctc file correctly or does the toolwindow also need to implement a particular interface (other than IVsWindowPane and IOleCommandTarget) Yep that was it Sean. I was just preparing a post, but I see you've figured it out. Regards, Aaron Marten ...Show All
Visual Studio Finding a group of text in between double x0a's with RegEx
Hello. I need to select all the text between double newline characters with a RegEx expression but the syntax is killing me! I am searching for a name but I need all the other info within that group as well and the problem seems to be that there is also a few newlines in some of the 'groups' that I need. I tried something like this: Dim Expression As New Regex("\012{2}( <tag>.*individual.*)\012{2}") This chokes up on me when it hits a single x0a, I believe. I am using the 2.0 Framework if that matters. Can someone help me Thank you, B Langston Glad to hear you have a working expression. The aster ...Show All
Visual C# Remove "Maximize/Restore Down" button
How can I remove "Maximize/Restore Down" button from my forms Like the picture: http://img.majidonline.com/pic/39007/Untitled-2.gif In the form's properties, set MaximiseBox and MinimizeBox to false ...Show All
Visual Studio What is Help Format Required to Integrate My Own Help?
What is the help format required to integrate my own help into VS help using VSCC Hi learnerplates, My apologies for not getting to you sooner. You're going to need your work (.html pages) to be compiled into Compiled Help Module (.chm) format before converting and then integrating it into the MS Visual Studio 2002, 2003 or 2005 IDE Help Contents window. I have just finished upgrading a TestCase/Lab which will walk you through the complete procedure. Please go to MSHelp MVP Rob Chandler's website: http://helpware.net/mshelp2/frank/help2.htm and download the "CHM Version with help source" zipped folder. Take ...Show All
Visual C# Migrating from Visual Basic.Net to C#
The company I work for is migrating from VB.NET to C#. Is there any way you can use C# forms or files in a VB.NET project in Visual Studio 2005. I do not know VB.NET and this will be very usefull... VS doesn't allow you to mix languages within a project. What you can do is setup a solution with your VB code in one project and your C# code in another (or however many different projects of whatever languages you require). You could then, for example, add give the VB.NET project a reference to the C# project, and utilize the types it exposes. This is essentially what David is describing in his option 1. -Tom Meschter Software Dev, Visua ...Show All
Windows Forms Can c# perform a CTRL+V
Hi all How can i get my program to perform a CTRL+V. (paste from clipboard) Thanks. Lars Do you want to get what is in the clipboard , if yes, use Clipboard class . ...Show All
Visual C++ Can not seem to build my VS2005 solution via the commandline...
Hello All, I just started to use the VS2005 Beta 2 and I am trying to build my solution via the command line and cannot seem to provide a valid command line syntax. Unfortunately I can not locate any samples or help on this subject. Any information you can provide will be greatly appreciated. Thank you, -Jim --------- Example: --------- Previously under Microsoft Visual C++ 6.0 the syntax was >msdev MY.dsw /useenv /make "myproject - Win32 Release" I have tried the following syntax but it keeps failing: >devenv MY.sln /build /project myproject.vcproj Jim, Can you provide m ...Show All
Windows Forms Problem Deleting row in DataGridView in VB.NET 2005
Hi. I am using a DataGridView control, when I select a row in this control and type "Supr" key, the row that I selected is deleted of DataGridView Control. I want to display a Messagebox after typing "Supr" key asking: "Are you sure you want to delete this row ", if user select "No" button, the row shouldn’t be deleted of DataGridView, but if user select "Yes" button, the row should be deleted of DataGridView control. I tried to do this using RowsRemoved event,but it 's impossible because this event is executed after the row is deleted. Could you tell me which event I should use , ...Show All
Windows Forms Help w/Decision - embedded controls vs inherited forms
I have a VB6 app which contains an architecture that I am very proud of and has proven to be very extensible. I now need to take that piece of the app over to winforms and am trying to decide whether to continue using this architecture or use some new tools that the framework has given me. Here's the deal. The app is for a lab. They ...Show All
Visual C++ LPCTSTR
Hello all, I've got another question. I'm using a bit of code written by Nishant Sivakumar ( http://www.codeproject.com/tips/CSMTPConnection2.asp ) to send an email programmatically. The code is relatively straightforward and there are no problems during compile EXCEPT... Error 3 error C2664: 'ATL::CMimeHeader::SetSender' : cannot convert parameter 1 from 'const char [19]' to 'LPCTSTR' SetSender is a member of CSMTPConnection2, which was written by Nish and inherits from CSMTPConnection. It expects an LPCTSTR. Here's how I call it: CMimeMessage msg; msg.SetSender( "myname@address.com" ); In fact, ev ...Show All
Visual Studio Report formatting locale problem - currency only displays US$ : VS Team Suite RTM
Hi, Using: VS Team Suite RTM I find that the localisation isn't working. I installed VS Team Suite with English - United States selected in regional options in control panel. I changed this to South African. I rebooted the pc. Tried to run a report with currency formatting and it stillr eturns US$. To reproduce, try creating a report (server report project) and set the format property on a table cell to C. If u have South African english, changed AFTER install, you will see us$. Perhaps you can assist us with this problem Thanks Jean-Pierre Hello I have similar problem. No matter how I ...Show All
.NET Development Reply to myself, found solution any comments welcome
Hello, from a WindowsIdentity we obtain the SID bytes and convert them to their hex string representation. We then try to bind AD with the SID information to get the Ad conteiner for the specified user. Since we have a AD tree like this: COMPANY.COM SERVERS.COMPANY.COM EMEA.COMPANY.COM US.COMPANY.COM if we use serverless binding the server binds to the ldap server in SERVERS.COMPANY.COM and does not find anything (sample: DirectoryEntry de = new DirectoryEntry( ">LDAP://<SID=sidHexString> ) If we namely bind to EMEA.COMPANY.COM server (because we know that the SID is for ...Show All
Visual Studio Team System Getting frustrated with red "X" on documents folder
I am at a loss as to why the Documents folder insists on displaying a red "X" in the Beta 3 Refresh. I have granted myself admin privilages but it seems to have done no good. Anyone know what would cause this I'm sorry to hear you are having problems. Several bugs have been fixed in this area in the RC, hopefully it will fix your problem. One thing to check: Open the project portal and make sure you can open all of the document libraries. If any of them cannot be opened then you will get the red x. You will need to correct this condition for the document explorer to work. ...Show All
