Edward B.'s Q&A profile
Windows Forms .Net component for VS2005 UI
Does anyone know how to build a user interface that is like the IDE style in Visual Studio 2005 What components emulate the tear-away panes and hiding toolbars I noticed that Rapid SQL 7.4 uses the exact same interface so I know that there must be an API out there somewhere. I've seen a few components that attempt to copy the interface but I've never seen anything that explained how to implement the interface like MS does. I'm new to .Net and so if this is a completely retarded question then please forgive me and be merciful/generous with your knowledge. Thanks, I used to work for the company that made Rapid SQL. That product was built with Visual C++ and used the BCG toolkit extensions for MFC: htt ...Show All
Visual Studio Team System Broken functionality in CTP4
Hi I have two databases where one is a copy of parts of the other. When I do schema compare there are therefore quite a few tables that I would like to skip the creation of. So I try to change the Update Action to Skip for these tables. What happens is that I can't! The Update Action stays on Create. The only thing that do happen is that Create is grayed out and the Error List window pops up showing no errors(! ). Tried to pin the err window in case there was an event that got swallowed in the IDE but this had no affect. This used to work in CTP3, except from the annoying fact that you couldn't select multiple objects and skip them all. Brumlemann Update: A few of the tables listed actually have their Upd ...Show All
Windows Forms DataGridView getting index of the entering row
I have a DataGridView with say for e.g. two rows. User currently have selected the row 1 (index 0)..when they select the next row what event should I use to find the next row's index (row 2 index which should be 1) I tried using RowEnter event of the datagridview along with MyDataGridView.CurrentRow.Index which is giving me the index of the first row not the entering second row. To find the next row *when* a user selects a row you could try, assuming your DataGridView is called dataGridView1: if (dataGridView1.SelectedRows[0].Index + 1 < dataGridView1.Rows.Count) { int nextRow = dataGridView1.SelectedRows[0].Index + 1; } It might be a cheap styl ...Show All
Visual Studio How can I check with which version of Visual Studio was an executable created ?
A PC has three executables - one built with Visual C++ 6 and which runs properly, one built with Visual C++ 8 and which does not execute due to missing file / configuration error, and a third which there is a doubt whether it was build with v6 or v8. Is there a way to check the 3rd executable to see with which version of Visual C++ was it built Alternatively, how can I check whether Microsoft Visual C++ 2005 Redistributable Package was installed or not I recommend that you ask these questions on the Visual C++ General forum: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=29&SiteID=1 ...Show All
Visual Studio Express Editions Newbie needs answers about parsing a fixed width textfiles
Ok the problem is that i need to parse a fixed width textfile with about 15,000 lines , do some math on the data and output the numbers to something that i can make auto update a couple of lines on a webpage, im not even sure this is possible, heres an example of the textfile. 2006111420061114053948000010304472028280000001 2006111420061114053951000020304472025400000001 the fields go like this, date 1, date 2, time, seq#, station id#, id#, weight, shift i need to break it up, discard some of the fields , add a decimal point to the weight column and do some math in the sequence colum and weight columns. so far all i can get it to do is spit a jumbled mess into a text file, any help would be greatly appreciated. thanks in ...Show All
.NET Development How to call ICLRPolicyManager::SetUnhandledExceptionPolicy ?
Hello, does anybody know how I can call ICLRPolicyManager::SetUnhandledExceptionPolicy () from my C# application Do have to use P/Invoke How do I do that Best Regards Bernd Ritter < configuration xmlns = " http://schemas.microsoft.com/.NetConfiguration/v2.0 " > ... < runtime > < legacyUnhandledExceptionPolicy enabled = " 1 " /> </ runtime > ... </ configuration > ...Show All
Software Development for Windows Vista Duplicating a socket to a service....
This is yet another question about passing information from a client application to a service application. What we need to do is pass a socket from a client to a service, and the problem is that this fails because the client can no longer open up a process handle to the service process. Winsock is designed in a way where the client must duplicate the socket to the target process - thus the service can't just do the duplicate itself. You pass in a process ID on the client side, and get back a data blob that gets passed via some IPC mechanism to the target process, and then the target process calls WSASocket() with the data blob. So the question is, how is a client application supposed to duplicate a socket to a service process I filed a b ...Show All
Visual Studio Express Editions 'IndexOutOfRangeException was unhandled' ??
Database1DataSet myInstance = new Database1DataSet (); object Timo = myInstance.Tables[ "Table1" ].Rows[0].ItemArray[0]; so this is my code (still :p) but it says 'IndexOutOfRangeException was unhandled' but why does it say that error its not under 0, the number is 0 so is the first row (cant be too high), and what do they mean with: 'Make sure data column names are correct' where do I need to type data column names pls help me :< thx in advance Hi, I'm guessing your table has no column, or, more likely, your data table has no rows. In you're code, you're assuming both - that your table has at least one column (that's probably true) and that it contains at least one ...Show All
SQL Server Sub Report problem. An error has occurred during report processing. (rsErrorExecutingSubreport)
I have two reports. They both work fine when loaded individually. I am loading them directly from a stream. I am also loading the subreport definition using LoadSubreportDefinitio(). Neither of them have parameters I receive the following error message when trying to load the sub report. An error occurred while executing the subreport ‘Subreport’: An error has occurred during report processing. (rsErrorExecutingSubreport). any help would be greatly appreciated. Has anyone found a resolution to this issue I've tried the workaround @ http://support.microsoft.com/kb/919157 with no success. I get the same error in title with no details. private void frmRptSurvey0_Load( object sender, ...Show All
Visual Studio Express Editions vcsssetup.cab
when i try to install visual studio 2005 express c# i get a errror 1335 which is associated with the vcsssetup.cab cab file Try this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1186582&SiteID=1 ...Show All
SQL Server real time progress bar
The ETL processing for my project will be deployed as part of a larger application which is operated by non-technical users. Therefore I want to provide real-time feedback to the user on progress, errors, etc., using windows standard GUI interface objects and style- for example a progress bar. The "designer" of course does some of this but there won't be any designer in our deployed application (and SSIS designer is neither intended to be used by, nor appropriate for, non-technical users anyway). Now that I have the ETL logic working, it's time to tackle this UI requirement. I am thinking one way to do this is to start a script task to run in parallel with the main ETL processing, open a winform in that task that has various ...Show All
Visual Studio program read from stdin during debugging?
hello, is there a way to pipe to a program that is running in the debugger I’m writing an interactive command-line console utility. Presently, I simulate user input by placing the commands in a file and piping them to my utility as follows: type usercmds.txt | myutility This works fine from the command line. Under the debugger, however, I must type each command to myutility myself in the debugger’s console window. Is there a better way In the meantime I suppose I will add the code to read from the usercmds.txt file directly so I can get on with my project. But it would be cool to be able to pipe in from more complex arrangements in the future. ...Show All
SQL Server Help on creating SSIS
Hello , I am getting the given error message while creting SSIS. Please help me to solve the error.... Error loading 'Package.dtsx' : QI for IEnumVARIANT failed on the unmanaged server.. regards, Malhar , THanks hi, Thanx for ur reply. Yup i m creating brand new project and as soon as i create new project, that error comes. Well, Whatever solution u have mentioned, is the only solution My problen will get solved if i wud reinstall MS Sql Server 2005 or is there any other solution available Whts the meaning of that error : Failed on the unmanaged server.. Thanx and Regards, Malhar ...Show All
Visual Studio Iron Python Integration Issue
I recently downloaded and installed the IronPython beta from this link ( http://www.codeplex.com/Wiki/View.aspx ProjectName=IronPython ) on the Microsoft Robotics Website. I then attempted to integrate IronPython into my Visual Studio Development environment as per Aaron Marten's instructions ( http://blogs.msdn.com/aaronmar/archive/2006/02/16/533273.aspx ) but I ran into seemingly insurmountable problems. Marten's blog said: "Open Visual Studio 2005 and (assuming you installed the SDK to the default location) open the solution at "C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Samples\IronPythonIntegration". Then, it should simply be a matter of hitting F5 for Build & Debug. This will laun ...Show All
.NET Development C# - What is the Big Whoop?
Hello, Sorry if this is the wrong place for this question. I have been directed here from the question asking interface in Visual Studio 2005, under the Help menu. Recently, a headhunter told me .Net, especially C#, is all the rage. I don't understand why this is the case. My perception is most development these days is going to aim for a browser-based (i.e., 'web') interface for end users. That makes me think the most popular uses of Visual Studio 2005 would be for building ASP.Net data access applications, which points toward Visual Basic.Net, not C#, at least in my confused mind. Do I have this all mixed up If you are working with C#, could you write a few words about what you are using it for This would be extremely helpf ...Show All
