-
- Use C code in VB code
by Doron70
- 5 Replies
- Last post
by Dick Donny
- Can I include code file in C language and use it by any method in VB .NET 2005
Thanks in advance.
-
- Need to retrieve DataGrid selection
by cwillsh
- 7 Replies
- Last post
by rkimble
- I am new at .Net. And I reeeeally want to learn the correct syntax. I have a Windows Forms application with a DataGridView control on a simple unbound form. When the user double-clicks on a row of the DataGrid I want to retrieve the value from the first column of whatever row the user double-clicks on. Here is what I came up with to accomplish it:
Private Sub DataGridView1_DoubleClick(ByV
-
- Installing VS 2005 keeps on asking ' Please insert the disk: Visual studio 2005'
by Joginder Nahil
- 14 Replies
- Last post
by Kal-El
- The installation process for Visual Studio 2005 prompts ' Please insert the disk: Visual Studio 2005' everytime when I try to install VS2005. This is what I did: * Downloaded VS 2005 from the MSDN members download site. File name: en_vs_2005_pro_dvd.iso (size=2,825,748 KB) * Used MagicISO tool to unpack the files * Used Nero 6 to write the extracted files to the DVD * Crea
-
- Multiple communication instances
by swapnaoe
- 2 Replies
- Last post
by swapnaoe
- Hi Guys,
The GUI s/w running on the PC allows the user to select a variable from the list of variables. These variables are globals of an application running on the hardware board. The GUI basically acts as watch window on these variables whose data is subject to change at run-time. At any given point of time only a single variable can be monitored from one GUI. The GUI has the following button
-
- Convert string to AddressOf Method VBExpress
by kramas
- 2 Replies
- Last post
by kramas
- I'm trying to take a list of names and put them into a ContextMenuStrip under the current item "Assign":
[CODE]
cmiAssign.DropDown.Items.Add( "Test" , tstimg, AddressOf cmiTest_Click)
[/CODE]
In place of "Test" is the person's name and cmi[Person's Name]_Click
I can't find how to take a person's name as a string and get AddressOf to understand where to go on the click.
Thanks!
-
- Populate a combobox in a datagrid
by Davids Learning
- 7 Replies
- Last post
by tattoo
- I know it can be done, but I havent found a post on it yet.
How do you populate a combobox already in an existing datagridview
I do have a datagridview with a column that I would like to change to a combobox and give the user a chance to select something from another table.
How do you populate the items list of an existing datagrid from a different table
Then is there issue
-
- Advanced file sytem stuff (i think so anyway :))
by xplosiv_1
- 4 Replies
- Last post
by xplosiv_1
- Hi,
I have a microprocessor that automatically (over a period of
time) saves measurements to an SD card, as the microprocessor (micro) has
limited resources I wrote my own disk operating system as a result windows
cannot read any of the data saved on the card, so to access the data I have
written a Visual basic application that first asks the mirco how many different
results it has a
-
- My.User.Name and Environment.UserName returns an empty string under Windows Vista
by justin tighe
- 2 Replies
- Last post
by justin tighe
- I have an application running under .Net 2.0 in VB.Net that needs the user name of the current user. When I run the application under Windows XP, there is no problem - My.User.Name returns the current user name.
On 2 Windows Vista machines that I have tried the application on both connected to the same network as the XP machine, both commands return an empty string.
What VB.Net comma
-
- Lines as objects
by Dirihle
- 1 Replies
- Last post
by kleinma
- Hello, is there any way to make drawn line to be a selectable object in visual basic 6.0
-
- just installed vista and SP1 or service pack 1 update / updates and VS Visual Studio 2005.
by dennist685
- 2 Replies
- Last post
by spotty
- What is the best way to install vs 2005
Install the sp1 update
install the original then the sp1 update
when to I install the update for windows vista
I must admit to being disappointed in vista. Many simple tasks easy in xp are greek to me.
Off topic: Is there a group of microsoft newsgroups consumer oriented like xp newsgroups. I've search far and wide and fail
-
- Reading from text file into an array...
by monkeybird
- 8 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- Hi,
I have recorded pieces of data into two text files (.txt), they store a persons name and class number (1-6) , they are split into the two files by which house colour they are in (either green or yellow). An example of what is recorded is "Helen","4","Green". I want to take just the name (e.g Helen) and store this in one array and store the class number
-
- How Do You Make An Eyedropper Tool?
by B-Wade
- 3 Replies
- Last post
by LeonCS
- I'm trying to make a tool to pick up a colour from a graphics surface (like the eyedropper in MS Paint). I can't seem to get it to work, but I have this code. There are no errors, but I'm not sure how to use ".GetPixel". So if someone could just fix up this code, or even tell me what Im doing wrong so I can fix it myself, I would appreciate it very much!
Code Snippet
-
- Need a way to store and retrieve 31 Strings in a Property
by Tim8w
- 14 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- Since I haven't had much luck solving this problem myself, I'd thought I'd throw out what I'm trying to solve and see if someone has another way of doing what I want.
I have a CustomCalendar control. It contains 31 RichTextBoxes (one for each day of the month) where data can be entered during run time. I would like to have a Property where this information can be loaded and retrieved by the
-
- Polymorphism? How can you avoid "switch" statements?
by John Oliver (UK&am
- 14 Replies
- Last post
by decyclone
- Hi ALL,
I've create a CLASS where it uses the TYPEOF statement to determine what the object passed to it is, e.g.
If TypeOf(myObject) Is PictureBox Then
'some code.
ElseIf TypeOf(myObject) Is Panel Then
'same code as above only "operating on a Panel"
'with the CreateGraphics.DrawLine method
EndIf
Can i get this to work o
-
- eventhandler for toolstripdropdownbutton menuitems
by Shailendra Kumar
- 2 Replies
- Last post
by Shailendra Kumar
- Hi I am using toolstripdropdownbutton where items are being added at run time i am adding eventhandler to it but its not working Here' the code testbtn is toolstripdropdownbutton Dim comp_item As New ToolStripMenuItem testbtn.DropDownItems.Add("30 Min") AddHandler comp_item.Click, New System.EventHandler(AddressOf compression_option) Private Sub compression_option(ByVal sender As Obje
-
- xlsheet.cells causes error when build button is used?
by RicoE
- 2 Replies
- Last post
by Bruno Yu - MSFT
- I have this:
Dim TitleLine A s Int = 4
Dim xlApp As Excel.Application
Dim xlBook As Excel.Workbook
Dim xlSheet As Excel.Worksheet
xlApp = CType (CreateObject( "Excel.Application" ), Excel.Application)
xlBook = CType (xlApp.Workbooks.Add, Excel.Workbook)
xlSheet = CType (xlBook.Worksheets(1), Excel.Worksheet)
this next line causes
-
- Bank Account Number 11 Check
by OMEGA_ReD
- 7 Replies
- Last post
by OMEGA_ReD
- Account number: 73.61.60.221
7 *9 + 3 *8 + 6 *7 + 1 *6 + 6 *5 + 0 *4 + 2 *3 + 2 *2 + 1 *1 = 176.
Divide with 11 gives decimal: 00.
176 / 11 = 16,00
how can i make this calculation in a function
thanks!
-
- Panels with splitter question
by Ian wood
- 6 Replies
- Last post
by Bruno Yu - MSFT
- Hi,
I have 3 panels on a form with 2 splitters. The .dock for each as follows:
Panel1.dock = Left Splitter1.dock = left Panel2.dock = Fill Splitter2.dock = left Panel3.dock = Right
I can move splitter1 right & left between panel1 and panel2, but I'm having trouble making splitter2 work between panel2 and panel3. How can I make splitter1 and splitter2 work correctly Thanks in advanc
-
- Save Form.Contols to file
by MorganDeVries
- 6 Replies
- Last post
by MorganDeVries
- Hello, i've made a little project with VB 2005, but i want to know if it's possible to save all controls from a form to a file, like the title, size, all buttons, labels etc that exist in a specific form, and how to load them again from that file. I've looked on internet for 3 months now, but i cant find any information. Can someone help me an example would be nice too tnx,
-
- VB.Net text parsing code?
by wausaguy44
- 8 Replies
- Last post
by wausaguy44
- input: text file with sentences, paragraphs, etc
output: a list (count) of words and phrases used in the text file.
Bob 500
Paul 450
Detroit 25
Bob Smith 75
..Anyone have any VB.Net code that can do this (links ok too..)
-
- Store captured data and export to excel
by kf2zq
- 2 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- Greetings Everyone,
I'm a NewBee trying to further my education in Visual Basic.
The code that I¡¯ve written runs a loop that controls various pieces of equipment and queries information back.
After each command is sent, a query follows requesting status from the equipment that is being queried.
What I am trying to learn is how to take the information
-
- string conversion from array of chars marshalled back from unmanaged c++
by hazz
- 3 Replies
- Last post
by hazz
- Code Snippet
- objSegment.name {Length=128} Char()
(0) "R"c Char
(1) "o"c Char
(2) "o"c Char
(3) "t"c Char
(4) Nothing Char
(5) "e"c Char
(6) "u&q
-
- Vector Based Image and Plotting Points
by Rico Rodriguez
- 3 Replies
- Last post
by Rico Rodriguez
- Hey guys. Currently in VB6 I have a form that has an image and plots points on that image by overlaying images on it at certain pionts. We would like to move forward and Have a zoomable Vector image, and have the ability to zoom in and out on the image and have the plotted points adjust with it etc..
To Do this i am going to use .nets ability to output an interop form and use that in my v
-
- how to set module object as startup object for vb.net windows application ??
by Lau Kok Soon
- 2 Replies
- Last post
by Lau Kok Soon
- hi all:
anyone know how to set module object as startup object for vb.net windows application because from the startup drop down list in a project properties setting, i only can see the list of all forms except modules objects
thanks
-
- Newbie Questions
by JF583597
- 3 Replies
- Last post
by JF
- Hi
I'm just starting with Visual basic. I found a funny MS guide called "Visual basic for Bright kids"
There I'm at the point of creating Click Event. Code bellow.
It's written as the guide tells to, but still I get two errors from MS Visual Basic 2005 Express.
1. Error 1 'Public Event Click(sender As Object, e As System.EventArgs)' is an event, and cannot be called directly