StevenPo's Q&A profile
Visual Studio Questions on setting share permission on the VSS database folder
Dear experts, Just several questions on the share permission setup of VSS database: 1. It is necessary to set the share permission of the VSS database folder to "Change" to to users that needed to check in / check out files, am I right 2. If yes, users may access the files / folders in the VSS database folder by enter the share path in exploerer. (e.g. \\server_name\share_name ) They can even delete or destroy all the VSS database files without security control, am I right 3. If yes, can you please suggest any security control over this case please Thannks. Hi Yes you are correct about the security req ...Show All
Visual Studio Tools for Office Focus after bookmark insert?
We are displying a Word Document in a Iframe on an .aspx page. This Document was created using VSTO and in it we have an ActionsPane. We use it to insert bookmarks onto the Document by double-clicking in a listbox. All that works fine, but my problem resides in the foucs after we insert a bookmark. The focus remains on the listbox, NOT the Document, which I need. I have tried this: doc.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekMainDocument It works fine in just the Document, but in the browser it doesn't. I know it is not meant to be in a browser, but does anyone have any ideas O ...Show All
Windows Forms datalist item duplicate
i got a datalist that's bound to a dataset... im sure the dataset contains distinct rows as i viewed it by a datagrid but me datalist is showing the same data for each item in it (it gets the number of rows right though).... donno what's goin with its binding and why is it different from the datagrid's!!... ne help's appreciated. Are you using ASP.NET (DataList is an ASP.NET control not a Windows Forms control) If so, please post this question to one of the ASP.NET forums: http://forums.asp.net/ . Thank you, Joe Stegman The Windows Forms Team Microsoft Corp. This posting is provided "AS IS" with no warranti ...Show All
SQL Server what is [SQL-DMO]
in computer management, when i expand the branch of my sql2005 express, i got a error message. it seems i cant register my server, but i cant login in sqlcmd i also installed sql2000, and it works fine... could anybody help really strange This will never work. You need to use Management Studio (full or Express) to connect to SQL Server 2005. We have a bug file on our side to determine why the server is being registered. If we fix the server registration problem, you still will not be able to connect to SQL Server 2005 through this means. Peter ...Show All
Windows Forms Is there a built in Most Recently Used (MRU) class?
I want to implement a MRU list for recent files in my Windows Forms application, and I want the data to be stored in the user.settings file. This seems like a very common task, so I'm wondering if there is something like this built into the framework. Or available somewhere else. Any thoughts Thanks! Erick This CRecentFileList leads to Add Command Handlers for MRU Menu Items in MFC Application Looks like it can not be used in windows forms. Any clue or help I do not know whether I can use it or not Thanks in advance, ...Show All
Visual Basic Accessing images stored in Access database with VB.NET 2003
Hi, I am developping an employee management application with VB. I used an Access database to store employee information and the pictures. However I have a difficulty at displaying employee images. I have found some code to add images and display them on the form. The code, first reads the image stored in database (in binary form) then writes in a temp file and then uses a picturebox to display the image on the form. Code is working fine but when I try to add a picture for an employee and then try to change (another add operation) the employee's picture right after addition, program crashes because the temp file is already in use. Can y ...Show All
Visual Studio Express Editions VB + SQL server vs Access
I am very new to programming etc so I may be misunderstanding the situation, but my question is this: VB.Net Express is a programming language which comes with database functionality via SQL Server Express, whereas Access is a Database which is programmable via VBA. So, if one is developing a (fairly simple) database based application what are the pros and cons of using one set of software tools versus the other Thanks for any insights. Eric It really depends on your field of expertise. Personally, I'd crank out something faster using C# and SQL Server, because that's what I do. But, Access is definately e ...Show All
Software Development for Windows Vista Link error PlayWndASF MicroSoft Sample
I can't compile PlayWndASF sample from DirectX 9 installation. Cam anybody give me WMStub.lib --------------------------------------------------------------------------------------- NOTE: To link and run this sample, you must install the Windows Media Format SDK 7.1.1. After downloading the Format SDK, you can extract a public version of the WMStub.LIB library, which should be copied to the Samples\C++\DirectShow\Common folder. This library is necessary for enabling Windows Media content. Without this library in the Common folder, the link will fail with: LNK1104: cannot open file '..\..\common\wmstub.lib' If you remove the WMStub.li ...Show All
SQL Server Getting Started
hey, I am 100% new to useing SQL server 2005 express/SQL server, and when I installed it I only had 3 options I could chose from in my start menue for this program: Server configuration manager, SQL server and error usage reporting, and SQL server serfuace area configuration. And what I want to do is make a database for a website I am making, with files that can be downloaded and user account info(passwords and usernames) but I dont know what to do, what can I do to do this Had the same problem after about 2 hours found this link, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=246872&SiteID=1 hope it helps ...Show All
Visual Basic Add connection wizard fails with Access database
I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- Format of the initialization string does not conform to specification starting at index 0. --------------------------- OK --------------------------- And more, the Advanced button is dis ...Show All
Windows Forms Strongly Typed Dataset Problem
Hi, I’m trying to generate a strongly typed dataset using the Server Explorer in Visual Studio. It works fine when I drag a table to a form to begin the process. But I get the following error for both the update and delete statements when I use a view: Could not determine which columns uniquely identify the rows for "My_View”. The tab ...Show All
Windows Forms Photo Printing Wizard
It seems that the output from the desktop source, with or without installer, lacks the ability to configure a client to support WIA, whereas the msdn FotoVision Desktop.msi distribution does. I created a custom version with installer and deployed on client. When attempting to print, an active x related error was thrown. Then, after installing the msdn FotoVision Desk ...Show All
Smart Device Development Installer for .net Application
I have some questions regarding the handling of .net CF installation I have a cab file and a working MSI installer for my app. (based on http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnanchor/html/CompactfxTechArt.asp) How can I check if the .net cf 2.0 is installed on the device and is there a way to somehow merge my installer with the .net cf redistributable (from here: http://www.microsoft.com/downloads/details.aspx familyid=9655156b-356b-4a2c-857c-e62f50ae9a55&displaylang=en) Or is there another way to bundle the different .net cf version (for ppc2003, windows ce 5.0 ....) with my application regards norbert ...Show All
Visual C# How can I make my user control dragable?
I have a user control look like a panel. I want to make its dragable so that user can move it to other location. How to do this Many many thanks I have earlier asked but got no response so I had to delve into it myself. It can be tricky because it is easy to get into an infinite loop with MouseOver over yourself. I adapted the solution from a book but I can't remember the title of the book now. Basically, it involves noting down the mouse position and setting a flag on MouseDown. Note that MouseMove fires even if the mouse moves outside the object after MouseDown has been fired from that object. A ...Show All
Visual Studio Express Editions Problems with Downloading Registration Benefits
There have been several reports of problems with accessing and downloading registration benefits. We have investigated the issue and have news to report. This sticky thread will be updated with additional information as it becomes available over the next few days. Background In order to negotiate deals with partners and authors to provide the highest value benefits, we must must be able to guarantee a secure download center that limits benefits distribution to those who have registered. We use the Microsoft Connect site to provide our secure download infrastructure, which is why you are redirected to the Connect site from ...Show All
