GavinLaz's Q&A profile
Visual FoxPro Stretch with Overflow + Page breaks
Hi, all This is probably an easy question, but I'm still a newbie at VFP. I've got a report (built with the Report Designer that's shipped with VFP) and I have a field wicg is marked to stretch with overflow. Problem is, sometimes it strechs over a page break (part of the text is printed in one page, the rest in the next page). Can I keep this from happening Thanks in advance Hi You can set the minimum space in inch or cm you need at least for one record. but it's a constant value. You can find it at the detail band properties (double click on the detail band in the report designer). ...Show All
Visual Studio Team System TFS error
I am getting the below error regularly, when ever this error comes my server will get restart or hangs "An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff " Operating System : windows 2003 Standard Edition with sp1 Application : Visual Studio 2005 Teram suite beta 2 , SQL server 2005 CTP, Team Foundation server beta 3( Installed Single server ) Thanks & Regards Srinidhi J.S. Srinidhi , Please try installing the ...Show All
SQL Server Ranking Queries in Data Source View/Reporting Model
I want to take advantage of the new SQL rank queries in my Data Source View - but it only gives me access to Tables and Views. Of course Views cannot handle one of these queries. Also, Named Queries are limited to view syntax. So, is there anyway I can expose such a query to my Report Model Or can I do something similar in my Report Model e.g WITH QCS AS ( SELECT Field1, SUM(Field2) AA TotalF1 FROM vwTable GROUP BY Field1 ) SELECT *, RANK() OVER (ORDER BY TotalF1) AS Rank FROM QCS ...Show All
Visual Studio Team System Team Build Error - TF42046 - Unable to Execute Team Build
All, I am working with a new installation of Team Foundation Server and I am struggling to get the Team Build component to work. Here is the Setup that I am working with: All Systems are running in a seperate Domain (BOOKSTORE) from my company's domain (CTS) BSTEAMSYSTEM - this is the Team Foundation Server that is running Team Foundation Server. I have the application that I want to build stored here in Source Control This is a Virtual Server that is hosted via Virtual Server. The installation has both the App Tier and Database Tier running on this VHD. Team Build IS NOT installed on this VHD. BSDEVBH ...Show All
Visual Studio Rollcall -- Is anyone here???
This place seems pretty dead....is it an actively supported resource for Microsoft info Are there any Microsoft staff or at least any MVPs around here Or should I be looking elsewhere for usefull information and discussion Even email to the address shown for "Jim Glass" is bouncing... Um... yes we are here. But there are some extenuating circumstances including a couple of conferences that people are attending, finishing the RTM bits for this Fall release of Whidbey (always a death march), and preparing for the VSIP Dev Lab and PDC. Additionally I'm trying to crank out all my annual re ...Show All
Visual C# Visual Studio C# Beta 2 crashes when I save
Recently about 2 days ago the IDE started to crash whenever I save. I uninstalled it and then reinstalled it and it behaves exactly the same. When it crashes it shows the dreaded blue screen with the error: STOP : 0x0000008E (0x00000005, 0x00000000, 0xA7E11C38, 0x00000000) Has anyone encountered this Is there a solution - Dean I'm linking this to the bug on the MSDN Product Feedback. It looks like the problem was because of a USB driver on your machine. http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=930cf712-7a37-45a1-bd8a-1bbe829ca039 Thanks! Karen ...Show All
Windows Forms Whidbey BackgroundWorker component fails in Form Load event
I'm trying to use the new BackgroundWorker component (Whidbey) in a sample VB.NET WinForms project. I've followed the examples on MSDN and can successfully recreate and run those examples. All of those examples though have the background process kicked off from a button on the form; i.e. the RunWorkerAsync method of the BackgroundWorker object is called from the click event of a button. If I do this same thing but instead try to kick off the background process from the form's LOAD event handler, I get a "Cross-thread operation not valid" exception when trying to update the UI. Putting in some debug code reveals that when call the RunWorke ...Show All
Windows Forms DataGridView KeyDown?
(VS2005 - beta 2) Hello, is there anyway to capture a keypress or keydown event in the DataGridView I know there's events called KeyDown and Keypress, but if the DGV is in edit mode, they never get caught. My ultimate goal is to make it so pressing enter moves to the Cell to the right, instead of to the next row but I need to know what key is being pressed before I can do that. Thanks -Adam Ive the same problem. Its ridiculous that such improved control cant do that simple thing. Ive tried a lot of ways such Overriden ProcessCMDKeys and nothing. Also ive been searching for help in a lot of ...Show All
Visual Studio Toolbox Images no longer showing up transparent
For some reason the code that we used to use from 2003 for adding toolbox items with transparent images no longer works in 2005. We are using the latest release of 2005 with the latest SDK. Here is our code: Bitmap bmp = new Bitmap ( typeof ( MyClassName ), "Resources.mybitmap" ); uint clrTransparent = ( uint ) Color .Fuchsia.ToArgb(); // Declare toolbox item structure TBXITEMINFO [] tbxInfo; tbxInfo = new TBXITEMINFO [1]; tbxInfo[0].bstrText = "mytoolboxitem"; tbxInfo[0].hBmp = bmp.GetHbitmap(); tbxInfo[0].clrTransparent = clrTransparent ; int result = svc.AddItem(dataObject, tbxInfo, BlackberryConstants .TabName); Th ...Show All
Visual C# Using a Timer
Hello, Here's my problem, i'll write it in text code: now time = 18.00 turn on alarm = 20:00 start_program(); check_time() if (now time = time to turn on alarm) --> turn on alarm else if(now time = 30min to turn on alarm) --> make a sound else if(now time = 15min to turn on alarm) --> make a sound else if(now time = 5 min to turn on alarm) --> make a sound So I kind of want a timer that know what time it is, so when its 30 min left until the alarm shall be switch on, it'll make a sound. Is this possible ANd one other thing, how can I say that a timer shall count down from 30 to 0, and when it reaches ...Show All
Visual Basic I get a blank row returned into my data table in SQL
Hi, I'm inserting data via a Wizard Control into my Table. It inserts a row but does not insert the data into the row. The row does generate the auto ID number in the ID column which is my Primary Key. Here is my code: Protected Sub Wizard1_FinishButtonClick( ByVal sender As Object , ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.FinishButtonClick Dim customersDataTable As SqlDataSource = SqlDataSource1 Dim customersRow As SqlDataSource = SqlDataSource1 ' Insert code here to add data to the row. Pais.Text = ( "Pais" ) Ciudad.Text = ( "Ciudad" ) NombreEmp.Text = ...Show All
Windows Forms ComboBox - Add a string to display and associated data
Hello, How can i add some item (kind of <DisplayMember ,ValueMember >) in a combobox when the combo is not bind with a DataSet I try to create an 'Item' class inherit from object. but i don't know how to display the string member in the combo. Thanks and Regards. Just set DisplayMember and ValueMember to the names of the properties you want to use. Like this: class MyListItem { private string _myDisplayMember; private int _myValueMember; public MyListItem(string displayMember, int ...Show All
Visual Studio Team System Help with FxCopCmd Loading an Assembly Dir
Hopefully this is a stupid question (as in, there's an easy answer.) Background: Using FxCop v1.32 My project file indicates to only check against 1 rule. It also indicates to ignore 3 Interop dll's that exist in the assembly dir. I'm trying to run FxCopCmd with the following arguments... /p:C:\Build\MyProj.FxCop /f:C:\Build\Bin /d:C:\Build\ReferencedBin1 /d:C:\Build\ReferencedBin2 /summary /o:C:\Build\Log\MyProj.FxCop.xml And after it successfully loads some of the .dll files I rec ...Show All
Visual Studio 2008 (Pre-release) What "out of band" means?
Sorry for my ignorance, but what do they mean by "out of band" certificates I am trying to figure out what is the serviceCredentials/clientCertificate is for as whether i put it in my config file or not (<clientCertificate trustedStoreLocation="LocalMachine" revocationMode="Online" />) i can successfully call the service either way. I have this setup: <security mode="Message"> <message clientCredentialType="Certificate" negotiateServiceCredential="false" /> </security> thx -Jonathan in typical distributed ...Show All
Windows Forms Has anyone got this working via mobile phone?
Hi, I have this application working fine in a test environment and also have the basics working on a .NET hosted web site. I can connect to the webservices with my iPaq PDA, but only when it is connected to the internet via my PC (ie. via ActiveSync). If I try to run the PDA FotoVision application on my PDA with an internet connection p ...Show All
