Steven Goulet's Q&A profile
Windows Forms beginners questions - easy for some of you i hope!
Hi everyone, I have three simple questions as a beginner with forms, and hope there might be three simple answers! 1. I'm trying to redraw some pictures on a picture box on my main form whenever there is some sort of change. The book&nbs ...Show All
Visual Studio Tools for Office Outlook + .NET
Hi all, I'm using Microsoft Office Outlook 2003. At the calender, I would be able to create new appointment by selecting the time schedule. Once I finished entering the appointment detail, how can I detect the event of "Save and Close" button What I am looking for is that, when I press on "save and close" button after filling up appointment detail, I want to launch another software to look at the data or something else. Do you think is possible ...Show All
SQL Server SQL Server 2005 Express - Upgrading will Lose Data?
Hi - quick question. I wanted to upgrade pre-release version of SQL Express to the latest version, and wanted to make sure that none of the database information would be lost. The thing that concerns me is that it states to uninstall previous versions of SQL Server 2005 Express before installing the latest version. I threw the database tables into a backup directory, and I think this should be fine, but I want to be sure. Let me know. Thanks! ...Show All
SQL Server Generating scripts in SQL 2005
In SQL 2000 EM you were able to generate a script that only contained GRANT statements, (by unchecking the CREATE & DROP commands on the 2nd tab, and selecting Object Permissions on the 3rd tab). From what I can see in SQL 2005 MS you can't do this. All that you can seem to do is generate a sciprt containing all the CREATE statements with the GRANT statement(s) after each object. This is a bit of a pain as I want to script al ...Show All
Visual Studio Express Editions Splash Screen Problem
Good day! I'm going through the VB Express tutorial right now and I'm having problems with adding the splash screen on my application. I tried the following: 1. Create new project 2. Add new form > splash screen 3. In the application properties, I specified "splashscreen1" as the splash screen for the project 4. When I run the app, here's the error: The splash screen shows for a few seconds then instead of showing Form1, the following error ...Show All
Windows Forms Threads, Forms and Sockets
This is a question about Threading, which I am totally new to: If I declare a public form variable as in: public gForm as frmWork 'Then I have an event that fires from a class with a listening socket (tcpListener): Event in the class: RaiseEvent DataArrived(Data as String) global class declaration: Public WithEvents cNetClass As cNet 'event handler for the class event: Public cNetClass_DataArrived( ...Show All
Visual Studio Team System IdentityNotMappedException when launching the builds
Hello I am using TFS Beta 3 Refresh I have installed the TFS Proxy and TFS Builds I have created a very simple Win app and a build type (no test to be run) I have added the user TFSSERVICE to the Build group for my Team project However, I cannot run the builds and get the following error : "some or all identity references could not be translated" When checking in the event log, I see the error "Unable to start build' with the exception IdentityN ...Show All
Visual C# Storing program settings
I'm needing to allow a user to be able to set/change various options for a program I'm developing. It seems that the best way to do it would be to keep the congifuration information in an XML file. Is there a place where I can find concepts and code that will allow me to be able to read an XML file and properly parse the contents Of course, I'll also need to understand how to write the file in the first place. As always, I'm looking not just f ...Show All
SQL Server Problem adding Annotations to KPIs
I'm trying to add an annotation to a Kpi object in AMO. I'm starting with just the simplest thing: kpi.Annotations.Add("AnnoName", "AnnoValue"); The KPI validates, and cube.Update doesn't report any errors. But when I try to read back the KPI later, the annotations collection is empty. I profiled the XML/A sent as part of the Update, and the KPI definition included the annotation there. But the annotation never seems to be sa ...Show All
Visual Studio 2008 (Pre-release) Custom namespace error?
Just a newbie on this, but frustrated. I am having troubles with the photshop sample from the beta2 sdk. < Window x:Class = " PhotoStore.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " PhotoStore " Loaded = " WindowLoaded " xmlns:ps = " clr-namespace:PhotoS ...Show All
Visual Studio Reportviewer Paper size
Is there any way to set the paper size for the Reportviewer control other than at runtime using the Page Setup button. It always defaults to "Letter" which is not really suitable for all countries. I am using Visual Studio RC1 on Windows Forms application. Thanks for the Information. Come Service Pack Come Come Come .... ...Show All
Visual Studio Express Editions Linking Error: it wants libboost_regex-vc80-mt-1_33_1.lib but boost installed boost_regex-vc80-mt-1_33_1.lib
Hello, The subject pretty much says it all... here is the error from the builder: Linking... LINK : fatal error LNK1104: cannot open file 'libboost_regex-vc80-mt-1_33_1.lib' I do have boost_regex-vc80-mt-1_33_1.lib, and i tried renaming that to libboost_regex-vc80-mt-1_33_1.lib, and it satifised the linker, but then I recieved this error: PasswordFilterRegEx.obj : error LNK2019: unresolved external symbol "wchar_t * __stdcall ...Show All
Visual Studio Specifying non-attribute data to a Task
I understand how to write tasks for "simple" definitions (i.e. all necessary data encoded in node attributes), but I've done a fair amount of research and testing and I can't figure out how to write a "complex" task. What I'd like to be able to do is parse the following: <MyCustomTask x="x" y="y"> <MyItem a="a1" b="b1" /> <MyItem a="a2" b="b2" /&g ...Show All
Visual C# Updating SQL database
Hello. I am wondering exactly what kind of code is needed when I want to update an sql databse from a windows form. I have a form with two textfields, and a button called save. When I press that button, I want the information in the textfields to be saved in the database as a new column in the table that these textfields are taken from. So, i want to write the code in the click method of the button. I guess this is really easy, but I have never ...Show All
Visual Studio 2008 (Pre-release) Accessing Service From SharePoint
I am trying to access a WCF service from SharePoint (a doc library event to be specific). I tried putting the bindings and client config into the web.config, but I keep getting this exception: System.InvalidOperationException: Could not find default endpoint element that references contract IMyService in the ServiceModel client configuration section. The proxy and config settings work fine from a standalone app. SharePoint is configured wi ...Show All
