HappyTomato's Q&A profile
Visual Studio Tools for Office Best way to do this?
Hello, Hopefully someone would have some advice, I'd like to trigger an action inside outlook from outside outlook. I.e. pop-up a new contact window for the user to access. Should I approach this from a mapi standpoint or use IPC with a VSTO add-in inside of Outlook... I'm not sure what the "most correct" way to go about this is. Thanks! Hi, Sorry for delayed reply. I was out of office for a while. ...Show All
Visual Studio 2008 (Pre-release) Problem with P2P
Hello, I am trying to run the "PeerTcp" sample on a fresh XP SP2 install. I installed and started the P2P windows service. However, when running the first receiver, I get the following exception. Any idea what could cause this Thanks System.Net.Sockets.SocketException was unhandled Message="Unknown error (0x2ced)" Source="System.ServiceModel" ErrorCode=11501 NativeErrorCode=11501 StackTrac ...Show All
SQL Server SQL Login failed
hideho mates, well could it be.... all SQL services r runnin, i created 2 sql logins with ALL rights!!!!! well now i want to use one of this accounts (which r domain admins too) too install VSTFS 2005 Beta 2...so far so good...but the first evetnlog entry after the begin of the install is always "sql server login failed - cannoct connect to the database"... the funny thing is > AFTER is event log entry ALL VSFTFS and ADAM Databases gonna  ...Show All
.NET Development Launch condition in setup project
I'm using a setup project to do a setup for an application i wrote. This application is for notebooks (laptops), and will not run on desktops. I want to add a launch condition that will show an error message if tries to run it on desktop. Any ideas Thanks in advance, Hisham Hi Stephen, I visited your blog, and i see that you engage alot with battery related topics. I wanted to know if you also know how to get the battery designed max capac ...Show All
Visual FoxPro editbox programmatic change
I am looking for an easy way to determine if I've made interactive change in an editor box. The issue is that there are about 16 controls on a container, they are initialized from a table record thus their values at activate time generally are not trivial default. I have to save the changes with a SAVE button if I made any but I want this button's click method to quickly determine which control values have been changed. I do not want to do REPLA ...Show All
Windows Forms have someone write a Line Control like the Line Control in VB?
i don't konw how to design its region! How difficult would it be to 'transcribe' these over to ASP.NET ...Show All
Visual Studio 2008 (Pre-release) extension properties
When the first Linq preview was released, there was talk of allowing extension properties along with extension methods. At the time, I couldnt see a good reason for having them, but having read "First-class relationships in an object-oriented language" I can now absolutely see a use for them. At least, a very nice syntactic sugar type of use. I know the details on the next Linq release have been short on the ground, but would some Linq ...Show All
Software Development for Windows Vista SQL Persistence, Loading Workflows and Workflow Properties
I have a workflow that has a bunch of properties on it. One of those properties is the name of the user that initiated the workflow (it is passed into the workflow via the Dictionary<string, object> class. I have SQL persistence working just fine (well, I can't figure out how to 'auto persist', so I am manually calling 'Unload' when the workflow idles), and I run through the list of workflow IDs persisted when my application starts up. ...Show All
Visual Studio Team System Team Project Creation failed because of some user account problems
I used a single-server mode and encountered the following error: Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.Reporting plug-in used to create the new team project could not be initialized and returned the following error: TF30224: Failed to retrieve projects from the report ...Show All
SQL Server Report Models using Islookup and expandinline
I am building and deploying models. I have many small description tables, they include two attributes. On attribute is the key (which is a code or type) and the other is a varchar description. They tables are each optionalone related to the primary table. I am "denormalizing" the description tables using Islookup. I change the Role in the primary table to ISLOOKUP, I modify the defaultattr ...Show All
Windows Forms Adding a new "blank" record to edit
I have a bunch of controls bound to a dataset. When I bring up existing data and make edits, all is well. But I'm missing the boat completely when it comes to adding a new blank record to be filled in. I try adding a new row,&nb ...Show All
Windows Forms TabControl: Selected event ignored in Form Load event
I've written initialization code for each of my TabPages in the the Selected event handler. However, when the form where the TabControl lives first loads, (1) the Selected event of the TabPage that's displayed doesn't fire automatically and (2) programmatically selecting a TabPage in the Form Load event (by using SelectTab or SelectedIndex etc) is ignored and does not fire the Selected event. How do I cause the Selected event to fire on Fo ...Show All
Visual Studio Express Editions query the BackColor property of a Form?
I am writting a simple bit of code to place a random black point on a white form each time I click Button1. I want to code it to look at the randomized location an see if there is already a black point there. If there is then make the point white. Any help would be appreciated! Here is what I have so far: Public Class Form1 Dim x As Integer = -1 Dim y As Integer = -1 Private Sub Form1_Load( ByVal sender As ...Show All
SQL Server How to convert DT_DBTIMESTAMP to Int
I have an int column in table and need to convert DT_DBTIMESTAMP column to int in Conditional_Split transformation editor. SPOL_ProcessDate > CAST ( CONVERT ( varchar , DATEADD ( day , 5 , GETDATE ()), 112 ) AS int ); Does any know how to convert this is Conditional_Split transformation Thanks in advance. How about: SPOL_ProcessDate > (YEAR(GETDATE()) * 10000) + (MONTH(GETDA ...Show All
SQL Server setting variable value
hi ! I am trying to set the variables value through Execute SQL task and create directory through the FileSystemTask by setting the user variable as source. The User variable has the Directory path to create the directory, but when i set the source as the user variable it complains that its value is empty. Execute SQL TAsk happens to work correctly when i check the watch window the user variable is set correctly . but value is not setting ...Show All
