Venkataramana's Q&A profile
Visual Studio VSS get latest folder contents
Multiple people are working on the my project I have assigned one a form to each one of them and then they have couple of common folders where they keep on adding supporting files used in the project, Say like macro files or image files or the database that are being used in the project. Now after they checkin their contents ,I am trying to get the latest version of files in those common folders but I am unable to get all files that they have checked in although VSS correctly display files checked in by them. So my question is cant we just do get latest for a folder instead of doing it for the whole project is it not supported or something is wrong in my Vss database creation or is there something else that needs to be done. A ...Show All
Software Development for Windows Vista It seems UAC will block dll Register
For registering a DLL. The UAC seems will block user to use Regsvr32 to register DLL. It will appear DLL register problem 0x8002801c and 0x80070005. Except to turn off the UAC (User Account Control). Does any one know how to prevent this kinds of problem By the way I offer the way to turn off the UAC. In classicall view, [Settings] --> [Console Panel] Press [User Account] --> [Change security settings]. It will pop up a dialog to show UAC. Just turn off it. I have done it through the command prompt. I had to right click on the short cut and choose to run as administrator. EDIT: This allows ro run regsvr32 without security errors. ...Show All
.NET Development Editor attribute in plugin
I have a scenario something like this: ApplicationDir --bin ----Application.exe --Plugins ----MyControl.dll ----CustomProperties.dll The main application is like a placeholder for controls. It searches the Plugins folder for dll's that contains types that derives from System.Windows.Forms.Control. When a control is found it is added and shown in the main application. When a control is selected in the main application all it's properties are shown in a property grid. The properties can also be edited. So, MyControl.dll contains a control which exposes a property of type TimeInterval. The TimeInterval class is defined in CustomProperties.dll and have an editor attribute on itself, so that a custom editor can be used to edit that property. [E ...Show All
Visual Studio Team System Lot of traps for cmdlet development, any plan for FxCop rules?
The development of PowerShell CmdLets is full of traps ( do not use the Console is one example among others). Is there any plan to include rules dedicated to PowerShell development Thanks in advance, Joannes http://www.peoplewords.com Joannes, We don't have any current plans around building rules for PowerShell. Although, that's not to say that this may not change in the future. However, as we don't have the domain experience to write these rules, the best team to initiate this is the PowerShell themselves - perhaps ask them over on the PowerShell blog. Regards David ...Show All
Visual C# [otp] Run time creating GridView control with post back property
Hi, I unable to create runtime gridview control with post back property. If moved to some extern but when the control is posted back, i;m loosing the desing control value. Please send some sample code, to hold the gridview value and static / design control value when the page is posted back. Thanks a lot. Hi, Your thread is more appropriate in asp.net forum and there you may find satisfactory answers. Thank you. ...Show All
SQL Server Merge replication downloading old data to the suscriber
I'm having an error with merge replication my suscriber are downloading old data, all this start happen after I install SP4. let explaint this with more details , if a made an update to a row in a table from the publisher , the agent history show that 1 change have downloaded to the suscriber, a put an audit in the suscriber and yes one update was downloaded but the row still the same, look like the suscriber downloaded old data instead of the curent change that i made. If i delete the row, the rows gets delete at the suscriber, if a insert the row the row get insterted ok. The problem only happen with rows inserted at the suscriber, that later on get update at the publisher. My suscriber has MSDE 2000 SP3 an my Server has SQL ...Show All
Visual Studio Express Editions check language
Hey there!!. is there any way that I can check the languaje in a string.... for example:.. I have this string: "The dog is running on the green grass" and I need to make a function that checks if the string language is english or not.... now my questions is, can I use aome kind of dictionary or i have to use a database for checking ... please help!!. I don't want to write a lot of code... jeje.... an information page could help too, if someone knows!!. thanks for everything!!!. Hi Ccercone There are Open source spell checkers and in addition to that well there is the edit-distance Algorithm which I have worked on here. It will tell you if words are words and ...Show All
.NET Development get MAC Address of host
Is it possible to get MAC Address of any (or at least local) host through LAN using it's IP Address or hostname Thanks a lot, Talant you could use WMI to do this but maybe overkill. However here is the code to do this but it requires for you to connect it to that computer, and give it a username/password to use to connect. ManagementScope theScope = new ManagementScope (" \\\\ computerName \\root\\cimv2 " ); theScope.Username = "username "; theScope.Password = "Password "; StringBuilder theQueryBuilder = new StringBuilder (); theQueryBuilder.Append( "SELECT MACAddress FROM Win32_NetworkAdapter" ); ObjectQuery theQuery = new Objec ...Show All
Visual C# Which type in C# is equivalent to C++ HResult?
Hi, everyone. I have this kind of problem. On faculty i got to make an example of OPC HDA server with async reading. Also, only thing i got is specification of OPC standards. Now, i have trouble. I have OPC Core components exe file, which i instaled. When i create my file which implement, let say, IOPCCommon interface, i imported required dll file, which provide necessary interface. For one of methods i got next thing. public void GetErrorString(int dwError, out string ppString) { throw new Exception("The method or operation is not implemented."); } In specification is said that this method returns HResult HRESULT GetErrorString( [in] HRESULT dwError, [out, string] LPWSTR *ppString ); How should i implement ...Show All
Visual Studio Express Editions inkey() function
i need i function that does the same thing as the visual foxpro/basic function "inkey()" (it returns the value of a keypress without needing to hit enter) does one exist for c++ Would _getch() work http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore98/HTML/_crt__getch.2c_._getche.asp ...Show All
Windows Forms Problem with combobox
Hi I have a datagridview that is databound to a table via a bindingsource and a DataGridViewComboBox column that is bound to a second table (both in the same dataset). I am dynamically adding the column to the grid. Dim viewcol As New DataGridViewComboBoxColumnviewcol.DataSource = _dsEquivalents.Tables(1) viewcol.DataPropertyName = "ViewName" viewcol.ValueMember = "ViewTable" viewcol.DisplayMember = "ViewTable" viewcol.HeaderText = "View Name" viewcol.AutoComplete = False dgvEqu.Columns.Add(viewcol) BindingSource1.DataSource = m_dsEquivalents BindingSource1.DataMember = m_dsEquivalents.Tables(0).TableName The table bound to the grid contains values that are not in the table bound to the ...Show All
SQL Server Subscription not displayed
Hi, I have setup Merge replication with 2 publishers and one subscriber. On the subscription machine I can see publisher 1 listed under local subscriptions but not publisher 2 . I have created the second subscription on publisher 2 and also tried to create the subscription again on the subscription machine but i get an error saying the 'Subscription already exists'. Neither do I see the second subscription nor does it work as if it is subscribed to Publisher 2 . What could be going wrong. I would appreciate any help. Thanks tribal can you check sysmergesubscriptions on the subscriber database and see if the 2 subscriptions are visible there If so there may be an issue with the UI ...Show All
Windows Live Developer Forums OpenID
OpenID is universal ID which establishes a users identity when online, hence saves trouble of logging into different sites again and again. Heard MS have started integrating OpenID, is it true regards Sumit Dagar OpenID is a single universal online identity which can be used to authentically browse on internet.In simpler terms, one can login with a single ID/password pair and then can simply browse net without loggin in further into individual sites. Its positives: - Single universal ID hence only one loggin in i.e. lesser traffic on net. - Single ID hence easy for users to maintain there ID/password pair over the net. - Login in will help in personalizing all the web - pages a user visits. - All on ...Show All
Visual Studio 2008 (Pre-release) Using another controls events
Hey! This is a follow up on my last thread about Office 2007-like window frame . This is what I have done, pseudocode: Window window = new Window(); window.WindowStyle = none; and then in my app my visualtree looks something like this: Dockpanel main = new DockPanel(); WrapPanel wp = new WrapPanel(); main.Children.Add(wp); and "main" has "window" as parent. Everything is looking fine, however, I miss the feature to move the window, maximize/minimize it with the mouse. How can I do this To do this I have tried the following: I put a Label in the WrapPanel and then adds eventlisteners to them like this: lbl.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(lbl_MouseDoubleClick); And then we ...Show All
Visual Basic Visual Basic 2005 & Visual Studio.net
When I try to open a new web site project: I do not get the 'New Web Site dialog with the correct "ASP.net WEB SITE, ASP.NET Web Service, Personal Web Starter Kit and Empty Web Site --Templates. Instead I get the templates that one normally sees when starting a new windows application, so I suspect that something is amiss in my install or setup... Does anyone know how to fix my setup so that I get the correct templates when trying to start a new web project FYI: I try to launch the web project by using the : File/new/web project menu and this is not working as it should... Ideas anyone H.G. Create a blank solution. Right click on the created solution (or an existing one), one of the op ...Show All
