Search the web
Sign In
New User? Sign Up
helpwithvb · A group for those who need help with Visual Basic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 22544 - 22573 of 22573   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
22544
Hi Jangid, In VB dot Net this is probably much easier, but in Classic VB-6 I always fell back on Randy Birch's API code to determine the usable work space...
Steve Manser
tileguy2929
Offline Send Email
Nov 6, 2009
5:33 am
22545
Hello I have a comboBox with a list of names in it, the names are moving down the combobox and this is throwing off my SelectCase list, can anyone tell me why...
FF
zooloft2006
Offline Send Email
Nov 6, 2009
3:43 pm
22546
Unless the contents of the combobox is fixed, if your using the index number to determine which name is selected, I think you're making a mistake. You should...
Steve Trigero
seecwriter
Offline Send Email
Nov 6, 2009
5:08 pm
22547
Good Morning Fred, VB-6 or dot Net ? If you are adding new names to the CBO but the index remains zero, you may be adding each new item to the top of the list....
Steve Manser
tileguy2929
Offline Send Email
Nov 6, 2009
5:25 pm
22548
I'm guessing he uses VBFred. From: helpwithvb@yahoogroups.com [mailto:helpwithvb@yahoogroups.com] On Behalf Of Steve Manser Sent: Friday, November 06, 2009...
Timothy Rupp
timrupp804
Offline Send Email
Nov 6, 2009
6:30 pm
22549
I thought Adelle was the only one who wanted to write their own version of VB :) ________________________________ From: helpwithvb@yahoogroups.com On Behalf...
Steve Manser
tileguy2929
Offline Send Email
Nov 6, 2009
6:39 pm
22550
As I've been working on this Excel project, I run my app, which opens an Excel spreadsheet and populates it. And It appears to be working pretty well. So I...
seecwriter
Offline Send Email
Nov 6, 2009
11:34 pm
22551
Guessing that this is using VB6. Make sure that your are closing all your objects and destroying the instances in your program. Something similar to this: Set...
Timothy Rupp
timrupp804
Offline Send Email
Nov 7, 2009
12:00 am
22552
Good guess. I'll be moving on to the VB.Net version later. In the mean time, all my excel objects are local variables of a function. Don't they get destroyed ...
seecwriter
Offline Send Email
Nov 7, 2009
12:37 am
22553
Automation is strange, I think you still have to set it to "Nothing" before it goes away.......
Kenneth Danner
racermand289
Offline Send Email
Nov 7, 2009
11:17 am
22554
No.as is evident from your experience. All variables are objects; however, all objects are not variables. It's fairly easy to manage a variable or reference to...
Timothy Rupp
timrupp804
Offline Send Email
Nov 7, 2009
12:21 pm
22555
I concur with both Tim and Ken: you HAVE to completely close the instance of Excel each time, or you end up with several open instances that don't go away...
Bob Hutchison
babalooey_52
Offline Send Email
Nov 7, 2009
4:00 pm
22556
Then what you're saying is that all excel objects/variables have to be globally public in scope. That is the only way I will be able to set them to Nothing in...
Steve Trigero
seecwriter
Offline Send Email
Nov 7, 2009
6:52 pm
22557
Tell me again why must it take place in the unload event? From: helpwithvb@yahoogroups.com [mailto:helpwithvb@yahoogroups.com] On Behalf Of Steve Trigero Sent:...
Timothy Rupp
timrupp804
Offline Send Email
Nov 7, 2009
7:38 pm
22558
Because only in the unload event does my application have any inkling that the user is done....
seecwriter
Offline Send Email
Nov 8, 2009
4:04 am
22559
…And VB6 doesn’t allow you to call a cleanup subroutine from the unload event? From: helpwithvb@yahoogroups.com [mailto:helpwithvb@yahoogroups.com] On...
Timothy Rupp
timrupp804
Offline Send Email
Nov 8, 2009
4:20 am
22560
I have used several recordsets in many subroutines in a project with the same reference name rs declared within the subroutine as dim rs as new ADODB.recordset...
Kishore
gemini_kesa
Online Now Send Email
Nov 8, 2009
4:28 am
22561
I believe it does, but I don't see how that doesn't changes anything. The Excel object has to have global scope in order to be destroyed after my function...
Steve Trigero
seecwriter
Offline Send Email
Nov 8, 2009
7:36 am
22562
... This is different from a Globally declared/created RS. or an ADO RS that is Module Wide in scope, as in Form Wide. Adelle is going to spank me if I get...
Steve Manser
tileguy2929
Offline Send Email
Nov 8, 2009
4:59 pm
22563
The Form's Terminate Event fires last, and I was told that is where we should perform the clean-up of our Objects. However, since your Excel Objects are...
Steve Manser
tileguy2929
Offline Send Email
Nov 8, 2009
5:24 pm
22564
Thanks Steve Manser I got it Sent from my Nokia phone...
Kishore
gemini_kesa
Online Now Send Email
Nov 8, 2009
5:44 pm
22565
I am using webbrowser control and sent text to a textbox in a webpage by using getElementById but i want to get the data from a html table and store it to my...
Kishore
gemini_kesa
Online Now Send Email
Nov 8, 2009
5:51 pm
22566
... Are you referring to the code that sets all excel objects to Nothing, since that's the only code I've seen from Tim? Wouldn't that kill excel before it was...
Steve Trigero
seecwriter
Offline Send Email
Nov 9, 2009
3:57 am
22567
I recall this as well... but, for the life of me, I cannot recall why it can be potentially harmful to set the rs to Nothing explicitly... If the variable is...
Neiger, Bruce D
thezorch
Offline Send Email
Nov 9, 2009
8:30 pm
22568
I don't ever recall hearing this. During cleanup I always used to set ADO recordsets = Nothing. Perhaps Adelle has a perspective on this well in ...
Timothy Rupp
timrupp804
Offline Send Email
1:26 am
22569
I would like to know this also.... I to always close up and set to nothing.... I've not seen any problem, but who's to say there were not any that I have not...
Kenneth Danner
racermand289
Offline Send Email
10:13 am
22570
I had closed the recordset as rs.close but is it necessary to set rs to nothing because i never did that and didnt face a problem for that Sent from my Nokia...
Kishore
gemini_kesa
Online Now Send Email
10:24 am
22571
Way back when, I was taught that if you did not set it to nothing it was still hanging around thus causing a memory leak. I do not know if this is the case, I...
Kenneth Danner
racermand289
Offline Send Email
10:33 am
22572
... Provided the recordset is declared locally and there are no other variables outside that scope (i.e. global variables or byref arguments to that routine)...
Adelle Hartley
adellehartley
Offline Send Email
10:42 am
22573
Thanks! From: helpwithvb@yahoogroups.com [mailto:helpwithvb@yahoogroups.com] On Behalf Of Adelle Hartley Sent: Tuesday, November 10, 2009 5:41 AM To:...
Timothy Rupp
timrupp804
Offline Send Email
11:09 am
Messages 22544 - 22573 of 22573   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help