lmueller's Q&A profile
Windows Forms COM Interopt - is it all STA or single threaded?
Question - I'm using the "AxWebBrowser" component and it's requiring that I create the instance using the STA model in my Main() method for my hosting WinForm. Are all Interopt compoenets STA And if not is there a way that I can e ...Show All
Visual Studio 2008 (Pre-release) Is it possible
hi is it possible to open windows media player by using c# programatically Means when i click on a button i would like to open windows media player how can do this Thanx-Nagu Using C#, you can do that with the class Process and the static method Start: Process.Start("wmplayer.exe", "Location of your file"); Bye ...Show All
Visual Studio Can't display Crystal Report when I use a toolbar
When i use a Crystal toolbar in a Web site, a report his not displayed. I have this problem when I use this login script : << Dim crtableLogoninfos As New TableLogOnInfos() Dim crtableLogoninfo As New TableLogOnInfo() Dim crConnectionInfo As New ConnectionInfo() Dim CrTables As Tables Dim CrTable As Table Dim crReportDocument As New ReportDocument() crReportDocument.Load(NomRapport) With crConnectionInfo ...Show All
SQL Server Cannot create new SQL database file.
Hello, I'm using MS Visual C# 2005 Express, but I can't create a new local database file in the "Add -> New Item" dialog. The Studio doesn't create the database, but shows a file not found message. Any ideas Can you connect to SQL Server Express and create the database manually If yes, then the issue is within Visual C# and you should post this issue on a Visual C# Express forum. If you encou ...Show All
SQL Server SSIS Flat file connection manager not seeing carriage return-line feed
I have a csv file as follows: "100,002.01","200,00.01",10.98,aaaaaaa,bbbbbbbbbb "100,002.01","200,00.01",10.98,aaaaaaa,bbbbbbbbbb "100,002.01","200,00.01","1,000.98",aaaaaaa,bbbbbbbbbb Note that the third column in the third line is also qualified by quotes whereas the previous two are not. I think this is because of Excel formatting. Is there any way to import this file correctly My main problem is that I never know whether a  ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Windows Tooltips kill FPS in my Windowed 3D application?
Hi all. For a while now, I've noticed on my machine (and others) that when some WINDOWED 3D applications/games are running on Windows (XP/2000 etc), the framerate can drop from 80+ FPS to 5-10FPS if a standard Windows "tooltip" happens to over-lap the 3D window I hope that made sense! The reason it is an issue is because my application runs in a Maximized (not Fullscreen) window directly ontop of the windows desktop (ef ...Show All
Visual Studio Team System 503 Service Unavailable
Guys, I'm having some problems with our TFS install. It was working fine until a couple of days ago when the SQL DB started getting transaction log is full errors on workitemtracking db. Most things were still working but yesterday when I tried creating a new Team Project I got the same error and it also said TFS could not rollback. So the project did get created since I checked in the DB tables. Well the problem was found to be that SQL serv ...Show All
SQL Server Tell to split on change of ID
how can I tell the conditional component to split the records based on change of hdr_HeaderID http://www.webfound.net/split_on_headerid.jpg let me know if you need more info... You can't. The conditional split works row-by-row. You would need to use a script component to do that. -Jamie ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DXUT with Windows Forms menus.
After spending ages understand and getting what I wanted done in DXUT I am at the stage where I need a GUI. The best solution for me would be simply one that lets me use windows forms but if forced to i didn't really mind doing a GUI in DirectX as well, however how can i do things like bring up a standard OpenFileDialog easily Using a custom DirectX control also seems viable with the exception that none of the ones I have seen enable the ...Show All
Windows Forms Running a function in one mdichild from another...
I've seen other posts like this one, but the code samples were all in C# or the answers were unclear. I have two child forms - if a record is added or deleted in one, the other reflects the change. Ex. One is a schedule, an ...Show All
Visual C# Conversion from VS2003 to VS2005
Hey guys, I have just received the VS2005 Beta 2 disk collection. Since I didn't have Server 2003, I just installed the .NET IDE and also the Server 2005 Developer. I am trying to migrate several small solutions from my vs2003 enviornment. The VS2005 application recognizes this and starts the conversion wizard. In its' statement it ask that I make sure that the correct 'Source Control plug in' is active What is the name of t ...Show All
SQL Server Errors loading a text file into a Sql Server Destination
I am trying to load 14+ million rows from a text file into local Sql Server. I tried using Sql Server destination because it seemed to be faster, but after about 5 million rows it would always fail. See various errors below which I received while trying different variations of FirstRow/LastRow, Timeout, Table lock etc. After spending two days trying to get it to work, I switched to OLE DB Destination and it worked fine. I would like to get the S ...Show All
SQL Server How to debug a script component task???
Hi all of you, How to debug a script component task made in .Net I've got a Inmediate Window, Start Without Debugging, Toggle Breakpoint, etc but nothing works. When I press Start nothing happens. I suppose that anything very very of paramount importance I'm forgetting but I haven't any clue TIA You cannot debug the stock script component, only the task allows this. For custom components you wrote from scratch you attach the debug ...Show All
Visual C# how to link c# without IDE
i can link c# programme with IDE,but without IDE,how can i link it. for example: in java can use builde.xml, but in c# how can i do Use csc.exe, this is the c-sharp compiler: csc / The above command will display help on how to use csc Regards, -chris ...Show All
SQL Server Broker:Corrupted message
Hello, Has anyone seen this in profiler I have two brokers on different servers with one of them being the initiator. All messages end up sitting in the initiator's transmission queue. Profiler on the target broker's machine displays this for every attempt to send by the initiator: A corrupt message has been received. The End of Conversation and Error flags may not be set in the first sequenced message. This occorred in the message with Co ...Show All
