persistent me's Q&A profile
Visual C++ Warning C4430 not being thrown in friend declaration
class myClass ; class otherClass { public : otherClass ( int x ): valor ( x ) {} inline int sum ( myClass & obj ); private : int valor ; }; class myClass { public : myClass ( int x ): val ( x ) {} friend otherClass :: sum ( myClass &); private : int val ; }; inline int otherClass :: sum ( myClass & obj ) { return obj . val + ...Show All
Visual Studio Hotfix not working for me
I'm having a bear of a time getting reports with subreports to function correctly. I have followed all of the directions for logonInfo updates. The original report running under v9 only has to have the first four parameters filled, from there 9 other linked parameters are supposed to be filled. I started with code that we have in production (v9). This code ran fine when running against the server that the report was designed against. But when co ...Show All
Visual Studio SourceSafe, VS.NET 2003 and Stored Procedure Versioning
Hi, Any Help I am version controlling my stored procedures via .NET IDE & VSS. Background: ================== I have VS .NET 2003, Visual SourceSafe v6.0d and MS SQL Server 2000. When one wants to version control their stored procedures, they can do this fairly easily through the VS.NET IDE. As an FYI - If you care - Here is an old sample of how to do this http://weblogs.asp.net/fmarguerie/archive/2003/02/24/2880.aspx ...Show All
Visual C# How to efficiently read an array from a file?
In C++, you can read directly from a file into an array without having to use an intermidiary buffer. For example, suppose I have a file containing 10000 32-bit integers. You can read from the file directly into an array of ints of the right size using "fread()". I can't find any way of doing the same thing in C#. The only ways I have found are: (1) Read each int in turn into the array via BinaryReader.ReadIn32(). (2) Read all the data ...Show All
Visual Studio Express Editions How to call a B function/method of a MDI parent (Form1)
How to call a B function/method of a MDI parent (Form1) from a MDI child (Form2) of that parent (Using C++.) I already attempted to use examples of this site but it somehow does not work for me. Please, how can one refer to Form1's method Thanks for any guidance for a beginner. You've asked this a few times now. I'd say that you need to post some code to make more clear what you're trying ...Show All
SQL Server query processing
can anyone give me query processing for Database mirroring I do not understand what you are asking for. Could you please be more specific An example perhaps Thanks, Mark ...Show All
Visual Studio 2008 (Pre-release) Vista Beta 2 IIS7 setup
I've just upgraded to the new Vista Beta 2 build 5384 and am unable to get any of the WCF samples provided with the SDK to run. I'm pretty sure it's just an IIS7 setup issue. From reading around i've seen a few sites recommending that i add a MIME type mapping for the .svc file... but i cant' work out how to do that. This ( http://www.iis.net/default.aspx tabid=2&subtabid=25&i=1032) suggests that there should be a MIME Ty ...Show All
Windows Forms Please Help
I am trying to deploy an application to our web server and I get the error Cannot Continue. The application is improperly formatted. Contact the application vendor for assistance (I am the vendor). This is the details: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727 ...Show All
Windows Forms OnMouseMove application start taking more memory VB.NET
Hello, I have created a VB.NET application. On first form i have Textbox, Datagrid, Combo box and checkbox control. There is no mouse move event in the form or datagrid. But when i move the mouse on the form and see the memory usage in task mamager.. Memory increase by 4k or 8k on each mouse. Why it is behaving like that i have no Idea.. i tried with new proj ...Show All
SQL Server Using variables of Connection Manager, Connectionstring
Hello, I'll spare everyone my diatribe about MS and Booksonline... I considered myself pretty good at Server 2000 DTS. It certainly has it's shortcomings, but there are a couple books on the market that helped a lot. I'm now trying to learn Integration Services, and not getting very far. There are two books out so far. one is poor, the other worthless. What I want to do seems very simple. That is to loop through a series of .txt file ...Show All
SQL Server Problems Using Temporary Tables
I am declaring a temp table in control flow via Execute SQL task. I then want to use that table as a source in a data task, keep it alive going back to control flow and use it as a destination in another data task following. I am having trouble just getting the first data flow to access that temp table. In my Execute SQL task, I'm creating a simple temp table. After executing that task, I can head to the data task and change my OLE DB Source to ...Show All
Visual Basic Version of Visual Basic
I'm new to visual basic, there are so many versions which confused my selection of learning it. what is the latest version of visual basic visual basic 6.0, visual basic 2005 or visual basic.net. And what are the differences for each of them where can I find the comparison of them please advise. thanks. Hi Sherry and welcome. I'm a little perturbed because I wrote you a long reponse to find that the board had ...Show All
Windows Forms problems updating database with ADO.net
Hello, I am trying to update a database with parametrized commmands, even though the record exists but when i run the update command, 0 records are affected and nothing happens to my data, i have no idea what is wrong i insert data similar&nbs ...Show All
Windows Forms Export DataGrid to Excel?
Hey all, I need to export the results of a VB.NET Forms based Datagrid to Excel 2000. I know it can be done from a VB.NET Datagrid Web form, but how do we do it using a Windows form I am converting an application from MS Access ...Show All
SQL Server Script Task TimeOut
Anybody knows how to change the TimeOut of a Script Task Thanks! The task call one asp page that makes some updates in a remote sql server. If I call the asp page without SSIS the proces finish ok, but if I call the asp page with Script Task, the task returns a TimeOut error. I need that the Script Task wait until the asp work finish. ...Show All
