ppngiap's Q&A profile
Visual C# What algorith does garbage collector uses,Why it is non -deteministic ????
Recently I faced an interview in which this question was asked "What algorithm garbage collector uses and why its non-deterministic " Please explain it... If you want even more info, check out the following episode of .NET Rocks. This was an interview with Chris Sells, one of the people who complained to Microsoft about the lack of clean-up optimization until the Dispose() pattern was implemented. http://www.dotnetrocks.com/default.aspx showID=10 ...Show All
Visual Studio Express Editions Visual Web Developer Express install problem
I am fairly new to the web development/design world. I am trying to view an .ascx file, and it appears that VWDE may allow me to do that or at least determine what information that file has in it. The current website I am trying to work on is one designed by my webmaster who appears to have lost interest... so I am trying to pick up where he left off. I have downloaded the VWDE program on my XP Home SP2 computer, but when I try to run the vwdsetup application it loses a connection with the server or something. I get past the user agreement, do not check either of the optional products to install, select the install destination, and click ...Show All
Windows Forms A Couple Of things
Hey, Umm there are a couple of things that i need help with, the first is a window dependency. I have created an internet browser but when i maxiumize the size of the form the window that the website displays its self in stays the same size. Is there any way (using Visual Studio 2005 Beta) that i can make the display windows size dependent on the size of the form, like the top boarder is always 55px lower then the top of the forms top boarder, the left boarder 5 px away from the forms left boarder and so on. Also i have added a status bar the the bottom of the form but it is not linking in with the status of the pag ...Show All
Visual Studio Tools for Office Office addins Project Creation Failed
Hello! When I try to run the Office addins templates in VS I get " A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)". I have uninstalled everything (VS, Office, Office tools, etc) and reinstalled them all. I still get the same error message. How do I fix this If I could determine the DLL I could check it out but the error message does not provide enough details. The SLN file is created but empty. Any insight would be greatly appreciated. Not sure if I follow. Here is what is installed: VS 2005 and MS Office Pro 2003 and the MS Visual Studio 200 ...Show All
Visual C# Selected a listviewitem
I have found a ListView control on the web that has been extended to include additional functionality. Unfortunately it now has a problem. When you click on a ListViewItem it does not select it. i.e. it does not highlight the item like it would normally in a normal ListView control. Could you tell me what events and methods I should change to make it select an item when the user clicks on one item Much appreciated. Howdy.. Do you have the source code for this control You cant change anything like that unless you do. Did you pay for this control If so, you should get some sort of customer service for it and hopefully som ...Show All
Microsoft ISV Community Center Forums Business Scorecard 2005 Installed - Just cannot connect to Analysis Services database
Followed the readme for installation step by step. Installed the Server and the Builder on the same machine - db is SQL Server 2005 April CTP. - Will the Business Scorecard work with the April CTP - Launched the BS Builder and when trying to connect to a ADOMD.NET datasource, in server specified the <Servername>, the database dropdown always comes blank.....error "could not connect to data source" (Analysis Services is running, The AS 2005 instance has 2 databases, one a result of my successfull cube deployment) Checked the known issues with SQL 2005, could not find a soln... A quick help would be great.... Regards ...Show All
Visual Studio 2008 (Pre-release) ServiceEndPoint.Binding
Is there a way to serialize a Binding so that I can deserialize it some where else and use it with a proxy. SomeProxy proxy = new SomeProxy(DeserializeBinding(bindingBytes or Xml), new EndPointAddress("....")) I can turn all the metadata into xml through ServiceMetadataExtension, but not all binding information comes across. On one of my binding I set the maxMessageSize to something other than the default and when I deserialize the metadata it is still set to the default ...Show All
Visual Studio Express Editions Problems with tabs when sending mail from C# winform app
Dear All, I have a C# winform app that sends email through Outlook 2003 referencing the Outlook 11 Object Library. On the main form I have a series of textboxes, comboBoxes and numbericUpDown controls that present the user with data read from an XML file using the XMLTextReader class. It all works fine apart from one slight little niggly issue. First of all, below is a snippet of my method that sends mail that is invoked when the user clicks on a button so you can get a feel of what I’m talking about. private void sendMail() { Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem ...Show All
Visual FoxPro Cannot updat the cursor FOXRESOURCE, since it is read only.
Dear experts, I've VFP6 & 9 installed in the same win2000 professional. in VFP9, when I tried to close take pane manager it shows the above message. Also Set As Default button is greyed in Options so I needed to set it every time I start VFP or avoid to quit. Is there any way to fix it Thanks. Exit out of Foxpro. Find and Delete the Foxuser.dbf and Foxuser.fpt file. Restart FoxPro and it should fix itself. ...Show All
Visual C# Transferring data from one form to another, is it possible?
More specifically, I have a form that has as combo boxes on them. When this main form loads, it retrieves data from SQL and I bind these combo's to data tables. However, I manually put an item named <create new customer>. If the user selects that option from the combo, I popup a new form that contains all the customer fields they need to populate. When they click save, what I would like to do is either save the data back to the sql database at that time but at the same time take the values the user entered and transfer it back to corresponding fields in the Main form without making the main form make another call to SQL if at ...Show All
Visual Studio Express Editions Append image into RichTextBox? help me please
i am using windows(vb.net) rich textbox control. i want to insert image into richtextbox control. i can do this but the image is pasted to first line in rich textbox control. i have two lines in rich textbox i want to insert image in after the two lines. is it possible please help me millions of thanks in advance my coding is here Sub InsertImageIntoRtb( ByVal rtb As RichTextBox, ByVal img As Image) Clipboard.SetDataObject(img) rtb.Paste() End Sub Sub InsertImageIntoRtb( ByVal rtb As RichTextBox, ByVal imgPath As String ) Dim img As New System.Drawing.Bitmap(imgPath) InsertImageIntoRtb(rtb, img) End Sub ...Show All
Visual Studio 2008 (Pre-release) WPF apps slow for some reason
Everything is slow for some reason. I tried Max, and that ran decently (aside some weirdness I'll explain below), but I try running some of the sample code and other stuff I compile on Visual Studio, and it's unbelievably slow. I tried the samples here on XamlPad... I can click on a button at a rate of about 2-3 times a second, and my CPU usage will jolt up to 100%. Most other sample applications run just as slow. Max runs okay, except that it takes about 40% of my CPU time even when it's minimized. By the way, is there something I can do about text being blurry Here are some of my machine specs: Pentium 4c 2.4ghz HT 1gb DDR 400 dual ...Show All
Windows Forms Whenever I try to introduce an animal i get a stack overflow in terrarium.exe
Does anyone know what might be the issue with this THanks, Paul Tyng Well try to create some good bug then ..... :) like one we have got Terr(o)rium :) lolz..... I was so enthu about this stuff when I first read about it on web, the very same day I got .NET 1.1 (by that time the old version was removed from the site),& ...Show All
Software Development for Windows Vista Does will work the WorkFlow Designer on VSTA IDE?
Hi, Does will work the WorkFlow Designer on VSTA IDE The WF extensions only work for non 'Express' based SKUs of Visual Studio 2005. I believe VSTA is based on an Express version of VS and thus WF won't install the VS extensions. ...Show All
Windows Forms How to make a "synchronization" dialog working properly...?
Hi all, I'm working on an application that makes several informations sending/receive (a kind of Outlook Send & Receive process) which deals with WebServices (so the speed of the synchro may vary...). I made a form with a progressBar and steps of synchronization to let know to the user which steps of the process were made, if an error occured or when&nb ...Show All
