swapna_n's Q&A profile
Visual Studio Express Editions Event handler plz help me!!
i hav a VB.net class which allow to print a tree view ,i want to make the constractor handle an event sa follow : Public Class PrintHelper Private _printDoc As PrintDocument Private _lastPrintPosition As Point Public Sub PrintHelper() ' Constructor _lastPrintPosition = New Point(0, 0) _printDoc = New PrintDocument ' here i want to handle the next event End Sub ' this is the event which i want to handle it above Private Sub _printDoc_PrintPage( ByVal sender As Object , ByVal e As System.Drawing.Printing.PrintPageEventArgs) _lastPrintPosition = New Point(0, 0) _currentDir = PrintDirection.Horizontal _pageNumber = 0 _date = DateTime.Now . . . End sub '. '. '. End Class ...Show All
Game Technologies: DirectX, XNA, XACT, etc. need some guy to help me
Hello all guys I have a problem now I can't extract my dxsdk right now the alarm message is like this: Extracting file failed,It is most likely cause by low memory(low disk space for swapping file) or corrupted Cabinet file How can I handle this I had once a similar error during an sdk-extraction-process caused by a corrupted download. There was no other choice than downloading it again to make it work. Of course you have to make shure that you extract to a location with sufficient disk space - there's no way around that I guess.... cheers ...Show All
Visual C# Win98 Disk Defrag graphic
Hi, If you remember Windows 98 defragmentation tool, there was a map of the disc clusters (Squares) which dynamically moves and changes colour depending on the state of the sector. I was wondering how to call such a map as i want to implement something similar in my codes. I would also be grateful if anyone know if there is a ready-made class for this. Cheers, Girish There is no such ready made thing in .Net which can offer you that. You can create a Custom control and Draw on it by GDI+. its not really difficult to do what you need. GDI+ offers all the functation to DrawRectanle, FillRectanble etc. You can Draw small Rectanles one after on Increasing % of that control's progress.... The best thing will be to study so ...Show All
Visual Studio Code generation for Itanium
Is there code generation for Itanium What other than x86 target plaforms are supported Hi Dmitry, the released RDK does not support targeting Itanium. It currently only supports targeting x86 and MSIL. We do plan to support x64 in the future though. With respect to Itanium, we're still trying to understand when it would be the right time to devote resources to getting that in good enough shape to release. Thanks! ...Show All
Software Development for Windows Vista Problem installing windows workflow extensions for Visual Studio 2005
Has anyone had any problems installing the workflow extensions (RC5) for Visual Studio I have this installed however every time I try and run Studio it displays the splash screen and then hangs using 99% of the cpu. If I run Studio in safe mode then I can get in fine and the workflow options appear in the create project dialog however if I create one of them then I get the error message: --------------------------- Microsoft Visual Studio --------------------------- The project file 'C:\Documents and Settings\gordon.NT\Local Settings\Temp\w42cddt1.gwy\Temp\WorkflowConsoleApplication1.csproj' cannot be opened. The project type is not supported by this installation. --------------------------- OK Help --------------------------- ...Show All
SQL Server Does it locks database/tables when Only Select query comes in SQLTransaction
Hi, I want to make SQLTransaction as global and use it checking the State. But then where there are Only Select queries are going to fire, it will open transaction. So, Does it locks database/tables when Only Select query comes in SQLTransaction. If you have another successful way of doing this, Please suggest. Thanking you. tats What are you trying to accomplish Every statement locks something, at least the schema so you can't drop a table while the user is executing a statement :) Also, EVERY statement is in a transaction already, the difference between starting one using the client and just the implicit one that starts for every statement is that you might never reach the code to close it if the user gets bored and decides the ...Show All
Visual Studio Create report and chart dynamically from C# code!
Hi I'm new to SQL report. Can some one please lead me to the right direction of how to create a report CHART programatically in C# VS2005 and ASP.net I want to allow the user to enter start and end month/year i have 2 DB table (table1 and table2) from which have same field name table1.workType, table1.date and table2.workType, table2.date when user enter date, i will have Select count( table1.workType1) from table1 where date = date_user-enter then draw the graph (line )for this Do the same for table 2 THen add the count of both table work type and draw a graph for this all three line graph are in the same chart Any help will be greatly appreciate. Thanks. ...Show All
Software Development for Windows Vista Get return value from workflow
I've a winform application which would interact with a workflow runtime to perform some approval tasks. When a user reviews the approval request, he can select either approve or reject on the winform application, it will submit to the workflow runtime to process, his action will be validated by the rules defined in workflow and it will return a result of his action (success or fail). I want to know how can I get the result from workflow when the workflow instance is completed. And how can I wait for result from workflow runtime after user submitted the action, because workflow is executed asynchronously with the winform application. Thank you very much! As previously mentioned use the WorkflowCompleted ha ...Show All
Internet Explorer Development IE7 Title bar shows up in Chinese instead of my language
Hello, Downloaded and installed: IE7-WindowsXP-x86-enu.exe OS: Windows XP Home (legal version) I had IE6 with SP2. I downloaded at first the IE7 RC1 but then I downloaded the file I mentionned above. With both RC1 and IE7-WindowsXP-x86-enu version I got the weird Chinese titles in my Blue Titlebar. The tab-titles tho are correct. I've uploaded a screenshot to be downloaded here . This screenshot gives you the view of my IE7 browser with the blue titlebar. My Language is Dutch and at the Tools - Internet Options - General tab I've set my appearance language at Dutch (screenshot here ). Could somebody please help me out I really really love to have my own language or the english titlebar instead of Chinese. Yours Sincerely ...Show All
Audio and Video Development background video loop
I want to have a menu page that has PEVOB001.MAP looping in the background...I have set up a title for it with it s the firstplay...but I am not getting anything playing...any help try setting the onEnd to be whatever the title is id="MainMenu" onEnd="MainMenu" so it just re-calls the video or use the ScheduledControlList in the xpl to fire an event to play the video again ...Show All
Software Development for Windows Vista Webservice Workflow with Dynamic SetState Activity
I am writing a webservice workflow using Visual Studio 2005. I am trying to add in a Hold State in my workflow so that users can temporarily hold an approval process or something. I can use recursive composition to create an event so that the Hold State can be reached from any other state. The problem is --- how do I then return to the previous state before the Hold State I have tried to set the TargetStateName property within my workflow class (inherited from StateMachineWorkflowActivity) in a CodeActivity but I get a InvalidOperationException. It seems that I can't set the state within StateMachineWorkflowActivity while running. Thanks for any help. BTW if you are doing this inside of the wo ...Show All
Visual Studio SandCastle Getting Started Help
So I've become completely spoiled with msdn-style help and with tutorials. I've never used nDoc so this is all new to me. I have a C# console app with xml (///<summary>... etc.) comments for every method both public and otherwise. I've used the SandCastle Help File Builder to execute against my solution file. The solution has xml comments and I get no errors at all. The problem is that I also don't get any documentation. I get a chm file with "Namespace" at the top and none of my classes or the program.cs are represented in the chm. Is there a getting started, 101 tutorial out there that will help me figure out what I've done wrong and get me grooving I have a major asp.net application that I have to document for a cl ...Show All
Visual J# regarding the Support for J# browser controls in Netscape and Mozillafirefox Broswers
Hi, I made a J# broswer control from the existing Java applet. In Internet Explorer it is working fine,but in Netscape(8.1.2) and Mozilla FireFox 1.0.7 its not working.even its not displaying any error in those browsers. Any Suggestions regarding this Regards Baji Prasad.B AsianCERC Information technology Limited Bangalore India Hi, J# broswer control will work only when Internet explorer is rendering engine.The browsers having activex support can support J# browser control. regards, Thilak ...Show All
SQL Server Error in Derived Column component
I am getting this error, [Derived Column [192]] Error: Converting an input column from type DT_STR to type DT_WSTR failed. An error occurred while performing the implicit conversion on the input column. But I don really understand y there is a attempt to type cast at all Please advise .... thanks in advance In the column marked Data Type in your Derived Column Shape change the value from Unicode [DT_WSTR] to string [DT_STR] Does this answer your question ...Show All
Internet Explorer Development IE7 and Right Click Menu
I have an IE explorer bar which makes use of a Right Click menu option. The right click menu option is implemented the usual way by creating a new key under HKCU\Software\Microsoft\Internet Explorer\MenuExt\<menu text> and this menu is pointing to a file in the local file system. This file is basically a VB Script file which parses the highlighted text passed down to it from the browser and uses that text as a query parameter to lauch another URL from the server (using external.menuArguments.navigate(url)). My Explorer Bar captures this navigation, stops it in the main browser and relaunches it using IWebBrowser2.Navigate so that the URL will show up inside my Explorer Bar rather than the main browser window. Eventually this new URL ...Show All
