Peterleex's Q&A profile
SQL Server Log restore failure
Hi, I'm getting error: An error occurred while processing the log for database ' ' when trying to restore first transaction log backup after successful restore of full backup on SQL 2000. Note that database name is blank. What's the cause and the solution Please help. Hello, Can you provide some more details How are you attempting to restore the log How have you restored the databas ...Show All
Windows Forms Can't design control inherited from generic control
I created a control, the QuestionPanel, with generic type parameters, and now I want to inherit another control from it. However, when I try to do so, I get this error in the form designer: The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: TrueFalseQuestionPanel --- The base class 'Survey.UI.QuestionPanel' could not be loaded. Ens ...Show All
Visual Basic Starting phase 2, need some advice
Greetings, I am a relative beginner with programming (took a class six years ago, don’t remember much), and I am delving into a “file managing” program for my family’s business. Today I finished phase 1 (of 3). Before I get started on phase 2, I could use some advice. In our business, we receive files (from our clients), each in their own distinct folder, uploaded to our FTP server, located in our office. Each client has ...Show All
.NET Development updating records
I am trying to update a record using one of samples provided and I always have the following error: "Reference to a non-shared member requires an object reference" The code I use is as follows: Dim totalsRow As mdstats1DataSet.TotalsRow totalsRow = mdstats1DataSet.Totals.FindByRecordID(1) totalsRow.smtpin = smtpin totalsRow.smtpout = smtpout The error is on the "mdstats1DataSet.Totals" Can anyon ...Show All
.NET Development DataGridView able to display different tables from .mdb?
Hi, What I need to do is probably extremely simple to do but it seems I just can't find out how. I want to: -Display a form with a datagridview on it. -A button with an OpenFileDialog, which will be used to choose the .mdb file to load. -A combobox showing all the tables available in the .mdb -I want the datagridview to show the table selected the in the combobox...<---That's where I'm stuck... How the heck is it possible to do tha ...Show All
Visual Studio Tools for Office Roadmap for IBF & VSTO?
Hello Everyone, Could you please feed me with the following info: 1> Is it possible to use MS Office tools with Visual Studio 2003 2> Is it possible to use IBF with VS2005 There is a version of Visual Studio Tools for Office that works with VS 2003--it is called Visual Studio Tools for Office 2003. It has a lot less features than VSTO 2005, but it does allow you to associate managed code (CLR 1.1) with Word and Excel documents ...Show All
Windows Forms position of the cursor in a form
how do I get the position of the coursor in a WinForm application ...Show All
.NET Development Encrypting the app.config file
My application will use the DataProtectionConfigurationProvider to encrypt my app.config file. I can encrypt the file from within my applicaiton, but I would like to be able to encrypt it outside the application so that the file is encrypted when it is deployed. I know that you can encrypt web.config files with aspnet_regiis.exe. Is there a tool that can encrypt app.config files as well Eric This is exactly wha ...Show All
Software Development for Windows Vista ASP.NET hosting (WebService) of Windows Workflow Foundation
Hi all, I've decided to go about hosting the runtime in an ASP.NET environment, specifically a webservice. All is looking good on the 'design table' except for ONE thing...... Upon hosting the WorkflowRuntime, and I fire up a sequential workflow, how do I know when it's finished (I'd like to be able to use the Async features in ASP.NET 2.0) The reason why I ask is most of the examples either wait on the current thread - waitHandle.j ...Show All
Windows Forms Date Time Picker
Hi, Anyone know how to format the Date Time Picker in C# to shows MONTHS only Hi, Sorry, please allow me to ask more, can you guide me more details on how to traverse the list view items and create the loop Thanks. ...Show All
Visual Studio CreateToolWindow2
Does anyone have any code examples (C#) on how to use CreateToolWindow2 method Sorry to bring this up again... I want to create a toolwindow and place a usercontrol in it. So far, the CreateToolWindow2 method would work, if I want visual Studio to create the usercontrol (I think it uses reflection). But in my case, I already have the usercontrol instance and I just want to pass e.g. the reference to the toolwind ...Show All
.NET Development Returning typed datasets from a Web Service
Hi Guys, Since the webservice design surface appears to have gone between .net 2003 and .net 2005, how do I use dataadapters with datasets to return typed datasets to my client application from a webservice I must admit to being a bit confused as to whether I should return typed datasets anyway. In the past I have used functions like the following to deliver and update data: <WebMethod()> Public Function FillDataset( ByVal s ...Show All
Visual Basic Access The Result Of A Function Called In A Splash Screen
Hi, My application currently has three classes - MainForm.vb, SplashScreen.vb and a user-created class Server.vb. In the latter class, I have a function which pings a server (at the moment I'm just using the Google IP as I will get a "True" result). When my splash screen is shown, the function is called so the user is informed if the server can be reached. What I want to do is access the result of this function in my MainForm load event ...Show All
Visual Studio Team System Software configuration for faster builds
Hi. We are using the TFS with Continuous Integration and would like to build faster. Besides the obvious (upgrading hardware, which we are about to do) I'd like to see if there is any software configuration I can do to speed it up. I've had a look at the build type (TFSBuild.proj) and have already set this: < RunTest > false </ RunTest > < RunCodeAnalysis > Never </ RunCodeAnalysis > < UpdateAssociatedWorkIt ...Show All
Visual Studio Express Editions Loading a new form!
Forum, I am using the Visual Basic Express Beta version. I've been trying it out and have noticed some language enhancements. Ive used Visual Basic 6.0 and have the code to load a new forum. In other words, I want the user to be able to click a button and it will load a new window. While closing the Previous form, using the Unload Me function. I want the code for VB Express Edition Beta, to load a new window. Any ideas Code samplings wo ...Show All
