actofbob's Q&A profile
Visual C# How to hide class
I'm trying to hide class to the object browser, trying using the attribute : EditorBrowsable(EditorBrowsableState.Advanced)] but it seems run right only with properties and method. Is there any way to hide a class Use [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] to completely hide a class from Intellisense. If you don't need the class outside the assembly then simply mark it as internal. It will always show up in the Object Browser. Michael Taylor - 10/27/05 ...Show All
SQL Server Importing SQL 2000 data into 2005
Hello! I've got some backuped files from a 2000-server Analysis services and I need to import them into 2005. The problem is that I am not sure how these files where made and thus what they are. AFAIK they are simple dumps of databases. At least they have the same names: msdb_db_<date>.bak (500Mb) model_db_<date>.bak (800Kb) and the actual database with data which doesn't have a file-ending at all. These files are used as backup and apparantly it is possible to restore the 2000-server using them. Basicly this is all I know about these files. Is there any way I can do this The background to this story is that I am t ...Show All
Visual C# Some problems?
I'm not sure if this is the right place to post this but as it's the Visual C# forum I figured I would do it here. I've searched since around 11:00 PM (it's now 4:00 AM) for a fix to my problem. Apparently I used to have Visual C# Express Edition and MSDN Express Edition both installed and somehow I messed everything up, now preventing me from installing Visual C# again. I have no way to uninstall these, I've run multiple "clean-up" tools, one worked but returned errors when it got to Visual C# and MSDN, which were: Error 1316.A network error occured while attempting to read from the file: c:\WINDOWS\Installer\msdnexp.msi AND Error 1316. ...Show All
Visual C# Solution-wide data access
Hi, I have a solution with a main project (my actual application), a plugin handler project and about a dozen other projects that are the actual plugins for the main application project (the main application is fully based on these plugins and only functions as a visual interface for them basically). Now, i have an Access database (although i may move to VistaDB) that is accessed by just about all plugin projects (but NOT the main application project). I have been searching my rear end off but i can't seem to locate any information on how to make a single database accessible by all these projects without having to define the databas ...Show All
Visual C# C#, Arrays, and Guids..OH MY!
Hey everyone :) I hope i'm posting this in the right forum, since it deals with a little a little SQL, as well as C#. The problem i'm having is this: I've got 3 tables. A "Users" table, a "Role" table, and a "UserRole" table. The "UserRole" table has two columns, "User_ID" and "Role_ID"...both of type uniqueidentifier. I'm trying to add the functionality of adding a user to multiple roles, but I need to get the GUIDs of the roles from the "Role" table, and store them in an array, so that they can then be added to the "UserRole" table (I'm having no problem getting the GUID from the "User" table). Here's what I ha ...Show All
Visual Studio Binary/ASCII recognition and Binary_Masks option with SS 2005 does not work
Hi ! We have switched to VS2005 and VSS 2005 and have now some problems with the file type recognition . We have a filetype that contains a lot of ascii line (Defines) and after that there is a CTRL-Z and binary data. Because the recognition is very hard we set the BINARY_MASKS-option in the ss.ini to that extension. That worked fine with VS6, but VS2005 doesn`t care about the option and sets the filetype to ASCII. Whats wrong Regards from Germany Joerg Hi Joerg, If you're using a beta or pre-release version of VSS2005 you may have problem with Binar ...Show All
SQL Server 2005 backup scheduler
I can not see the schedule option in the backup database window of sql server 2005. Any thoughts please Make a new SSIS Maintenance plan, scroll down to the Mangagement node, expand, right click the Maintenance Plan node and select either New Maintenence Task or Maintenance Plan wizard. The Maintenance plan gives you the scheduling options. ...Show All
Visual C# escape \t
hi, I've been using c# for a short time and there is a little thing a don't understand: if I write this line (where outputLabel is a label in a form) outputLabel.Text = "hi\teveryone"; the tab is not displayed correctly (there is not blank space, I see a strange character) if I use \t in a messageBox as in: MessageBox.Show("hi\teveryone"); everything is OK and I see: hi everyone why I use visual C# espress edition) thanks It appears like it is a limitation of the label control. If you switch the property "UseCompatibleTextRendering" to true then the charact ...Show All
Visual C# Thread problem
Hi.. I created a thread to watch for closing a window... i make a loop for watching the process that have a Main window..and when a windows closes to do something Anyway my problem is that my CPU goes nuts.. from 3% goes to 90 100% and i gived to someone else and sad that is working fine.. And my CPU is a INTEL Pentium 4 3.2 Ghz and i Have 1Gb Ram.. the hardware shouldn`t be a problem Hmm... what's that thread doing in fact while (window not closed) { } do something In this case of course is using 100% CPU.... Why do you need a thread to watch for closing a window A window has a Closed event, use that. ...Show All
Visual Basic DataTable help
Hello, I'm very new to this so please bear with me! I'm trying to create a datatable in VB with all the datacells already filled in (it's 5 columns by 7 rows). The user has to select one of these cells and the data from that cell goes forward to a subsequent formula. I can create the columns for the table using: myDataTable.Columns.Add("C30") 'add a column with a header "C30" myDataTable.Columns.Add("C35") 'add a column with a header "C35" myDataTable.Columns.Add("C40") 'add a column with a header "C40" myDataTable.Columns.Add("C45") ' ...Show All
Smart Device Development eVC - VS2005 Migration experience Issues,Suggestions,
Hi All I work to improve native development experience for devices. Recently I have seen few customers reporting eVC-VS2005 migration related issues. We generally help most of our customers through forums, newsgroups , blogs posts, etc , We wrote a small doc on how to add missing MFC classes source code to your projects However , Since this migration scenario is very important to us and we are committed to support/improve user experience here , I wanted to understand and take feedback from customers on what they expect us to do additionally to convince all eVC customers to move to VS2005 ...Show All
Windows Forms VS 2003: Creating a New View
I am working through some examples in a book preparing for the 70-320 exam. I am using VS 2003, C#, and SQL Server 2000 Personal Edition installed locally. I have created a Data Connection to the Northwind database, but when I expand the database node and right-click on the View node, all I get is "Refresh" and "Properties." According to the examples, I should be able to right-click the the View node and select New View. Thanks for your help! Edit: I just tried creating a connectin to a remote SQL Server 2000 Standard Edition. I was able to make the connection, but still do not get the "New View" option when ...Show All
Visual Studio Express Editions Tabcontrol within form
Hello, I've a tabcontrol with 4 tabpages (in design mode). Each tabpage has elements. Above the tabcontrol, there is an button. I want to save the values of the elements in a database. That works, but one problem. Only the values of the elements in the activated tabpage will be known when I click on the button. The elements of the rest of the tabpages are known, but their values are empty. What's the problem What is the save button actually doing As you have seen it seems as it is only working on the active form. The solution is probably to change the behaviour of the save button to include all pages of the tabcontrol. ...Show All
Windows Forms Checked Items in DataGridViewCheckBoxColumn
Hi all, I have a DataGridView control binding with a DataSet, and a DataGridViewCheckBoxColumn is placed at the last column. Now, I want to get the checked items from this DataGridView and do other processes. Can you tell me how can I do this (E.g. loop all rows in DataGridView and then cast the CheckBox control, so that I can retrieve the value of the CheckBox as well as the values of cell[2] and cell[3].) Thanks, Peter foreach (DataGridViewRow dataGridRow in dataGridView1.Rows) { int i = ((DataGridViewCheckBoxColumn)dataGridRow.Cells["checkbox_col"]).Value; &n ...Show All
Visual Studio Team System Team System product State
Hi, I'd like to now which is the state of the product Is it in RC or the product was finally released Thanks a lot ...Show All
