QWERTYtech's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. XNA Podcast
XBL Radio.com has put out their roundtable on XNA with myself and a couple of developers. Check it out here . ...Show All
Audio and Video Development Creating an Avi with C++
I'm using the new Visual C++ Express and want to create a simple Avi file from a series of existing images. I found some sample source code including functions such as CreateAvi(), but do not know which libraries are needed to compile and link. Will I need to download an SDK Which one Thanks for the help. To write an AVI file, you'll need DirectShow. If you're running the Windows Vista Beta2 and want to use the Beta 2 Windows SDK, you can get it here: http://www.microsoft.com/downloads/details.aspx familyid=13F8E273-F5EA-4B7B-B022-97755838DB94&displaylang=en If you're looking for the Platform SDK for earlier versions of the OS (like XP), get it here: http://www.microsoft.com/downloads/details. ...Show All
Visual Studio Express Editions Toggle readonly property with button
I used the following code to change the textboxes in my form from read to read only etc with a button. (Thanks Spotty) Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click For Each c As Control In Me.Controls If TypeOf (c) Is TextBox Then Dim currentcontrol As TextBox currentcontrol = c currentcontrol.ReadOnly = Not currentcontrol.ReadOnly '//Toggle readonly '//Change Formatting If currentcontrol.ReadOnly Then currentcontrol.BorderStyle = BorderStyle.None Else currentcontrol.BorderStyle = BorderStyle.FixedSingle End If End If Next End Sub I would now like to do something simi ...Show All
Visual FoxPro MSCHART 2nd Y AXIS
I have read all the suggestions from my previous question but I still can't find out how to get data into a second Y axis. Entering data to any column always uses the primary Y axis. Would appreciate any suggestions. Mervyn-W ...Show All
SQL Server What is the Flight Recorder?
Hello, I ran into an issue with all these logs made by default. Disk space crunch leading to performance degradation. OK, I moved the log dir outside the default app volume (Script/restart) onto a 100GB drive I use for the SQL transactions logs, but. Analysis Services accumulated 20GB of logs in 2-3 days, did not clean-up the old stuff and led to disk space alerts and applications performance issues. All this with out of the box settings. The server has in the 30 to 60 connections alive around the clock with each of these connections performing queries every 2-3 seconds or so. I also use the query log function for optimisation purposes but for that one I log to table on a specific drive. I run Analysis services 64 bits ...Show All
Visual Studio Tools for Office VSTO add in for Outlook
Hi there, From your professional experience is it possible to create Add-in using Visual Studio Tools for Office which will automate following manual actions: attachment of the excel file with the unique name (eg excel file starting with MLC word) and sending it to multiple number of email address that have unique company field (eg MLC1, MLC2,) While sending an excel file to a bulk email is pretty straightforward I have encountered a lot of difficulties in finding the code solution for MOutlook add. It is all about mapping the right excel file with the coresponding recipient, but not one article could be found on this topic. Both lists are stored at SharePoint and one idea is to use VSTO to someh ...Show All
.NET Development RegisterActivatedClientType after first local instance
If an instance of a type is created locally via new, then that type is subsequently the target of a RegisterActivatedClientType, later new instances avoid the channel. What's going on here Is there some sort of caching taking place when the first instance is created that makes subsequent instances not check if the type is remoted Can I clear this cache or otherwise get this to work the way I want Thanks, Andy The problem here is not that the Types are cached but the Activators for the types are cached. An activator is an internal .NET construct that acts as the class factory for a Type. The GC doesn't ever clear caches. Since Remoting wasn't built as a general purpose interception mechanism that you ...Show All
SQL Server Cannot fetch a row from OLE DB provider "BULK" for linked server
I have an SSIS job that is pumping to a SQL Server Destination, hundreds of gigabytes of raw text files. Today I received this strange error - does anyone have insight Also, how would I make the data tasks more stable and robust so that this doesn't cause package failure (retries, or something ) [SQL Server Destination [4076]] Error: An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".". An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E14 Description: "The OLE DB provider ...Show All
SQL Server SQL reporting - An internal error occurred on the report server. See the error log for more details. (rsInternalError)
I have created an RDL file programatically. When I execute the code I get the error as mentioned below: Error: Sub report cannot be shown. An internal error occurred on the report server. See the error log for more details. (rsInternalError) When I copy and paste the code of RDL file into new RDL file and try to preview the output I get correct result. Note: The new RDL file does not give any error if the output is seen using preview tab but it gives the error only when executed from report viewer or from internet explorer. Any Suggestion/feedback is highly appreciated. Thank You. The code of the sample RDL is shown below: < xml version="1.0" encoding="utf-8" > <Report xmlns=" http://schemas.microsoft.co ...Show All
Windows Forms DataGridView Column Header Cell Style not working
The backcolor for row header and column header does not work. e.g. Grid.Column(0).HeaderCell.Style.BackColor=Color.Blue Grid.Rows(0).HeaderCell.Style.BackColor=Color.Blue Grid.TopLeftHeaderCell.Style.BackColor=Color.Blue You could always just remove the theming on the headers. Set EnableHeadersVisualStyles to false and the header coloring will be honored. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Windows Forms Want to change the font and color of context menu and confirmation dialog box
Want to change the font and color of context menu and confirmation dialog box. How can I do that Please help me Hi, To change the font and color of the context menu,all you have to do is to set the Font property of the ContextMenu or the ContextMenuItem. ...Show All
Visual Studio Team System Data compare - CTP7
Every time I do a data compare in CTP7, write the updates and then press refresh, Visual Studio crashed without a warning, I am just back on the desktop. I know it worked in CTP6. It this a bug or an error of my installation Thanks Hi Edv, Based on the limited information, it is hard to know what exactly is happening. If you may work with us, we may reach to the bottom of it. I would request traces of the run to know more about it. I am giving the steps to collect traces below. Please go to following location in the registry: [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\DBPro\Tracing] and change two setting to the following: TraceSwitch = 4 TraceToLogFile = 1 Please also no ...Show All
Windows Forms schema for xml-msprop?
Hi, I upgraded a VS 2003 project which had a typed dataset to VS2005. Since then I've been getting info warnings as follows: Could not find schema information for the attribute 'urn:schemas-microsoft-com:xml-msprop:typedName' Where can I find the schema for xml-msprop Thanks Donal Hi Matt, Thanks for the quick response. I am successfully codegen: attributes for annoting the dataset. I'm just wondering where the schema is for codegen. Cany find on on machine or anywhere Thanks Donal ...Show All
SQL Server How can I point to a precalculated variable in an MDX statement
I have an AS2005 cube that contains charge amount as a measure. I use the cube for forecasting and every day there is a constant ratio calculated (via a view) that I have to multiply the charge amount by. I am trying to make this constant show up as a measure in the cube so all I have to do with the reporting services mdx statement is multiply the constant times the charge amount. For example today I will need to multiply my charge amount times 2.5 to get to my forecasted charges. How can I get this 2.5 valued in my cube without it summing as I change my aggregates. I have tried using various aggregation functions like first, min, max and none seem to work. The goal would be to always have the value be 2.5 no matter how I am aggregating. T ...Show All
Windows Forms Installing Windows Service with my main project
Hi, I am making an installer for a Windows Forms project. There is another Windows Service that i also want to install along with my project. Please tell me how can i do that Regards, Wasif Ehsan. In Visual Studio setups you add an Installer class to your service, add the service to your setup in the Application folder, then add the Installer class custom actions at the Install, Uninstall, Rollback and Commit nodes of the custom action view. ...Show All
