Prakash.A's Q&A profile
Windows Forms how can I know if an item exits into as string ?
Public Fields() As String = New String() {"Identif", "model", "serial", "number"} thank you You can use the IndexOf method to "search" an array like this. ...Show All
Windows Forms HTML in controls
I haven't done Windows programming for a while, and am just getting back to speed, in the mean time reading about the features in .NET, Longhorn, and Whidbey. I see the Whidbey release supports a .NET based WebBrowser control, which should be good. However, what I've wanted for a while is just the ability to use HTML within any control and have it ...Show All
Visual Studio 2008 (Pre-release) Can't install WinFX Dec CTP
Hello! I can't install the WinFX Dec CTP! The installation stops always with the same error: Config_Products_Install: Begin installation of product: Microsoft .NET Compact Framework 2.0 Config_Products_Install: End installation of product: Microsoft .NET Compact Framework 2.0 I have uninstalled the Compact Framework but nothing changed! What should I do I hope someone could help me! Thanks! I had the same error message and the only way for me to get around this was to uninstall the Windows Mobile SDK's I had installed... BTW: I now use Virtual PC with beta stuff... That way it is easier to NOT ruin ...Show All
Visual Studio Team System creating list of files
Hi 1. is it possible to create list of files from last version 2. list of files that not located in workspace Thanks tf dir takes a version switch, so to get the list of files with the latest version:- tf dir /version:T /r(use /r for recursively getting in sub-directories). Check out the follwing links that provide info on this in detail:- http://msdn2.microsoft.com/library/6320xzye.aspx http://msdn2.microsoft.com/library/56f7w6be.aspx I assume you mean here the list of files in the latest version that are not in the workspace. The following command would do the trick:- tf get * /r /preview ...Show All
Visual Studio Team System CMMI ML-2 & Role of Team System
We are implementing CMMI ML-2 in our organization and we want to be the early adopters of Microsoft Team system. This is a major potential area: I have following queries to Team System Gurus n Champions and I will be expecting elaborative answers: 1. Can we maintain Process Asset Library (PAL) in Team System, if yes then any Live Examples …. 2. What are the facilities in Team system for Configuration Management, Yes VSS is their, what’s the upgrades etc 3. Can we use our Custom Processes, Document Templates in Team System, If Yes, and ...Show All
Visual Basic Photo Matching Database
User selects a picture and querys the database for a match. How do I write the Code for this SELECT id, image, description FROM pictures [database] WHERE image EQUALS picturebox1.image I am concerned that the "image" format stored in the db will not match picturebox1.image and that I probably will have to convert picturebox1 into a binary array to match the format already in the database. Furthermore, I might have to compare byte for byte for both image. This would be too slow. I need the best (speed) way to match an picturebox with a stored image in the database. Thanks. ...Show All
SQL Server SQL Server Management Studio Express
Hello Everyone, I'm new to SQL Server and was wondering with Management Studio Express is it possible to connect to SQL Server 2000. I got a hosting acct and they are using SQL Server 2000. If this wont work can somebosy suggest a free tool similar which can graphically connect to SQL 2000 and create tables or procedures and so on... Thanks, Harsimrat Hi Harsimrat, Management Studio Express can connect to SQL 2000. It's a totally different question whether your hosting site will actually let you connect to their server using management studio and perform the database options you want to. Many ho ...Show All
Visual Basic Do...Loop, While...Wend - Keep getting compile error
I keep getting a compile error using a Do...Loop or While...Wend saying "Loop without a Do" or "Wend without a while." Is there a limit as to how many statements you can have in the loop or something I am at a complete loss! Here is what I have: Sub CreateTask() r = 9 sysdate = Date While Cells(r, 40).Value <> "" processor = Cells(r, 40).Value CheckExclude '-- Search column 'AN' for user input-- If processor <> "" Then GetBorrowerInfo LastCall = Cells(r, 11).Va ...Show All
Visual C++ Error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'
I keep getting the following error message every time I try to run or build a C++ application in Visual Studio 2005: Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It only comes up with a C++ program. VB seems to be fine. I was working on a "Class Library" when it first started so I tried creating a new project. I tried doing a build before doing anything and the error message still came up. Then I tried creating a brand new "Windows Form Application" and running it without any modifications - same error. I tried uninstalling and then reinstalling Visual Studio 2005 ...Show All
Visual Studio Express Editions Printing Multi-page ListBox
Hello. If someone can help me I would be most pleased. I have a ListBox with many lines but when I want to print, I can only get 1 page although there are many more lines to print. I have desperately been trying all combinations of code with the right logic. I think Please help. Thankyou. Ali. I assume you use the PrintDocument class to do the printing. In the PrintPage handler, set e.HasMorePages = true to get more than one page. ...Show All
.NET Development Accessing SetStyle from Outside the Control
Wait a minute - I don't believe what I am reading. Using reflection, we can bypass the protected and private members of an object For example, uisng reflection, I can mofiy the value of a private field in an instantiated object, a private field, that may represent the internal value of a public property, bypassing any limitations or control coded into the property's accessors Doesn't this defeat the aspects of the object oriented approach, you know, like encapsulation, for example The topic of reflection and it bypassing set limitations or OOD is better suited for the CLR forum ( http://for ...Show All
Windows Forms User Control (text box), Null values, Formatting
I am trying to create a textbox control which will handle null values (see 1 below) and retain the ability to be formatted using Binding.Format (see 2 and 3 below). My User Control is in Number 1 below. When I use the 'Shadows Property Text' function, I loose formatting on the control. The call to format is just ignored. I tried ...Show All
Visual C++ Having Trouble with an exception
Hello to all, I'm having a problem with an exception that keeps coming up when I try to run my program. Is there anything I can do to my code to get rid of this My code compiles fine. First-chance exception at 0x695bffe0 in proj_text_spheres.exe: 0xC0000005: Access violation reading location 0x00454001. Unhandled exception at 0x695bffe0 in proj_text_spheres.exe: 0xC0000005: Access violation reading location 0x00454001. I suspect the source of my problem has to do with a call to fclose. Here's part of my code (I writing an OpenGL program that maps a texture to a sphere): void read_fractal1_image(void) { errno_t err; ...Show All
.NET Development How to Get?
Hello, Can any one give the C# code that gets all the computers name connected to a system. Thanks in advance. Regards & Thanks, Shaji Kumar.V.K Hmmm... This is an interesting question. There are no Managed API.s that I know of that can get this information. That said when you open the explorer you can see some connected computers so I wonder how the explorer is doing that. I will find out, but please tell me why you want to do this. Thanks ...Show All
Visual Studio Express Editions Write and read a file in Visual Basic 2005?
Hello Microsoft. I need to know how to read or write from / to a file with Visual Basic 2005. This is quite hard for me, when I'm used to Visual Basic 6. Imports System.io Public Class Form1 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim io As New IONOW Dim ios As New IONOW.iosb IO.Openwrite("test.dat") IO.writedata("Hello World") IO.clo ...Show All
