BJB's Q&A profile
Windows Forms Refresh Designer at Design Time?
Hi, I’ve created a simple user control which resizes its height automatically according to the image size loaded by a user at design time. After loading the image my control resizes but the control selection area doesn’t resize automatically - only when I click on the control. My control also has a custom control designer which restricts the control user to set the user controls height at design time. Is there any particular reason why this is happening How can I fix this Thank you, Eric Maroudas. In your custom designer, after you've done ...Show All
Windows Live Developer Forums Displaying the search result
Hey, I’m using the MSN search API and my question is; what is the easiest/fastest way to display the results on web browser after some processing Thanks, Coby Well, all of the results are returned from the MSN Search webservice as strings so you could put a placeholder control on your webpage and then dynamically add hyperlink and label controls for each search result that is returned. Does this help you ...Show All
Visual Studio Express Editions registratiojn benefits are....where?
I've installed and registered vs express. My confirmation email said " Accessing your registration benefits is easy. Simply go to the Registration Benefit Portal for further instructions. Your registration benefits and offers will be available starting on November 7, 2005. Check the Registration Benefit Portal regularly to access new and updated benefits. " I go there but....nothing! any ideas thanks danieldp I think I have the same problem..... When i click on the "Registration Benefit Portal" link I end up " @ Microsoft Connect, where after registering AGAIN I am invited to sign up for applicat ...Show All
Visual Studio Team System The location of the file or directory xxx is not trusted.
When running unit tests i get a return code of Abort and an error message of: Failed to Queue Test Run xxx : Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException: Test Run deployment issue: The location of the file or directory 'W:\assemblies\xxx' is not trusted. I have seen other posts where the answer is using the caspol tool to set the permission to trusted. I tried that and it did not work. I also tried adding the assemblies that the test project references to the GAC and still no luck. After each try I closed then reopenned the VS2005 IDE. When running the caspol -m -list statement it does show those assemblies as being ...Show All
SQL Server scale greater than precision - not a valid instance of data type real
Our shop recently upgraded to MS SQL 2005 server from the prior SQL 2000 product. I receive and error during processing related to inserting a value into a field of datatype real. This worked for years under MS SQL 2000 and now this code throws an exception. The exception states: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 15 ("@TEST"): The supplied value is not a valid instance of data type real. Check the source data for invalid values. An example of an invalid value is data of numeric type with scale greater than precision. This error is caused by inserti ...Show All
Visual Studio Team System TFS Backup and cross-database issues
Quick question here: Seeing as how TFS uses several databases (a boatload of them, actually :)), I was wondering if it is safe to backup them all just using SQL Server mantainance plans. In particular, I would like to know if there is a risk that during a backup operation, (a window which will be incrementally larger as the tfs databases grow) you might end with inconsistent data across the TFS databases due to operations being performed on the TFS server during the backup window. For example, is there any chance you might end with, say, a backup of the work item databases with a work item resolved that's linked to a changeset that was not ...Show All
Windows Forms Hide a window of an external application
I want my WinForm to be able to hide an external window of another application using the Title of the window to identify it. For example, how do I hide the window of Internet Explorer through my WinForm ... Not close but hide it! Solutions are welcome :-) Thanks. No, I'm not sure of anything. I didn't know how to do what I showed ...Show All
Visual Basic list(of).contains and comparing generic class
My problem is this (albeita bit of a noob question) I have a custom class which is held in a list class But when I try to search the list for the instance of the class with a property of x=1 then the compare never matches . Help When am I going wrong Example -- Public Class ConnectionClass Private _ConnectionName As String Private _Product As String Public Sub New ( ByVal ConnectionName As String , ByVal Product As String , ByVal Servername As String , ByVal Databasename As String , ByVal Username As String , ByVal Password As String ) _ConnectionName = Con ...Show All
SQL Server SQL Server 2005 CLR integration problems with unmanaged code
Hi, With SQL Server 2005 I'm trying to define a CLR integration UDF that calls unmanaged C++ code contained in a .dll. I have the following two signed assemblies: 1) 'wrapper' - this assembly is basically a wrapper class writen in C++ managed extensions code that calls a legacy library written in unmanaged C++ 2) 'provider'- this assembly offers services some of which are contained in the 'wrapper' assembly. This class is written in C# and its assembly is marked as unsafe since it is calling unmanaged code The problem is that when I run the assembly creation statement: CREATE ASSEMBLY [Provider] FROM 'c:\Development\Provider.dll' WITH ...Show All
.NET Development creating server.pfx for SSL communication ?
Hi all, i want to create a server.pfx for client/server communication over SSL. i use this server.pfx file from Mentalis from the WebServer sample : Server Certificate: ------------------- CERTIFICATE: Format: X509 Name: Mentalis.org Team Issuing CA: Mentalis.org Certificate Authority Key Algorithm: 1.2.840.113549.1.1.5 Serial Number: 61D272D9000000000006 Key Alogrithm Parameters: 0500 Public Key: 30818902818100BC7B73D8F2A48B17684E49A1425252FD1D8354E2B3202 B79BE5764EF2ADD6D413AE8F6E327FBFC4FB3F274357FEE7478BB28AE58975F73BE510F49E454566 5B3B3443FD52C27A0DF6B6D8A3AAB5A42C3DEC14CB9A85955C57A99661FB99FE08363E ...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 How to reference a textbox via a string in code?
I imagine that this is a rather simple task; however I do not have a particularly large depth of knowledge and experience in VB… I have an arrangement of text boxes (id1_1, id1_2, id2_1, id2_2) which I wish to be able to reference in my code from a string such that I can change the text box’s text etc. I receive the data required to construct the string from a connected serial device. What I require is a method to construct a textbox object reference from a string, something like getObjRef(string) as object Cheers Wilbo ...Show All
Visual Basic strange bracket problem
Hi, I've been finding that randomly, after building my project, the editor will start inserting brackets as I type. For example: I type "a" - it changes to "a()" I type "try" - it changes to "t(r)y" I type "ng.Save" - "n(g).s(a)ve" I've disabled Edit and Continue, but still have the problem. The only way to get round it is to restart visual studio. I've had the problem on two computers, and another programmer here has the same thing happen too. I can't find any information about this on the web, and I'm not really sure what to search for in any case. Hi, thanks for your answer ...Show All
Visual Studio Crystal Report Viewer Not displaying ICON And not functioning when clicking the print.
I have an issue with Crystal report viewer where when I run my ASP.NET site in 2005 locally using the built in Web Server for Development I can see the toolbar images and when I click the print button I get the popup window prompting for how to print the report and it prints just fine. Now I publish the site to the web server I do not get the images for the toolbar and when I click the print placeholder the page just posts back to itself and nothing else happens. I already ran the "cr_net_2005_mergemodules_mlb_x86.msi" for deployment to the web server and that did not work. It almost seems as if the control is pointi ...Show All
SQL Server referenced relationship error
I try to add dimension with referenced relationship. I defined everything like explaination in Books online, but when I try to save cube, I always get message: "Cube 'Cube' cannot be saved because of the following errors: Errors in the metadata manager. The 'Key' intermediate granularity attribute of the'IntDim' measures group dimension does not have an attribute hierarchy enabled." I enabled this attribute hierarchy for Key... but.... Anybody who can help When I tried these basic steps using the Adventure Works sample it worked for me. If you remove the dimension relationship and try to re-create it af ...Show All
