kalyan chakrarthy's Q&A profile
Windows Forms Transaction/connection control at the business layer?
Suppose I have 3 strong-typed entity objects (biz), each with their own corresponding data-layer objects. In those situations where I am to achieve a transactional result where all 3 must write to the database, how can I avoid violating layering-architecture principles by not having a biz controller object issue the same SqlConnection/SqlTransaction (or IDb interfaces) object& ...Show All
Software Development for Windows Vista Problem persistence status and state
Hi, Ok, I have my training project with state machine workflow and asp.net application. I have persistence in my workflows (at last!). So I can get the status of the diferent instances: Running, Completed,... But, now using the InstanceId, I want get the current state for each instance of my workflow. I’m using StateMachineTracking, but i can not get the state when I close and stop my debug. How can i get the current state of my workflows if i restart my computer Regards Ignacio Hi Ignacio, You can use SqlTracking to track the most recent status of the workflow. If the tracking i ...Show All
Windows Forms DataGridView - EditOnEnter
I have found that if I set a DataGridView's EditMode property to EditOnEnter then the user cannot select an entire row by clicking on the row header. This prevents the user from being able to delete a row. When the user clicks on the row header, all of the cells of the row become highlighted, but at least one of the cells always remains in edit mode and thus pressing the delete key does not delete the row. The keystroke is instead sent to the active editing control of the cell instead of being processed for row deletion. For my particular situation, I really must have the EditMode be EditOnEnter, but I also ne ...Show All
Visual Studio 2008 (Pre-release) MSMQ (2-way) - ServicedComponent
A more architectural question: I want to build a service that receives messages on one queue processes them and sends out a response message with a correlationId set to another queue. Now I like COM+ components and thinking of queues a server activated component listening on queues seems to be an option. But there are a few issues: - can the retry be deactivated or the retry interval be shortened to a very short time as this is supposed to be a two way communication over MSMQ the answer must be send in a considerable amount of time. - will the message id of the original message be still available somehow and somewhere after a ...Show All
Smart Device Development Problem launching a debugging session on VS.NET 2005 Standard
I'm trying to create a simple test app to begin development on a SmartDevice app in VS.NET 2005 Standard. I have WinXP SP2. I chose a "Device Application (1.0)" project from the C# projects (I wanted .NET CF 1.0 rather than requiring 2.0). Did nothing else, just decided to launch it in the emulator to make sure everything worked - and it didn't. When I try to deploy to any of the emulators, I get a dialog box which says: "Failed to open XML parser COM object. C:\Program Files\Microsoft Visual Studio 8\smartdevices\Skins\PocketPC_2003\PocketPC_2003\1033\PocketPC_2003_Skin.xml" I've checked and the file being refere ...Show All
Visual Basic Console Application Question
I recently purchased a VB.NET 2005 reference book where the sample code is in console applications. I have done a bit with windows forms, but am unfamiliar with console apps. When I try run the sample code, the command prompt window closes and the application terminates as soon as "Sub Main" executes. I got around this by adding strInput = Console.ReadLine Do While Not (strInput.ToUpper = "QUIT" ) strInput = Console.ReadLine Loop to the bottom of sub main so that I can just type in quit to terminate the application. This works, but I'm wondering if there is some other standard way that this is nor ...Show All
Visual C# Windows Start Button
How can mimik the windows start button without component please thank you Fahd well, I just want to show the button down when I left click on it and show a context menu thanks ...Show All
Visual Studio Express Editions Exponents?
Hello, I would like to display exponent but how I tried to put something like g^3 but would show up as g^3 not g 3 any ideas Thank You Keehun Nam SJWHitely, I just wanted to compliment you on your posts and your professionalism. Thank you for all of your helpful posts. Renee ...Show All
Windows Forms Localization form
hi, How can i switch between languages in the same form for example the current form lang is france, i wana by click english button swap/switch the current form and data to english. i know how i make it but the result should be in new form but my q in the same form without close it regards I guess this is what you want. http://www.devhood.com/tutorials/tutorial_details.aspx tutorial_id=211 ...Show All
Visual Studio Express Editions Question about variable decleration
This maybe is a stupid question. Sometimes I see variables declared like int _Counter; What is the _ stands for can someone give me an example why you have to declare it like that. Thank you. Hello Oguz, Obviously you can name a variable just about anything you'd like. Some people prefer to use the _ prefix to denote a private variable. This way you know the variable is private in scope just by looking at the name. Regards, Mike ...Show All
.NET Development WSDL schema
to validate a WSDL is a valid one do i just need 1) WSDL schema - http://schemas.xmlsoap.org/wsdl/ 2) WSDL document input these 2 document into a XML editor just like validate XML doc with DTD since i never use a XML schema but only DTDs should i cut and paste XML schema into same file as WSDL just like put DTD into \ same file as an XML file any tutorial on the web Thanks Answered in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=284072&SiteID=1 ...Show All
SQL Server Import\Export Wizrad, Saved package, but can't open it....
Yes, I created an saved a package, found it in the MSDB database (after connecting to Integration services) but can't figure out how to open it to see the control and data flow tabs. (BIDS can open a File or Analysis Service project so I don't see how to access the package from there.) Please advise. TIA, Barkingdog I decided to Save the package to the file system... now I have a ".dtsx" file. When I open it in BIDs I can see the Control and Data flow tabs and modify its contents. But I can't run it (the option is grayed out.). What's have I done wrong now Barkingdog. ...Show All
Visual Studio Web Project pdb files - VS always want to add to sourcesafe
I had posted about a problem in beta 2 where the output from a web project (dlls and pdbs) always were showing up as a new file to add to source safe in the pending check-ins. Someone replied and said it was a beta 2 bug and would be fixed in the release version. I have since installed the RC and the problem with the dlls has been fixed put the pdbs are still showing up as needing to be added. Is there something I need to configure to make this go away or is it intended to be this way Thanks, Rod Hi Rod, The change to exclude files from source control control in web projects was done ...Show All
Visual Studio Express Editions Do Loop
The problem is when the main function of a do loop is too short the program will freeze like so: Do Until Running = False lbl.Text = "meh" Loop well since lbl.Caption = "meh" is executed so quickly in the loop the loop is executed at a rapid speed and the program will freeze immediately >_< what I want is to have a very rapid speed speed(less than 1 millisecond) but without having the program freeze immediately. Any ideas on how this can be done PS: I already tried using Application.Doevents like so: Do Until Running = False lbl.Text = "meh" Application.DoEvents() Loop but it really lowered the speed. ...Show All
Visual Basic Loading drive into a variable
I have this little segment of code that I plan on using in a listbox. I want to be able to select the drive in the listbox pulldown, load that to a variable and use it. I've included the basic code below. Dim getInfo As System.IO.DriveInfo() getInfo = System.IO.DriveInfo.GetDrives For Each info As System.IO.DriveInfo In getInfo ListBox23.Items.Add(info.Name) Next Also, does anyone know how to get rid of the double spacing in here Thanks I dont see any double spacing. What version of product are you using and where are you seeing the double spacing Please elabor ...Show All
