tmcalees's Q&A profile
Visual Studio Express Editions Adding OWC Components to the ToolBox
When I tried to add the OWC Pivot Component to the ToolBox by going to the Tools, Choose Toolbox items, I can not add a Pivot Table Component that I can drag and drop. I can see the item listed but it is greyed out. I usually just add the component as a another scripted tag on the page, but to access the component from VS, I think that I need to drag it from the ToolBox to enable the server-side script to access it. I can drag the ...Show All
Windows Forms Need help with VB.net involving Totals
Okay guys, here I am again. I need help on adding totals together. What I want is to have a bsic commission calculator that totals different things and will display them later on. Here's what I have so far, some works, some doesn't. Public Class VBACComCalc Inherits System.Windows.Forms.Form [Windows Form Designer generated code] Const Quota As Integer = 1000D Const CommissionRate As Integer = 0.15 ...Show All
Visual Studio Tools for Office Problem with Canceling Outlook application opening under .Net?
Hi, I’m having problems while canceling outlook opening under .NET, using VS.Net2003 & outlook2003. In my project I added a reference to the ‘Microsoft Outlook 11 Object library’ and created a new outlook application with the following line: Microsoft.Office.Interop.Outlook.Application app = new Microsoft.Office.Interop.Outlook.Application(); Once the above line is executed, there is an attempt to open a new outlook ap ...Show All
.NET Development IntegerValidator is silly...
Class, Test and very strange results below. Last time I checked, 2 was right there between 1 and 3. namespace Fido.SnmpPollerServer.Configuration { using System; using System.Collections.Generic; using System.Configuration; using System.Text; /// <summary> Represents a host element tag on the PollConfigSection </summary> public sealed class HostElement : ConfigurationElement { internal sta ...Show All
Visual Studio Team System Microsoft.VisualStudio.QualityTools.Common.ITip interface role ?
Any idea what is the role of the ITip interface What it stands for If someone (perhaps from Microsoft ) could briefly mention what is the role of ITip in Test type extensibility, it would be helpful. Thanks Tanveer Rashid Tip stands for Test Item Provider. ...Show All
Windows Forms DataGridView + RowValidating = Index 4 does not have a value?
Hello, I recently setup my DataGridView to use the RowValidating event. However, whenever a user types something in to a NewRow (as to cause the DGV to create a new row and consider the current row's NewRow = false) and then hit escape to cancel the edit, the DataError exception goes nuts. It keeps spitting out "Index 4 does not exist" in what seems to be an infinite loop. Here is my RowValidating code: private void dg ...Show All
Visual Studio Displaying Mutiple Reports
Hi, I would like a sample of the coding required to display mutiple reports on one form. I have created four reports, have one form with the crystal reports viewer on it. The main report is linked to it, but I do not want to create a form and CRviewer for each report. Please show we the code needed to release a report and attach another. Most are using the same database... Back it was the full path of the r ...Show All
Visual Basic Enter key to act as 'Submit' or 'OK' button
Hi, I am developing a Windows (Not WEB) form to capture the Username and Password of the application's users. I would like the user to be able to press 'Enter' after entering the password and not have to get the mouse to click 'Ok'. How can one do this There must be some trick. I checked all the properties for the textbox field I use to capture the password. On MSDN, all I found was related to web form, and mostly, on how t ...Show All
Visual Studio Error. Failed to load expression host assembly. Trying to use local report manually copied to mapi dir (VSTO project)
You may see from earlier posts that I'm having difficulty deploying report solutions (VS2005 B2) and VSTO. My VSTO app opens a winform report viewer. Even very basic reports (no data) fail. My last attempt was to use the report path option. The first error said the report def was not found in the dir 'C:\Program Files\Common Files\System\MSMAPI\1033', so I manually copied the rdlc file there. Now I get another error "Proce ...Show All
Software Development for Windows Vista VS6 C++ Compile error using "GetAddrInfo"
Hi, Windows XP SP2. Platform SDK recently downloaded. VS6 C++ SP6. I am using the 'GetAddrInfo' function ( DLL Ws2_32.dll) Header ( Ws2tcpip.h) When compiling I get the error "c:\program files\microsoft platform sdk\include\wspiapi.h(45) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal " I believe there is some 'compatability' issue between IPv4 and IPv6 functions !! Not sure how to sort it th ...Show All
Visual Basic OTP: date command in vb 6.3
I've got some code wrote for me some time ago in vb to run on a word document. we only run it once a year and we've upgraded our pc's to office 2003 since last year. Now when i go to run teh code it's compaining about 'Date' and 'Date$'. this is the line : [InvoiceDate] = Format(Date$, "dd/mm/yyyy") and the error wehn i try to run it says; compile error: can't find project or library and highlights Date$ i got round this ...Show All
Visual C# Threading in C#
Hello Everyone, I have a tab application, which initially I made single threaded....I added a dll which has a form. Now when I change to a tab method in that dll gets fired and form comes up, which makes everything else unresponsive.... Whats the best solution to implement thread to solve that problem.... Secondly, I tried doing something this way..... namespace something { public partial class Some : Form { public Some() ...Show All
.NET Development ShowModalDialog - Select Text
Is there anyway to select text within a Modal Dialog Box Thanks, Tim I've been searching for an answer to this as well, and the only way that I'm aware of is to put the text in a textbox/textarea and optionally remove the borders of the control. Marking the textbox as "readonly" will cause the text to NOT be selectable though, so users will be able to modify the text in the box. Also, if it's an option, consider ...Show All
Visual Studio Team System How to Modify the Quick Launch Bar in Project Portal
We would like to add links to new reports, discussion group, project calendar etc on the Quick Launch bar. We would also like to reorganize the existing categories/sub-categories on the bar. Is there a way to modify the Quick Launch bar to add new hyperlinked items (or remove existing ones) and reorganize the categories/sub-categories Thanks in advance. You need to change the Sharepoint Tem ...Show All
Visual Studio Express Editions Access - Autoincrement problem
I have some code to add a new record that I adapted from the Developer Tutorials as follows: If _ARecID = 0 Then Dim MyRecords As AUTORECSDataSet.AUTORECSRow MyRecords = AUTORECSDataSet.AUTORECS.NewAUTORECSRow() MyRecords.MFG = MfgComboBox.SelectedValue MyRecords.Model = ModelTextBox.Text MyRecords.Year = YearTextBox.Text MyRecords.DateDone = DateTime.Parse(DatePicker.Text) MyRecords.Mileage = Integer .Parse(Milea ...Show All
