Sidharth M Sujir's Q&A profile
Visual C# Extending Windows Explorer with Windows Forms
This might not be the right forum for this question and if that is so I do appologize. I'd like to add another menu item on the right click menu that appears when I right click certain file types in Windows Explorer Can this be done without the need for extensive C++ code I'd prefer to write this in C# but will write it in C++ if its not too extensive as I only need this as a personal 'helper app'. Thanks in advance Doug Holland It can be done with no code at all, you just need some registry entries. It's explained here http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_b ...Show All
Visual C# How can I create a report from password protected database in C#?
I want to create an application where is one Access database. In this database there is table called customers. I've made Crystal Report called CrystalReport1. When I start the program it asks me for user name and password, server name and database name. How can I create a report from password protected database in C# When your are working with the Crystal Report, in the Field Explorer, when you connect to a Database, you specify the UserName, Password and Database details, so you authenticate before creating any report. So when the Start your application it will not ask for these details again. ...Show All
.NET Development ADODB Error
I get the following error from my App " The located assembly's manifest definition with name 'Interop.ADODB' does not match the assembly reference" I have .NET 1.1 Fwk. Any help is appreciated. Are you trying to call ADO classic (ADODB) code from a .NET application I expect that the client COM setup does not match what you coded against... or it's changed. Again, this will be frustrating because of the numerous issues with COM interop. I suggest you investigate migrating to ADO.NET. ...Show All
Visual Studio Team System Can I customize the VSTS bug report?
Hi all, I want to customize the VSTS bug report: Bug Rate, and Bugs by Priority. Currently, these two reports are based on daily data. And I want to create the corresponding reports by weekly data. Any approach to realize it Thanks, Leon Hello Leon, You can customize the reports and create a new methodology so new projects created with that methodology get those customized reports or you can customize a report in a project. This is how you would do it in a project: 1. In your application tier open http://localhost/Reports/Pages/Folder.aspx . 2. Click on the project with the report you want to customize. 3. Cli ...Show All
Visual FoxPro report temp file not found
I need to create a simple report, nothing fancy. Just to preview some memo fields. This is the code I use. lcFile = "C:\VFP_Projects\Reports\MyReport.FRX" SET DIRECTORY TO "C:\VFP_Projects\TEMPORARYFILES\" CREATE REPORT (lcFile) FROM (ALIAS()) FIELDS memo1 The second line (set directory to) should be explained. I get an error that a temp file c:\\VFP_Projects\Data\...\000035e10062.tmp no found. Options are "Locate," "Ignore," "Cancel," etc. Naturally the file name changes every time I try to create a report. Thus the name above does not mean anything. The error messages comes up ever ...Show All
Visual Studio Express Editions german Visual Studio Express Edition - IMG
Hi, where can I get the german IMG-files, not the webinstaller I only know the english ones (http://msdn.microsoft.com/vstudio/express/support/install/) . greetz Have a look at this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=181326&SiteID=1 Here you can find a link for downloading the german localized images of the VS Express Editions. ...Show All
Visual Studio How to set the tooltip for the shapes and connectors?
How can I set the tooltip for shapes and connectors Thanks. I have a similar question - see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2377745&SiteID=1 I want to use a tool tip for my connnector that shows some info from my Domain-relation ship. But I can't figure out how to get a reference to the domain relationship from the GetToolTipText() function.. Any ideas ...Show All
Visual Basic windows generated code
When you drag a datatable onto the form and then drag another data table that is linked to the first table, you have created a master/detail database. I have it working properly but would like to know where the windows generated code is so I can learn how to program that. I have looked in the Form1.Designer.VB but it is not there. When I click on a row in the master table, it fills the detail table. It must do some type of parameter or query. Where is that code. Thank you. I'm assuming you have a dataset that has a foreign key constraint to link the tables together. ...Show All
SQL Server Index on bit fields in SQL Server Management Studio
I noticed that I can put a bit field in an index in a SQL Server 2000 database, while using the SQL Server Management Studio (shipped with SQL Server 2005). In SQL Enterprise Manager this wasn't possible. Does SQL Server 2000 support indexes on bit fields and doesn't Enterprise Manager support it, or doesn't SQL Server 2000 support indexes on bit fields and is it a 'bug' of the SQL Server Management Studio Thanks. My experience tells me that this is not true. When the SQL Server only has to access an index instead of the real table, this can increase performance. In the past we've converted Bit fields to Ti ...Show All
Visual C++ Migrate a project from Visual C++ 6.0 to VC++.Net
Please Give some guideline to migrate a project developed using C++, ATL/COM, WTL in Visual studio 6.0 environment to VC++ .Net in Visual Studio 2005 environment. It's not a complicated task at all. Open the project in VC++ 2005, follow the upgrade wizard instructions, and do a rebuild-all. Since the newer compiler is more standards compliant, you need to expect a bunch of warnings and errors, that you'd then need to fix. Also remember that the CRT functions like strcpy are now deprecated in favor of the secure CRT functions. ...Show All
Visual FoxPro SELECT statement is showing unwanted display of data and is not passing data to a table.
I'm using a SELECT statement to pull out data from a table... that is working great. What I'm trying to do is feed the selected data to a different table using REPLACE so that it can be used by a report. All of this is triggered from a command button on a form. Here's the code for the CLICK property of the button: SELECT store, stock, year_1, make_1, model_1, auction1, transport, recon, sold_for, fees, net_check, result ; FROM wholesale_table1 ; WHERE In_Date >= DATE ()-60 ; && sets a sixty day date range AND sold_for < 1 && removes all sold vehicles && store.value ='DODGE' -> uncomm ...Show All
Visual Studio Express Editions installing VWD 2005 Express: must uninstall ANY previous versions of SQL Server 2005
http://msdn.microsoft.com/vstudio/express/vwd/download/ Hello, according to the above page/link I must uninstall my current version of SQL 2000...but I don't want to. Can't I just install the Visual Web Developer 2005 Express Edition without installing the SQL Express Version with it Please tell me yes. And...will this install also take care of the .net 2.0 upgrade also thanks so much, looking forward to giving it a test drive. Ron Malizia rmalizia@co.grays-harbor.wa.us Hi! Yes, you can install VS2005 express without installing SQL Server 2000. It was specifically talking ...Show All
Visual Studio Express Editions Random Numbers again!!!
Hi there, i think i have gotten into a bit of a fix... here is the problem: i have used the random obj to generate random numbers between 1 to 90. some times when the application runs, it picks a number twice. for example an output would be 2,8,34,2,67.... is it possible to make sure all numbers picked are only selected once that is if i request for 10 ranadom numbers, each 10 digits would be unique... this is driving me nutts!! thanks 4 ur help Slow. He wants the numbers 1-26 in a random order. The Original Poster wanted 10 numbers from a pool without repeats. anyhow: "W ...Show All
Visual C# How to serialize and deserialize an object
Hi, I'd created a class named ShoppingCart, I only know that to make the instances of a class serializable, [Serializable] attribute should be exist in the class declaration. But I don't know what method should I call in order to serialize and deserialize an object. I wanna do that because this object needed to be saved in and retrieved from database. Anybody can tell me Thanks! You should also implement the ISerializable interface if you want to control serialization of your class. The link has example code how it can be implemented ...Show All
SQL Server Failed to acquire connection / The AcquireConnection method Failed
I am running the Sept CTP. I have created a SSIS package that pulls data from a text file and inserts into a database. When I run the package on the DB server it runs fine. I have moved the package the the web server (we are attempting to kick off the package from a web site) and we get connections errors. We are running the package using dtexec from the command line. The 1st time we got The AcquireConnection method call to the connection manager "Program DW" failed with error code 0x80004005. One post I read said that changing the DelayValidation to true may help. I set the DelayValidation to true on all the pac ...Show All
