Answer Questions
Paulo Cardoso Passing DataGridView record
Hello, Using VS2005, I created a dataset that grabs some data and populates it in a datagridview, is it possible to capture the highligted record and then write some code to a button that will pass that data to another form so 1)Load list 2)Select Record 3)Press Button So far so good but now I need to know how to capture the record that is highlited. Please can someone help Regards, Pace im not too sure how to be able ...Show All
DanJGarner Get system uptime without GetTickCounter
Hey! How do i get the system uptime for Windows, without using GetTickCounter I'm running Windows XP and Visual Studio 2005. Would be nice if anyone could help me with this! - TankVB There's a performance counter called "System Up Time" you can read the value of. The category is System. Could you tell me where to find some information about this counter I have this code, but i don't know the cate ...Show All
Daniel Goita Ferketa I can not edit code while debuggind and in break mode
When I am in break mode, I cannot update code. I receive message "Cannot currently modify this text in the editor. It is read only." Can anyone explain why I get this message All the Best, Charlie spotty wrote: Are you using a 64 bit machine - as edit and continue is not available for 64 bit. I am having this exact problem, and I am running Windows Vista x64. Thanks for shari ...Show All
Mcmac Do you use Keyword "Me"?
Keyword "Me" is convenient because VS 's intellisense automatically shows you what members the class of "Me" has. If you have a lot of classes and a lot of members in each class, "Me" becomes more helpful to me as my brain doesn't remember a lot. Howerver, leaving a lot of "Me.*" seems reduce readability of my code. And I am not sure if this would degrade perfomance due to Symbol lookup(Or increase comp ...Show All
Goofs RaiseEvent in inherited classes
Sorry if this is a FAQ: I've read the error notice in help (VS 2005 Visual Basic Express Edition beta 2) saying that I have to "move" the declaration of an event into the class I want to use it in. Doing that means that the Dim WithEvents myvar As ParentClass in the MainForm module causes an error because the class doesn't have any events. My problem is that I want to Dim the parent (mustinherit) class because I want to be able to ch ...Show All
Sebcio VB vs C#. How capable is VB compared to C#?
I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. ...Show All
loukia StringTokenizer in VB.NET and highlighting
Is there anything like a StringTokenizer in VB.NET e.g. If I've got a String "artificial intelligence", how to divide it into two strings Another question is about highlighting particular words. e.g If I have a short text "He is a professor" in a Label. What I need to is to highlight the word "professor" by displaying it using different colour. Hey, not everything ...Show All
sara8dev Insert from Form with textbox for details
Hello, I want to insert data from a form with textboxes for entry of the information. I have a dataset,bindingsource and table adapter on the form and the text boxes are bound. So far I have managed to do a "manual" insert using the following code Me .HospitalTableAdapter.Insert( "1" , Me .NameTextBox.Text, Me .Address1TextBox.Text, Me .Address2TextBox.Text, Me .Address3TextBox.Text, Me .CountyTextBox.Text, Me . ...Show All
Warboy Unicode question
After I have compiled my application are there ANY possible ways that UNICODE can affect the running of the application in any way at all For example (run on these systems characters typed and entered into fields will they be 4 byte characters ) If there is any possibility of any problems at all then how do I know when this is happening and how do I resolve the problems Michael J. Dyrnaes I read, and re-read your posts Michae ...Show All
Pgn Display a value in Binary
How would I display a number in binary format. I looked through the help files and only found how to display in hex format. I am making a small bitwise calculator for personal use and need to display value in binary format. Thanks. Ok, thanks for that. It worked but is there a newer method Also, is there a way to make the binary value only as long as it needs to be instead of being a long at all times (If the integer is 5 then I want t ...Show All
John Faris Connect to an Access 2000 database stored ONLINE from VB
Hi! Being fairly new to VB, I am trying to develop a software 'activation' service using a Visual Basic application and an Access 2000 database stored online. NOTE: The database is 2000 format, but it was created in Access 2003! Does anybody know how I can connect to my MS Access database stored online (via HTTP) in Visual Basic Express Edition 2005 I need to verify the user's details (e.g. Serial Number) online before they can run the progra ...Show All
MattiasJ Deleting files from hard drive
What I'm trying to do is simple. I'm just trying to delete these files from my hard drive. My problem is I only get a popup with the last file in the array. Here's my code. Imports System.IO Public Class Start_reference_table_update Inherits System.Windows.Forms.Form Private Sub Start_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Start.Click Dim iCount As Int ...Show All
Mark Dawson Interop.Microsoft.Office.Core problem
I have a project I made in VS 2003 and am converting it to VS2k5. The same library I use in 2k3 does not work in 2k5 it seems. It is runtime version 1.1.4322 and lib version 2.3. I get the following error: The type 'Microsoft.Office.Core.CommandBars' is defined in an assembly that is not referenced. You must add a reference to assembly 'office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. Anyone know if I ...Show All
jkaater Undoing record changes
I have a list box and a set of text boxes bound to a dataSource (or something like that:-) The list box is used to navigate. Everything works just find - add, delete, edit, etc. HOWEVER, I haven't quite figured out how to make the undo button work:-( It will have two modes. 1. If not editing then undo all changes since last Accept. (You can delete or edit multiple records and undo all the changes. I still have to put in code to allow moving rec ...Show All
Anurodh Calculation in Visual Basic 2005 express
I need help please on this question and i could not understand where to begin.The question say, Input Calculate Circumfrunce Area of Circle. Value and surface area sphere. : Pi i = e Pi i square =theda 4/3 Pi i cube = V 4Pi i square = SA please, some give at least some sort of direction i'm just a starter in Visual basic. thanks guys. I'm soooooo sorry, I totally forgot that I was supp ...Show All
