NewsReader's Q&A profile
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 wo ...Show All
Visual Basic databinding
Hi anybody, I'm new to visual studio express 2005. I have learned the data binding metho with a simple table. Everything works as told but when I want to change a record, it will change it in memory but not in the database SQL. I want to creat an application that will let user change any record. Can someone help Thanks. Well, I found some answers already. The VS Express 2005 is limited and will not let The user change the database in ...Show All
Visual Studio 2008 (Pre-release) Bind to property outside DataContext
I'm building a custom ListView. In one of the cell templates I want a ComboBox. Now, the parent control of the ListView has an instance of a class with two Lists (Transactions and Categories) as it's datacontext. The ListView is then bound to the Transactions list. However, I want this combobox to get its items from the other list. Is there any way to do this If you are building a custom list view then I would s ...Show All
.NET Development VS 2005 Development Web Server Problem - Broken image links
I'm having trouble with Visual Studio 2005's development server. I used to develop my websites using .NET 2003 and IIS all on one workstation. I've now migrated to VS 2005 (without uninstalling 2003). My problem is this: When I try to debug usinv the development webserver that came with VS 2005, it debugs fine, however certain files don't get served when they are in subfolders. For example: If my webroot is / then the web ser ...Show All
SQL Server Trouble with Iif!
Hi! My report has a multi-value parameter used to select the elements to put in the "group by" clause of the query. The report must show only the columns selected in this parameter. As I haven't found any better way to do it (I tried to use an expression to hide/show the column, but this would let the report with a "gap" when the columns selected were the first and the third, for example), I created four tables (one for ...Show All
.NET Development can not create an SQLConnection object
I am getting an initialization exception when I instantiate SQLConnection. The exception occurs emediately upon creating an instance and does not depend on whether I supply a connection string for the constructor. The odd thing is that I am not getting this error on my development computer, only when I install it on a different computer. The computer giving the exception has .Net 2.0 installed from the redistributable which I downloaded fr ...Show All
Visual Studio "Unexpected error" dealing with vss in vs2005
I get the following error when I try do do getLatestVersion or "Change source control" on a vss linked web app --------------------------- Microsoft Visual Studio --------------------------- Unexpected error encountered. It is recommended that you restart the application as soon as possible. Error: Unspecified error File: vsee\pkgs\vssprovider\cmsscciabstractionlayer.cpp Line number: 5906 --------------------------- OK --- ...Show All
Visual C++ Compile Error with Templates and Function Pointers
jHi, this code will not compile on the VC++ Express compiler. It will compile on gcc compilers, and the code on which this was based on is c++ standard compatable (written before VS8) template < int (*function)( int )> int callMe( void * object, int value) { return (*function)(value); } template < class type> class Calls; template < class result, class type1> class Calls <result(type1)> { ...Show All
.NET Development Socket crashes on AccessViolationException when the peer side aborts (net2.0 beta2)
Hi, I experienced a weird problem with socket on my machine. On my colleague's it works like a charm. When I have socket, waiting for incomming data (after I called BeginReceive) and the peer side aborts - eg. I kill the telnet.exe who I used as a client, the socket throws AccessViolationException on unknown module. The crash itself is in > imon.dll!20b0cd39() did anyone experienced something similar, or it' ...Show All
Visual Basic export full registry+comparing
Hi! I've got 2 questions: - Is it possible to export the full registry to a .reg file How do i do it - Is there a way to compare 2 .reg files and show all the keys that are present in .reg file 1, but not in file 2 I'm using visual studio 2005.. Thanks in advance! You can access most of Win32 Registry API via Microsoft.Win32 namespace. See Registry Functions section of http://msdn.microsoft.com/librar ...Show All
Visual Studio VS2002 and 2005 on same machine
I have existing applications with CR in VS2002. If I run VS2005 on the same machine, will it affect the old applications it depends on what version of Crystal Reports you are using. If you are just using the version that comes with Visual Studios then you will be fine, if you want to upgrade the Crystal Reports to version XIR2 (only full version compatible with VS 2005) it will force VS 2002 to use Crystal re ...Show All
Visual C++ Unmanaged type conot derive from a managed type
Hello Everyone, I have a COM Component, I added it as a refrence.....and I do something like this using namespace BBDEVMGRLib; namespace USBClient { class USB: public IChannelEvents { public : USB() { } ~USB() {} }; } I get this error Error 1 error C3625: 'USBClient::USB': an unmanaged type cannot derive from a managed type 'BBDEVMGRLib::IChannelEvents... Anyone how can I fix this e ...Show All
Visual C# Who Discovered OOPS ?
Hi All, I'm preparing for an interview,I Just wanna know the answers for the following Who Discovered or Invented .... 1.OOPS .. 2.C# (off-course Microsoft) But still wanna know the name of team developed. 3.J#.. I'm Sorry for posting this bug(may be silly)..But still Eager to know the answers .. Please help me.. Regards, Vinoth.N Anything you try to 'learn' the day before the interview is not going ...Show All
Visual Studio Express Editions Activate worksheet in Excel
I'm having a little trouble hitting the right syntax for switching to a different worksheet in Excel from VB 2005. This is what I've tried: MySheet = MyWorkbook.Worksheets( "Sheet2" ) MyRng = MyWorkbook.ActiveSheet.range( "A4" ) I don't think the first line works. I'm seeing the value in Sheet2!A4 that I am expecting. Not sure what you mean by "switching". If you need to ...Show All
SQL Server Analysis Services & Default Value
Is it possible to define a default value for each a parameter also in a dataset I have a dataset with a parameter from the dimension Time. I would like to change the default value from the parameter. I tried to create a dataset to get the current year unique name, but if I set it in the parameter dialog it does not recognize the value. I have a dataset in a report with the parameter Year from the ...Show All
