udaykiran potti's Q&A profile
Visual C# Thread and GUI
Hi, My problem is: When the applications is started, I create a frame (with button and other components) in the principal thread. Later, i create an other Thread and i attempt to modify the frame in the second thread, but it doesn't work. I got this error message: An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll How can I solve this problem Thanks take a look at this also: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=564275&SiteID=1 ...Show All
Software Development for Windows Vista Newby questions
Hi, digging around with Vista we came (after a lot of success with WPF things) to the point where we think about the WEB. We run a lot of web apps (ASPX). Most of them use Forms Authentication and profiles. Our idea is now to have those site support InfoCard. Before running into a totaly wrong way we try to ask here if our idea is totally stupid or not. The idea: When a user tries to enter a protected area we normaly bring up the .NET 2.0 Login control. This is pretty automatic - the user enters username / PWD and is redirected to the page after login. At the same page we offer a link to register - also using the "normal ASPX features" (Username, Email, PWD, Secret Question.....). On most sites we do an email verif ...Show All
.NET Development Drawing Graphs in .Net
Hi, I have a log table with me and also I have a database table containing the same log entries.For this I have already made windowsservicelog and also webservicelog applications. I need to create a simple Graph(in C#.Net) in which X-axis will show the time and the Y-axis will show the success or failure.....success will be on positive Y-axisand in green colour and Failure should be on negative Y-axis and in Red colour. Kindly help me with this. Here are a few GDI+ resources: Bob's GDI+ FAQ: http://www.bobpowell.net/gdiplus_faq.htm This is a pretty good one for beginners. http://www.dotnetonweb.com/8_SubCat_Graphics_and_GDIplus.html Some decent articles here as well. Scroll down for chart&graph exampl ...Show All
SQL Server SQL Server 2000 - SQL Server 2005
A simply (hopefully!) question. I have a .bak file from a client who backed up there SQL Server 2000 database. Can I "restore" this into our SQL Server 2005 engine so that his database is created from scratch or do I need to first create his database and data schema, then do a restore Thanks, G You can restore a SQL 2000 backup to SQL 2005 using the [WITH MOVE] option. There may be additional issues related to logins, etc. I have included a number of articles that may be of help. Moving Server/Database/Logins http://vyaskn.tripod.com/moving_sql_server.htm Moving DBs http://msdn2.microsoft.com/en-us/library/ms345408(en-US,SQL.90).aspx Moving system dbs 2005 http://www. ...Show All
Visual Studio Express Editions C# Studio & Express
Can C# (Visual Studio) and C# (Express) be loaded in the same computer at the same time What about project sharing My current project is a freeware application with the source code released for free. I wrote in C# express purposly to allow my clients to modify the source without needing to purchase anything. However, I am wanting to purchase VS 2005 Pro to see if it has addtional optimizations to help improve the performance of my application, as well as port my application to mobile devices. My question is, what if I want to maintain the source in C# Express and just release my binary files compiled from VS Pro, can I just have two different project files and have them both share the same source Or w ...Show All
Software Development for Windows Vista ActivityToolboxItem and event handlers
Hi I have a number of custom activities that inherit from a common base class. This base class has no child activities, while the derived activities do. Furthermore, I generate the child activities using ActivityToolboxItem, this allows the users of my activity library to "fill in the blanks" at design time by adding additional activities to some of the branches. An example custom activity is: DerivedActivity : BaseActivity : SequenceActivity ListenActivity UserCompletionActivity : HEEA RequiresApprovalCheckActivity : IfElseActivity ManagerApprovalActivity : HEEA SkipActivity : HEEA This general pattern is repeated in all my ActivityToolboxItem classes, varying only the actual type of DerivedActivity. This appro ...Show All
Smart Device Development Defines in C#
Originally I am from C++. I got really used to #define. Does this behavior carry over to C# No. Preprocessor is pretty much gone from C#. Defines in C# are only good for conditional compilation. You can use external preprocessor if you want though. ...Show All
Visual Studio Team System Software Factory
Hi, I've planned to write series of articles about Software Factory in my blog. Please visit and place your valuable comments/experiences: http://udooz.spaces.live.com/ Regards, Udooz ...Show All
Visual Studio Team System Visual Studio 2005 Team Suite 180-Day Trial
I am trying to lower the En_vs_2005_vsts_180_Trial.img file but single it lowers 4kb to me or in its 1,7 defect Gb Somebody podria to say to me of where I can lower it so that quero to prove this version Jose, If by 'lower' you mean download, can you check out this thread to see if could be a proxy in between you computer and Microsoft http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=834259&SiteID=1 Regards David ...Show All
Windows Forms Mouse Location Problem
Hello, I'm on a project, something like a mini-photoshop. I've done the basic stuff like opening the picture, drawing lines, using a pencil etc. well, I made a control that I see the position of the mouse with its X and Y coordinates as a MouseMove Event. But now I see that it just makes the program work really slow (I see its bad effect when I'm using a Pencil tool for drawing. It draws slower than it used to do when I didn't have the mouse coordinates as a mouse event.) Can you suggest something for this the code is: (visual c#) private void pictureBox1_MouseMove( object sender, MouseEventArgs e) { form1pcm.toolStripTextBox1.Text = e.X.ToString(); form1p ...Show All
SQL Server MDX "Filter" function Performance?
There is about 3,000,000 records in the cube. And the members amount of [DIM FACT].[GOODS DESC] is almost 3 Million. I use the MDX as following: SELECT [Measures].[Price] ON 0, FILTER(NONEMPTY([DIM FACT].[GOODS DESC].MEMBERS), iif( InStr(1,[DIM FACT].[GOODS DESC].CurrentMember.NAME,"milk") <> 0, [DIM FACT].[GOODS DESC].currentmember,null)) on 1 FROM TestCube It costs about 10 Minutes . Is it too slow or it's normal thanks, Deepak Puri wrote: Only thing that I can think of is to take a different view of the problem - is there a certain set of keywords like "milk", which is established beforehand, or is this a completely ad-hoc query In the latter ...Show All
Windows Forms I want open a specfic powerpoint doc from vb.net
Ok I know how to open another Process.Start("MyOtherApp.exe") I want to have the user click a button and open the following c:\\myapp\mypowerpoint.ppt Thanks that worked great, i could not find any info on this in the docmentation or (10) books I have purchased 3 of which are MSPRESS ...Show All
Visual Basic How do you use Sendkeys.Send?
I'm trying to use SendKeys on my form, so that when the user types a specific letter, it will send that letter to notepad or Word for them. I figured how how to indentify the letters ( 'ex. If e.Keycode = Keys.B Then... 'etc.) but I can't figure out how to do the SendKeys part. Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then KeyAscii = 0 ' tab SendKeys "{Tab}" End If 'KeyAscii = Asc(UCase(Chr(KeyAscii))) 'upper Select Case KeyAscii 'Case 48 To 57 'numbers 'Case 8 ' back space 'Case 65 To 122 ' let digits Case 97 ' a Case 65 ' A 'Case 46 ' let dot 'Case 32 ' space 'Case 164 ' n 'Case 165 ' N Case Else KeyA ...Show All
Visual Studio 2008 (Pre-release) Scrolling Windows Forms controls using ScrollViewer
Hello! I have a problem scrolling a hosted Windows Forms control using a WPF ScrollViewer. The problem is that the WinForms control is not clipped to the contents of the ScrollViewer, but it overflows it, covering both the scrollbars, and also other controls around it. Here's a simple XAML, which reproduces the problem: <Window x:Class="WPFScrollViewerTest.Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms" Title="WPFScrollViewerTest" Height="300" Width="300" > <Grid> <Grid.RowDefi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Other benefits of the creator's club
I was hoping that another benefit of the creators club would be automatic acceptance to the http://www.xbox.com/en-US/community/developer/default.htm xbox community developer program. Is this a possibility aka_Big_Wurm wrote: You can sign up for that now and its free, however they only except a small amount of people. They want quality of apps up so they are selective. To those who don’t know what the Community Developer Program is, it is a program that gives access to additional Xbox live user data, they have come up with thinks like Xbox 360 blogs and game score charts. I thought the site said that it was closed for now as they have the 50 people they were looking for. ...Show All
