MS MVP KenLin for VB.NET's Q&A profile
Visual C++ Hiding private members of a class for the compiler.
Alright, this aint the most nessesary question, i've ever had. although, it is very handy to know. Alright, a descryption: When i create a class, i got lots of private members, on nearly each private variable, i add a property. Now, when i use this class in my program, and i type for example, MyClass:: the compiler gives me a handy list of all the members, he see's in the class. also the pr ...Show All
Visual Studio Tools for Office document_startup problems?
Hi I'm having some trouble figuring out what happens in my code. Short summary: I have a Word VSTO project, in which im referencing a dll (c#) with one public static method in. In the startup method i call this method. Besides this I have now tried creating a messagebox, and I make sure the action pane is visible and adds some content to the actionpane. If i build a release, and opens the .dot from the release dir, all is fine. All mess ...Show All
.NET Development FileSystemWatcher[?]
Hi, I need some help regarding filesystemwatcher class. The main issue concerned here is, when a folder is being monitored and a bulk amount of files is added/copied to that folder, I need to know when the file copy is over. I can take action one that mass of files copied later on. if "c:\myfolder" is the file monitored and if i dump 10,000 files into it, certain event are raised by the file watcher class. that's fine. But i need to know th ...Show All
SQL Server Make (Select All) as default value in parameter
Dear Anyone, Does anyone know how to Make (Select All) as default value in parameter selection on a multi-select parameter thanks, Joseph We have the hotfix for the (Select All) option applied (after applying SP1). However, when the users change another parameter filter which cascades to change to the multivalued parameter filter, the (Select All) option is not reapplied. In other words, if new entries show up in the multivalued ...Show All
Windows Forms CancelEdit or RejectChanges
I have a bindingsource bound to a datagridview. I delete a row using bindingsource.removecurrent, and then I try to restore the row using bindingsource.canceledit. That doesn't work (even though it does work when removing and restoring rows in a listbox), so I tried calling RejectChanges on the underlying datatable and that worked. So why doesn't Canceledit work. I literally put the statements back to back for testing purposes and it still won't ...Show All
SQL Server Identity field settings not copied by Import Wizard (2005)
It appears that when you use the import/export wizard from within Microsoft SQL Server Managment Studio, the identity attributes of the table being copied are not transferred. For example, say the source table has a column [ref] [int] IDENTITY ( 1 , 1 ) NOT NULL, When the import wizard is done the destination table will have a column named ref, but will not be an identity column. The column definition will be [ref] [int] NOT ...Show All
Visual Studio Team System What can Visual Studio Team System integrate with?
Can it integrate with Lauguage PowerBuilder, SAS, SilverStream or Weblogic So, to integrate with PowerBuilder, you will need the MSSCCI plugin to talk to Team Foundation Server. However, there have been some problems reported with this and you may have to wait until the next version of the plugin before you will be able to work (depending on your version of PowerBuilder). See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=415720& ...Show All
Visual Studio Team System "The permission Destroy is not valid"
I created a Team Project and SCC branch and then realized that I wanted to basically start over because I did something wrong. While I don't realistically expect that I can actually delete the Team Project itself, I was hoping to remove and re-establish the SCC folders for that project (by blowing them away and re-adding the code solution to the Team Project). In order to do this I am trying to grant the "Destroy" permission to a user ...Show All
Software Development for Windows Vista help on windows vista
hi i currently have windows vista beta but i can't install it because i need drivers for my sata but my motherboard company can't give me any can some one tell me how to get around this problem or how to get drivers. i think that the version of windows vista is beta 2or 3 and my moherbaord is a asrock p4vm8 can some one plz help me ...Show All
Visual Studio Express Editions I need to get volume information from the hard disk. What can I do?
I am trying to implement a copy protection scheme for my programs and I need to determine the volume information of the hard disk on wich the program is installed. Is there a way to do it from VB 2005 Some information is returned by My.Computer.FileSystem.GetDriveInfo but this might not be enough for your scheme. ...Show All
Visual Studio Express Editions Convert extremely simple VB app to a self-contained exe?
Is it possible for me to take a one-form, very simple application I wrote in VB and make in completely self-sufficient All the application does is have a couple buttons and a text field. The buttons simply call shell programs on the local machine. Kinda bloated to require a MASSIVE .net 2.0 install for such a simple app... Thanks. hi, no you can't every thing your write in .net need .netframework running ...Show All
Visual Studio Team System How do I validate parameters in this case?
Error: ValidateArgumentsOfPublicMethods Code: Public Class ServerListItem Inherits ListViewItem Private m_Server As Server Public Sub New(ByVal server As Server) MyBase.New(server.ServerName) With SubItems .Add(server.BaseIP) & ...Show All
Visual FoxPro my SQL passthrough problem
Good day to all, could i ask where i got wrong with this code , because when i run the .prg for this code, at first try it won't work, then the second time around it works, as if no error. Like when you open VFP, then at the command window you execute the do command, it won't work, but at the second or 3rd try it works. Please help...thanks in advance LOCAL lcConnect STORE 0 TO lcConnect STORE SQLCONNECT ('My SQL Server C ...Show All
Visual Basic Some questions about VB 2005
I have some questions about VB 2005: 1) How can I shutdown or restart the computer 2) What's the difference between My.Application and Application 3) How can I shell an non-executable program, e.g. ".txt" These are my question until now in VB 2005. Please can anybody answer me 1. http://www.codeproject.com/useritems/Shutdown_Restart_VBNet.asp 2. My.Application is a helper clas ...Show All
Windows Forms Automatic toolbox item service ignores ToolboxItem attribute
The service that automatically creates toolbox items is not using the correct class: it ignores the ToolboxItemAttribute on the component that specifies which ToolboxItem-derived class to use, and instead creates a ToolboxManagerToolboxItem. The result is a bunch of unusable Toolbox items. We have already logic to populate the toolbox with a correct ToolboxItem whenever the designed class is opened in our graphical root designer. So we h ...Show All
