VenkateshBabu's Q&A profile
Visual Studio VS 2005 he&&
Hello All, Hopefully someone can steer me in the right direction:) I have installed VS 2005 with success. After about a week of using it I had issues with the IDE not accepting certain key input (eg. arrows and enter). After a few days of mucking around and searching on forums I found an answer that worked. Now, I get 'Package Load Failure" error messages. I once again browsed the forums for answers. I had tried to reinstall then uninstall and install, nothing worked. I now don't have it installed and can't reinstall it. The reinstall fails. Any ideas on how I can manually get rid of all VS2005 and component entries so nothing is seen so I can reinstall it I have been trying for weeks now and am ready to give up on VS2005. ...Show All
.NET Development How to fill the collection of class with the information from app.config.xml
I have a class structure which I want's to fill from xml I don't want's to keep another setting file to fill my structure.so i put the information in the app.config file. My application .config file looks like < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < appSettings > < add key = " ConnectionString " value = " server=Test\yukon;database=Books;UID=sa;PWD=; " /> </ appSettings > < Importers > < Importer > < ImporterName > FirstImporter </ ImporterName > < ImporterFileName > First.xslt </ ImporterFileName > < IsEnabled > True </ IsEnabled > <!-- ...Show All
Visual C# Exported Class
Is there any way using the VCCodeModel to obtain if a class is declared to be exported in a DLL #define TEST __declspec(dllexport) class TEST { }; ...Show All
Software Development for Windows Vista Vista Menu Gutter
This may seem like a very strange request, but without using owner drawn menus, is there anyway to simply hide the left hand side menu gutter area ( where the check marks & icons are shown ). We have a situation where some older code that does not use checks or marks is required to run under vista, and the left hand space will not be used. Thanks in advance. This is not a strange request and it is easy to accomplish: Call SetMenuInfo on your hmenu and use the MNS_NOCHECK flag, something like this: MENUINFO mi = { sizeof(MENUINFO) }; mi.fMask = MIM_STYLE; // do (MIM_STYLE | MIM_APPLYTOSUBMENUS) if you want to affect submenus. GetMenuInfo(hmenu, &mi); mi.dwStyle = (mi.dwStyle & ...Show All
Visual Basic Dts.Runtime errors
When I use Imports Microsoft.SqlServer.Dts.Runtime in vb2005 previously working code starts generating errors. For example: MessageBox.Show( "Error: " & description) now generates this error: Error 1 Operator '&' is not defined for types 'String' and 'Microsoft.SqlServer.Dts.Runtime.DtsObject'. Application.Exit() generates this error: Error 2 'Exit' is not a member of 'Microsoft.SqlServer.Dts.Runtime.Application'. How can this problem be corrected Hi... use a + instead of &. e.g - MessageBox.Show("Error: " + description) Cheers, Menthos ...Show All
.NET Development MSXML Problems
Hi All, I am developing my company application using VS2003 C++ with Win32 SDK /ALT/STL. The application uses MSXML 6.0 to create/read/write XML document to/from XML file. I ran into two problems described below: 1. The application adds whitespace to the XML document so that if the XML document is opened with text editor such as Notepad, children node will be indented, making it easier for user to read the document. However, the weird thing is that the XML file is only indented with debug version. If the application is compiled with release mode, XML file is not indented (I am sure there is no #ifdef _DEBUG around the code block that adds whitespace to the document) 2. I cannot remove an attribute from a node. I tried ...Show All
Software Development for Windows Vista What happens to running workflows when the workflow is changed?
Hello, My website uses a workflow for document approval. I was wondering what happens to running workflow instances when I exchange the workflow for a different workflow. For instance, what happens if the current state of the document is removed from the workflow Or what happens if some transitions are different in the new workflow Or is the complete workflow instance stored in the database each time and will the new workflow only be used for the new instances created after the update I hope my question is clear... The entire workflow instance is serialized. If you have a running workflow, say v1.0.1 with some activitites, and then you blow away this assembly and replace it with v1.0.2 whic ...Show All
Commerce Server Error 8624
We are experiencing a catalog search failure when trying to return the contents of an entire catalog catagory that contains more than 12,000 rows. This appears to be rooted in some dynamically generated SQL code. Here is part of what the Event Viewer is showing me when the error occurs: Exception information: Exception type: CatalogDatabaseException Exception message: Category search failed. Request information: Request URL: http://training.carpetone.com/CarpetOne/Templates/Misc/SearchResults.aspx NRMODE=Published&NRNODEGUID={1C4BBD4E-1A73-4A5F-AE39-32E7505C48F0}&NRORIGINALURL=/Search%2520Results searchType=ProductCatg&catg=Carpet&NRCACHEHINT=NoModifyGuest&catg=Carpet&searchType=ProductCatg I then turn ...Show All
SQL Server execute sql server agent job task - Job immediately returns success... However agent job is still running???
when I run a package from a command window using dtexec, the job immediately says success. DTExec: The package execution returned DTSER_SUCCESS (0). Started: 3:37:41 PM Finished: 3:37:43 PM Elapsed: 2.719 seconds However the Job is still in th agent and the status is executing. The implications of this are not good. Is this how the sql server agent job task is supposed to work by design. Thanks, Larry Just to get this right. Your SSIS package starts a SQL Agent job. You are executing the package and it completes immediately. This is by design. There is no synchronous hook into the SQL Agent Job Scheduling, you can implement a waiting loop to check the job has completed but th ...Show All
SQL Server Create a publication in SQL Server 2005 Express
Hi, is it possible to create a publication with SQL Server 2005 Express. I can’t seem to find it in Microsoft SQL Server Management Studio Express. Do i have to install the full version :( Isn’t there any other option Thanks SP SQL Express can't serve as publisher or distributor for all types of replication. For more considerations for replication on SQL express. checkout this topic: http://msdn2.microsoft.com/en-us/library/ms165686.aspx in BOL. You will need workgroup edition or above, although the workgroup has limitations on the number of subscriptions. For full detail, take a look at "Features Supported by the Editions of SQL Server 2005" ( http://msdn2.microsoft.com/en-us/library/ms143 ...Show All
Windows Forms how to earse text in listbox
i tried this but it doesn't work, what sould I do private void button3_Click( object sender, EventArgs e) { listBox1.ClearSelected(); } Hi, take a look at the following threads: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=477374&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=492390&SiteID=1 Let me know if you'll need more detailed help. Andrej ...Show All
SQL Server What effect does log auto-growth by percent vs. auto-growth by fixed amt have on performance?
For your consideration and comments: I want to consider changing the way our transaction logs grow and what the initial growth defaults are to see if I can improve processing performance for one particular process (and perhaps others as well). I want to get away from allocating new space by percentage of current space, because as the space gets significantly larger, the 20% naturally represents lots of megabytes, resulting in some very large numbers after this update-intensive process run. I don't know if it is better to have a fixed amount of growth versus a percentage amount, but I'm guessing that as the growth amount gets progressively larger, that the time it takes to get the larger amounts of space becomes a significant drag compare ...Show All
Visual Basic XML Documentation Comments not working.
Hi there. After struggling a bit with XML Documentation Comments earlier today, I just thought I would leave this comment, in case someone else has similar problems. One of the Projects in my VB.NET Solution seemed unwilling to let me write XML Documentation in my code. When tapping ''' on the line directly above a method declaration, nothing would happen. The project consisted of modules and classes only(no forms), so I initially thought that had something to do with it. Later I found that under project properties and the Compile tab, the "Generate XML documentation file" checkbox was left unchecked. Checking this instantly allowed me to place the comments normally. After doing some testing, I also found that Creating an Empty pr ...Show All
.NET Development WebClient.DownloadFile - random 500 byte download problem - pls help
I have been suffering from a random problem that I cannot pin down. Quite simply I am trying to download a file using a very simple application. The problem is that sometimes the full file is downloaded and other times only the first 500bytes. This occurs with different files of different types. I have used an HTTP sniffer program and the full file is included in the http response! The file is using a "web folders" uri and therefore uses FileWebRequest/Response and not HttpWebRequest/Response. The original code is: webClient.DownloadFile(filePath, "C:\somefile.doc") This was revised to the following so I could get a byte count: Dim request As FileWebRequest = FileWebRequest.CreateDefault(New Uri(filePath)) ...Show All
Visual Basic Close running process
Hi, I'me creating an e-mail listener that gives me the aballity to control my computer by sending emails to a certain address. It allready can open programs, send files, send who is currently logged in,..etc. However there is one last thing I want it to do that I can't figure out, if its possible in the first place. So here is my question. Could you close a running process just by knowing it's name example outlook.exe, or msmsgs.exe thnx in advance Thx, it works. Don't worry though I took as much security messurements as i could tink of, and the program has limited control to the system, it's not like you could start every program or close down every program, same as sending files, it can ...Show All
