LFerg's Q&A profile
.NET Development why does IDictionary extend IEnumerable?
public interface ICollection : IEnumerable public interface IDictionary :ICollection, IEnumerable ICollection already extends IEnumerable,why does IDictionary extend IEnumerable Hi Because when u itrate in a Collection you can not Add/Delete items to the Collection but in Dictionary you can. So to implement uodation while in itration they have implemneted IEnumerable in IDictionary ...Show All
Visual Studio Add-In
I am trying to add an item with an icon in to Tools menu of VS2005. I created the project as suggest by MS using Add-In wizard. I added a small dialogbox and also created a set up project( as in VS2005 setup project is not created automatically). Project has all the required components(dll, files etc). It compiles fine and also setup project runs with out any error. Program does create a folder item in Program dirctory but fails to create an ent ...Show All
Windows Forms Windows Forms in VB 6.0
Hi, Is there any success stories in implementing Windows Forms inside VB6.0 MDI Form Is there anyway to fake the appearence atleast. Thanks, Raghu Raghavendra RAV wrote: Hi, Is there any success stories in implementing Windows Forms inside VB6.0 MDI Form Is there anyway to fake the appearence atleast. Thanks, Raghu You could try CCW - though I am not sure anyone's done that before successfully. It should be p ...Show All
Visual Studio Express Editions fatal error LNK1104:cannot open file 'user32.lib'
hallo, i got this error after building my source code: fatal error LNK1104:cannot open file 'user32.lib' i've seen a similar thread but i still can't solve the problem. I folowed all the instructions from the video on installing the PSDK. What can i do Pliz help!! 1. Have you installed the Microsoft Platform SDK 2. Have you added "...\Microsoft Platform SDK\Lib" to the list of Lib direc ...Show All
SQL Server SQL Management Studio Express - Backup network file
Hi, i finished a project which was converted from .Net 1.1 to .Net 2.0. The .Net 1.1 version used MSDE 2000, now I want to use the program on our server where SQL 2005 (not express) is running. I created a backup of my database and wanted to insert it into SQL2005 database using a network path, but I didn't found a way to use a network path in backup dialog. Is there a solution or is this simply impossible without a share on the serve ...Show All
Visual C++ trying to start an app
Ok I tried searching, but can't seem to put this together... I have some buttons set up and I'm trying to add code to get it to open another *.exe I'm trying to open notepad. And I'm using the forms designer to create the buttons. Here is what I've tried (from searching) private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) { CString CommandString = "notepad.exe"; system(CommandString); }; ...when com ...Show All
Visual Studio Team System TFS BETA3 & SHAREPORINT err!
I'v installed TFS BETA3 with workgroup config (no use AD), on a server named "vs2k5tfs".... when I browse http://vs2k5tfs/default.aspx the returned page contains from same machine, (I'v new a team project, and browse project portal, got similar page....) ********************************************* Error [1] Web Part Error: This page has encountered a critical error. Contact your system ...Show All
Visual C# Infinite integer
Hi, my application is using some integers which is too big for int32 and even int64, can anybody tell me how to create infinite integer variable that can accept very large numbers Thanks, the J# runtime library has an implementation of BigInteger and BigDecimal with a very rich API. here's more info on that: http://msdn.microsoft.com/msdnmag/issues/05/12/NETMatters/default.aspx Imran. ...Show All
SQL Server installation bug found SQL Server 2005
Hi! I had the earlier builds and this did not happen but: just downloaded SQL Server 2005 (RTM) from msdn When selecting to install integration services (amoungst other options), whilst installating it gives me an error saying I do not have admin privledges to install one of the .NET libraries/runtime files I cannot remember the file name at all im afraid. Error: 0x80131501 So I cancelled the install and just installed everything but the in ...Show All
.NET Development Possible bug? FileIOPermission failed
I think the following code should throw an SecurityException if I run the code from a network path. But it does not. try { FileIOPermission perm = new FileIOPermission(PermissionState.Unrestricted); perm.Demand(); } catch (SecurityException ex) { MessageBox.Show("Sorry, you can only run this application from your local disk.", "Security Error", MessageBoxButtons.OK, MessageBoxIcon.Er ...Show All
Visual Studio Team System Cannot rename folders in Source Control
I am using VS Team Server 2005. It installed fine on a 2003 Standard Server box. I created a workspace and mapped it to a local directory on my development machine (XP SP2) called c:\imaxwell projects. When I open Source Control Explorer and I click on the new folder button. Nothing appears to happen. But if I shut down Visual Studio and reopen it, I can see the new folder. Unfortunately, the rename option is grayed out. What I want to do i ...Show All
Visual Studio Team System Session Value in URL
In a webtest I've recorded, a session value is present in the URL for some of the requests. When I replay the webtest, the test is marked as passed even though it does not complete the desired business scenario. I understand that when I replay the script this session value is no longer valid and in fact I can see a new value being returned in a response header (in the Location field). The session value in the very next request is replaced ...Show All
.NET Development add reference of winforms exe to another
hello all, i am made an application in vb.net and another in c#.net. I want to add reference of c#.net application to vb.net application. How can i do so please write soon! thanks Hi! You can reference to dll-assemblies, not exe. So your C# must be in Class library or Control library assembly. Also what do you mean reference Embed some control and use some class or launch external C# application from VB ...Show All
SQL Server Connection pooling not working in Clustered Env.
Hi, We had deployed a .NET application in a non clustered environment with conection pooling and was working fine. Now we had moved to a clustered env and connection pooling stopped working. Is there any cluster aware setting that we need to look at. Please let me know your thoughts. Thanks in advance Can you be more specific on what went wrong Any error code, exception stack will be helpful. ...Show All
Visual Studio 2008 (Pre-release) XAML Binding to parent Object
This seems like a simple issue, but I just can't figure out the syntax. I want to associate an existing element in the XAML page with a property on a custom control. I thought it would look something like this: <Grid Name="_target"> <CustomControl ActUpon="{Binding NamedElement=_target}"/> </Grid> That of course doesn't work as the object that's pased in is actually a Binding. How can I reference the ...Show All
