Aravinth's Q&A profile
Windows Forms rubber banding two images in vb.net
hi i am doing my final year project in vb.net (i am using 2003 version). my project is a learning package which wil demonstrate ospf and eigrp algorithms. now i can create my routers and endusers by clicking on the buttons at runtime (they are represented by image boxes) and drag and drop them. now i need to set up the links among routers and endusers. ( i want to make them work as in packet tracer software) i have got some code working for rubb ...Show All
Visual Studio Team System Get Custom Check-in Policy in the Add List
Hello, I have a custom check-in policy that requires that the comment is filled in. I added the assembly to the HKLM\Software\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl\Checkin Policies registry key. The key is the assembly name, the value is the full path to the assembly. But the policy does not show up in the list How can you get your custom check-in policies to show up in the list For reference, I used th ...Show All
.NET Development Web config file: appSetting
Hi, I am using one instance of SqlServer 2000 as backend database, I want to store connection string of that instance in a webconfig file , I have witten code in appSetting and pass value of it as follow "workstation id=CBD;packet size=4096;integrated security=SSPI;data source=\" CBD\\QAZ " + "\";persist security info=False;initial catalog=master"; But when I execute my application, it generate error in a ...Show All
.NET Development Send custom IP packet?
I have construct a custom IP packet include header and TCP packet inside the IP packet. But know I have problem how to send it into network. I don't want to create socket that must endpoint to destination IP of packet, if so, then I will create many socket that endpoint to each packet that I construct. My application like this. 1st. I sniff the network packet so I get the packet body. 2nd. I read the packet body, if I don't want that packet to b ...Show All
SQL Server Insert Trigger
I have a table that has a unique ID field. When a new record is inserted into the table I would like to insert the ID into 3 other tables. I am new to triggers and am not sure how to handle this. Any idea how the trigger would be written I don't have a server around at the moment to provide you with working code, but all in all you have to create an AFTER INSERT trigger that will insert value inserted.ID ( i ...Show All
SQL Server VS 2003's Server Explorer is not working (Problem has been solved !!!!)
Hi; My Server Explorer in Visual Studio 2003 professional has stopped. By this I mean that I can't add any new connections and I can't expand my server instance to view table etc.. Is something corrupted with VS or with the MSDE Thanks, Gmann Gmann, What has changed on your system when this happened (reinstalls, configuration changes, service packs, etc.) Could you be more specific on what error message do you ...Show All
Visual C++ IEnumerator<T>.Current
The following code was compiling fine under Beta 1 but now generates the following error: 'Enumerator<T>' does not implement interface member 'System.Collections.IEnumerator.Current'. 'Enumerator<T>.Current' is either static, not public, or has the wrong return type. class Enumerator <T> : System.Collections.Generic. IEnumerator <T> { private T m_current; public T Current   ...Show All
Windows Forms Items in ListView / ListBox change event does not exists
I need to somehow be notified when the number of Items in a ListView (or ListBox) changes. I cannot find any event in the ListView that fires when the Items collection is modified. Does anybody know how to do this Thanks, Greg I had a similar problem with the CollectionEditor. What I had to do is inherit the CollectionEditor override the EditValue and have my object throw an ...Show All
Visual C++ 'exception' : base class undefined
#pragma once #include <exception> class CBaseException : public exception { public : CBaseException( void ); ~CBaseException( void ); }; This class compiles fine usinfg .net2003 but fails with this message in .net2005 d:\projects\atest_2005_p\atest_2005_p\baseexception.h(6) : error C2504: 'exception' : base class undefined Is there a solution thanks , this will work and I can ...Show All
.NET Development Required Textbox
I have a from that I have users type information input information in 5 textbox and then click submit and it goes into a database. I want the text boxes to required to fill in else the submit click will return an error to the user. There's probably a couple of different ways to handle this. One way: Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button1.Click ...Show All
Visual Basic Need help with uninstalling an application on my network.
Hi, I need a script that can assist me uninstall an application across the network. Any help is appreciated. I tried using you a VB script, but due to lack of understanding I am unable to execute it. Thanks ...Show All
.NET Development Manipulating Intellisense...
Q1: Is it possible to manipulate what is shown in the intellisense dropdown list Q2: Is it possible to add dynamic fields or properties to an object at runtime Thanks Mikael ...Show All
Windows Forms .NET with IE
I am unsure of the technology direction/selection to be used here. In the past when writing an application to be hosted in IE we would build simple ActiveX controls to meet advanced UI requirements. Moving forward with .NET what is the recommendation to meet similar needs Basic searches have all turned up ASP.NET but this requires server side IIS use and that may or may not be the infrastructure from location to location. Client stations have IE ...Show All
SQL Server how to use equal sign (=) as an available value for a parameter?
Is there a way to use the equal sign (=) as an available value for a parameter It's working with the rest of the comparison operators: <>, >, >=, <, <=. Thank you! I'm not sure what the equal sign is going to be used as, but yes you shouldn't have a problem setting it as an available value if you make the data type a string. Then just use this as the expression for the non-queried va ...Show All
Visual Studio Team System Target against a specific .Net version?
Hi, I've just got a nightly build automation process set up using TFSBuild.exe and supplying it with the appropriate server, project, and BuildType paramaters. Is there any way to specify that I want the particular build to be under .net version 1.1 or 2.0 I am assuming that as I have installed VS 2005, SQL Server 2005, and now the trial of VSTS etc that it will automatically think it is building for 2.0, but is there a way to do 1.1 as ...Show All
