-
- Capture Value of Unbound Control on Form?
by Donald Fisher
- 12 Replies
- Last post
by Donald Fisher
- Hello. I have a form with several controls (text boxes, combo boxes, number selectors etc.) on it and would like to know how to capture the values of any one of those controls. For example: a combo box with two possible choices (either "Red" or "Blue"); if 'Blue' is selected the value returned by = Me.MyCboBox.Text() is always 'Red' (even if 'Blue' is selected) - (set 'Red' as
-
- Need some kind of counting function to count some numbers generated by my random number generator
by Kenny A
- 13 Replies
- Last post
by PEng1
- I have the following code so that when somebody hits the button, 25 random numbers are displayed, all between 0 and 1. I also have another button and 2 labels, where I want when somebody presses the other button, under 1 label to be the amount of numbers less than .5, and on the other label the amount of numbers greater than .5. How can this be done Public Class RdmNumGen Private Sub Button1_Cli
-
- Changing the Implementation parameter of an Interface
by dot NET developer
- 2 Replies
- Last post
by dot NET developer
- The ListViewItemCollection implements IList. IList Item Property is an Object Type but when i look at look at the Object Browser The Item Property if ListViewItemCollection is a ListViewItem Type. How was this possible
-
- open pdf at runtime
by FlyingDarren
- 1 Replies
- Last post
by spotty
- I need to be able for the user to open a wind chart in a pdf format to select the proper wind speed for a area.
I have a command button for the user to select, but what is the code to get it to open. I have the pdf in my applications resources.
My.Resources._1994_AASHTO_Wind
Need help, thanks
-
- can subforms be created in vb?
by Gess Man
- 9 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- Can one create subforms in vb 2005 like one can in ms access If so, how can this be done
-
- How can i put a double quote into a string?
by rattlesnake316
- 4 Replies
- Last post
by Solitaire
- How can i put a double quote into a string
-
- Hi guys can u tell me how to use iif-condition in vb.net
by sat.net
- 2 Replies
- Last post
by sat.net
- how to use in the
-----------IIF-Condition--------------------------
can u explain the concept in IIF-Condition
thanks
-
- Vista VB6
by Dboth
- 1 Replies
- Last post
by Spidermans_DarkSide - VSIP
- Installed vb6 on Vista 32 Ultimate - Licence not found error- Ran VB6cli to repair -NO GO!
Help!
PS : Read other posts!
-
- Multiple Icons in a VB EXE?
by clwill
- 6 Replies
- Last post
by SJWhiteley
- I am creating a command line tool in VB (but I think the same question applies to Windows apps). I want to put multiple icons in the file so that programs that look up and/or select the file's icons can see several choices. I see how, with the VS2005 application settings, to put on one icon, but how do I attach/embed several icons I've searched and searched, but I'm not sure how to do it. I see m
-
- Moving file
by sethgr
- 4 Replies
- Last post
by sethgr
- hello i have this code that can moves any type of file but it moves all the files of this extension I want to change it to move only the first file that i added according to creation date and i still want to take the extension from a text box and also is there a way to running always because now it takes the fisrt file but not the next ones Private Sub MoveFilesmain(ByVal Src As String, ByVal D
-
- Passing an array
by tvb2727
- 5 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- How do you pass an array. I am going to write a DLL file and i want to return an array from that file to my program.
-
- Multithreading concept
by vbsmoother
- 10 Replies
- Last post
by vbsmoother
- As far as i know there should be no reason why i would be unable to make couple or more number of connections to any remote resource. Then from equal number of threads i want to download certain range of data and make them all to write in a single file using the filestream object. With other words i am trying to boost the internet programatically. Do you know any good article that explains this i
-
- disappearing listmembers dropdown
by jernejG
- 7 Replies
- Last post
by jernejG
- Hi,
I am experiencing a really anoying problem with visual studio .NET 2005 IDE (all project types).
After pressing ctrl+j or at any time when the listmembers dropdown menu is suposed to show when writing code, it shows itself but only for a second or even less and then disappears leaving me not enough time to select any element.
Thanks for your help!
-
- ClickOnce deploymnet help
by hommer
- 1 Replies
- Last post
by Frank Carr
- Hi, all,
I got following error msg on about 20 of my clients when I run the ClickOnce update on their machines. The other 40 users did not have any problem going through the same process.
System Update Required
Unable to install or run the app. The app requires that assembly Microsoft.Office.Interop.Outlook Version 11.0.0.0 be installed in the GAC first.
Please contact sys admin.
-
- Mouse movement within a form in VB.Net
by VCWinUser
- 5 Replies
- Last post
by Tall Dude
- Hi,
I have witten a program in vb.net to capture mouse coordinates for a given condition and repeat same mouse movement from a different mouseposition.
But the mouse movement is to a different Coordinate which is outside the form arrea .
The code is as below
Public Class Form1
Public Xcoord As Integer = 0
Public Ycoord As Integer = 0
Declare Auto Sub mou
-
- Date/Time
by Simone1
- 13 Replies
- Last post
by Chris Dunaway
- Hey guys, I have a clock form, on the form i have txt box for month, day, year, hours, minutes. When the program launches the current date/time appears in the appropriate boxes. Beside each box i have buttons to go left and right, behind the right button for lets say the month txtbox i want to write code do that when the arrow is pressed it increases the value by one. Any thoughts I hope this is c
-
- Access a section in the config file
by Tryin2Bgood
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- I need to access a section in my configuration file like so
< system.net >
< mailSettings >
< smtp deliveryMethod = " Network " from = " noReply@savogroup.com " >
<!-- if ${nonDevelopment} -->
< network host = " ${EmailServer\EmailServer} " port = " 25 " />
<!-- else -->
< network
-
- XML result usage
by Martin Hooper
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Code Block
Dim xml As XElement = XElement.Load( "google-reader-subscriptions.xml" )
Dim query = From feeds In xml... < outline > _
Select title = feeds. @ title, _
webpage = feeds. @ htmlUrl
From this code how do I get the query results into text I would like to put the results into a textbox to start with.
-
- Change Location Of Label
by lucerias
- 1 Replies
- Last post
by Dick Donny
- How to change the x, y location of a label Thank you
-
- Login Form
by TechFool
- 14 Replies
- Last post
by Joe Beam
- I know you can add a login form in vb.net by adding a new form... But what is the easiest way to code it to take a username and password. I do not have it connected to a database. I just want a simple login form for the application.
-
- Applying registry changes
by Bart Aertgeerts
- 6 Replies
- Last post
by Eldarion
- I am currently making a program where you can change the mouse cursor (school project), changing it isn't the problem.. The thing that is bothering me is that I have to restart the computer to apply these cursor changes.
I only adjust values in this key:
HKEY_CURRENT_USER/Control Panel/Cursors/ I currently only change the Arrow (to a different *.cur file) I sure would appreciate so
-
- VB6 to VB.NET Upgrade - System.InvalidOperationException on form.show()
by kaynos
- 3 Replies
- Last post
by JohnHart_MSFT
- An unhandled exception of type 'System.InvalidOperationException' occurred in Program1.exe
Additional information: An error occurred creating the form. See Exception.InnerException for details. The error is: Control array element 2 doesn't exist.
I put a breakpoint on the form.show() method, but I still get this error. I am assuming it's related to some control on the form, but there are no
-
- rtf or word documents
by Max Brown
- 8 Replies
- Last post
by Jevans
- Hi, I am trying to write a small vb app that displays word docs or rtf files or something that is formatted into paragraphs with headings in bold and possibly a table or two. I need to store these docs in a table (they cannot be visible to the end user) and I need to display them inside the app since the end user may need to edit some of the wording or pick values then I need to save the changed v
-
- Please text With Cursor
by eldoktor007
- 4 Replies
- Last post
by jo0ls
- HI My Friend ...
just i want know haw to Add Any Text with Cursor In My From
like
if i want Add my name beside posation cursor in from
thanx for Read
i wait you .....
bye
-
- Arrays within a Structure
by LandLord323
- 14 Replies
- Last post
by LandLord323
- Hello,
I played quite a bit and have read that an structure can not contain an array member, so I tried doing some like the following code example, but have some issuse with... mainly looping throught to set or get the value of the array in the sturcture.
Module Module1
Public sd(10) As Test
Public Structure Zones
Public Zone1 As Int32
Public Zone2 As Int32