Matthew Watson's Q&A profile
SharePoint Products and Technologies Is it possible to show a Windows User Control in Sharepoint?
Hi, I have a website that has a control that is shown in a web page. Is it possible to add this user control in a Sharepoint page Doing it in a aspx or ascx page is easy, but then when I try in Sharepoint I get an empty control. Any help is greatly appreciated. Xavier Chris is on the right track. Wrapping it in a web part also allows you to set properties on your control through the personalization engine.. something to think about when you build the we part. ...Show All
Visual Basic FileUpload - How do I trap maxfilesize problems
The fileupload control works well for files < 4MB (maxrequestlength), but if the file is larger than this the program fails with: - the page cannot be displayed, or Server error in '/xxxxx' application Maximum request length exceeded How do I trap this so that I can return a better error message The failure occurs before the Page Load from any callback, so I can't see any way of trapping the error, and I haven't seen any event or property of the Fileupload control that I can set to say "Do this when Max Request Length is exceeded" I don't want to accept larger files, I'm happy to live with the limit. Regards, Robert Barnes why donot you increase the maxRequest ...Show All
Visual C# DoubleClick = 2 Click(s)
I want to open the frmAbout when Clicking the icon and the frmDidi when DoubleClicking the icon. i added the code for both in the Click and DoubleClick. When I try the Click it works fine and frmAbout was shown but when I try the DoubleClick it opens both frmAbout and frmDidi and I think that's because the DoubleClick is actually 2 Clicks!!! any comments and solutions Yes The Click event is raised every time a control is double-clicked so the Click and DoubleClick events are raised when the form is double-clicked and both methods are called ...Show All
SQL Server Access Database Synchronizer (ADS)
Hi All, Today we are very pleased to announce the CTP release of Microsoft SQL Server 2005 Everywhere Edition Access Database Synchronizer (ADS) for which many of you been waiting eagerly. To download the product you can visit the SQL Server Mobile Edition/SQL Server Everywhere Edition product page or click on this link to Access Database Synchronizer reach the download page directly. Access Database Synchronizer provides a way to synchronize data between Microsoft Access database on a desktop and Microsoft SQL Server 2005 Everywhere Edition database on a device. For more details you can visit our blog - http://blogs.msdn.com/sqlservereverywhere/archive/2006/08/29/729730.aspx I urge you all to in ...Show All
Visual Studio How to display checkbox in crystal report
Dear all. I'm working with vb.net 2005 and I've created a crystal report that passes parameter to the report form. No problem there. Since my database consists of few checkboxes, I was wondring if someone can tell me how do to display them in my crystal report. Either an explaination or sample code. I appreaciate your help. Mel I read in an article somewhere, in your stored procedure you do something like this case when myField = 1 then char(110) else char(111) end as myField Then in your CR report you bind 'myField' and set it font to WingDings, the result is an empty box for 0 and black box for 1. You can replace the char 110 with the corresponding check mark char. Ho ...Show All
Visual Basic [OTP] Debugger Implementation
How can I implement Debugging operation in VB 6.0 for my own Editor window.The codings are required I need to use facilities like watch breakpoints,variable information window This forum is not for VB6 questions. Please read the following post: For Visula Basic 6 Questions, Please Read... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=551512&SiteID=1 ...Show All
SQL Server Reporting Services (SSRS)
Hey everyone...I'm completely new to SQL Server and I'm trying to learn the Reporting Services tool. I just installed SQL Server 2005 and selected to install all the options, atleast I'm 99.99% sure I did. When I go to launch Report Services Configuration, I get "No report servers were found on the specified machine. Details: Invalid namespace". Do I need IIS for this to work Also, I do not think the AdventureWorks database was installed, I cannot seem to find it anywhere. I have tried to go back through and reinstall it, but it says that it is already installed. Also, is there a certain order that you are supposed to install things i.e. SQL Server before Visual Studios Thanks in advance. *Edit* BTW, I'm using Windows XP, SQL Serv ...Show All
Microsoft ISV Community Center Forums Assigning ranges with empty cells
I am assigning ranges with empty cells to array variables. However, when I reassign the variables with empty values back to a range, the empty cells now contain 0 (zero). I really want the cell to still be empty instead of containing a 0. How can I fix this Both your lines of code work (the second line keeps the cell blank and not 0 so may you are doing something during your manipulation of the array). Post the manipulation code and maybe can help ChasAA ...Show All
Visual C# ErrorProvider makes default language loosing properties...
Ok, I have a very weird problem. I have a windows forms with some basic controls in it, textboxes, buttons, labels. with only one tab (very basic). My problem is when I'm switching language, i'm loosing control properties in my default language. Here's the behavious when the errorProvider is in my form. 1- I drop a combobox in my form (in the default language), change the dropdownstyle value to dropdownlist. 2- In the initializecomponent, I can see myComboBox.dropdownstyle = dropdownlist; If i switch to another language (IE: Spanish), I can see the myComboBox.dropdownstyle = dropdownlist again in the initilizecomponent. The problem is when i'm switching back to default language, it is adding the dropdownstyle in the sp ...Show All
Software Development for Windows Vista under Vista, Studio 2005 is crashing only on somes solutions
Hi, Since a couple of days, I encounter a strange behaviour under Studio 2005 C++. When I try to load somes previously created solutions, projects reloading perfectly but 1 or 2 seconds after items are displayed in the solution explorer, Studio crash. But strangely, all others solutions opens without any problem. I think the pb. come from Intellisense which is confused by some of my C/C++ files. But more strangley : I can't reproduce this bug on XP. So I guess that the problem come from the Vista + VS2005 combo . I'm rather irritated because, the trial period for Vista is very short, so I will not be able to test it anymore and report feedback. For now, disapointedly I switched back to XP. The bug occurs with the Express version of VS2005, ...Show All
SQL Server unable to create maintenance plan
I get an Ole db error while trying to create maintenance plans: An ole db error ox80004005( unable to create client connection)occurred while enumerating packeges. If I make the the sql startup account a local admin, everything works fine. I have checked to see according to the kb article to see that the account has all the necessary windows permissions and the account does have all the necessary rights. Thanks in advance for the help KRSE Make sure that you change the startup account via SQL Configuration Manager. When you do it that way it takes care of assigning correct permissions to that account. ...Show All
Visual Studio Tools for Office VSTO 2005 - Problem loading excel file from web server URL caused by IE Information Bar.
Hi, I have a problem loading an excel report from a url on a web page . In the system I am developing I want to keep the excel report data in a database and load it into an excel file to the display to the user when requested. The user can browse the reports currently saved in the system via a web page which is also looking at the database. When the user clicks on a report link on the web page a httphandler on the web server intercepts the call, sets the reportid recieved in a url parameter as a cached item in the server document and then streams the excel document back to the client. When excel opens on the client it reads the cached item and then calls a web service to populate the data in the worksheet using the report id. I am trying ...Show All
Microsoft ISV Community Center Forums How do you create a flashing cell
I have been trying to use macros, very little success. My first macro question is how do you get it to run besides using F5 everytime I am also trying to create a flashing cell when there has been any text entered into that cell Please any help is greatly appreciated. i'm not quite sure if one can make a flashing cell, but if what you want is to highlight (by changing color of txt or background) the cell when certain text is entered, try using Conditional Formatting. Format --> Conditional Formatting ...Show All
SQL Server can datasets access sql server schemas
I have a database in sql server 2005. I have a schema called A. (Create schema A). THen I have several tables and procedures in that schema. Yet, when I update my reports to use the new tables with the schema name (select blah from A.table), I receive an error on the site that says "invalid object name 'A.table'" How do I get RS to understand my schema I'm using a sql server account as credentials for my data source. Thanks, -Lori User error. I was tired. My datasource was not being deployed, and the tables did not exist in the old datasource. Once I updated the report/datasource and re-deployed, I could see the tables. ...Show All
.NET Development Remoting a Windows Form
I have 2 processes. One of them creates a Windows form. What I would like to do is embed that form into an MDI form created in the second process. Would like some ideas on how to remote the form. Thanks in advance. ...Show All
