Scott.Anderson's Q&A profile
Visual FoxPro Combine records into 1 text box using ALLTRIM
I have a table that has City, State, & Zip in separate fields in a table. I want to combine those fields to fit in a single text box on a form. So far I have learned that I need to add this ALLTRIM(City) + ", " + ALLTRIM(State) + " " + ALLTRIM(Zip_Code) . I thought I could put this in the expression builder but I get an error saying "The data source for this object must be a variable reference." What am I doing wrong Thanks ...Show All
Smart Device Development OnKeyDown - How do I cancel a key from being handled.
I've overridden OnKeyDown, and I'm setting E.handled = true, yet the key is still handled by the listbox (which has the function that I've overridden). Appreciate any help. Thanks! ...Show All
Visual Studio Team System Customizing the menu in VSTS Project Team Portal
Hi Is it possible to customize the VSTS Team Project Home Page left Menu. How do i add modify and delete items from the left menu. The left menu contains items like Documents, Process Guidence and Reports etc with Submenu. I am able to add/update a submenu What i would like to know is how do i add/update/delete the mejor menu items in the left menu Thanks The easiest way to customize the Quick Launch menu in Windows Sh ...Show All
SQL Server Reporting Services in SQL Express?
Is SSRS available in SQL Express The feature matrix here: http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx says that the Report Server is available. However, SSRS was not an available option in the setup I used. Any help is greatly appreciated! The version of SQL Server 2005 Express Edition including Report Server is not yet available. We are working on it but have ...Show All
.NET Development Stopping WMI Event Watcher
Hi Everybody! I have run into a problem that has me perplexed and could use some help. I am simply trying to register for printing events using WMI. The following code works fine except for the "Stop" method. Anytime that I call "Stop" on the watcher I receive a "No such interface supported exception". I cannot seem to figure out why the exception is happening. Any help would be appreciated. Thanks, Brett Code sample: // set up event query usi ...Show All
Windows Forms How to get rid of a Control's/Form's culture setting?
I happened to set a form's "Localizable" setting to true the other day and that was the start of much agony. I only wanted to try out the inherent localization capabilities of .NET 2.0 but since then I haven't been able to get rid of the effects. Here's the details: I built a small "log on" form that's using a composite control (I need the "logon GUI" in other forms as well). I then set the "Localizable" setting of the form to true which result ...Show All
Visual C++ Communication between objects
I am using a main form created with CLR, Windows forms (Form1) with 2 child forms ( A, and B). I want to have B send A some information to act on (I need to pass it an integer). How should I do this (I posted a similar question and it was bumped to another forum, but no answers in over a week) Yep the windows forms forums might be a better place as descibed ...Show All
Visual Basic Generating thumbnails for video files?
OK, I posted this same question previously and have gotten no replies, so perhaps I was too vague and need to rephrase it. Everyone is familiar with the "thumnails" folder view in Windows 2000/XP, and how thumbnails are generated for movie files Well, in an application I'm trying to develop (and unfortunately am about to hit my deadline), I have a need to generate a "preview" thumbnail when a video file (avi/mpeg/etc) is selected in ...Show All
Software Development for Windows Vista Beta2 Installation problems
I am trying to install WWF Beta2 (in fact i have been since last Friday). Anyway i manage to load all the components until i attempt to install WWF beta 2 it fails with the message : " the following platform components failed to install and will need to be manually installed before setup can proceed: Windows Workflow Foundation: The installation source for the product is not available. Verify that the source exists and that you can acces ...Show All
.NET Development How C# performs sql procedure?
Assume there are three tables in one database created by MSDE, and they are related by using "id", for example: the structure of these three tables are as below: table A: a_id, name, date table B: b_id, a_id, message table C: c_id, b_id, position what I want to know is how to use C# to delete one row in table A and delete related rows in table B and C at the same time Must I delete related rows in other tables one by one or is it C# ...Show All
Visual Studio Team System Install ok but error messages connecting to TFS from client
I have installed a single server (WORKGROUP) setup of TFS without any issues in the installation routine The only non-standard selection I made was not to enable the Team Foundation Alerts. However when I try and connect a TFS client, I get the following error message in the client window :- TF30291: There was a problem on the server of unknown cause. See the Team Foundation Server event log for details. Time 2005-10-14T10:09:53:562 Looking i ...Show All
Visual C# MessageBox
I kno I have posted this before, but I didnt get the response I was looking for. I have a messagebox, and when it pops up, I want every part of the computer to be inaccessable until the user presses ok in the messagebox. Can someone tell me how to do this I'm faily new to c#, but from what I've learned you can only make your application inaccessable with a messagebox not the entire computer. Thats what managed code is all about, so that ...Show All
Visual Studio Express Editions Can Anyone Relate To This???
Hi There http://www.geocities.com/tablizer/oopbad.htm Cheers Bronco Billy "Beer and Fast Women are Ok... No Cigarettes or Hard Liquor Allowed" Hi, we live in a free world where erveryone can express his opnion. I know I like OOP. You should try both worlds and see whats best for you to use. ...Show All
.NET Development Getting Byte Array address
hi friends, i have a doubt in c# , i required to send a array(BYTE) address to a vc++ dll function plz provide solution to me.......... Thanks to all, pavan You can also use the MarshalAs attribute, that in your dllimport signature will look like: DllImport("Sample.dll", ...)] static extern bool SampleFunction ([MarshalAs(UnmanagedType.LPArray)] byte[] lpBuffer) HTH --mc ...Show All
Windows Forms TreeView not behaving as I expected
Hello, I have a class that derives from TreeView. I tried overriding the base class method OnPaintBackground so that I could draw a gradient over the client area of the tree view. However, it seems that this function never gets called. I&nbs ...Show All
