Maluco's Q&A profile
SQL Server copy database tables
Hi! Can someone tell me how I can copy my database which is made with SQLExpress or the tables to another SQL server. The servers could be SQL server 2000 and SQLExpress. Thanks! SQL Server Express --> SQL Server Express (or any other 2005er edition), just detach the mdf file (if possible) and copy it to the destination location, then attach the orginal one to the server again, and attach the copy to the remote server -done. I ...Show All
Visual Studio what do we put in the New sub in general
what do we put in the New sub of a class in general. Any specific examples and examples that apply to data tier. Thanks That's a very broad question :) New is generally the place where you initialize any data structures that your class might need or set any private fields that you receive as arguements to the constructor. Get the object ready to use. In the future, questions like this are perhaps better directed at a different for ...Show All
.NET Development VS2005: dataSet.Tables(0).GetErrors
I am finding the following code is behaving differently between VS2003 and VS2005. In VS2003 GetErrors returns all of the errors in Tables(0) but in VS2005 only the first error is returned. Is there a way to get all of the errors Try dataSet.EnforceConstraints = True Catch ex2 As System.Data.ConstraintException Dim errorRows As DataRow() = dataSet.Tables(0).GetErrors VS2005 version information: Microsoft V ...Show All
Windows Forms Auto-expanding TextBox?
Hi, Am I mistaken or is there no automatic way of getting a multiline TextBox to grow as the number of lines in it increases and when the form is resized I'd think something like this would be standard in a mature UI framework like WinForms Many thanks, Jiten There is no built in way to automatically grow the number of lines in a TextBox as you enter more and more text into it. Instead, make sure yo ...Show All
Visual Studio Crystal reports XI R2 and Visual Studio 2005 issues
Has anyone got this error after updating (fresh install) to Crystal Reports XI R2 with reports in Visual Studio 2005 I am posting here because I am not sure if it is a Crystal reports XI R2 bug or a Visual Studios 2005 problem. I thought it might be that my programming was wrong so I tried the samples that come with R2. If anything these should work since the people who developed the software wrote the examples. Even the examples ...Show All
SQL Server for loop container to process all Excel files
I'm having a problem getting the for loop container to process all excel files in a folder. I set the collection folder to where my .xls files are, and i set a variable in the for loop container to the FileName. I then changed my source connection and added expressions for ConnectionString: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + @[User::FileName] + ";Extended Properties=" + @[User::ExtProperties] ( ...Show All
Visual Basic Problem with Control Focus
Using VS2005 VB Express edition but I don'tthink this is edidition specific. On my start windows form I want to give a listbox focus after it is filled with data. I am using the command listbox1.focus() to do this in the form_load event after processing the data file in. Focus is not given to the listbox but another control. I can refresh the listbox using a filter routine which also ends with the above commmand and it works fine. I added ...Show All
Visual Studio 2008 (Pre-release) LINQ FAQ
Q0. What is LINQ DLINQ XLINQ A0. [KF] LINQ stands for "Language Integrated Query". It is a set of features such as lambdas, extension methods, and query comprehensions that enable compilers to understand and implement query logic over in-memory collections of objects. For more information about lambdas, extension methods, and query comprehensions, please refer to http://msdn.microsoft.com/netframework/future/linq and the LINQ Proj ...Show All
Visual Studio Express Editions How to let build environment refers to the Include, Lib, and Src directories of the Microsoft Platform SDK?
I'm new to Visual Studio 2003. How to let build environment refers to the Include, Lib, and Src directories of the Microsoft Platform SDK I want to add the IP helper Library into Visual C++ console project. I already download the Windows Platform SDK for windows. Someone kindly please help me solve my problem... K, u can delete this thread cause i already post another thread in express visual studio forum. ...Show All
Visual Studio Express Editions installation of visual basic - some Q's
Hi all I've downloaded and installed visual basic 2005 express using the microsoft installer. During the download I selected the optional SQL express as well. Following the download I can access visual B but cannot find how to access SQL to set up a database. Is this done from inside visual B or from a dedicated SQL app Also, is it ok to download and install the other visual studio express languages such as J# and C++ etc to run alongsi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Background doesn't repaint
Hi folks! I want to create a level editor using c# and Direct3D. At the beginnning i tested my stuff rendering directly to the form. Now i render to an object derived from panel. Everything works fine, but all the form's other controls aren't repainted. the panel itself as well as the device, etc. is contained in a simple manager class. Does anybody know, if that is a common problem, or am i doing something wrong Shall i post some of m ...Show All
.NET Development .NET Remoting
hi ppl i have a problem, i have a server client remoting application the thing i s that i have a method on my server and i dont know how to communicate with my form, becaseu i need to create a new instance of my form and i cant display it on the allready open form,, this is my code: [code lang="C#"]namespace CyberCafe { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public void R ...Show All
Visual Studio Express Editions Using a couple of special characters
For christmas, I made a "flash card" program in C# for my brother. The program basicly loads a spanish word and an english word from a text file and displays one after another (as in a flash card). It all words very well, except when there are characters such as n or e ... it displays them as blanks. With all the functionality stripped out this is what I am doing: TextReader textReader = new StreamReader(@"c:\dictionary.txt"); ...Show All
Windows Forms Failed to load resources from resource file
Hi, I may just be being thick here but, after installation, setting up a new Terrarium, compiling the simple carnivore, and trying to indrocude the animal to the Terrarium, I am getteing the following error: "Setup Error Failed to load resources from res ...Show All
Visual C++ CComPtr issues?
Hi, When I run my code using CComPtr to declare DirectShow filters/interfaces, when it comes to when the destructor is called at the end of the program, I get (not always) a dialogue box popping up saying "Unhandled exception at 0x7484902c in myprog.exe: 0xC0000005: Access violation reading location 0x7484902c " refering to line 134 in altcomcli.h, public : typedef T _PtrClass; ~CComPtrBase() throw () { ...Show All
