Sekhar T's Q&A profile
Windows Forms How to programatically select a TabPage
Hi, How do I programatically select a TabPage I have a TreeView on the left of my screen and a TabControl filling the right hand side of the screen. When a TreeNode is single clicked or selected, I want the "View" TabPage (on the TabControl) to be displayed. When a TreeNode is double clicked, I want the "Edit" TabPage to be displayed. I  ...Show All
Visual Basic How to make slideshow transition with Picturebox
You've seen those fancy wipes, fades, cut and swirls in slideshows... now, how do you do it with the Picturebox Yes, that's because the picture box is not designed to be moved like that, and it's very existence adds overhead. And yes, Windows Forms have a double buffer mode that gets rid of the flicker, when you draw the bitmaps yourself. So, you're right, that's one way in which the new framework helps you. I can imagine how much of a change VB.NET was for you, but I think in the long run, you'll start to wonder how you ever survived without the sort of features that VB.NET offers over VB6. ...Show All
Visual Studio Express Editions Microsoft visual studio 2005 Express Edition
hi, I am new to vb, and in the visual studio 2005 express edtion , i am trying to create a deployment project, but i am not seeing add project in my file menu, i need to download something addtion for this, ( actually i am trying to do deployment with visual studio.net) Please help to do this project,, thankx' lal Hello, The people monitoring the Visual Studio Express Editions web forums should be able to help you. I'm going to move this thread to their forum. Daniel Roth ...Show All
Visual FoxPro MSGraph.Chart.8 control
I need to make charts. I started with MSChart Control and so far I've accomplished almost all I wanted except for one thing which totally eludes me. I need a simple line chart, not columns or a pie. I need to display a row of data like DJIA or similar indices with no additional vertical bars or other embelishments. The curve comes out nice but a lot of space on the chart is wasted because the curve is being plotted too high on the chart in vertical direction. I have tried to manipulate MSChart.Object . Plot . Axis ( VtChAxisIDY , 1 ). ValueScale . Minimum value but it is not responsive at all. I do not know why: perhaps other paramete ...Show All
Visual C# How to get the Last Month from System.Date ??
Hello Everyone, I'm using the System.DateTime curr = DateTime.Now; this gives me todays date...As today is 22nd Feb, 2006.....From this date if we want to get last month how we get it.... I want something that can give me 1/1/2006 -- 1/31/2006 (mm/dd/yyyy) Secondly, how can I say get this month or this quarter.. Say this month -- 2/1/2006 -- 2/28/2006 (mm/dd/yyyy) This Quarter -- 1/1/2006 -- 3/31/2006 (mm/dd/yyyy) If you can give me some code snippet how to do it.... Thanks, Harsimrat You can create a new date using the current month - 1. The month property is a number, so you can ...Show All
Visual Studio Express Editions Command prompt from IDE?
I am VBE newbie. The help says I get to a command prompt form IDE via view\other windows\command window. "Other windows" gives me no "command window" choice. I am trying to compile/run the "hello world" example program from command prompt. I can get to a command prompt by using XP's start/run/cmd and cd'ing down to my project folder, but surely there is a easier way from from IDE. Yes, I know F5 compiles and runs from IDE. But I want to do it the old-fashioned way. Are you saying that instead of pressing F5 (which is actually 'start debugging' ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How Use DirectX Draw a 2D Polygon which have a hole?
In C# We can Use SetClip() To draw 2d polygon which have a hole, But In Direct It's seem very hard to complete. If the hole is defined mathematically, you can use pixel shaders to clip() pixels that you don't want rendered. If it's defined by an artist, texturing is probably the way to go, combined with alpha blending or alphakill. ...Show All
Visual C++ 64 bit porting Issues
Hi Albert! We are planning to port our COM, mfc applications to 64 bit platform. Any pointers to the resources for 64 bit porting issues, guidelines, casestudies, newsgroups and forums would be of great help. See: Porting 32-Bit Code to 64-Bit Code http://msdn.microsoft.com/library/en-us/vccore/html/vcgrfPorting32BitCodeTo64BitCode.asp See: Overview of the compatibility considerations for 32-bit programs on 64-bit versions of Windows Server 2003 and Windows XP http://support.microsoft.com/kb/896456/EN-US/ See: General Porting Guidelines http://msdn.microsoft.com/library/en-us/win64/win64 ...Show All
Smart Device Development Control for Binding Text, Value and Multiple selection *** Urgent
Hi, I am using .NET Compact Framework 2.0 & VS.NET 2005, in this I need a control which will bind Text, Value && also multiple selection(like ASP.NET ListBox Control). I searched all the controls But I didn't get. any body plz tell me which control will have multiple selection and binds Text,Value(like dropdownlist). That won’t help much as terms you're using are not applicable in NETCF. There's no "binding of Text, Value" anywhere in the NETCF and desktop win forms. There's no "DataTextField" or "DataValueField". I suspect you mean what is known by “ValueMember” and “DisplayMember” bu ...Show All
SQL Server SQL Server 2005 Service Pack 1 is now available
Microsoft announces the availability of SQL Server 2005 Service Pack 1 (SP1) with Database Mirroring, SQL Server Management Studio Express, additional options for ISVs, and normal feature fixes. SQL Server 2005 Service Pack 1 can be found here: http://www.microsoft.com/sql/sp1.mspx Kamran, I'm not sure what you're asking. Standard Edition is supported on Win XP SP2. As such, you can apply SP1 to your Standard installation. You can find the SP1 read me file here: http://download.microsoft.com/download/b/d/1/bd1e0745-0e65-43a5-ac6a-f6173f58d80e/ReadmeSQL2005SP1.htm . Cheers, Dan ...Show All
Visual Studio 2008 (Pre-release) Why are the ClientBase<TChannel> ctors protected?
With the service contract in a separate assembly it is really nice to be able to share the same assembly between the client and service. Then you can create a generic proxy client without the need for svcutil. (The same way you should share an interface for .net remoting). Unfortunately this requires writing a generic helper class that derives from ClientBase<TChannel> because all it's ctors and InnerProxy property are protected! Why oh why Please make this class more accessible for this scenario. The client base is a class you should inherit from when creating your typed client proxy. If you wa ...Show All
SQL Server For each container - performance problem?
I have a for each container configured to iterate over files in a directory (around 2600 files). The for each container contains only one data flow task. The data flow task is very simple. Only 3 steps. Read from file using flat file source (ragged right), format column values (eg. converting YYYYMMDD into yyyy/mm/dd and TRIM spaces - 13 such conversions) using derived column transform and inserting them into a table (23 columns - mostly nvarchar, few numerics and few dates) using Ole Db Destination. The table has one non-unique clustered index on nvarchar(18) column. Each of the 2600 file has at an average 750000 rows. It seems to me ...Show All
.NET Development Copy a whole table from mssql to ms access
How can I copy a table(structure and data) from mssql to ms access You should be able to create a SQL script by right clicking on the table in Enterprise Manager and selecting the Generate SQL Script option. That will give you a script for the actual table structure. I have not done this from MSSQL to Access, so you might need to tweak the datatypes and other things in the actual script to get it working correctly. Then you should be able to create a DTS job that will transfer the data into your access database. ...Show All
Visual Studio Team System No Message - no Result!?
Hi I'm running a FxCop project with some assemblies. One assembly doesn't contain messages (assembly is clean). This assembly doesn't appear in the report. As well when I run FxCop in command line. FxCop command-line even produce no output when the complete FxCop project contain no messages. Is this a feature or a bug Thanks Hubertus This is by-design. To force FxCopCmd to always output a report, use the /forceoutput switch. Regards David ...Show All
Visual Studio 2003 attach to process crashes Visual Studio
I often am notified by Windows that Visual Studio 2003 has encountered a probem and has to close when I run the debug/processes command to attempt to attach to and debug one of my projects. Usually this happens after I have successfully attached to the program using the command once. Subsequent attempts to do the same the next time my process is started often results in the IDE crashing after I select the processes command. No Processes dialog shows up and the crash happens immediately when this happens. I've sent quite a number of "error reports" but never get any feedback. This is quite a nusience. Does Microsoft have a fix ...Show All
