Daron's Q&A profile
Visual Basic Error in "Form.vb [Design]"
I will try to develope a little application with Visual Basic.Net 2005 Beta 2. I've make Form1 and its code, but at this time I can't see it in design time, an error occured: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take you to the line of code that caused it. Method 'Sys ...Show All
Windows Forms Easiest way to get the Datagridview's text while editing?
I want to capture the text while the user is typing in a datagridview textbox cell. So far, I've read that I have to use the Editingcontrol in some way. Thanks for any help! I would do the following: Private Sub dgv_EditingControlShowing( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles dgv.EditingControlShowing If e.Control.GetTyp ...Show All
Windows Forms Control Box
Hi Stefano, Thanks for the trick about backGround image I will try to use this trick in my work. I have a question: How can I disable only the C loseBox of a ControlBox of windows form and keep the MinimizeBox and MaximizeBox enabled Previously thanks. Here is the code that will help you achievw what you want to do- public class FormCloseButtonDisabler { private const int MF_BYPOSITION = 0x400; pri ...Show All
Visual Basic Need help on Finalize and Dispose methods
I need help re: Finalize method and Dispose method, how can i use destructors in VB.NET. Some useful links on Finalize / Dispose. This should probably answer some of your questions. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcn7/html/vaconFinalizeDestructors.asp http://www.samspublishing.com/articles/article.asp p=25742&seqNum=8&rl=1 http://www.thescripts.com/forum/ ...Show All
Visual Studio Express Editions File Copying
Greetings, I am writing code that allows a user to copy a selected file. My problem is that when I check to see if the file exists, I get an error saying the file not accessible because it is currentlly in use by another process. Dim fsrc As New FileInfo(txtSource.Text) Dim fdes As New FileInfo(txtDestination.Text) If fsrc.Exists Then If MessageBox.Show("File exists, overwrite ", "Overwrite ", MessageBoxButtons.YesNo, ...Show All
Visual Studio Express Editions What the Array is going on?
Is there a problem with array.sort If I load an array in to a list box I get A is Element [0] in the array B is Element [1] in the array C is Element [2] in the array but when I click the button to sort the array I get is Element [0] in the array A is Element [1] in the array B is Element [2] in the array Here is the code, Private Sub btnShowAll_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowAll.Click List ...Show All
Visual Studio Team System Team Foundation Server (TFS) Installation
Hi TFS users, I have couple of queries on TFS installation and usage !! 1. Can we install Team foundation Server on Windows XP with Service pack 2 installed I know the client can be installed on Windows XP, but i have specific reasons for installing TFS too on windows XP!! If yes, does the installation steps hold same as installation on windows server 2003 2. Can we integrate clearcase with TFS Please let me know if ...Show All
.NET Development .NET version 1.1 and 2.0 co-exist?
I recently installed .NET Framework 2.0 without removing version 1.1. I initially thought that like Service Packs, the newer version will overide the older version. Now in the Add and Remove applet, both version 1,1 and 2.0 are there. What is going on Should I remove 1.1 now that 2.0 is there .NET 1.0, .NET 1.1 and .NET 2.0 are designed to run side-by-side just like their counterparts Visual Studio .NET ...Show All
Software Development for Windows Vista PersistOnCloseAttribute
how can i use this class please give some code examples thank you in advance This attribute can be applied to the custom activities to create a persistence point after they complete which means workflow will be persisted after successful completion of this custom activitiy [PersistOnClose] public partial class Activity1: SequenceActivity { public Activity1() { &n ...Show All
Windows Forms Binding to a PictureBox.Image VS 2005
Hello, I'm attempting to display an image (Ole Object) from an Access database in C# 2005. According to what I read in Data Binding with Windows Forms 2.0 By Brian Noyes: "The pictures stored in the Northwind database aren't stored in raw image file formats; they are stored as OLE image documents. There is an OLE header on the actual image bytes that you have to strip off to work with the image properly outside of an OLE document. Luc ...Show All
.NET Development Problem with BeginReceive
Hello, I am trying to use socket programming asyncronously to download a data from a server. once connected, server sends the "username: " string. I have to reply by username. Then server send "password" string and i have to reply by password etc. below is my asyncronous call to beginreceive in main thread. The problem is client.BeginReceive(buffer, 0, buffer.Length, 0, new AsyncCallback (ReceiveCallback), clien ...Show All
Windows Forms It debugs.. then it won't debug?
I have spent hours today with a winform with some comboxes bound to data. And something really weird has been going on. I set some*space space*points and lately it just ignores the*space space*points.. THEN it might stop at one so I continue and I&n ...Show All
Visual Studio Tools for Office VSTO Excel Databinding Performance
Hello All, In old versions of Excel (e.g. 2002) where we retrieved a dataset to programmatically populate a worksheet, it was often necessary to iterate every row and column. This often resulted in bad performance for large datasets. Does the new VSTO method that uses a worksheet ListObject yield better performance What is the most performant way to bind an Excel workbook to large volumes of data Is this a new feature of ...Show All
Audio and Video Development Link for IP- Set top box emulator/simulator
Hi, I am working on a media services application. The application is intended to work on IP-set top box. For the demos and trials in the development phase ,I want some emulator for the IP-set top box. Can anyone provide me with link of some site where this Set top box emulator is available for free download. Hello Laxmikant, Media Foundation is the new multimedia platform that we are shipping in Vi ...Show All
.NET Development XslTransform.Transform(): Different results on different machines?
Hi, I have an application which works fine on my development machine. However, when I used my build on the production machine, I get an Exception. I use code like this to transform a XML string "Text" to its transformed version: XmlDocument oXML = new XmlDocument(); System.IO.StringWriter sw = null ; oXML.LoadXml(Text); XslTransform xslt = new XslTransform(); sw = new System.IO.StringWriter(); xslt.Load(XSLT); xslt. ...Show All
