Mr. Me's Q&A profile
SQL Server Data Reader Source cannot be configured
Hi, I am using a Ado Connection Manager to connect to a M S Access source. But when I use this connection Manager in Data Reader Source, I am Not able to Configure Data reader Source. It gives exception "Cannot Acquire Managed Connection From Run Time Connection Manager". Can anyone help on this. Thanks Dharmbir It works for me fine. There are a couple things to check 1) You used ".Net Provider for OleDb/Microsoft Jet 4.0 OLEDB Provider", correct 2) When you created your ADO.Net connection, did you set username/passwd correctly - did "Test Connection ...Show All
Visual Studio 2008 (Pre-release) Strategy for debugging XAML runtime errors?
I'm having trouble tracking down XAML runtime errors since the debugger just breaks on app.Run and the error message gives me no information about the location or context of the error. Is there something I can do about this The parser is throwing because its not able to convert Foo to a property. This is probably because you havent given enough information to resolve the proeprty. Some options a. Set the TargetType of your ControlTemplate to "{x:Type myClassNmamesapce:SomeControl}" . b. You can also say Content="{TemplateBinding myClassNamespace:SomeContro ...Show All
Visual Basic What happened to the VS2005 Datagrid Autoformat?
In VS2005 beta 2, what happened to the Datagrid AUtoFormat that was available in beta 1 Is it still available Maybe moved Hi, Unfortunately it was removed/cut for this version so we could ship the most important features on time. You can probably understand. I'll pass on that you were looking for this feature so we can track it for the next version. thanks, Paul Yuknewicz ...Show All
Visual C# Debug Compile Problem
Hello! I have a C# project, a Windows forms application. It compiles without any errors, but when I compile it in debug mode, it compiles the application as it was a few hours ago. If I compile without debug it works just as it is meant to do. This is very weird since debug mode worked yesterday. Any ideas on what this could be I don't know exactly, but I think your debug version somehow not overriden by new one. I had something alike in VS6 sometimes, it had a bug - if compile was too fast, then file dates was not changed correctly and rebuild won't work. ...Show All
.NET Development TcpClient tutorial
I know the basic of TcpClient. What I’m looking for is some more advanced tutorial on how to create a good server that can support multiple connection which are open and closed often (like IIS). How to handle each thread, fastest what to open/read/write data, ect… What I have is a web client (browser) using AJAX to get information. Maybe a 100 people will get information every 2-3 seconds and this information needs to be saved in a database. Instead of creating a web page and saving the info in the database, I decided to create a server (windows service) that will save this information in the ram. The server need to handle a lot of c ...Show All
Visual Studio Help still broken
Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use online help first, then pressing F1 takes up to a minute (looks like multiple redirections happening), then either displays the topic-not-found page or displays something only vaguely related to the select ...Show All
Visual Studio Team System Fail Team Project creation
After installing TFS Beta 3, everything seems ok. Can connect to it, manage it, etc. However I cannot create projects sucessfully. When I try to I get this (excerpt from log): Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Unable to connect to the Windows SharePoint Services at TEAMSYS1 Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services at TEAMSYS1. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to ...Show All
Windows Forms tableLayoutPanel bugs
i have an tableLayoutPanel on my form which CellBorderStyle property is set to "Inset". it takes seconds to render this panel. but if i set CellBorderStyle property to "None" it is many times faster. this must be a bug. Another bug that tableLayoutPanel has is sometimes you cannot drag and drop controls in it, you have to edit Cell property. But becareful while editing, cause you cannot edit this property like width and height, it raises a meaningless error like '1,17 is not a valid value for Int32. '. you must edit sub properties Row and Column separately to do this. How many rows/co ...Show All
Windows Forms Skipping Code When In Designer
I seem to remember some way to skip over a block of code for a control when it's just being viewed in the designer (as opposed to being rendered at runtime). Does this sound familiar to anyone else I can see why I'd forget something like that. :-) Thanks man. ...Show All
Visual Studio Partner question
I noticed the "Alliance Marketing" partner level includes "Visual Studio Team Developer Edition + MSDN Premier Subscription" Since I already have that exact level of MSDN subscription, what would be the additional cost of becoming an "alliance marketing" partner Robert The only relation is both are MS programs and both cost 3K. They are separate teams in separate divisions. The fact that the VSIP program includes MSDN is a decision by the VSIP marketing team and independent of any MSDN team decision. You'd have to ask the MSDN subscription team about cancellation and refunds. The VS SDK and VSIP teams ...Show All
Visual Studio academic distribution of a DSL
I have developed a DSL and would like to allow the academic community to test/extend it. Is this case subject of the same licensing rules of commercial VSIP packages Are there any restrictions in creating/distributing a installer for the DSL and/or making its source available, in such a case Thanks, -- AFurtado DSL Tools comes under the license agreement for the Visual Studio 2005 SDK, which can be found in Program Files\Visual Studio 2005 SDK\2006.06 (for the June CTP), after you've installed the SDK. I am unable to comment on this, as it may be construed as providing legal advice. However, if you contact me by my blog I may be ...Show All
Windows Forms Context Menu Question
Alright. I have a docking manager on my mainform (using Weifen Luo). The mainform calls a second form called xform (naming differently). xform is created onto the docking manager. the xform has a context menu. The context menu calls yform. Now yform I want to dock it automatically. See. The forms are generally added to the docking manager from the event like this: // click event to start up xform in the mainform private void viewevent_Click(Object sender, System.EventArgs e) { m_viewxform.Show(dockingManager1); } Now the m_viewxform is the object to the class (xform) that I w ...Show All
Visual C# Process
Does anyone have a code snippet that shows how to kill Process on Remote Pc (I have all permision) This can be done with getting the processes on the other machine with the GetProcessesByName method of the Process class. You need to specify the processname and machine name. Process[] foundProcesses = Process.GetProcessesByName( "MyProcessName", "MachineName" ); foreach ( Process foundProcess in foundProcesses ) { // Close process by sending a close message to its main window. foundProcess.CloseMainWindow(); // Free resources associated with process. foundProcess.Close(); } You can use Kill inste ...Show All
Windows Forms ClickOnce on Firefox
I thought this would be a simple thing to find out, but I've searched the web for over an hour and could find hardly anything. Does ClickOnce work with the Firefox browser I'm not a Firefox partisan, but I need to know if it is possible. I have created a ClickOnce application, and it is working fine with IE (localhost IIS based server). However Firefox gives me a "Cannot dowload the application. The application is missing required files..." error. In the details log file, the specific error is: 'Could not find a part of the path 'C:\Documents and Settings\ChrisD.ECSORL\Local Settings\TEMP\GamebryoLaunch_1_0_0_0\GamebryoLaunch.exe.manifest'. ...Show All
Windows Forms How to use MSDBGrid or ADODC objects in VB.NET???
Hi all. When I was programming in VB 6.0, I used the DBGrid and Data objects to work with database. I see, that in VB.NET there is a possibility to use a MSDBGrid (or AxMSDBGrid) COM component in the projects. But how can I bind the MSDBGrid to database It must be possible through a MSDBGrid.DataSource property, but what type of object can be assigned to it I was trying everything: DataSet, BindingSource, ADODC object... nothing works! So and as we are by ADODC object (ADO Data Control), what is the utilization of it I know, I can bind it to database via ADODC.ConnectionString and ADODC.RecordSource properties, but what next Can I display ...Show All
