April 19th, 2011 06:12 AM
I've got the simple fix for you. Just add the following lines to your code. Just before setting exa=nothing
exa.ActiveWorkbook.Save()
exa.ActiveWorkbook.Close()
April 13th, 2011 08:32 AM
Using VB2010 Pro
I need to be able to retrive richtext from a cell in Excel place it into a varible. Place that varible into a RichTextBox and then do the same thing in reverse. Does anyone have...
March 12th, 2011 05:33 AM
Sorry for the late responce but yes error is caused by not having the referance added.
February 28th, 2011 09:04 AM
Okay I'm just wondering if this is even possible. I tried it and get an error but maybe I'm tring the wrong way. Can a usercontrol inherate an application defined class ie.. could you inhearate a...
February 28th, 2011 08:55 AM
While a key logger may be a questionable application I can think of hundreds of uses for the need to capture the key board and it is a basic opperation in a video game. This is however event driven...
February 28th, 2011 08:45 AM
MS ACCESS FORMS runs inside Visual Basic for Applications (VBA)
pros - Easy access to database.
Cons - Requires the user to have MS Access installed on there computer.
VB.NET STAND ALONE
Pros -...
February 10th, 2011 04:20 PM
This depends on what version of VB your using. If you are in fact using VB6 then you can do as stated above For1.Listbox1.item(x).delete
If you are using .net ie VB 2010 express. then you will...
February 10th, 2011 04:16 PM
I posted an exsample on this in the .net forum last week. Very basic snippets with detaled notes that you could easyly modify to your needs.
February 10th, 2011 04:13 PM
Sounds to me like the problem is in the coding of the DLL. I'd look there. Perhaps something is being passed ByRef when it should be passed ByVal. I exsperanced a similar problem a long time ago when...
February 8th, 2011 03:45 PM
I've got an FAQ posted on this in the VB 6 forum. It's a pretty long topic so I don't want to type it all up again but if you goto the FAQ or search for posts by me you'll find it.
February 8th, 2011 03:40 PM
dim a as Single
dim b as string = "169.65"
Convert.ToSingle(b)
The single point data type and conversion will maintian your decimal place. At least it does on my computer.
February 6th, 2011 05:10 PM
I like the Tag idea I for got all about that property. Couple that with the Rnd function and a nestled lop I think I'll be able to make this work.
February 6th, 2011 06:07 AM
Oh one other thing I have to be able to know which answer is in which text box for when the user answers the Quesion By pressing one of 4 command buttons.
February 6th, 2011 06:03 AM
Okay this should be a simple one but all I can come with is a complecated solution.
This is whay I've got
Dim Question as string
Dim Answer(4) as string
Text1.Text=Question...
February 3rd, 2011 03:07 PM
Public Function AddRange(ByVal LowNum As Long, ByVal HighNum As Long)as Long
dim Result as Long
Result = 0
For i as integer = LowNum to HighNum
Result += i
Next i
AddRange=Result
End Function
February 3rd, 2011 03:00 PM
Dear microsoft, could you please dumb down your samples. Why am I reading through 700 Terrabites of code to learn how to do something that can be done with 2 or three lines of code? Yes we want to,...
February 3rd, 2011 02:49 PM
Okay I had a heck of a time figureing out how to do this. I searched the forums and found lots of questions but no real answers. So after hours of reading through MSDN I have some working code to...
December 14th, 2010 01:24 AM
I never owned VB 2008 however I do know that shockwave is an adobe product thierfore cannont be offered with a microsoft product. It is also a internet product which is downloaded and installed as an...
December 13th, 2010 07:15 PM
In the button click event create an instance of the new form and give the webbrowsercontrol on it the navegatew command "http://www.xatech.com/web_gear/chat/chat.wsf?id=" + str(TextBox1.Text)