Yan SW's Q&A profile
Windows Forms Bug? Bound listboxes with dataviews - Problems with SelectedIndex and view
Hello, Perhaps I've just been staring at this code for too long this morning, but I'm running into what I believe to be two distinct problems with two listboxes and how the SelectedIndex property interacts with the items in my list. In addition, once items are moved around between the two listboxes, I have this one "phantom" item in my listbox&nbs ...Show All
Visual Studio Express Editions I don't see any projects to choose from - VWDBeta2
I go to create a new project in Visual Web Developer Express Beta 2, but don't see any to choose from. Did the install go bad or is there a fix for this no that is not correct, here is what happened. You must of used a registry cleaner. for further details look at this post http://forums.microsoft.com/msdn/ShowPost.aspx PostID=65384 It will show a description and a solution ...Show All
Visual C++ Comparing ref pointers for equality
Now that operator overloading allows to ref classes to be compared for equality using == syntax, how does one compare the actual ref pointers ( ^ ) for equality instead As an example: SomeRefObject ^ obj1(..initialized somehow); SomeRefObject ^ obj2(..initialized somehow); if (obj1 == obj2) // This compares the objects themselves for equality in C++/CLI I assume. How do I compare the ref pointers themselves ( ^ ) for equality You have to downcast to System::Object first - this avoids any equality operators that may be defined if (static_cast<System::Object^>(obj1) == st ...Show All
.NET Development List files on ftp server
Hello all, i have created an ftp client in C# using Wininet and i am able to download upload files from and to my ftp server, what i would like is to have the list of files and directories on the ftp server using wininet. any help would be great. With WinInet you'll have to PInvoke FtpFindFirstFile and InternetFindNextFile . Just FYI: there is an FtpWebRequest class in 2.0 that can make some operations easier, but doesn't actually provide as detailed an API as WinInet. ...Show All
Visual Studio Team System Organizing source code and projects - looking for best/recommende practices
We have a large website which will comprise up to 30 VS-projects. Some of them are shared assemblies (DAL, domain logic) and some of them will be very feature oriented (business portal, catalogue management, membership etc). Our project model is a customized version of “Agile RUP”. We will continuously have 2-3 development projects running (each with 2-6 months duration) – each project having two or more iterations. These projects will have their own specifications, project plans but share a lot of documents related to the “large website” project. Having looked at MSF Agile, we think we must a separate Team Site for ea ...Show All
Visual C# Using an Array in a Property
Is there a way to get/set values in an array using a property, by passing an integer representing an index This is what I have: public double GetSideC(int index) { return _hexabotLeg[index].SideC; } public double SetSideC(int index) { return _hexabotLeg[index].SideC; } This is what I would like to accomplish: public double[] SideC { get { return _hexabotLeg[index]; } set { _hexabotLeg[index].SideC = value; } } where "index" is the index value being passed in, along with "value". As I understand you, It would be better wit ...Show All
Visual Studio cannot find keycodev2.dll or Invalid Keycodev2.dll
I have developed and win forms application using vb.net, as part of the application I have added a few Crystal Reports. after deploying my application to my users, and they try to open the crystal report I get the following message : cannot find keycodev2.dll or Invalid Keycodev2.dll My app is going in production next week, I need help asap. Thanks Martin ...Show All
Visual Studio Express Editions How can I copy data from an .xls file without opening excel
Well I want to copy data from an xls file without opening excel into a data set let's say. Does anyone know how can I do this Try using the ODBC provider for Microsoft Excel. Here's a tutorial: http://www.datamystic.com/datapipe/excel_odbc.html Alternatively, you can use the Microsoft Excel API - have a look at http://support.microsoft.com/Default.aspx kbid=306023 ...Show All
Visual Studio Express Editions csc.exe
hi I installed Microsoft c# express edition.Now Problem is How to get the c# command line compiler to run the c# applications. I found csc.exe file in .net framework 2.0 ,I tried to open it,but it flashes once and disappears. Please help me how to get csc.exe. Thanks in advance. If you have C# Express installed, you don't need to use the command line compiler. You create your project with all classes in the IDE, and run it from the Debug menu. ...Show All
Software Development for Windows Vista using regsvr32 in Vista 5231 to install COM component fails to write to registry
I am trying to register a com object (dll) with regserv32 in Vista 5231. My Dll is being loaded and my DLLRegisterServer method is invoked which uses RegCreateKeyEx and RegSetValueEx to write to the registry (HKEY_CLASSES_ROOT\CLSID\XXX\XXX). I am writing everything out to a file just to make sure everything is going ok. all the RegCreateKeyEx calls and RegSetValueEx calls are returning success, but when I look in the registry my newly created keys aren't there. Are there any known issues with using RegCreateKeyEx or RegSetValueEx to modify the registry with Vista 5231 I resolved my issue. there seems to b ...Show All
.NET Development Copy row contents to same table as new record
Hi all, I've searched a lot but I am looking for a simple way for a user to copy the contents of an existing record to a new record in the same table. I was hoping to find a dataset.table.row.item(index).copy feature, or something similar. Any suggestions are much appreciated. Thanks! Thanks again for your help! I had not tried the Constraint method I mentioned, and I'm glad I waited! In the meantime I had done this; (it really stinks so hold your breath) 'Dim newrecord As DataRow 'newrecord = Me.MachineDataSet.tblFeeder.NewtblFeederRow() 'newrecord.Item("Name") = NameT ...Show All
Windows Live Developer Forums Messenger API call function?
I'm not really familiar with the messenger API, but is it possible to : - develope an application that can triggers the messenger API to make voice or video calls (using the messenger's native function) If so, which document describes how this is done -JM I am not faimilar with this, but several days ago I've just bumped into the following document. Real-time Communication (RTC) Client It's not directly related with the messenger. I am trynig to find some documents about the messenger and think you must know this. Windows Messenger Hope these can be of some help to you. ...Show All
.NET Development ArrayList.Add problem - values and references
Hi, I'm having a problem with my code. I have an Array called moves of length four that contains ArrayLists, each of which I modify according to user input. Each time input is complete I want to save a copy of the moves so that I can go back and retrieve previous entries. In order to do this I have a separate ArrayList called history to which I add moves after input using history.Add(moves); In this fashion I can retrieve previous entired by accessing history(0) for the first set Array etc. Sadly each time I alter the contents of moves , all of the objects I have added to history are also changed, so I just end up with an ...Show All
Visual Studio ParameterFieldCurrentValueException when exporting or printing crystal report
Hi. I get the ParameterFieldCurrentValueException exception when I try to export or print a crystal report (I am using the version bundled with Visual Studio 2005). The report works fine until I add a sub report to it. The sub report has 1 table but I have not put any of the fields onto the report. Neither does it have any parameters set up so I can't see why it is looking for parameters. Thanks, Will. Yeh, I have exactly the same problem as soon as you have a sub report on the main report and try to execute it, it throws a missing parameter exception. I created a app in the Beta 2 release of VS 2005 an ...Show All
Visual Studio Team System FxCop currently does not support running the spell-checker on 64 bit platforms.
any chance on fixing this anytime soon i have spelling issues :). thanx for the quick reply. no inconvience, i'm patient and have a billion other rules to wrench out of my code. just wanted to make sure it was on someone's radar obviously its an excplict exception, just seemed a bit odd and was curious, seeing how everything else works and i'm dead set on not going back to 32bit even to save my failing english skills. ...Show All
