simosnipe's Q&A profile
Visual C++ PurifyPlus reports FMM in STL of VC++ 7.1
Hi all, I run my VC++ 7.1 generated dll under PurifyPlus' control. I get a whole slew of FMM (free memory mismatch) errors for memory chunks allocated by the Microsoft STL. Unfortunately I haven't got the stack trace available right now but I could regenerate it if it's necessary. One example code snippet looks like this (details omitted): class ComponentFactoryBox { public: /** * register Factory in factory box */ &nbs ...Show All
Visual Studio Project Destroyed
I am receiving the following error message: Project $Pext01 has been destroyed, and cannot be rebuilt. Continue anyway Does anyone know how to make this go away Thanks, TJ Turning the computer off usually helps in cases like this. Microsoft also appears to have a hotfix for this that is available upon request. ...Show All
Visual Studio Tools for Office COM Addin, in frame work 1.1 , C# and outlook 2003, it wast wroking fine i can able to send the mail with customised form , bu
HI i have developed COM Addin, in frame work 1.1 , C# and outlook 2003, it was wroking fine i can able to send the mail with customised form , but now i instal the FrameWork 2.0, it not working , i can not able to send the mails form now it is showing following error . See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to class type 'Microsoft.Office.Interop.Outlook.MailItemClass'. COM components that enter the CLR and do ...Show All
Visual Basic Problem with assigment
I used the following code to assign some values but lineItems(0), lineItems(1) always contains the last set of result of Salesline2. Dim salesLine2 As New taSopLineIvcInsert_ItemsTaSopLineIvcInsert Dim LineItems(1) As taSopLineIvcInsert_ItemsTaSopLineIvcInsert With salesLine2 .SOPTYPE = dr.Item("Type") .SOPNUMBE = dr.Item("DocNumber") .CUSTNMBR = dr.Item("CustId") .DOCDATE = dr.Item("DocDate") .ITEMNMBR = dr.Item("ItemNum") .QUANTITY = dr.Item("Quantity") .UpdateIfExists = 0 End With LineItems(0) = salesLine2 With sale ...Show All
Visual C# Trigger not Firing
I have build a SQL Trigger that fires on the update of a specific column; this works perfectly when I test using SQL or even the SQL Server GUI but when I do the update from .NET it doesn’t fire. I have a dataset that gets modified and then I call sqlDataAdapter.Update(Dataset) - the row is successfully modified in the database but alas - the trigger isn't fired. Any help would be appreciated Yeah - it works fine when I do an update command from within SQL Server. Just dosn't work when I update the data from my app. ...Show All
Visual Studio Team System Problem with recording web pages with user control
I have a web page in .net 2.0/C# that includes a user control, which in turn includes a form with several fields and a submit button. The submit button is handled by an onclick handler that does database inserts, etc. I am using Visual Studio 2005 RTM (details at the end of this message.) I record the page in question, entering values in the form fields repeastedly, but when I play back the recording I get failures with the error 'context parameter '$HIDDEN1.EVENTTARGET' not found in the test context. Specifically, the sequence is: 1- load the page in thre recording browser, form comes up, OK. This action ...Show All
Visual Studio corrupt project file
I have a custom vspackage and project template file has this ItemGroup: < ItemGroup > < Folder Include = " Copylibs " /> < Folder Include = " Stores " /> < Folder Include = " DDModules " /> </ ItemGroup > After I create a new project of my type the project file's ItemGroup now looks like this: <ItemGroup> <Folder Include="Copylibs" /> <Folder Include="Copylibs" /> <Folder Include="DDModules" /> <Folder Include="Stores" /> <Folder Include="DDModules" /> <Fo ...Show All
Visual C++ VC++ 2005 Beta 2 (.NET & Winsock)
I was wondering if it's possible to use the .NET forms application creater but use winsock2.h instead of System::Net::Sockets , is their a way to do this Because it comes up with quite a few /clr errors. I've installed the SDK Update. Thanks. Cory Thanks alot for your help Ayman, seems that i wasnt using the PSDK headers that id installed which i found out by showing the include files as you said, it compiles and works fine now. Muchly appreciated ...Show All
SQL Server Formatting Date/Time
What do I have to use to Format my date/time fiels so that they will not include the both the date and the time I imported the db's and reports from access and anything date/time shows both. The VBA functions I know are powerless to fix this. So: Format(fields!DateField, 'hh:mm') Format(fields!DateField, 'ddmmyyy') What are the equivalents Yes, I read the manual. Still not obvious to me. - Thanks in advance. Format is the VB.NET Format function (see e.g. http://msdn2.microsoft.com/en-us/library/59bz1f0h(vs.80).aspx ). The following expression should work for you (note: you have to use double quotes not single quotes for the format s ...Show All
.NET Development Download accelarators
For example flashget.It can download different parts simultaneously.I wonder this.How can it achieve this If there is no avaliable api.General algorithm will enough for me.. There is support for this in the http protocol. RFC 2616 I think section 14.35 describes how to do it. Section 14.13 mentions how to get the length without getting the data. ...Show All
Windows Forms Reference a DataGridView cell from code
Hello All, How do I programmatically reference the exact column and row of a particular cell in a DataGridView on a form Cheers, sfx1 Try this: MyDataGridView.Rows(RowIndex).Cells(ColumnIndex) Tony ...Show All
Visual Studio Express Editions Quick question about SQL databases
I'm following the C# video tutorials about creating an RSS reader. I'm about halfway through the videos and just completed the lesson about creating, accessing, and modifying an SQL database. My question is, and please forgive me if the author of the video series touches on this in a later video, if I were to use an SQL database for this RSS reader application and decided to install it onto another computer, would I be able to use or access the database without SQL Server 2005 installed hi, i just think sqlserver is for big projects that will used for a firm or something, its consume about 200 mb from your ram, more over your ...Show All
SQL Server How to view Cube in WEB Browser(IE) like Pivot tables of Excel
hi,Please! Help me.How to view Cube in WEB Browser(IE) like Pivot tables of Excel. Your help is highly appreciated. You can use the Save As Web page functionality from Excel and publish the web page on your web server. You can also embed OWC Pivot table within your html page, setup appropriate connections to your cube to get the functionality. --Siva This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Studio can i use inputs and outputs
I know the inputs, but I do not know the outputs until I'm in the logic of my custom Task. Is there anyway to still use inputs and outputs in my .targets file to control when things will build, or do I need to implement this myself in my Task class Thanks, Mike We have a VS Package that we are developing for our language. The class we inherit from for our project system is ProjectNode. This class has a property called BuildLogger. This is what we set assign our custom Logger to. Our logger is using the following event handler's: BuildWarningEventHandler, BuildErrorEventHandler, BuildMessageEventHandle ...Show All
Visual Studio Team System Unexpected error when adding Web Part to TFS Project site
We are receiving the following error message when we attempt to add any of the Web Parts supplied with Team Foundation Server to our projects home page: An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator. Our enviroment is a clean install of the following: Windows Server 2003 SP1 WSS 2.0 SP2 TFS Beta 3 .NET 2.0 Note: We are able to add Web Parts to the default WSS site without any problems. We also have been using the current Project si ...Show All
