newmaxis's Q&A profile
SQL Server Recovery model backup and restore database
I want to do a backup and restore operations of my base, using SQLCMD.exe. For that, I use backup database mybase to disk='File' Then, I try to do a backup of transact log but like this: backup log mybase to disk='File' But I have this message : Cannot do a backup log on database which is a simple recovery model. I read the BOL and I saw there are to type of recovery model: Simple and full. But I didn't understand very bien explications in BOL. My questions are: What is this models When are they used Thanks Recovery model determines how the transaction log files are handled in the databas ...Show All
Visual C++ msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin I am having the same problem... I even uninstalled it.. and it didnt show a problem then I reinstalled the update and it showed up as a problem in the Windoctor again... any ideas as to what is wrong with this update Im sure its a simpl ...Show All
Visual Studio Express Editions VB 2005 Express and SQL Server 2000
I'm trying to add a connection to an existing SQL Server 2000 database, but I can't quite figure out how. It seems the only options are for SQL 2005 and Access. Do I have to reconfigure VBE to be able to access SQL Server 2000 Or am I missing something incredibly obvious I'd read several posts, however I didn't search for "local data" (since I was more interested in searching for SQL 2000). What was I thinking Thanks for clarifying. ...Show All
.NET Development Developing a n-tier object oriented application
I want to develop an web application in VS.Net 2005 that is n-tiered and object oriented, but I have questions about what resources I can or I must use. So I'm searching for code samples of applications like this, and if its possible, with a tutorial. If somebody has this kind of material, please send me. And, how can I implement a class that will have a collection of items that is from another class I also need material about MS Visio and UML. Hi. You have to consider what architecture road to follow to support your business needs. This is not a 25 cent response. You have to really do this. You may want to consider Rockfor ...Show All
Windows Forms Searching record in the datagrid
Hi, I've managed to succesfully find the wanted record in the datagid, i know on which row it is. I even can select (highlight) the row but the datagrid doesn't show this item in the visible records. How can i make the wanted row to be the first visible row in the datagrid his is what i've tried so far; kind regards pietswieb x = wantedrownumber MyD ...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 Project Overview document at http://msdn.microsoft.com/library/en-us/dndotnet/html/linqprojectovw.asp . A0. [KF] DLINQ is an implementation of LINQ that allows expression trees to be translated into qu ...Show All
Visual Basic SQL problems
I am having a problem with the table adapter updating. I followed the direction of the video series, by dragging the detailed view of the table from the Data Sources window, and dropping it onto the form. It fills it in, and displays the information from the database. When I fill in a new record, and try to save the new info, nothing translates to the database. Is this possibly a problem with the copy that is in the bin file I seen that the database hasn't been accessing the one in the bim but the one in the project folder. The db is supposed to be copied over when the project is run. This is getting frustrating... This topic expl ...Show All
Visual C# Pre MDI form shutdown event
Hi all, Visual C# 2003 problem (can't afford 2005 yet) I hope someone can help me because I want to do something and a bit of the puzzle is missing. I have created a MDI program that can display data in different child forms. The children tell the parent if certain events happen - if data has been loaded, modified or saved. If a child is shutdown, the Closing event fires in the child and the user is questioned if data has been modified but not saved. If the parent is shutdown, the children go through this cycle one by one. I want an event that will fire in the parent before this happens. The children have told the parent w ...Show All
Software Development for Windows Vista WorkflowRuntime.CreateWorkflow overloads
I have not been able to find any information about two CreateWorkflow overloads in the WorkflowRuntime class: CreateWorkflow(XmlReader workflowDefinitionReader, XmlReader rulesReader, Dictionary<string, object> namedArgumentValues) and CreateWorkflow(XmlReader workflowDefinitionReader, XmlReader rulesReader, Dictionary<string, object> namedArgumentValues, System.Guid instanceId) I have two questions: 1. Given that there are issues with argument passing and Xaml-only (or "no code") defintions, do these methods have any purpose 2. If yes, can you provide some information about the "rulesReader" ar ...Show All
Visual Studio 2008 (Pre-release) Executing Custom Code at WCF Service Deploy/Initialization with PeerChannel
Hello, I'm trying to find out if it is possible to execute code on WCF Service initialization/deployment on a PeerChannel. Basically, here is the situation. I need to have a service which by nature does not need to act in a Peer fashion, it's a plain vanilla service that accepts requests via some standard channel binding, like WsHttpBinding. On this service, I need the ability to also expose a PeerChannel endpoint that performs certain maintenance tasks with other services in a Peer fashion. These maintenance tasks need to be executed through a PeerChannel when a service comes up and goes down. Is this possible If you need further ...Show All
Smart Device Development Dynamic form compilation for Pocket PC
Hi. I am writing some software that generates forms that are then displayed on a Pocket PC device. At the moment, a 'form description file' is generated by my desktop component that is uploaded and interpreted by the PDA. Is it possible to cut some processing from the PDA by using the System.CodeDom and related classes to generate a compliled code file on the desktop component, so the PDA can just 'run it' using the System.Reflection.Assembly class. In all fairness, i am not sure if the System.Reflection.Assembly is available on the compact framework All comments gratefully received. James Randle ...Show All
Visual Basic AnalogTVTuningSpace and MSVidCtl
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as described here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/directX/htm/hostingthevideocontrolinavisualbasicform.asp and here: http://msdn.micro ...Show All
Visual Basic Object design problem
I've created two new classes. One of them is inherited from TextBox while the other one is inherited from MaskedTextBox. Now, I've added a new function to both of them. I've another user control that will take these text boxes as an property and will evently called the new function. The problem is that in my user control. I need to hold the text box reference using a TextBoxBase class as both of the classes derived from it. However, the TextBoxBase class doesn't have the new function that I've made. It will not compile if I try to call this function using the base class. My solution is finding the object type and call ctype before maki ...Show All
.NET Development Using DataReaders
Im currently trying to retrieve info from the database so that i can eidt it. I have declared my reader as follows: Dim objReader As OleDbDataReader = objSelectCusDetails.ExecuteReader However when it compiles, it doesnt come up with any errors but jsut as the form is about to load, theres an unhandled exception at the line in blue above. anyone see why this is the case It's rarely (okay, never) a good idea to run code (especially data access code) with an execption handler. The reasons why this code would fail would fill a chapter in a book--kinda like the one I wrote. S ...Show All
.NET Development Discard changes made to datatable columns of a Dataset?
Hello, I have a windows form with several text boxes. OnLoad, I use a DataAdapter which calls a SQL sproc to retrieve it's info. The sproc returns has 3 select statements so when all is said and done, the dataset ends up with 3 tables. (table, table1 and table2) Next I use databindings.add for each of the textboxes and bind them to the appropriate column in the appropriate tables. The textboxes are readonly by default and I have an Edit button that allows them to be edited. When the edit button is clicked, a Save and a Cancel button are enabled. I have the Save portion of this working as well. The problem I have is when a User en ...Show All
