Amit Kapoor's Q&A profile
Visual Studio Express Editions Is vc++ 6.0 good
i bought a book on vc++6.0.can i build powerful software applications with that.what is the difference between the vc++6.0 and vc++ 2005.what is the latest released version Well... you could use VC++ 6.0 but that's too old really. VC++ 6.0 was released about 8 years ago and I'd say that the quality of the C++ compiler and the IDE itself improved a bit since then . Not to mention that there is a free version of VC++ 2005 called "Express" (though it does not have support for MFC and ATL) see: http://msdn.microsoft.com/vstudio/express/visualc/ ...Show All
Visual Studio Team System Error HTTP 403 - Forbidden access when browsing to VSTFWeb
I need to get back to this issue because I didn't get any answer yet. We have installed successfully Team Foundation Server on a Win2K3 Server box that’s part of a Win2K Active Domain. The account used to install TFS has local administration privileges (not that it matters) and is also an existing domain account. We have a Single Server installation (both Data Tier and Application Tier) being hosted on the same machine. We weren’t able to connect VS2005 to the Team Foundation Server, so digging into this issue we got to the point where trying to browse to the VSTFWeb page on the TFS machine (while logged with the same account that was ...Show All
Windows Forms User control doubt
I'm new to C#(VB6 background). so forgive me if i'm asking something wrong. My user control has a textbox and a label control. Now i want to provide a backcolor property for the usercontrol which would allow me to change the backcolor of the textbox. Since user control also contains a backcolor i tried to override the property like this: public override Color BackCol ...Show All
Smart Device Development Exception Code 0x80000002- please help!
Hi. I have an application for PocketPC that sometimes gets this exception: Exception Code: 0x80000002 Exception Address: 0x01f7aac and I don't know what to do with it. I'm don't know much about exception handling and I don't understand what this error means. I get it inconsistently. sometimes it never surfaces; sometimes it suddenly does. I've been trying to find patterns to no avail. My application is basically a speech recorder and player. I would appreciate any clues as to what this message means, what causes it, what I should do with it or how I can avoid it if possible. Thanks for any tips! Hello what ...Show All
.NET Development Thread Serialization
There are several project that have proposed mecanism for the transmission/storage of computation (i.e. thread serialization) is Java. Is there any equivalent in .Net (any equivalent expected with .Net 2.0 ). Thanks in advance, Joannes Vermorel As far as I am aware, there are just proposals or research projects in the Java space. I don't think Tiger supports this. It could see it is an interesting thing to explore, but we have no current plans for this. ...Show All
Visual Studio Team System Web test fails due to the RequiredAttribute value validation rule
Hi , In response of my web test request I get the following:- <td class="Simple"> <input name="container:Submission:contact:LastName" type="text" id="container_Sub_contact_LName" tabindex="9" class="cls1" NAME="LastName" label="LastNameLbl" /> </td> For this I have added a RequiredAttribute value validation rule as:- Tag name- input Attribute name-name Expected value-container:Submission:contact:LastName Match attribute name-type Match attribute value-text Ignorecase- False The test fails due to the above validation.As I am us ...Show All
Visual Studio Express Editions My VB
Okay i've gone and bought Vb.net 2003 form Pc worlds right. And i bought a book to go with it. in my book the buttons and loading bars and stuff are all in the xp style. However whrn i do a button it looks 98 ish. what i want to know is is there some kind of setting i can get to make my programs looking the xp style cause at the moment, they look 98. I believe you will need what's called a 'manifest' file: however, VB 2005 Express can take care of all of that for you with one of the project properties. ...Show All
.NET Development Microsoft dBASE Driver - numeric percision ???
Hi All I am using ODBC thru ADO.NET on Microsoft dBASE Driver (*.dbf)};DriverID=533 for exporting DBF files from c#. The problem is I am not able to give numeric percision in my input. I tried by creating the table with the datatype Numeric (6, 2) but it fails to create. How can I control percision in creating Dbf files Say, I want to insert a floating value 17.32 but it is getting inserted as 17.32000 Thanks! Regards Karthikeyan Here is my code.... string connectionString=@"Driver={Microsoft dBASE Driver (*.dbf)};DriverID=533;Dbq=" + @"C:\" + &quo ...Show All
SQL Server clustered 2k5 can't connect to clustered 2k
I'm building a new fail-over cluster (SQL2k5 Ent on Win2k3 Ent) to replace our current cluster (SQL2k Ent on Win2kAS). One problem I keep running into seems to be related to the SSIS so I hope I've posted this in the correct place. While attempting to simply connect to the 2k instance from the 2k5 instance using "Management Studio" I get an error stating: "An error has occured while establishing a connection to the server. When connection to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Co ...Show All
Visual C++ Very simple webserver code
I am making a very simple webserver -it does not need to have any sort of cross-platform compliance, it simply needs to work with IE6. I have the following code which is simply supposed to read in a web page stored on the disk and serve it to the client. Code follows (I cannot figure out how to format the text.. it's ugly): void SendLogin ( int clientNum ){ ifstream file ( ".\\HTM\\login.htm" ); if ( file == NULL ) return ; int pointer = 0 ; char ch ; char buf [ 2000 ]; pointer = strlen ( buf ); while (! file . eof ()){ file . get ( ch ); if ( ch == '\0' ) break ; if ( ...Show All
Visual Basic Display a list of Soundcards
Hi I have a program in vb2005 that i use to among other things change my deafult soundcard when i start an application fx. Windows Media Center this tool has been working fine by just doing a edit in my Reg. and replacing the name of the soundcard i recived the list of soundcard by using the Microsoft.DirectX.DirectSound.DevicesCollection but now i have changed the setup of my program and i tells me that i can't use the DirectX feature in the dll it runs from now so my question is does anyone have an idea. whitch dosn't require the use of the DirectSound Feature and maybe even a way to change the Primary Soundcard without having to ...Show All
Visual Studio Express Editions how to add new line in messagebox
in vb.net, " &vbnewline& " is used to add a new line in the messagebox.show(); e.g. messagebox.show("this is first line" & vbnewline & "this is second line"); how to do it in c#.net plz help In C# (like most C derived languages), escape characters are used to denote special characters such as return and tab, and + is used in place of & for string concatenation. To make your code work under C# you’ve got two options... the first is to simply replace the vbNewLine with the return escape character \n ala: MessageBox.Show("this is first line" + "\n" + "this is second line" ...Show All
Visual C# speed up aplication- dataset consist of > 30000 rows
Hello all. when dataset consist moe than 3-5 thousands rows it's star work slowly - more rows -> slow speed :( . in program in timer i look in dataset for row, (FIND method ) then search in dataset (SELECT method) then adding new row to dataset ....... search and find going on VARCHAR fields..... PS everything going on one table. How i can speed up select and find methode or there are others methods which i can use.... thank in advance DataSets are great for managing updatable views of data but if you are dealing with that much data then I would recommend that you either switch t ...Show All
.NET Development Best database choice?
I am wondering what the consensus is on choosing a database solution for a windows forms application when developing for the following criteria: 1. For applications that need to be deployed with their database on target computers (nothing complicated like oracle or ms SQL). 2. small amounts of data...( say...less than 500 mb of data [basically only need to persist small amounts of data between application executions ]) What kinds of storage media are easiest to develop and deploy Is it best to use something like access, dbase, an xml file, or something else Thanks Thanks for the repl ...Show All
Visual Studio VSS shadow folder permission problem
Hi, I want to apply source control on a shared folder sitting on one of our servers. I used shadow folders to reflect the changes whenever somebody checks in, and it works fine. However we have templates (.ascx) files in this shadow folder and when we try to load these templates from ASP.NEt we get permission errors. Is there any other way to reflect the changes to a shared folder Thanks > This makes me think that VSS changes the files in some way when it is copying them to shadow folders upon check in. No, VSS does not change the files in a weird way that will prevent the files to ...Show All
