srinivasintouch's Q&A profile
SQL Server Identifying a table update / insert / delete
How to find out that a table has changed. For example if a table has 50K rows, and if any update, insert, or delete was made it should be captured without using any trigger. Is it possible to get such information from any of the system table or DMVs Thanks Uma & Aego. I got sufficient details now to find the solutions with your inputs. A final question before i close this thread: Does it mean replication agent too reads the transaction log to find out the updated rows If so is there any API provided by the SQL Server that can be used through programming to do the same work ...Show All
Visual Studio 2008 (Pre-release) LInq and Finite State Machines
I've only just started to look at Linq and it occurs to me to wonder if the underlying technology would support processing and evaluation of Finite State Machines. I'm interested in a system which can take a complex set of regular expressions and evaluate them over a very large number of data sets efficiently. The underlying technology of Linq seems to have strong relationships to the underlying technology of many FSM implementations (lambda calculus, epsilon resolution ...), but I understand insufficient about either to see if it is worth pursuing. Does anyone have any thoughts on this Iain ...Show All
Visual Studio VS 2005 Release build error
Hi All- I am having an error when I build a WinForms Solution in VS 2005 IDE. This solution has roughly about 10 projects and am getting the following error when I build the project in release mode. "Unable to copy file "C:\SolutionName\ProjectName\bin\release\project.dll" to bin\release\project.dll. Access to the path 'bin\release\project.dll' is denied. I am getting this error on all the project files. Please let me know what am missing here. Thanks, Jaxdeveloper It seems an Access issue. Have you tried giving access to the folders. There might be changes that the DLL it is trying to copy is used by some other process by VS only. You might like to check this too. ...Show All
Windows Forms Setup project: install Windows Service with new user fails with "No mapping between account names and security IDs was done"
Hi Forgive me if this is the wrong area but I could nto find a dedicated section for Setup projects. I have a setup project that creates a new local user as part of the install. The installer then installs a service and sets the service to run as this new account. The code to make the new account is in <myserviceinstaller>_BeforeInstall. It DOES create the account successfully, as I can see it in computer management right away. The installation always claims it fails with "No mapping between account names and security IDs was done", despite the new user account being created fine. It's as if the new user accunt was created too late, AFTER I tried to install the service, despite the code to add a user bein ...Show All
.NET Development ExecuteReader requires an open and available Connection. The connection's current state is Open, Fetching
cmd.ExecuteReader Run-time exception thrown : System.InvalidOperationException - ExecuteReader requires an open and available Connection. The connection's current state is Open, Fetching. I'm having a issue with my program. My application does a search first, then the user has the ability to edit the search results. So first a datareader is created and the ExecuteReader is called and you know the rest. Then once the user is ready to submit their changes and executeNonquery is called and you know the rest. The code fails at cmd.exectuenonquery line. Here is my code First the user searches for records based off an id: Private Function RetrieveErrorRecords(ByVal ErrorID As String) As DataTable ...Show All
Visual C# reg message box
hi i do display a message box using message box. show.... but before the message box is gettin displayed i switchover the focus to a excel sheet... as a result of this the message box loses the focus on the form ... so when i do the same validation another message box opens.. so i am having 2 mesage box now... can the message box be focussed using any command ...Show All
.NET Development Simple string list in .config
I am looking to represent a single list of strings in a web.config or app.config file. It could be anything... a list files... filename1.txt filename2.csv filename3.xls or a list of column names... Symbol Bid Name The xml would be very generic. Something like <items> <item value="Symbol" /> <item value="Bid" /> <item value="Name" /> </items> Is there a built-in config section handler that could process this or do I need to create my own Thanks. - Jason There is direct support for System.Collections.Specialized.StringCollection. Select it as the "Type" in the Settings tab (Project + properties). ...Show All
Visual Studio Show particular record(s) only based on the user selection
Hi, all My case is like this: I have a Form with a DataGridView that is populated by query on a table. Besides the fields from the query, i also add a checkbox to the first column of each record. This checkbox is used for user to select which records that the user want it to be displayed on the Report. A button of course is available to call a ReportForm as dialog(ReportForm.showdialog()). If the page is not enough for the records, the extra records will be shown on the next page(s). To minimize the scope, let's just show 2 record for example(product id, product name). I was thinking of few solution before: 1. I add a field namely "checkbox" to the existing table. So for each record selected, the field status set to true. P ...Show All
Visual Studio Express Editions Why am I getting "End of statement expected"?
Hello, Why am I getting "End of statement expected" Thanks for the help. Ken Private Sub txtReadRegValue_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtReadRegValue.TextChanged if txtreadregvalue.Text not txtreadregvalue.Text then cmdOpenPort.PerformClick() End If End Sub Try This. Private Sub cmdReadRegister_Click( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdReadRegister.Click cmdOpenPort.PerformClick() Dim Response, message, msgg As String Dim command_type, addres As Short Dim registerr As Single ...Show All
SQL Server How to add a group header and footer for a report
I have a report that is being called via stored proc, and i want to group by contract. when report gets generated i get multiple contracts info. but will be grouped/sorted by contract. please how can i have a group header and also a group footer to show a summary of each contract information with some calculated fields in it. i may get 100 records related to 10 contracts , 10 rows for each contract. as soon as the first contract info is shown on the report it has to show a summary related to the first contract in the group footer, and then continue populating the second contract info and so on. Please i am totally new to reporting and help would be appreciated. thank you all. Did this work for ...Show All
Visual Studio Guidance Package Visual Studio 2005 Project Template not installed on Win XP Service Pack 2
Hi After installing the GAX and GAT, I don't see any of Guidance Packages in my New Project dialog box. I've tried the installation process as stated in software factory documentation of Enterprise Library Dec 2006 CTP. Can anyone help me Thanks Ethan Hunt Hi Ethan, Sorry it took me a couple of days to get back to you. I'm afraid I've virtually ran out of ideas... :-( I've checked with other teams that are developing guidance packages and have installed .Net 3.0 and they're not having any issues. It's very weird that your installation finishes ok without any errors at all but there is not a single trace of GAX being installed on your machine... no files... no reg entries... Btw, have you had success installing it on ...Show All
Visual Studio Express Editions Path in VS 2005
I am having a hard time creating a path to my images folder whether it be an absolute or a relative path. I continue to get this error can somebody please help this is time sensitive. Thanks DKB System.IO.FileNotFoundException was unhandled Message="\images\die0.png" Source="System.Drawing" StackTrace: at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) at System.Drawing.Image.FromFile(String filename) at My_Craps_Game.Form1.DisplayDie(PictureBox picDie, Int32 Face) in C:\Documents and Settings\David\My Documents\Visual Studio 2005\Projects\My Craps Game\My Craps Game\Form1.vb:line 99 at My_Craps_Game.Form1.rollDice() in C:\Documents and Settings\Davi ...Show All
Office Live Development Videos about developing on Office Live
Hey folks, just in case you missed them, our esteemed developer Albert Shen has produced several screencast videos that are now posted on Channel 9. They're quick instructions on how to work with SharePoint Designer to create solutions for Office Live: Office Live with SharePoint Designer - High level overview of how to work with Office Live & SPD. This is a great place to start. Using the Data Form Web Part - sometimes also called the Data View Web Part, this is a powerful tool that lives on the Office Live servers. SharePoint Designer lets you configure it to access data sources in a variety of ways, and even lets you mash-up multiple data sources. This rocks! Office Live Workflows - a helpful introduction to using ...Show All
Windows Forms printing winform(not text the form image)
Hi, I need to print the winform (not the text but the entire winform.I tried with the apis as well but non of the post including msdnmag of alex of much help. The problem is for huge form with scrollable=true i am not being able to print the entire form.Also the same is getting cropped. any help on the same would be of much help. one similar discussed here but yet the discussion didn't completed:- http://groups.msn.com/-netindiagroup/technotes.msnw action=get_message&mview=0&ID_Message=2129&LastModified=4675532654705740479&all_topics=1 thx Gul Hi, You shouldn't really have a FORM bigger than the viewable monitor resolution ideally. Start using menus instead of lots of contols such as buttons instead. ...Show All
Smart Device Development How to register COM object on Windows Mobile device?
Ok so I know on the desktop you can create a COM component and register it so it's in the registry and sorta globally visible to all applications - but how would one do it on Windows Mobile I got Platform Builder and Visual Studio 2005 if anyone wants to know what I'm working with here. I need to access the COM component remotely, so I'd need to do this for that to work. Hi, I went through your conversation.I have also stucked up here.Actually i am making DSP Plugin for Windows Mobile. Same Plugin is working fine on Desktop media player. and it registers automatically. but on mobile emulator i can deploy the .dll file but i am not getting the effects. so if you have done ftuff like that then please ...Show All
