JoeWood's Q&A profile
Visual Studio Express Editions Check current focus
Is there a way to check the current focus of an application ie which controls.. Thanks Regards Alu Applicationwise, you could do a check for active control: Control activeControl = Form .ActiveForm.ActiveControl; To do this for a single form only, try: Control activeControl = this .ActiveControl; Andrej ...Show All
Software Development for Windows Vista Windows SDK vs Vista SDK
i'm having problems getting the Vista SDK to install on RC2 ... but at a higher level, what are the differences between the Vista SDK and the Windows SDK if i get Vista SDK to install on a Vista machine, then would i have any need to install the Windows SDK Thanks, casey nevermind, i now see that they are the same. earlier i was seeing Windows SDK as the public facing bits, and Vista SDK was the name of it on the connect site ... so i had assumed they were different. Thanks ...Show All
Windows Forms Windows 98/.Net Framework Problem
Hi, I have a ClickOnce, VB Express application that is working fine on many clients, except for a client who is stuck in the world of Windows 98. I have uninstalled, rebooted and re-installed .Net Framework 2 several times. The reboots seem clean, but when I attempt to Run the application, the file is downloaded and then Windows asks if I want to Run or Save the file. In either case, Windows attempts to open the file, Prize%20Money[1], but of course there is no application associated for this file. I assume that there is a problem with either Windows 98 or .Net Framework 2, but I don't have clue where to begin. Although, I'd like to tell the client to upgrade his old iron and get Windows XP this is not an option. Thanks for your sugg ...Show All
Visual Basic Limits on Memory Use?
Hi all, I was testing the VB2005 Express and decided to create a large array in the IDE. My 32bit XP Pro machine has 3.5GB available and I thought I'd check to see how much I could use with VB. I understand that there is a 2GB process limit, but I thought I just check that out. My code: Class Form1 Private Sub CreateArrayToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CreateDataTableToolStripMenuItem.Click Dim bigarray(1000000, 250) As Single End Sub Private Sub ExitToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click End End Sub Private Sub Form1_L ...Show All
Visual Studio Tools for Office WebView no longer works in OL2007 in a separate PST?
Hello All, Our addin displays data in the WebView for some folders. This worked great in OL2003, but now in OL2007, it doesn't display the HTML page anymore. When I manually went to set the webview page in the right click properties, it no longer displays. How can I get custom webviews for folders that are not under the default store (it appears that folders under the default store can still have custom webviews but not folders under separate PST's). Cheers, ~Joe Hi, You may want to post this to a Outlook Forum to get a quicker response. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US Thanks. ...Show All
Visual Studio Integration?
Is there a forum just about VSS I am new to it and some pretty basic things have me stumped. For example, I have created a VSS database on U: and a working directory on C:. Yet every time I go to get a file for whatever purpose, I have to browse. It's time consuming and seems unneccessary, and there is no documentation to suggest the logic to be used when browsing. If I have a VSS database, I assume I should get files for my project from that location. Then when I 'Check Out' files . . . browse again . . . isn't it logical that I want to check them out from the same place I added them And why wouldn't I logically want to copy them to my working directory so that the web site I have set up can run them I think perhaps the software has man ...Show All
SQL Server Database restore speed
This problem isn't specific to SQL Server, but because of the size of the files I deal with with SQL Server, it is the place I notice it more often, and hopefully one of you has, too. If I am restoring a database (or simply copying a huge file) that takes more than a couple of minutes, I find, by watching the network bandwidth, that after a couple of minutes, the data rate cuts on half and stays that way for the rest of the restore (or copy). If I have a Gb/s connection, maybe I start at 240Mb/s and then drop off to 120MB/s. If I have a 100Mb/s connection, maybe I start at 70Mb/s and drop to 30-40MB/s. It is fairly consistant in how long before the drop and in the magnatude of the drop (approximately 50%). The network staff have no c ...Show All
Software Development for Windows Vista in the StateMachine use BaseWorkflow
I use a empty StatemachineWorkflow as the baseworkflow . and the xoml-only to design the really workflow,and I want to know how can i invoke the function in the service running at the workflowruntime. ( Actually I have two problems can't resolve 1 when a define a state and in it ,I use the hee to catch the event ,and also I change the HEE's Invoke Property manually ,and there 's no error.but the invoke method what I defined in the baseworkflow always can't be invoke at debug .I want to know how can it work; 2 at the end of the HEE run ,I use the CallExternalMethod activity ,and how i can invoke the service 's method to call and with the paramers I'd recommend you start with a state machi ...Show All
Windows Forms Merging in DatagridView
I want to merge column header and column cells using DataGridView. Can somebody help me on the same. Thanks in advance. Manu Is any sample code available for the above told solution. Also is merging of Header Cells possible in DataGridView. thanks! Manu ...Show All
SQL Server Date Context
How can I get two measures in the same query with different date contexts For example, lets say I have two measures, Payment, Taxes and Amount. This query would get me total amount for both measures for 2006. SELECT {Measures.Payment, Measures.Amount, Measures.Taxes} ON COLUMNS, {Company.Name} ON ROWS FROM MyCube WHERE Date.Year.2006 How can I get the total Payment for 2006, 2007, and 2008 while leaving the generic query date context which is 2006 Thanks in advance. Thanks for your reply. The problem is more like this: SELECT {Measures.Payment, Measures.Amount, Measures.Taxes} ON COLUMNS, {Company.Name} ON ROWS FROM MyCube WHERE Date.Month.[Feb 2006] How to get the Payment for the whole ...Show All
Visual C++ XML -> HTML ActiveX component
I'm new to C++ and I'm looking to create an ActiveX component for a web page which retrieves an XML file from my webserver and converts it to HTML. I'm currently using an XSL file, but my (javascript) source code contains information i need to keep hidden from the end user. Sometimes my XML file can take around 5 seconds to retrieve, too - so I need to display a Loading... icon whilst the results are retrieved. Can someone point me in the right direction A book on ActiveX for Visual C++ 2005 or something would be useful, or example source code would be great. Thanks in advance Andy For such issues, the win32 dev newsgroups at http://msdn.microsoft.com/newsgroups is the proper location. OTP Thanks, Ayman Shoukry ...Show All
SQL Server Loading package error
I have got myself into a pickle attempting to solve an original issue. I was having problems running my package as a Job under SQL agent, I followed instructions under http://support.microsoft.com/kb/918760 and used method 3, and added a password to my packages, as the server option didn't work because I'm not saving my packages to server. This didn't help me to get the packages running as a job by the way. More importantly when I opened my package this morning I got this error for 4 of my 6 packages Error 2 Error loading 2landing.dtsx: Failed to load XML due to error 0xC00CE556 "Invalid at the top level of the document. Line 1572, Column 1". This happens when loading a package and the file cannot be opened or loaded co ...Show All
.NET Development Performance Issue when serializing large ADO RecordSets in ASP.NET
Hi, We are serializing an ADO recordset whose size is about 8 MB. The query to retrieve the ADO recordset take 2 seconds. But the act of serializing the recordset into XML is taking 130 seconds. Below is the code we are using. We would like to know if there is a better way to convert an ADO recordset to a serializable string. private string RsToString(ADODB. Recordset rsIN) { if (rsIN != null ) { Stream streamObj = new Stream (); rsIN.Save(streamObj, PersistFormat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Asteroids game in the Channel 9 XNA launch video
Any idea if this is going to be released to the community It looks like it would be a blast to play. I'd ask about the font support that was shown too, but I'm guessing that'll come in the first patch. George Clingerman wrote: I was kidding of course. They didn't have any swag at all the release party and I didn't win any of the prizes they gave away in the door prize drawings. If you hadn't sold your 360 you probably would have won something. Karma strikes! ...Show All
SQL Server T-Log Backups fail from 7am to Noon
This is a weird one. I have my server backing up the tlogs every 15 minutes 24 hours a day. Every day between 7 am and 12 noon they fail. I can't figure out why. Nothing that I know about happens between 6:45 and 7am that would cause an error. At 7am I get error 8309 in the App Event log. BACKUP LOG WITH TRUNCATE_ONLY or WITH NO_LOG is deprecated. The simple recovery model should be used to automatically truncate the transaction log. I don't get this at any other point in the day. After that I get a messages that the backup plan fails until noon. At noon the full backup runs, and then the TLog backups start running again. In the SQL log I get this.. Executing the query "BACKUP LOG [libData] TO DISK = N'E:\\sqlBackups\\tlog ...Show All
