ggo6's Q&A profile
Software Development for Windows Vista HTMLHelp context popups
Sorry if this is slightly off-topic, but it is 'Vista UI Development' related. On versions of Windows prior to Vista, HTMLHelp's context popup windows have a 'translucent' drop shadow, albeit that it's achieved by a dot screen. Under Vista (RC1) the drop shadow appears to be opaque and black! To my eyes this is ugly, and out of keeping with Vista's emphasis on translucency, particularly Aero Glass. Are there any flags or settings that can improve the appearance of HTMLHelp popups Failing that might the appearance improve in a future version HTMLHelp is supposed to be the preferred Vista-compatible solution for context help. Richard. That's why I've decided to stay with Winhelp for the forseeable fu ...Show All
Visual FoxPro How to let user choose a data path?
I wish to let the user choose a folder to dump data. How can I achieve that To be user friendly, I whish to give them an interface like putfile() or getfile() screen. Not a text box to manualy enter the path. Thanks. Great! Thank you, CetinBasoz. cmyDir= GETDIR ("c:\data\","Select a folder","test",64) ...Show All
Windows Forms DataGridView Summary row ?
Hi I know that somehow DataGridview in Winforms doesn't have the readymade ability to display a "sum" row at the end of a bound datagridview. But I am quite sure that this is a common requirement for mathematical or statistical solutions, so does anyone has any idea on how to do this. thanks. Thanks Valentine, Your solution is ok if I have a small datagridviw with few columns. In this cae, we have a datagridview with 15 columns (so obviously we have a horizontal scroll bar to view all these columns). So need the sum or average at the end of each column. Using textboxes and labels is out of question due to horizontal scrolling. Thanks. ...Show All
Visual Studio 2008 (Pre-release) Samples for January Orcas
Got the January Orcas (VSDec2006CTP) image installed - Yeah Greenbits! But I can't seem to find any Entity framework samples. Am I supposed to download the latest ADO.NET samples from October http://www.microsoft.com/downloads/details.aspx familyid=c14c451d-7043-44f0-87d7-845f1c238d64&displaylang=en Hi again, Have you downloaded the VPC image or the installation (e.g. have you setup the Virtual PC yourself) Regards, Lars Wilhelmsen ...Show All
SQL Server Create Customer Ranking in Cube
Hey guys, is there a way i can create a Rank Member or measure in my cube based on sales for that customer, no matter what time heirarchy we are looking at. I have reporting requirements where they want to see all customers, ordered by Sales Amount. It could be at a year level, month level, or even a week/day level.. Im new to SSAS and MDX, i have looked at a few examples posted here, but cannot work out where i put the script in my cube. Is it a measure or do i do it as a calculated column in the DSV. Any help is much appreciated. Thanks Scotty Thanks Mosha.. this worked great.. If i may ask for one more piece of advise, when i do this,, all the customers that have 0 sales are still shown with the lowest rank ...Show All
.NET Development Sending Message to a known IP
I am asking how to send message to a known IP. This question has been answered a number of times before in this forum. A quick search for socket code examples, will provide you a number of links to full samples http://msdn2.microsoft.com/en-us/library/w89fhyex.aspx ...Show All
Visual C++ _CrtIsValidHeapPointer fails on globally created object within a static llibrary
Hello, I have a very simple class in a static library which instantiates a global object of it. Following is a piece of the header. class MyBoard { public : MyBoard(std::string net_id); ~MyBoard(){} std::string NetworkId(); void NetworkId(std::string net_id); private : std::string NetId; }; Then on the CPP file I have the following: MyBoard::MyBoard(std::string net_id) : NetId(net_id) { } std::string MyBoard::NetworkId() { return NetId; } void MyBoard::NetworkId(std::string net_id) { NetId = net_id; } MyBoard GlobalMyBoard( "123" ); } When I create a winform application an create one of this objects, I will get an assertion done by : ...Show All
Software Development for Windows Vista Return value from Code Activity
Is it possible to return a value from a Code activity Also, to pass a value in Thanks. Tom, What I was trying to do was just create a simple example for someone where I didn't have to call into a local service or a custom activity. Actually though, it would be pretty simple to create a custom activity what that small amount of functionality. I just wondered if it were possible to modify the generic Code activity. Thanks! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multiple DirectX reference versions and adding them to your projects
I'm relatively new to C# and programming in general and have started to work on using DirectX in my applications. When it comes to adding the DirectX references to my projects, I see numerous multiple versions and am unsure whether or not such a multitude of versions should exist on my system. In the .NET tab of the Add Reference dialog, I see two Microsoft.DircectX libraries, one at version 1.0.2902.0 and one at 2.0.0.0. More surprising to me is that there appear to be 10 versions of Microsoft.DirectX.Direct3DX beginning with version 1.0.2902.0 and increasing in numbering to 1.0.2911.0. There are single versions of DirectDraw , DirectSound , DirectPlay and DirectInput and they are at version 1.0.2902.0. Is this normal I have the ...Show All
SQL Server Reporting Services Message While Cube Is Being Processed
Hi, I have 2 quick questions, If you have reports that are runnign of a cube 1. While the cube is being processed what message/error is displayed to the user if they try and view a report. 2. Is it possible to customise this message that is displayed and if so how. Any help would be greatly appreciated. Thanks, Martin ...Show All
Visual Basic .NET printing Problem
Hello, First I'm not sure where on this TechNet site I can get help for .NET questions not regarding SQL so if you can point me somewhere else I should be instead that'd be great. But in the meantime I'm having a problem printing (i'm really sending it a string) to a shared network printer. I have written the following code: Dim idFile As Integer = FileSystem.FreeFile FileSystem.FileOpen(idFile, "\.0.0.1\ZebraLP2844" , OpenMode.Append, OpenAccess.Write, OpenShare.Shared) 'instance.OpenTextFieldParser("\.0.0.1\ZebraLP2844", True) strTemp = "N" & vbCrLf 'Clear Buffer strTemp = strTemp & "q816" & vbCrLf 'Label Width in dots (4 inches ) strTemp = strTemp & ...Show All
Visual FoxPro Grid header backcolor not changing
I searched here, and found nothing... if it was a bug, I'm sure someone else would have found it by now... Migrating from fox 7 to fox 9, ran into this problem. This code... with thisform.grid1 for i = 1 to .columnCount .columns(i).header1.backColor = nHColor if i >= 2 .columns(i).width = nWidth endif endfor endwith no longer works... I even tried a sample form where I used the properties to set the backcolor and forecolor of the column.header... this had no effect... Am I missing something Or is this an undocumented feature Is there a way to set the back/forecolor properties and have them applied without losing the XP look controls No. You can choose one or the other. Having ...Show All
Visual C++ Outlining is confused
I have had cases where outlining seems to be confused with just where I am in the source code. That is, if I right-click to get the context menu and choose the outlining flyout, the flyout will show me: Collapse block: if( xxx ) but I am not in the if( xxx ) statement. In fact, I have had cases where I am not even in the function that contains an "if( xxx )" statement! I have gone ahead and selected the collapse block command just to see what happened. It did not collapse the block I was in (I had such a block in another function in the same source file but it did not collapse either). Strangely enough, as I started scrolling through the code of the function I was in, I did see that all of the comments were collapsed. Howev ...Show All
SQL Server Need some help with DTexec execution
Hi! When i excute in the sql server this works fine xp_cmdshell 'dtexec /f "D:\SSISProject\Integration Services Project1\ArchiveTicket.dtsx "' but when i excute throught the C# code jobCommand = new SqlCommand(@"xp_cmdshell 'dtexec /f "D:\SSISProject\Integration Services Project1\ArchiveTicket.dtsx"'", cconn); It shows up red lines near the " and ' qoutes. I know that quotation marks are wrong but don't know how to solve it. some help please Thanks jas one more guidance needed with regard to the Quotation marks path = @"D:\SSISProject\Integration Services Project1\ArchiveTicket.dtsx"; jobCommand = new SqlCommand(@& ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MDX 2 Time Bomb
Almost all MDX2 Ctors are calling the bombing code below: public static unsafe void CheckTimeBomb () { DateTime time1 = new DateTime ( 0x7d6 , 10 , 5 ); if ( DateTime . Compare ( DateTime . Today , time1 ) >= 0 ) { MessageBoxW ( null , & _C@_1PI@LKOFODJP@ $AAT $AAh $AAi $AAs $AA 5 $AAp $AAr $AAe $AA 9 $AAr $AAe $AAl $AAe $AAa $AAs $AAe $AA 5 $AAv $AAe $AAr $AAs $AAi $AAo $AAn $AA 5 $AAo $AAf $AA 5 $AAD $AAi $AAr $AAe@ , & _C@_1DE@JJLLKEIK@ $AAM $AAi $AAc $AAr $AAo $AAs $AAo $AAf $AAt $AA 5 $AAM $AAa $AAn $AAa $AAg $AAe $AAd $AA 5 $AAD $AAi $AAr $AAe $AAc $AAt $AAX $AA $AA@ , 0x2000 ); throw new TimeBombException ( "This pre-release version of DirectX has expired, please upgrade to the latest version f ...Show All
