Sander van deVelde's Q&A profile
SQL Server Error while restoring database,
Hi, Im trying to restore a database, when i try to restore by selecting the file groups option it gives me an error Microsoft SQL DMO The backup set holds a backup of a database other than the existing database. RESTORE DATABASE terminated abnormally. I tried deleting all the tables and the stored procedures that are there, but it still gives the same error. I got this message, too. In the Options tab, check "Force Restore over existing database". ...Show All
Windows Forms Question about textbox
hi there, i would like to make my textbox to listen to my enter key, and do something after i type in my text and press enter, how can i do that can anyone help me thanks On the textbox control, just use the KeyUp event and catch the Keys.Enter key. Raise a KeyUp event on the control and using a delegate to push to the method that will handle it such as: textbox1.KeyUp += new EventHandler(textbox1_OnKeyUp); ... private void textbox1_OnKeyUp( object sender, EventArgs e) { if (e.Key == Keys.Enter) { // Do whatever you want... &nb ...Show All
Windows Forms How to save contents of checked list box to disk
Hi, I'd like to design a small application that saves the contens/items in a checked list box to disk (C:\ ,D:\ ect) and then be able to retrieve/open the saved file. Does anyone know how to do this Your help is much appreciated hakl Databinding and XML are probably the best answer, but if you've already designed your app to manipulate th ...Show All
Windows Forms .Net Forms Control embedded in IE
Hi All I have the wonderfull task of building a .Net Forms Control to be embedded in IE. Essentially this is the same idea as the old ActiveX control only now the "<object></object>" tags point to a URL rather than and GUID. I've got it all working and embedding works like a charm. Certain functionality requires .Net Permissions to be set on the client for the specific site but thats cool as it is running in a controlled environment and not open to the world. Here is my problem. The controll I am embedding is designed to talk to a Fingerprint reader via its device drivers. When I create the reference in my project to these drive ...Show All
Windows Forms unable to install TaskVision in Windows 2000 Advance Server
i have all the requirements needed including .net and sql server in our windows 2000 advance server but still i cant stall taskvision web services into it! can somebody help me thnx a lot! CHECK FOR A SOLUTION Installing Taskvision on a 2000 server I was having the same issues... could not find ASP user. One of my friend got the solution, ...Show All
Visual C++ Many linker errors with DirectX 8 libraries (LNK2019)
Hi, I was compiled the game core and when it had to link all the .obj I got 67 errors, all of them LNK2019. They are all similar to: error LNK2019: unresolved external symbol _D3DXMatrixScaling@16 referenced in function "public: void __thiscall sAnimation::Update(unsigned long,int)" ( Update@sAnimation@@QAEXKH@Z ) (but with other functions) Do you know why it might be Thanks. Check out Linker Tools Error LNK2019 for a list of possible causes. ...Show All
Visual Studio How to override QueryStatus ()
Hi All, I am using C# to write a VS Package with SDK 2005. I need to override the function Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus (). The Package class implements the interface IOleCommandTarget but does not have QueryStatus() as virtual. Would anyone know if there is an alternate way to achieve what QueryStatus() function does The IDE calls this method and gives the package a chance to disable/enable any UI components. Thanks Hi Surya, You can find the QueryStatus(...) method in teh ProjectNode class. Just inherit this class and override the QueryStatus. Regards Kajal ...Show All
Windows Forms TabControl changing TabPage
Hello, After clicking a button on the first page, I do some processing, then I want the user to automatically be directed to the second tabpage. How do I do this programmatically Thanks. Did you try something along the following line tabControl1.SelectedTab = tabPage2; ...Show All
Visual Basic Adding references (dll) through code (at app runtime, of cource)
Hi! I am having this question: I am designing a application, in which, you could open a DLL file, using the OpenFileDialog, in the dll, there will be a class for example, Main . Now, These classes would be all different (much like plug-ins in any plug-in supported apps) So, When the user click 'Open' the application should add the new reference, through VB code, and load it's data in to the viewing application. Here is, for example, code of a DLL Sub Main() Dim map_author As String = "Somebody" Dim author_email As String = "somebody@example.com" End Sub Ok, so that is the dll. Well, in the application, that will 'read' the dll, it should r ...Show All
SQL Server Autosize algorithm
Hi, I'm interested to know what the Autosize functionality is supposed to do. Obviously its supposed to size objects...but based to what The reason I ask is that I'm using Autosize on my data-flow components. On some occasions after using Autosize the full name of the component is not visible. I would have thought that displaying the component name would be objective #1 of Autosize. This doesn't just happen with components with long names either. I have a derived column component called "DER Format Data" and after using Autosize I can only see "DER Format ...". On the other hand I have a custom component called "PPDM Data Lineage Compo ...Show All
Visual Basic Issuer Certificate
I’m getting the " The issuer of this certificate could not be found. " error, My certificate says "Issue by Thawte Code Signing CA", Do this means that I have to get under Trusted Root Certification Authorities a Certificate that says "Issued To Thawte Code Signing CA" Thanks a lot. Under what circumstances are you using this certificate Assembly Signing or Publishing For Click Once Manifest Signing, the certificate will need to be verificable and so if you don't have the parent certificant from the issuer in your store then that is the most likely culprit. Take a look at the following thread ...Show All
Visual Basic Copy Local
I noticed that one can copy referenced dlls to the output directory of one's project. If one were to do this then pack those dll files and distribute them with one's program, could one's target user use the program without having the .net framework installed No, the .NET Framework needs to be installed for .NET developed applications to run. Absolutely no way around this - period..... ...Show All
Visual Studio Team System Load test: avg. response time vs avg. transaction time
It seems to me that when running a load test, with a normal distribution around a think time, that the reported avg. transaction time for a transaction includes the think time. It there a way to subtract the (unknown) think time But what is the avg. response time ta Matt I would like to ask one thing. Currently i'm not able to get the result for both avg. transaction time and avg.response time under LoadTest:Transaction through VSTS Test env. What are the requirements or any setting configuration to get these results ...Show All
Visual Basic Process.Start isn't accepting my arguments
I have a program that works correctly when I open cmd.exe and use the following argument line: 7za x archive.7z -aoa -r However, when I use the following (in my code) it doesn't work. Process.Start(temp & "7za.exe", 7za x archive.7z -aoa -r) or Process.Start(temp & "7za.exe", x archive.7z -aoa -r) The program (7za.exe) pops up but exits immediately, as if the argument line was incorrect. Any ideas Raymond Chang recently blogged about this. Visit http://blogs.msdn.com/oldnewthing/archive/2006/05/15/597984.aspx ...Show All
Windows Forms Very noobish question... how can i show a new dialog (header file)
Okay, i know this is stupid, but i've tried and tried to find (and figure out) an answer for this and I can't seem to get it right... I was working on a program and desided i needed an about dialog, so i created a new form as a header but can't figure out how to show it when the user presses the about button... I tried including it in Form1.h (where it will be called from) and in the main cpp file... but i can't seem to get it to load into memory correctly... sorry, i know this is probably stupid but... -Leif902 #include "AboutDialog.h" Putting this in a button handler or something will cause the dialog to be c ...Show All
