ZENPook's Q&A profile
Visual Basic How can I create a date control that validates and confirms that the user is entering a valid date
How can I create a date control that validates and confirms that the user is entering a date in the right format (mm/dd/yyyy). I don t want to create functions that validate the data that he user enters by checking that the first 2 digits are less than 12 (meaning it s a valid month). I guess VB does that automaticaly (I have VB.NET 2003) and am developping VB windows forms (not asp forms) I m glad I m now a memeber of this fabulous forum. Thanks folks R.Tutus rtutus@hotmail.com how can I make it just a "text box control" and not as a "combo control"; without the scroll down arrow just like a text box and when re we supposed to ...Show All
Visual Studio Team System Buying TFS in the UK
Can anyone tell me where I can buy Team Foundation Server in the UK. We are a certified partner but I need to know how much we would have to pay in order to get from the workgroup edition in MSDN to the full edition. I have tried the partners listed on the MSDN page, but non of them seem to be selling TFS!! Regards Graham I'm wondering the same thing. Perhaps its just too early. If it's any help, it looks like you could download and begin using the trial edition, and then have 180 days to upgrade to the RTM: http://blogs.msdn.com/robcaron/archive/2006/03/20/555717.aspx ...Show All
Windows Forms ClickOnce - multiple applications
Can someone explain how ClickOnce determines where and how it installs the local copy of the program. I require to supply several ClickOnce installations - available from separate deployment locations. The .exe name for each application is (slightly) different, but the project name/title is the same. It seems I cannot run more than one of these installations on the same PC. Is it the .exe, the .application file, the manifest or the application title that has to be unique brian smith The deployment name has to be unique. If you are using the same publisher and product, you can give a unique name for each deployment. ClickOnce will cre ...Show All
Visual Studio Express Editions Searching for Text
How can I search for Text in TextBox or in Rich TextBox like that Find button in notepad and Wordpad Please help in this and tell me if it just code or if there is a tool to do that. Thanks. Use the 'Contains' or the 'IndexOf' methods of the Text property of the textbox or rich textbox to search for strings. 'Contains' will return a boolean value indicating whether a string contains a particular substring. 'IndexOf' is more versatile & returns the index of the substring. ...Show All
Visual C++ Pause in action with MSVC++.NET
Hi. I am wondering if there is a way to make all action stop for a certain amount of time. For example, with a timer, when the timer is enabled, the code execution continues after the timer is started. It doesn't wait for the timer to finish. In pseudocode, what I want is this: ..... code code Wait 5 seconds before continuing code code code ..... So that the computer would execute the first two lines of code, then wait 5 seconds before executing the rest of the code. Is there any way to do that Thanks, The Digital Pioneer ...Show All
Visual Basic CLI/console programming in VB
is it possible to do Command Line Interface/console programming in VB, i am about to get Visual Studio 2005 and i have been recomended to start out with VB as i have used the original BASIC language and i have used REALbasic. an is it possible to make apps that can be run as services and just to see what your opinions are which language out of C# or C++ would you start after learning VB You bet. I think you will like it. Let us know how it goes for you. ...Show All
Visual Studio Express Editions SystemParametersInfo
I know that I need to use the SystemParametersInfo API to get the desktop background but again I am having some problems. Can anyone point me in the right direction with this. I would greatly appreciate it. Here is what I have so far. Public Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" ( ByVal uAction As Integer , ByVal uParam As Integer , ByRef lpvParam As String (), ByVal fuWinIni As Integer ) As Integer Dim oldWallpaper(255) As String SystemParametersInfo(SPI_GETDESKWALLPAPER, 0, oldWallpaper, 0) MsgBox(oldWallpaper) ...Show All
.NET Development The same table <choice> cannot be the child table in two nested relations
I have a xml file generated by third party. I need to display the content on datagrid to let user modify and write back to the xml file. Usually I create a dataset and read the xml into it. But this xml file is different from those i have worked on before which it gives me such error message as in the subject. What should I do Hi nraf, See if the KB below applies to ur situation: http://support.microsoft.com/default.aspx scid=kb;en-us;325695 Regards, Vikram ...Show All
SQL Server Background image sizing
Hello, I have a jpg image to use as report background. How can I strecth the image in order to fill the page background (i'm using PDF output) with my image Thanks, Pierre Sorry, we don't have an option right now that would stretch the image. If your image fits the physical page size (i.e. Report.PageSize - Report.Margins) at 96 dpi, it should also look fine then in PDF at higher resolutions. -- Robert ...Show All
Smart Device Development How to zip XML?
My app uses web services to get downloads from a server which returns a chunk of XML. To reduce the volume of data that is transmitted, I'd like to zip the xml packet before it's sent. How do I do it Is there a 3rd party tool I can use Thanks for the help, and have a good weekend everyone :-) anarchy... i just stumbled upon your post, i'm not sure if you still sending out your class or not... but i'd love a copy if possible. MarkDubbelaar@hotmail.com cheers Mark ...Show All
Visual Basic COM reference Removal (VB6 ActiveX-DLL) and Design Time Control Settings
Hi friends, I am new to .NET environment. I got struck with 2 problems. Firstly, I am in the process of upgrading one VB project to .NET Framework. The existing project uses some ActiveX DLL's and I referenced that in the COM reference of DOT NET project. Well, It worked fine with some upgrade errors. To fix the errors, later I changed the DLL in VB-6.0 and recomplied and tried to remove the reference from COM reference in the .NET. But I cannot remove as when selected and click REMOVE, It removes from the select list. But not from the reference. Then I recomplied the DLL with another name and tried to refer it. It will say, reference ...Show All
Visual Studio Express Editions VC++
Why I can not add a function or a variable in class. I recommend reading the sticky post on how to ask questions. You should choose a subject that means something. I can't imagine why you can't add functions or variables. Given that you do this via the text editor, perhaps you need to read a book on C++ ...Show All
Visual C# Unable to update the dependencies of the project
I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. 1. Yes, there is a database project in the solution. 2. If I delete the hierarchy section in the project file I just get the same series of " ERROR ...Show All
Visual Studio Team System Breaking on exceptions immediately
When I am running my code with the dubugger I want the debugger to break immediately when an exception is thrown. I tried to follow the directions in http://msdn2.microsoft.com/en-us/library/d14azbfh.aspx which tells me to choose the Exception option in the debug menu BUT THERE IS NO SUCH OPTION!! Where did it go I have used it in the past (VS 2003). Help... keniii, This option should be present on all versions in the same spot. If you are still having this issue, please respond to this thread. ~Ian ...Show All
.NET Development Unmanaged application using managed library can't find referenced assemblies
There's a C# application with some DLL's. There's an unmanaged application (Total Commander) and I want to create a plugin for it that uses some functions from my C# libraries. I figured the best interface is a managed C++ library: it implements the unmanaged plugin interface by exporting the necessary functions, and it calls into my managed code, so I don't have to reimplement that library. Problem is, it can't find the referenced assemblies (FileNotFoundException, File or assembly name ... or one of its dependencies blah blah). It finds them when they're in the GAC, but for other reasons, these assemblies shouldn't be installed there (they ...Show All
