Praveen Bala's Q&A profile
Visual Basic Controls Flickering when drawed on the form
Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has ...Show All
Software Development for Windows Vista MSDN XPS sample code
What environment is required to build the sample code given with Bob Watson's XPS article http://msdn.microsoft.com/msdnmag/issues/06/01/XMLPaperSpecification/default.aspx I have tried Vista build 5231, Visual Studio 8 RTM, November CTP SDK. This configuration doesn't seem to have some of the required assemblies, such as ReachFramework. What am I missing The samples were built using WinFX RTC of the Se ...Show All
Software Development for Windows Vista TypeProvider in Designer Hosting SDK Sample and Lab 10
Hello, I've noticed in both the Designer Hosting SDK sample (WorkflowDesignerRehosting) and in the Beta 2 Hands On Lab # 10 (DesignerHostingApplication) that there is use of the TypeProvider class. In the Designer Hosting SDK Sample, the TypeProvider class is used to add an assembly reference to the assembly containing the string type in the Workflow Design Surface's constructor. The service is added to the design surface's service contain ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a simulation using Direct3D
Hello, I am working on a project to create a simluation of a football (or soccer ball) flight after it has been kicked. This includes velocity, spin, etc in 2D and then 3D. The software that this needs to intergrate with is written in VC++. Thus the sim needs to be able to access some data/variables from this software.The simulation needs to be embedded within the control software (running on XP Tablet) and automatically displayed rather t ...Show All
Visual Studio Express Editions FORM inside height
How do you retrieve the inside height of a form so that it takes into account of the form bar Mark Hi, Do you mean to get the location of the client (inside where you place your controls) area If so try use the Form.ClientRectangle property to get the client size. If you want to put into consideration the titlebar then use Form.Bounds property. cheers, Paul June A. Domag ...Show All
Windows Forms strange button onclick behavior
I have a C# Windows app that has a main form with a textbox and two buttons on it. I have a KeyPress event attached to the textbox (which checks for the enter key to be pressed) and onclick events attached to the buttons. When you press either button, the onclick event instantiates a new form (in an mdi) and shows it. If you close the form, go back to the main form and enter text in the textbox and then press the ente ...Show All
.NET Development Who's using .Net?
I am just starting using VB.Net and loving it. But can anyone point to an example of an application created using .Net It seems as if Microsoft doesn't make many apps with it. I am trying to show coworkers some examples. Thanks, Chris Our company is building a humongous Web appliation that when deployed will be used around the world. I'v eseen several bank financial institutions use .NET There are thousan ...Show All
SQL Server Understanding what this dts.Pipeline ERROR means
Im am pulling down table called PRV from another server throught an ODBC connection in my SSIS package. I have the source and destination task all set up. I get this error when i run the packag. Most of the time, the error is pretty self explanatory but this one is .....beyond me. Any ideas. Error: 0xC02090F5 at PRV TABLE FROM CYPRESS, PRV SOURCE [1]: The component "PRV SOURCE" (1) was unable to process the data. Error: 0xC0047038 at ...Show All
Windows Forms Resetting GridView
Is there anyway to reset GridView control back to the state it was before DataBind occurred. At that state it had no rows and no column names. ...Show All
Windows Forms Object datasource with no list - best practice?
Hi, I want to create an object datasource that I can bind to any of the winforms/webforms controls using standard methods. The only caveat is that the object will be singular. ie: there will never be more than one item of data (the equivilant of one row) in the object. What's the best practice for achieving this Thanks. Adam. Why would you bind a single row to, say, a combo box or a data grid The ...Show All
Windows Forms Determining max size of Image in PictureBox (.NET 2.0)
I have a PictureBox with Docking set to Fill. I would like to find the dimensions of the rectangle that the PictureBox "Fills". In .NET 1.1, pictureBox1.height and pictureBox1.width properties define those dimensions. In .NET 2.0, I find that the the height and width properties of the PictureBox defines the height and width of the image itself. In other words, the height and width properties no ...Show All
Visual C# Embedded resource not working
I want to add a picture as embedded resource to my project. I choose Add Existing Item and browse to the picture, and then select Build Action as Embedded resource. I also select "Do not copy to output dir". Upon recompiling I get: Error 1 No destination specified for Copy. Please supply either "DestinationFiles" or "DestinationDirectory". C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets ...Show All
Visual Basic No Openforms Property in My.Application
I am working with VS 2005, VB on an XP machine. Application.OpenForms or Sstem.Windows.Forms.Application.OpenForms are OK But My.Application DOES NOT have an openforms property . Neither in Intellesense or when I enter it VS (Background compiler or compiler) Error 9 'openforms' is not a member of 'WindowsApplication1.My.MyApplication'. C:\Net20\ProjectsTest\WindowsApplication4\WindowsApplication4\Startup.vb 36 13 WindowsApplic ...Show All
.NET Development Thread safety of spcket.BeginSend()
I've read that "The Socket class is not thread-safe at the instance level." (http://www.thecodeproject.com/csharp/XYNetSocket.asp). My question is, can one BeginSend() operation interrupt a previous BeginSend() on the same socket instance What are the implications of concurrent sockets access with BeginSend() Do I need to lock the socket object before I call BeginSend() Another quick question, according to MSDN documentation, "You can create ...Show All
Visual Studio Where can I find info about XML and HTML editors
I want to write custom xml file format. It should support scripting too. Where can I get any info about employment XML and HTML editors’ functionality in custom editor In particular I can’t catch: Usage of files in: Program Files\Microsoft Visual Studio 8\Xml\Schemas Program Files\Microsoft Visual Studio 8\Common7\Packages\schemas\html[xml] How and what standard editor VS exposing to extend PS I’m newbie ...Show All
