Brad Stein's Q&A profile
Visual Studio Express Editions how to make like .mspx web document?
i se microsoft.com have .mspx web document please how to make need install what software on my web server i use asp.net 2.0,please can make it please tell me. I think you would be better served asking your question in the ASP.NET forums, unless you would like to rephrase your question as it relates to VB Express: http://forums.asp.net/ ...Show All
Visual FoxPro Remote View SQL 2005 REQUERY Puzzle
Hi, I have an interesting puzzle. I'm using Remote Views in VFP9 for the MS SQL Server database access. I'm trying not to store the connection string within DBC with remote views. When I'm opening remote views I'm supplying a nStatementHandle ("USE a!b CONNSTRING nStatementHandle") from the established shared SQLSTRING connection. Everything works OK till I'm doing REQUERY() for some parameterized views. Program gives me and error: "Base table fields has been changed and no longer match view fields. View field properties cannot be set". But I didn't not change my basic table! Trying to solve this ...Show All
.NET Development Logon, unlock detection
I'm writing a tray icon program that needs to display a message when the user logs on or unlocks the task manager. I've been looking for something that might help me in the .NET API. Does anybody have any ideas or hints I could use. Thanks. JR Hi JR Have a look at the ISensLogon Interface. (http://msdn.microsoft.com/library/default.asp url=/library/en-us/syncmgr/syncmgr/isenslogon.asp ) A managed wrapper can be found at http://adam.hughes.cc/blog/2005/03/21/senswrapper-in-csharp/ Let me know this helps. Michael ...Show All
Visual Studio Express Editions Reports in Visual C# Express Edition
How to do reports in Visual c# 2005 express edition That depends on what you want to do. You can connect to a database, run a stored proc and put your data in a datagrid. If you want graphics, there are third parties libraries, both free and commercial. ...Show All
Visual C++ Unmanaged C++ code in VS 2005 changes?
Hi all - Our company has an application that is written in unmanaged C++ code that was built using Visual Studio 2003. The app must remain using unmanaged code for now. Are there any advantages for us to switch to Visual Studio 2005 for unmanaged C++ Disadvantages Any new features that 2005 can do for us Remember, all we care about it unmanaged C++. Thanks, Ethan Yes, there benefits which include but not llimited to: 1) VC2005 is more conformant to the C++ Standards. 2) Newer compiler optimizations, such as Profile guided optimization (PGO) is enabled for unmanaged C++ only in VC2005. 3 ...Show All
Visual Studio 2008 (Pre-release) Binding a WrapPanel's ItemWidth to a Grid's Column width ...
I'm trying to use a WrapPanel as the ItemsHost for a ListBox. This works fine, but I'd like to bind the width of the WrapPanel's items (ItemWidth) to the width of a column in a Grid that contains the WrapPanel. I'm not sure if this is possible, or if I've gotten the data binding syntax incorrect. It's not working for me. Can anyone help Here's the XAML: < ControlTemplate x:Key = " ListBoxControlTemplate " TargetType = " {x:Type ListBox} " > < Border CornerRadius = " 2 " BorderBrush = " Gray " BorderThickness = " 1 " > < Grid > < Grid.ColumnDefinitio ...Show All
SQL Server Overriding repeating totals from non-referenced slicer dimension
I've run across what appears to be a change in the default behavior of Analysis Services from 2000 to 2005. My question is how to get the default behavior to revert to the AS 2000 method. If you have a cube with multiple measure groups or multiple linked cubes, queries that try to slice a measure using a dimension that is not related to the measure result in the total amount for any other slicers being repeated across the "invalid" slicer. For example, the following query slices the reseller amount by calendar year and employee department. The results are as expected. Only the Sales department has any totals for the measure a ...Show All
Visual FoxPro How to create a "GIF" file?
I have a table with less than 256 records, each one describing a color (R G B values). I also have a 2 dimension array in wich each element has the color number (from my table) for each pixel of a picture. With my table and array, how could I generate/create a "GIF" file Thank you for any help. I don't know. I don't even know much about images. Since nobody answered this yet here are my thoughts about it. GIF is a complex format and you might need extra licensing to use LZW that GIF uses. If you want to create your own GIF then these might help: http://www.fileformat.info/format/gif/egff.ht ...Show All
Visual Basic Losing Columns from DataGrid
I may have found a bug with the DataGrid. Everytime I go import an image to a button. I lose the columns in my datagrid. I also will lose them sometimes when I go and recompile and start debugging. It is starting to be a pain to have to add and readd the columns. So, for know I left them out till the end. Is anyone else having this problem As Paul suggested, can you write up the steps that it takes, from starting with an empty project, to REPRODUCE the behavior that you are seeing If so, then you can post those steps on the Product Feedback page he referenced, and ...Show All
Windows Forms Multiple monitors and the main screen
I am using a dual monitor setup and when the whole application is on one screen or the other, I can see it. However, when the application screen spans both monitors it's all black. Does this game not "play" well with other monitors Thanks. Also, if you look at the userconfig.xml found in My Documents\Terrarium, you notice a&nb ...Show All
Visual Basic RichTextBox Caret
How would I go about changing the actual shape of the RichTextBox caret I have tried using the CreateCaret and ShowCaret API calls, but they only seem to work with normal text boxes. Is there any way to modify them so they work with RichTextBoxes I got the caret to change by calling CreateCaret/ShowCaret but it immediately returns to a regular caret once you click or type in the control. Looks to me like the RichTextBox control recreates the caret itself. Try handling all keyboard and mouse events and recreate the caret Declare Function CreateCaret Lib "user32.dll" (ByVal hwnd As I ...Show All
SQL Server From Excel to Analysis Services
Have any of you heard of an application that makes it possible for normal business people with no IT knowledge to directly from Excel “publish” a table to SQL Server and Analysis Services I’m searching for an Excel add-in that sends the data in a normal Excel table with a few dimensions and some measures, as a data set (preferably via a web service over https) to a server application. The server creates a table in a specific SQL Server database, and automatically creates a cube in a specific analysis service database. The cube on the server is automatically processed and the data is available to all users in the company using the ...Show All
Smart Device Development Emulation Speed
How much slower do you expect the emulator to be than the actual device I have 3.4 GHz P4 and an older Dell Axim and the emulator is still several times slower. Is there a "turbo" button or setting for the emulator to make sure it is using the desktop to its full potential Thanks, Juan Foegen We're busy working on improving the emulator's speed. It has alot of work to do, emulating the full ARM instruction set, MMU, page protections, alignment faults, etc. There is a Community Tech Preview for the V2 DeviceEmulator, available at http://www.microsoft.com/downloads/details.aspx FamilyId= ...Show All
Windows Forms Hide a window of an external application
I want my WinForm to be able to hide an external window of another application using the Title of the window to identify it. For example, how do I hide the window of Internet Explorer through my WinForm ... Not close but hide it! Solutions are welcome :-) Thanks. No, I'm not sure of anything. I didn't know how to do what I showed ...Show All
SQL Server SQL syntax to sum fields from two SQL statements
I have two SQL statements that return sum(pcs) and sum(amt) from two differnt conditions. How do I get a total sum of pcs and amt from these two SQL went I union them SQL1: return columns value, SUM(pcs), SUM(amt) where amt is value*pcs $2 , 4pcs, $8 $5, 5pcs, $25 SQL2: return similar columns value, SUM(pcs), SUM(amt) FROM another condition giving: $2, 3pcs, $6 $5, 1pc, $5 If I use (SQL1 union SQL 2), I get $2 , 4pcs, $8 $2, 3pcs, $6 $5, 5pcs, $25 $5, 1pc, $5 I want to get the final result as: $2, 7pcs, $14 $5, 6pcs, $30 How to write the SQL statement to get the result OR it is not possible at all Vincent ...Show All
