hbuchal_dotnet's Q&A profile
.NET Development Replace a string Using Regular Expression
HI , Since i am very new to regular expression can anyone explaing how to replace a string in an INPUT String using Regular Expression my pattern of replacing is as below the numeric characters (0-9) present in an input string must be replaced as ","prefixed and suffixed with the characters ex: if the input string is ABC1234DEF then the output string after replacement should be ABC,1234,DEF Thanks in Advanc ...Show All
Windows Forms DataBinding to a SQL Field of type money
Has anyone ever had a problem DataBinding to this field type I have a method that sets up all my DataBindings for my controls on the form and when I run it I get this error: "DataBinding could not find a row in the list&nb ...Show All
Visual C++ How to call a Dialog Box?
Hi! I'm new to VS and I need some help! I've made a main form and another (i'll use it as a dialog box). I have a Main Menu on the main form and I want to call dialog box (form 2) when I press menu item. I know where tu insert the call code but I dont know what code to use. Help!!! Another question: As for the cpp files included in the project....which one is the main one (is it the one with WinMain function ) Does this mean that I can't have ...Show All
Visual Studio Team System Team Foundation Server MSSCCI Provider Beta 2 Now Available (Feb 20, 20006)
The Team Foundation Server MSSCCI Provider Beta 2 is now available here . IMPORTANT: Beta 2 is not strongly signed, so you'll need to disable strong name validation as mentioned in the README. You can find details at http://blogs.msdn.com/buckh/archive/2006/02/21/536260.aspx . New in this beta: Support for Visual Studio 2003 and Fox Pro in addition to the already supported VB6 and VC6. Integrated Checki ...Show All
Windows Forms is it possible to restrict qty of app instances that client can open
hiya, I have my EXE on the server, and the clients are using it via a shortcut which points to the exe. Is it possible to restrict the app so that machineA cannot open a MULTIPLE consecutive instances of the app many thanks, yogi ...Show All
Visual Studio 2008 (Pre-release) ANN: Chess Update for Sep 2005 CTP
http://www.valil.com/winfx ...Show All
Visual Studio Team System mstest with custom test type and metadata(vsmdi) file?
I'm trying to use mstest.exe to run a test from the commandline. The test was created as a custom test type that I have created via the extensibility SDK. I've done a lot of investigation and here's the results: 1) inside VS I can run the custom test fine. 2) I can run the custom test fine using the /testcontainer: option of mstest.exe. 3) I can run a generic test using the same vsmdi file with mstest.exe. 4) trying to run the custom ...Show All
Visual C# How do you change the Z-Order?
Now I know how to send things to the front of back, that's easy, my question is how to set the level of an item to an actual value, say (topmost-1) or (background level +3). Any help would be great, Thanks! Rob. The z-order can only be set using BringToFront, SentToBack commands, or automictly when using the control.Controls.Add\Insert methods. To set insert order when using Dock for instanc ...Show All
Visual Basic RichTextBox losing carriage returns...
There is probably a very simple answer to this, but I haven't found it yet. I've got an app with a RichTextBox bound to a column in a dataset. The text was input as fixed width formatted text (Courier like old DOS style formatting..) from a different application. When I run the app that text shows but it's lost the carriage returns. It just shows as one continuous string. Does anyone know how to get the RichTextBox to handle the ...Show All
Windows Forms How to read msi file
Hi, From my vb.net application, I wanted to read setup.msi file. What are classes or methods available in vb.net to read the setup.msi. This is required to get the product version from the msi file. regards P.K.S.Nandagopal ...Show All
.NET Development Collection events
Hi, just wondering if it is possible to have a collections base class send an event to the collection. Not worded well but heres an example. Class Tree Property color Property species Class TreeCollection property ColorCount property SpeciesCount This is very basic but what I want is if the color of a tree changes an event is fired that the collection sees to reset its count of trees with a certain color. Hope this is clear enough Regards ...Show All
Visual Studio Express Editions making a console application with MSVC++ Express 2005
since there is no project (that i could find) for making a console application i used general->empty project... but i can't seem to get it to work... i tried changing properties->linker->system->sub system to console but then it produces this error unresolved external symbol _main referenced in function ___tmainCRTStartup any help is appreciated What Martin said. Please restore the setting ...Show All
.NET Development Calling unmanaged c++ dll's and lib's into c# using visual studio 2005 beta
Hi, i would like to find out what are the ways to call unmanaged c++ dll's and lib's into c# using visual studio 2005 beta. I have tried many ways like using p-invoke and adding through reference but none of these methods seemed to do it for me. Are there any easier ways to perform this operation using Visual Studio 2005 Beta I would like to create an application that uses certain dll's and lib's from the ogg vorbis libra ...Show All
Visual C++ AT Commands
Hi again! I'm programming an aplication to communicate a PC with a module by serial port and using AT Commands. I have configured the module correctly to work, and I use the Windows Hyperterminal to do it succesfully. But now I am trying to do the same in my aplication (I use Visual C++ 6.0) and I get connected but I'm not send and receive messages. I want to make a "testing aplication" to send messages and show the answer, It ...Show All
Visual Studio 2008 (Pre-release) Anonymous Structs
Is c# 3.0 going to support anonymous structs ever. like: struct { int ; int ;} bgHome = new {42,21}; If not why not It seems like a great alternative to always goin the var route. If you are going to support it, will you also provide support for using them as return types. Giving us this ability allows us to expicitly define our anonymous types upfront, hence we can pass them and argu ...Show All
