MichaelS's Q&A profile
Visual C# Opening a tabControl
Hi, all. I have created a tabControl, with 3 tab pages. I have created another 3 buttons, each representing the selection to open the 3 tab pages accordingly. So, how should I set the contents of the event handler for the 3 buttons Thanks for any suggestions! Hi. I cant really understand what you're aiming at. If I have understood you correctly...you want whenever button1, for example, is pressed to show tabPage1...button2 to show tabPage2 and so on...or maybe I am wrong! woof ...Show All
Visual Studio Team System AdminProjectRights problem
While trying to lock a branch down, I changed the permissions for a branch. I unchecked the 'Inherit Security Settings' box, and changed the contributors to only having Read rights. I didnt realize unchecking this box would remove all rights for every other group. Now, I dont have rights to change any other rights. I get an error saying my user needs AdminProjectRights. My user is both Team Administrator and Project Administrator, yet I dont have permission to change this project. How can this be resolved Thanks in advance. MikeH You didn't read my blog entry entitled " Don't Do That " did ...Show All
Windows Forms How can i get the serial number of Hard disk or mainboard
hi i want to program a software lock for my application and i want to know How can i get the serial number of Hard disk or mainboard or any suggestion for software lock in vb.net thank you so much thank you goncalo.borrega for reply but i want to know is any way to get the manufacture serial number of hard ...Show All
Visual Studio 2008 (Pre-release) Config failur
I am creationg a service. When I add an end point in code it works. But when I add it in app.config I get a exception telling me then the configuration of the service can not understand the attribute "type" in the statmant <service type="xxx" ... why did the schema change Yes, the configuration schema has changed. You now set the service's name instead of the type. For the default ServiceHost that ships with the WCF product, the name resolves to a .NET type string by default. However, this change allows ServiceHost developers to create their own look-up mechanism that do ...Show All
.NET Development MSMQ setup for windows XP
We are upgrading MOBILE FIMS application from Windows2000 to Windows XP. Our application uses MSMQ and also .net remoting technologies. Could you please suggest us do we need to install older version of MSMQ on windows xp to make it work. Please suggest us! ...Show All
Visual C# string
hi ,, for example, i have a textbox call txt with the text " visual studio" and i want to change the txt.text to this: "visual-studio" i mean every space blanc it will be replcae by a "-" thanks xinpis@hotmail.com txt.Text = txt.Text.Replace(' ', '-'); ...Show All
Visual Studio Express Editions Adding a second form
In NET 2003, I read this instruction in a book: "Visual Basic .NET requires that you specifically declare a variable of the form's type before you use a second form." Assuming two forms frmMain and frmHelp, I would do this in frmMain: Dim frmHelp As New frmHelp frmHelp.ShowDialog() But in NET 2005 (Express) it seems to work without the Dim: frmHelp.ShowDialog() Has the requirement changed David, Thanks for your excellent post; very helpful. Altho using OOP several years (for personal usage), I need to make time to improve my understanding of classes and metho ...Show All
Visual Basic testbox comparisson doesn't work
Hi all, another quick question. I've built a form and I'm trying to introduce a mechanism so that when a user creates in a password (s) has to confirm it. If the two don't match a pop up msg will occur. An the programme will halt until he puts is a matching one. But my registration form comes up even if I don't put in the right pw. Any ideas. (the form was built in Dutch, but I hope it makes sense. Password in Dutch is Wachtwoord) Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load LblWelkomTxt.Text = ("U ben geidentificiert als een niewe klant. ...Show All
Windows Forms change datagridview row color (winform 2.0)
is there an easy way to do it in 2.0 i want to change color base on condition of column. I assume you mean "based" on condition of column What specific condition are you looking for. Are you looking to change the one cell in a column, or the whole row based on a column setting, or did you mean based on the condition of the row There are a ton of events for changes to columns as well as rows in the DataGridView class. Look through the list and you may find what you need. The DataGridViewRow class provides a DefaultCellStyle property that defines row-specific styles, and the DataGridView c ...Show All
Microsoft ISV Community Center Forums Collections of control - evaluating the name of a control that has been "pressed"
Hi, I have created a form in Excel, upon which is a multipage control, with a set of combo boxes placed on. One combobox is populated by a pre-defined list of text, which upon user selection runs a macro that defines the population of a second combo box.......like a choice - sub-choice set up. The user is able to add and delete pages to their requirements, which also add and deletes the combo boxes on each page, however the user will always be presented with the same choices for each page but at any given time the coices on individual pages may or may not match the choices on others.....at least that's what I want. I want a common code ...Show All
Visual Studio Express Editions Hi I need a math expert
Hi i need some help building an advanced calculator using vb .net 1st i want to calculate the logarithm and the ln; i used math.log(x) but it returned a number different than the one i get using the windows calculator. Also i need to calculate sin^-1(x) but i cannotmake it 2nd i need a help with keypresses. i made my codes in the form_keypress but when i click on any button it focuses and then the keypress doesn't work and when i press enter the button focused is clicked, i wrote Me.Focus () in each button sub but it didnt work. but when i wrote it under form_lostfocus it worked but i had another problem which is i cant select any item in t ...Show All
Visual Studio 2008 (Pre-release) how to make window do not show in taskbar
i want to display a window with transparent HwndSourceParameters para = new HwndSourceParameters(); para.UsesPerPixelOpacity = true; para.ExtendedWindowStyle = 24; HwndSource source = new HwndSource(para); source.Disposed += new EventHandler(source_Disposed); &nb ...Show All
Windows Forms No Setup Projects in VB 2005 Express?
Do Setup Projects exist in VB.net 2005 Express Edition Beta 2 MSI that is, not ClickOnce. If so I can't find it on my copy, despite it mentioning such a thing in the MSDN documents. Nidonocu, Setup projects are not avaliable in any of the express skus. The deployment technologies avaible in the express skus are xcopy and ClickOnce. Regards, Elizabeth Maher ...Show All
SQL Server sql server 2005 trial version
where is the import and export data function in sql server 2005 express i have a data in ms access which i want to import to sql server 2005 express.. thank you erd wrote: where is the import and export data function in sql server 2005 express i have a data in ms access which i want to import to sql server 2005 express.. thank you Hi erd, Me too. I'm facing the face issue too.. ...Show All
SQL Server Publication Configuration Error
Hey Everyone, I am trying to setup publishing on SQL Server 2000 Enterprise. I will be subscribing from a SQL Mobile 2005 database so I have installed the SQL Server 2000 SP3a Replication Components, .NET Framework 2.0, and the SQL Server 2005 Mobile Edition Server Tools. I was able to go through the 2005 Mobile Web Synchronization Wizard with no problems. However, when I try to run the Configure Publishing and Distribution Wizard, I get the following message at the end: SQL Server Enterprise Manager could not configure 'GISSERV' as the Distributor for 'GISSERV' Error 14114: '(null)' is not configured as a Distributor. The fi ...Show All
