Athish's Q&A profile
Visual Studio Which VS2005.NET should I get
IMy Background: 've been doing Access client/server development forever (almost). However, I am a total newbie to Web developement. I'm ready to purchase VB2005.net for use at my company. I will be working almost exclusively with data driven sites (which now I know is ASP). I've ordered my books to learn and study for .NET WEB and .NET Client/Server development certifications. My questjions: For long-term, heavy duty professional development - the express version is out of the question! Correct The major advantage of VS2005.NET PROFESSIONAL is that you can debug remotely. Another advantage is PROFESSIONAL's " Server Explorer Server's Node ".(I'm not sure what that is - Could you explain or is this something I will ...Show All
Smart Device Development Multithreaded Serial: how to stop the thread and close the port smoothly
Dear all, I'm developing a C# multithreaded application, based on ( http://www.codeproject.com/useritems/GpsTracer.asp ) which starts a thread whose duty is to wait on the serial port and whenever it receives something, to process it accordingly. The ony difference from my code to the one in the web page is that I wait indefinitely until a DataReceivedEvent pulls the thread out of the sleep state, since once the serial port is open, it receives a continuous stream of data, and there is no need to wait a certain amount of ms. My question are: 1) what is the best way to stop smoothly such a mechanism without leaving the port open or the thread active, so that I can restart the thread without the ned of closing and resta ...Show All
Visual Studio Express Editions Registering....
I downloaded the Express version after it became free, but I just discovered "11 days left..." message. Should I reinstall/redownload it or am will I be able to use after the trial period expires If you used the online installation you must register it to be able to continue using it. You register it by choosing Help->Register product menu in the edition you wish to register. Follow the instructions and you will get a code to enter. It is free and will give you access to the benefits portal. If you used the offline installation by downloading the CD image you will not need to register, it will continue to work after 30 days. ...Show All
Visual Basic arrays
i am doing a quiz, capital cities of which country. i have stored the data in two arrays Country() and Capital(). i have to randomize the questions so they don't come out in alphabeticle order. all suggestions are welcome. thanks Zeldacat Dim Max As Integer = 50 Dim Countries ( Max ) As String Dim Capitals ( Max ) As String FIllCountriesAndCapitals () vb . Randomize () Dim Randomnumber As Integer = CInt ( Int (( Max * Rnd ()))) MessageBox . Show ( Countries ( Randomnumber )) ...Show All
Software Development for Windows Vista Outlook 2003 or 2007 RPC/Http using Vista
I use 1and1.com and a hosted exchagne account. My old machine (XP/Outlook 2003) could connect to the Exchange server using RPC/HTTP and a hotfix from MS. Now that I have upgraded to Vista, I am not able to get to the Exchange server. is there a simlar hotfix that will allow the HTTP tunnel or is there some config in Vista that will let me achieve this using Outlook 2003 Bonus, I have a copy of Outlook 2007 which I would like to upgrade to as well, but 1and1 does not yet support this, at least not in tech support. In thinking this through, this is actually a windows issus vs. outlook (I think) so if i can get vista working, then theoretically Outlook 2007 shoudl work as well. Thansk t.a. I searched many places and the be ...Show All
Internet Explorer Development IE7 Certificate Request/Enrollment
With IE7, I've noticed the original ActiveX method of generating a client certificate request and installing the signed certificate no longer work (xenroll.dll calling CreatePKCS10() and acceptPKCS7()). How do you do this now with IE7. Vista customers with IE7 don't even have access to xenroll.dll. I have been unable to find much documentation on this change, only that the old way was replaced with "something new", but no details on what the something new is called. Any help would be greatly appreciated! Thanks, Andy Hi, I’am having the same problem and the documentation that i found is not very friendly. I have an old version of Netscape Certificate Server with Enrollment pag ...Show All
SQL Server Fetch text from HTML [URGENT]
Hello everybody, I have data in my sql server table that is entered with a rich text editor so it contains html formatting. I need to show this data on the form with the formatting user has specified while entering the data. On the crystal report, I need to show the data not in the html format but simple text. I created a stored procedure to fetch the data and binded the report with the stored procedure. When data is printed on the report, it shows HTML tags with the data. Is there a way to fetch text in SQL so that report will only show text without HTML formatting Thanks. You can use the following code to replace all the HTML tags.... CREATE Function dbo.Html2Text(@HtmlString As Varchar(8000) ...Show All
SQL Server The scripts in the store procedure run slowly, but quickly when executing in the Query Analyzer
Hi, When i call the procedure sp_jysczld_new from the Query Analyzer, it runs slowly. But when i extract the sql scripts from the procedure sp_jysczld_new, it runs quickly. Why I don't understand. store procedure sp_jysczld_new: -------------------------------------------------- SET QUOTED_IDENTIFIER OFF GO SET ANSI_NULLS OFF GO CREATE PROCEDURE sp_jysczld_new @gs_userid CHAR(16), @location char(10), @pri char (10) AS SELECT Z.ORDER_NUM,ZI.ORDER_ITEM,Z.CUSTOM_ID,ZI.PRODUCT_ID,ZI.PRODUCT_NAME, ZI.LENGTH,ZI.CDGC,ZI.HEIGHT,ZI.L_HEIGHT,ZI.U_HEIGHT,ZI.CATEGORY,ZI.COLOR_ID,ZI.SGQTYS,ZI.plannum, ZI.totalwgt, ZI.banglong,ZI.bangzs,ZI.qgzs ,ZI.BANG_GRADE,ZI.PRI, ZI.LOCATION,Z.END_DATE, ZI.NOTE ...Show All
Visual Basic Data Sources Window Is Inactive and Data Sources Disappear
Can someone please help... I have been working on a project in Visual Studio 2005. After changing some of my data sources in the Data Access Layer, all data sources disappeared in the Windows UI layer. This was all working fine until I changed data sources in the DAL and built the DAL project. This is the third time this has happened. I have rebuilt my laptop from scratch, reinstalled Visual Studio 2005 clean and tried all kinds of other things including scraping my whole project and starting over. Everything seems to work for a while until I start making changes to the schemas in the data layer. I have seen a lot of older blogs and posts on this issues but none recently for the production version of Visual Studio 2005. I am using ...Show All
Windows Forms FolderBrowser problem/question
I am having a problem with using the folderBrowser component...when I run my program and try to use the folder browser class to create a new directory (using the "Create New Folder" button that it has). The dialog (folderbrowser) throws an Attempted to Access Protected Memory exception if I use it to browse my system's C:\\Documents and Settings\username (my own)\Desktop directory and then click the Create New Folder Button. It starts to let me enter a new folder name, then prints the name entered in the (treeview ) it has, but then throws the above mentioned exception. My technique is completely unexceptional and simple, there is nothing done that is not just like all samples i've seen... folderBrowserDialog1.ShowNewFolder ...Show All
Visual Studio Express Editions Formating a Drive in vc++ express
I've written a program, in another language, that stresses a 1 GB flash drive our company will be selling soon. I fill it with 0x55, format the drive, fill it with 0xAA, format, fill with 0xff, format, then fill it with various file sizes... The fastest way to fill and delete if to write 512 files then format the flash drive (6 minutes faster then deleting). I'm re-writing the program in an exercise to learn VC++ 2005 (express) and I can't figure out how to format a drive directly or through a shell command. What do I do Is there a shell namespace for drive class or something Thanks, Desperate and sick of MS Help lack of examples and obscure syntax. (will i ever figure it out ) You are actually ask ...Show All
.NET Development I have same problem
Hi all, I'm attempting to realize something that maybe is not realizable: a runtime TypeBuilder which produce the same Type used by a component at compile tyme. Shortly, provided I know that compononent X consume a Type TY of which I have a fully comprehensive knowledge, I would make it possible to produce at runtime a Type TZ that is equivalent to TY. Motivation : I could use serialization to made up a prorotype and than pass it, I would avoid this way because the types are defined through an higher level abstraction that I would manage transparently, and, moreover, because I would face a deploy critical issue: how these prototypes should be packaged provided that new types are created very often, by different people, and nobody ...Show All
Visual Studio Team System Unit tests problem
Hello. We have one serious problem with our Team Foundation Server System. We have autobuild setuped on Team Server - unit tests are builded and runned there every morning. These unit tests are completely errors free and working - on local machines (where they was developed) they are builded and runned successfully. BUT at the Team Server they is always one exception thrown during unit test runing - "System.Runtime.InteropServices.SEHException: External component has thrown an exception". This exception is always thrown at lines like this: "ComponentHost host(__uuidof(ComHost));". All creating COM components are registered at the build machine. The user under wich build process is running has all needed permission ...Show All
SQL Server Lock page in memory setting in SQl 64 system
Hi All, We know that locking page in memory setting is recommended to set in SQL 64 system. The purpose is used to avoid memory pages in Sql address will not be OS paged out. It is a little confused that if the memory pages of sql cannot be paged out after setting lock page in memory. Then the memory used by SqL will increase forever. If the physical memory is limited, it will obviously caused the memory pressure of the system eventually. How does the 64 bit sql manage his Buff pool in such scenario Will it be paged out Thanks in advance You also can and should set the max memory setting in SQL Server 2005 to a level that reserves some memory for the OS. Slava Oks has blogged about the recommended settings for this. Hopeful ...Show All
Visual Basic whay my app stop after a time??
Hello VB programers. I make a project in VB.net (2003).(the app communicate with a board...send/recive strings)...and, after a time...the application closed(whithouth reason). WHAY That code looks to be quite a mess... There are several instances of objects that I can only assume are defined elsewhere. The problem could be burried anywhere... this is what happens when you pick up someone else's old code... If you've got two seperate programs both trying to access the same COM port, you're going to have issues. It can only be in use by one app. From your description it sounds as if this other app does not properly release the port. If you were to redo this in VS05, it doesn't look like you'd need any of this code. ...Show All
