dgoswami's Q&A profile
Visual Studio Sharing files between projects in 6.0D
In our current production enviroment we are using VSS 6.0D to manage our projects. All of our projects depend on some common source files, which can be updated at any point by any of the projects. For example, we have one common header file which contains various error codes. As projects evolve, new errors are added to the header file, which can then be used in all projects. Recently we had a problem where someone had someho ...Show All
SQL Server Running Parametrized report From VB.NET
Hi, I an new to SQL Server reporting Services. I have deployed my report on win2k server and is working perfectly when run from report server. Now I want to run that report from my Win2000 client Using VB.NET. Can any one have an idea how it will be done. I have no idea how to run that report from my win2k client and passing parameters from VB.NET programe to report on win2k server. ANy sample code will be very helpfull Thank you in ...Show All
Visual J# Welcome!
Welcome to the Visual J# forum. My name is Brian Keller, and I am the product manager for Visual J#. Please post your questions here and we'll try to answer them as quickly as we can. Cheers - Brian Keller Product Manager Visual J# I'm working at north europes largest cancer hospital as a programmer in Oslo Norway. I received my MVP award while I was a computer science student. I have been working for 6 months now. My supervisor at my univ ...Show All
Visual C++ UTF-8 related defect in fclose in msvcr80.dll and msvcr80d.dll
I have found a defect related to UTF-8 handling in the msvcr80 library. The first is quite simple to duplicate with a windows-32 console application as follows // test_utf8.cpp : Defines the entry point for the console application. // #include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { FILE *fp; errno_t err; err = fopen_s(&fp, "utf8_file.txt","wt, ccs=UTF-8"); fwrite("1",1,1,fp); fclose(fp); return 0; } ...Show All
SQL Server connect to sql server express
Hi, I cannot connect to the sql server express, and i recieve an alert which says: TITLE: Connect to Server ------------------------------ Cannot connect to Sql Server (SQLEXPRESS). ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not a ...Show All
Microsoft ISV Community Center Forums Querying ActiveDirectory with VBA in Excel
Hello folks, I want to run a macro when user open an Excel file, I want to ask user input for his/her account information (user/password) which stored in ActiveDirectory (Windows 2003 server). Is this doable with VBA in Excel 2003/2003 TIA, Brgrds. ...Show All
.NET Development Error 27 Option Strict On disallows operands of type Object for operator '='. Use the 'Is' operator to test for object identity.
Hi Guys How would I best resolve this, VS 2K5 is complaing about the values in the case statements and not able to test for object Identity, I don't want to test for object identity I'm looking for values, I know I could add the ToString option after optCurrency.Value.ToString and then put both the "2" and "3" in quotes but that does't seem right either, any thoughts Select Case Me .optCurrency.Value Case 2 Me .optCurrency.Value = ...Show All
Visual C++ Visual C code to change parent process of new created process
Hi All, I have a problem while working in Visual C. I want to change the parent of a newly created process by my own code. E.g: " I am opening a notepad.exe by using CreateProcess API in Visual Basic 6.0 and another Visual C application is also runing that need to track the newly created process (notepad.exe) . The parent process of newly created process (notepad.exe) is visual basic application from which the notepad.exe in initiated. Wha ...Show All
SQL Server Code page conversion shortcut?
Is there a simple way to avoid having to use a data conversion task to convert Unicode data (from DB2) to ANSI format (for insert to Oracle) I'm hoping that there is a way to set the code page property on the OLEDB driver so that it implicitly converts to the format I want instead of having to explicitly force the conversion in the package. Thoughts suggestions -Clayton In the intervening month, the best method I've come up with ...Show All
Visual Studio Team System How can shelving support working from Desktop and Laptop?
Here's the scenario, I do a bunch of work on my desktop during the day, resulting in numerous files being checked-out on my desktop. At the end of the day I'm not ready to check-in but I would like to continue my work from my laptop in the evening. My understanding was that I would shelve my pending changes from my desktop computer, then Unshelve from the laptop. I tried this and got a bunch of errors during unshelve: "The item $/... ...Show All
Windows Forms ?? Right-Click on ListBox Item ??
Hi everyone. As you can tell by the subject line I'm trying to determine when the right-mouse button is clicked on an item in a ListBox. From searching the news groups it seems there's no easy way to do this. But first, I'd like to raise a related question. The ListBox fires two very similar events -- "Click" and "MouseClick". Let me quote the Microsoft documentation for the "Click" event: "Occurs whe ...Show All
Windows Forms datareader bind to datagridview
hi, how to bind datareader to a datagridview without using datatable. thanks, Popskie try this code, cnn.Open(); cmd = new SqlCommand("s_Y",cnn); cmd.CommandType = CommandType.StoredProcedure; dr=cmd.ExecuteReader(); DataGrid1.DataSource=dr; DataGrid1.DataBind(); ...Show All
Visual Studio 2008 (Pre-release) ANN: Add Highlights and StickyNotes to Fixed and Flow Content
If you are using one of the following controls: FlowDocumentPageViewer DocumentViewer FlowDocumentScrollViewer FlowDocumentReader You can enable creating Highlight and StickyNote Annotations today! See: http://blogs.msdn.com/mehlhorn/default.aspx for details. -Derek ...Show All
Visual Studio Express Editions asp.net error linking pages from localhost to server
I get an error when I load all my asp.net pages from my local server local host onto the main server. The error is to do with the Mast Pages. This is the error: Server Error in '/' Application. You have the system set to run under .Net 1.1 you will need to change the web site to run under ASP.Net 2.0 for the master pages to work. This can be done from the IIS Configuration and the properties on the Web Site. Remember that you will ...Show All
Visual Basic C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax The biggest problem comes from trying to recognize these characters from the comport. ...Show All
