R1ch_t's Q&A profile
Windows Forms ListBox is really slow on adding about 64000 items
so, this is a problem - adding about 64000 into ListBox takes about 2-3 seconds.. my code: Can the virtual list control be used on a web page or is it for windows apps only ...Show All
Visual Studio Express Editions Amazon Movie Collection Starter Kit
I downloaded the Amazon-enabled Movie Collection Started kit but I've been unable to install it. When I run the VSI to install the template I get the message: "Installation aborted because the item was a duplicate of an item already installed." The "standard" MovieCollection template is installed by default and I didn't see a way to uninstall it. Any thoughts Thanks. Hi Derrick, Thanks for reporting th ...Show All
Visual Studio abstract items
I need to implement new project type that represents hierarchical structure of abstract items, described by an object tree (serializable). Each item in this project should be editable with my custom editor. Which interfaces should I implement and in which order Should I use MSBuild somehow Is there any example of such project I prefer using MPF. Have you looked thru all of the VS SDK project samples and ...Show All
Windows Forms Length of Deployment URL too long?
I receive an error when trying to install my CLickOnce application at the client which does not occur on any other internet connection I have tested. I suspect the issue is that the client uses internet monitoring software that inserts a lengthy path in front of all URLs. As you can see below, it inserts http://10.10.0.175/ cfru=aHR0cDovL3d3dy5kc................(etc ...) in front of all URLs Is the fact that this URL ends up being over 100 ch ...Show All
SQL Server valid dbo user
Hello, I'm brand new to Visual C#. I'm trying to create a database to link a windows form to. I've made some tables and when I try to create a database diagram I receive an error: "The database does not have a valid dbo user or you do not have permissions to impersonate the dbo user, so database diagramming in not available. Do you want to make yourself the dbo of this databases in order to use database programming " When I select ...Show All
Visual Studio Team System Correct name: TFS Version Control or TFS Source Control
What is the correct way of referring to the new Source Control System that comes with VSTS When you select the Source Control Item from the Options dialog in Visual Studio Team Edition for Developers (Tools | Options) it describes the 'current source control plug-in' as 'Visual Studio Team Foundation Server'. I'm hopeful there is a more descriptive name like 'TFS Source Control'. What is it In one document Microsoft call it Source Control ...Show All
Visual Studio Error opening class diagrams
I get this error when opening class diagrams: Cannot load 'filename': Method not found: 'Boolean VSLangProj90.Reference3.get_resolved()'. This is with beta 2 standard edition. Does anyone have any ideas what the problem is or what I'm missing The only people who have reported seeing this error have all installed Beta 1 before. Please log a bug through MSDN Feedback center. You should probably also r ...Show All
.NET Development How to catch a network failure from socket operation
Hello, I am using .NET 2.0 and I have a few questions regarding the network failure. I have connections established between server and clients and I need to be notify on both sides when a connection in no longer valid following a network problem between the peers. I am using TcpClient with SslStream to establish the connection with the server. The connection is well established, the messages are well exchanged, and EndRead function returns ...Show All
.NET Development How To Connect to Database after Deployment
Can anyone help me as to how I go about setting up my program so that after I make it into an .exe for installing on another machine it will give me the option to connect to a database on a server. Like I said this is useing the Windows Installer. Any sample code or links would be a big help. I have made the program useing the setup and deployment wizard but when I install it on anothe machine it needs to be able to connect to a database which i ...Show All
Visual Studio Express Editions Display RSS Feed
I have a very basic bit of code which displays the contents of an RSS feed in a datagridview. Currently it displays everything in the feed (category, title, description, link) There are three ways I would like to edit this: 1. Only display the Title, Description and Link columns 2. The link is currently only displayed as text, I would like to make at an actual hyperlink to the article. 3. Currently the feeds will display in new c ...Show All
Visual Basic Whats wrong with this?
Im using this code to save: Dim app_path As String Dim nFileNum As Short app_path = My .Application.Info.DirectoryPath FileOpen(nFileNum, app_path & "\" & "SortingApp.data" , OpenMode.Binary, OpenAccess.Read, OpenShare.LockReadWrite) I put this code in the form1 load But when i run the program it highlights the whole last line in yellow and says 'bad file name or number' Could someone please tell me ...Show All
Visual C++ Create an instance of MSVC 7.1 using EnvDTE
Following the instructions from the Microsoft documentation, I entered the following code. CComPtr<EnvDTE::_DTE> m_pDTE; HRESULT hr = m_pDTE.CoCreateInstance("VisualStudio.DTE.7.1", 0, CLSCTX_ALL); // Create a new instance of Visual Studio .NET However, this generates a compiler error: error C2664: 'HRESULT ATL::CComPtrBase<T>::CoCreateInstance(const IID &, LPUNKNOWN, DWORD) throw()' : cannot conver ...Show All
Visual Studio Tools for Office Shared Add-In VS2005
Hi! I have problems to get Shared Add-in done with VS2005 ("final" version) with Word 2003. I manage to make same test with old VS2003 shared add-in project type and it's working fine with Word 2000. Is there some issues why .Net 2.0 Shared Add-in won't work with Office 2003 Also what I actually trying to solve is that I need add-in or way to add new command bar to Word where users can use my .Net windows form program. On VS2003 it wo ...Show All
Visual Basic how to create a new txt file at midnight each day and write to it
Hello I was wondering if somebody could help me with creating a new txt file each day at midnight with the name in the format of ddmmyy_hhmmss.txt also how to add text to it, well maybe i can do this i think, but maybe it would help confirm this bit. ikind of have the following so far, not much i know, thank you all in advance Private Sub OpenFile() ' filename = "C:\CRAPS\txt_files\" & Format(Now, "_MMMddyy ...Show All
SQL Server debug
Hello guys! I am trying to debug a sql procedure inside Server Explorer but I can seem to step into each line. When I run the procedure it doesn't stop in the breakpoint I set. By the way I am running in a client pc.. Please help guys! Is this a T-SQL proc, or a SQLCLR proc If it is a T-SQL proc, make sure you ahve opened the proc in VS before you step into it. If it is a SQLCLR proc there are a coupl ...Show All
