Search Results

Showing results 1 to 40 of 43
Search took 0.01 seconds.
Search: Posts Made By: Tekito ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 Nov 12th, 2008
Replies: 3
Views: 766
Posted By Tekito
Upon further searching, I guess the "real" solution is to upgrade to VB .NET and use LINQ.
Forum: Visual Basic 4 / 5 / 6 Nov 10th, 2008
Replies: 3
Views: 766
Posted By Tekito
Okay, one example was I had a long array of numbers, and I wanted to do a tally, where I calculated the frequency of each number occuring in the array. I also wanted the tally to be sorted with the...
Forum: Visual Basic 4 / 5 / 6 Nov 7th, 2008
Replies: 3
Views: 766
Posted By Tekito
There a lot of times in my program where I have large arrays of data and I would like to use the power of SQL commands (SUM, GROUP BY, INNER JOIN, ORDER BY) on this information. It is a great tool...
Forum: Visual Basic 4 / 5 / 6 Oct 14th, 2008
Replies: 1
Views: 941
Posted By Tekito
Disregard the extra 'Integer' declaration in my first post ... not sure how that got in there.
Forum: Visual Basic 4 / 5 / 6 Oct 14th, 2008
Replies: 1
Views: 941
Posted By Tekito
(I'm using VBA with Excel 2003, have references to OLE Automation and Microsoft Common Controls 6.0). The Hittest with my Treeview control does not seem to be working. I'm using it in a MouseDown...
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2008
Replies: 4
Views: 962
Posted By Tekito
I suppose that makes sense.
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2008
Replies: 4
Views: 962
Posted By Tekito
I suppose there are easy ways around it, as you mentioned. Even so, I find it surprising that VBA has this convenient feature, while full VB6 does not.
Forum: Visual Basic 4 / 5 / 6 Oct 7th, 2008
Replies: 4
Views: 962
Posted By Tekito
Most of my Visual Basic 6 experience comes from VBA with Excel. With VBExcel, you can run any procedure (if it does not require input parameters) by simply putting your cursor in the sub and...
Forum: Visual Basic 4 / 5 / 6 Sep 30th, 2008
Replies: 7
Views: 1,306
Posted By Tekito
Forum: Visual Basic 4 / 5 / 6 Sep 29th, 2008
Replies: 7
Views: 1,306
Posted By Tekito
I guess then my question is what exactly constitutes "closing the form". I thought unloading meant clearing from memory, but as my above code demonstrated, my user-created properties of the form...
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2008
Replies: 7
Views: 1,306
Posted By Tekito
Thanks, I can see how it works now.

Is unloading a form variable in the code the same thing as setting it to Nothing?
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2008
Replies: 7
Views: 1,306
Posted By Tekito
Okay, I found something that works but I am still just as confused. In my parent sub I have a variable to the form. I also have given the form a public boolean variable, ConnSuccess, so it goes...
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2008
Replies: 7
Views: 1,306
Posted By Tekito
I have a routine that, at one step, calls a form and shows it modal. When the user closes the form the routine continues. However, upon closing the form I want to know if it performed its assigned...
Forum: Visual Basic 4 / 5 / 6 Sep 23rd, 2008
Replies: 9
Views: 2,230
Posted By Tekito
Very interesting, I look forward to trying that out. It looks straightforward, but as it is all completely new terrain for me, might have to to wait for the next project to learn it. Deadline in...
Forum: Visual Basic 4 / 5 / 6 Sep 23rd, 2008
Replies: 9
Views: 2,230
Posted By Tekito
Unfortunately the data is not in a UDT, but still another slick idea, thanks again. After this project is finished I am done with VB6 and moving to .NET or some other language, as the many gaps in...
Forum: Visual Basic 4 / 5 / 6 Sep 23rd, 2008
Replies: 9
Views: 2,230
Posted By Tekito
Actually, now that I've read some stuff, I'm not sure this would fix my problem. It's my fault for not being more clear. Basically, at certain points in the code I need to create a copy of my...
Forum: Visual Basic 4 / 5 / 6 Sep 23rd, 2008
Replies: 9
Views: 2,230
Posted By Tekito
Thanks so much for the suggestion. This could certainly help get me out of a jam. I have never serialized an object before though. I'm starting a web search but so far haven't found much (for...
Forum: Visual Basic 4 / 5 / 6 Sep 8th, 2008
Replies: 9
Views: 2,230
Posted By Tekito
I have created a class module, and my program creates many instances of the class. Each object has a lot of data, and I want to be able to create a new instance that is a copy of an existing...
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2008
Replies: 5
Views: 1,513
Posted By Tekito
And now I've learned that Visual Basic cannot do WithEvents for arrays of objects. Sometimes I really dislike this language.
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2008
Replies: 5
Views: 1,513
Posted By Tekito
That might solve that particular problem, but I was only using the deck of cards situation as an example of a general problem, not just unique names/keys. It is hard to think of commonplace...
Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2008
Replies: 5
Views: 1,513
Posted By Tekito
That would work, but here is where I get some issues. Number 1, as you say, this checking routine is in the Parent Class. But, when you give a card a name, since that is a specific property of a...
Forum: Visual Basic 4 / 5 / 6 Aug 13th, 2008
Replies: 5
Views: 1,513
Posted By Tekito
As I learn class modules, one issue that seems to come up repeatedly involves class modules inside class modules - how the "child" class module can never see anything inside the "parent".

Say, for...
Forum: Visual Basic 4 / 5 / 6 Aug 8th, 2008
Replies: 0
Views: 496
Posted By Tekito
This involves an Excel file that is being controlled by another program. I have written my own excel file with vba that works with this Excel file. So basically, the program opens up an excel file,...
Forum: Visual Basic 4 / 5 / 6 Aug 5th, 2008
Replies: 1
Views: 816
Posted By Tekito
Forum: Visual Basic 4 / 5 / 6 Aug 4th, 2008
Replies: 1
Views: 816
Posted By Tekito
I'm actually having this problem with the Deactivate and QueryUnload events as well.

From my reading I think the Unload event is supposed to fire when you close a form with the close button or...
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008
Replies: 4
Views: 1,674
Posted By Tekito
Thanks for the responses. I guess I understand that the Get and Let procedures serve specific purposes, and aren't supposed to be substitutes for procedures in general. I had already started making...
Forum: Visual Basic 4 / 5 / 6 Jul 24th, 2008
Replies: 4
Views: 1,674
Posted By Tekito
I'm new to class modules, and the compiler seems to be enforcing a correlation of the number of input vars for a Get and Let procedure of the same property. The Let property must always have exactly...
Forum: Visual Basic 4 / 5 / 6 Jul 2nd, 2008
Replies: 0
Views: 705
Posted By Tekito
I want an embedded listbox (with headers) on my excel spreadsheet, that references a range on the worksheet. So using the ControlBox Toolbar I created a listbox. First thing I noticed is that there...
Forum: Visual Basic 4 / 5 / 6 Jun 27th, 2008
Replies: 5
Views: 3,114
Posted By Tekito
Yes the problem is solved (for now at least). I think I included too many details in my original post. I said arrays because the first class module I made were basically arrays with a few extra...
Forum: Visual Basic 4 / 5 / 6 Jun 26th, 2008
Replies: 5
Views: 3,114
Posted By Tekito
I think I figured it out. I made a property that is defined as one of the objects, then I set it to the specific element in the private array in the Get procedure. I'm new with classes and I didn't...
Forum: Visual Basic 4 / 5 / 6 Jun 26th, 2008
Replies: 5
Views: 3,114
Posted By Tekito
Thanks very much for the response! So far, collections seem to be the best alternative. One thing I have noticed is that the "intellisense" typing feature does not work as well with them, since the...
Forum: Visual Basic 4 / 5 / 6 Jun 25th, 2008
Replies: 5
Views: 3,114
Posted By Tekito
I am new to Visual Basic 6 Class Modules and am having difficulty constructing a certain class.

First off, I created a simple class, which is basically an array with some basic properties (Sum,...
Forum: Visual Basic 4 / 5 / 6 Jun 13th, 2008
Replies: 5
Views: 2,516
Posted By Tekito
Yeah, so it appears... I've pretty much resigned to finding workarounds. I really am not very fond of Excel charts.
Forum: Visual Basic 4 / 5 / 6 Jun 12th, 2008
Replies: 5
Views: 2,516
Posted By Tekito
The data columns and graph are on two different worksheets. I have tried explicitly naming the worksheets (which shouldn't make any difference) and other trivial syntax variations, but nothing works.
Forum: Visual Basic 4 / 5 / 6 Jun 11th, 2008
Replies: 5
Views: 2,516
Posted By Tekito
This is an issue that I've discusses many times before, but never with a conclusive solution. I am trying to programmatically change the data range for an existing chart in Excel. My code goes...
Forum: Visual Basic 4 / 5 / 6 May 27th, 2008
Replies: 1
Views: 843
Posted By Tekito
Is there a quick way to pass numerical arrays between two VB6 programs? Currently I am dumping the data from one program into an Access Db, then the other one reads it. However, speed is very...
Forum: Visual Basic 4 / 5 / 6 May 20th, 2008
Replies: 0
Views: 1,143
Posted By Tekito
I have an app in VB w/ Excel that uses the Microsoft Solver feature. In order to ensure functionality of the Solver I run the line: Application.Run ("Solver.xla!Auto_Open") when starting up the...
Forum: Visual Basic 4 / 5 / 6 May 15th, 2008
Replies: 2
Views: 833
Posted By Tekito
Part of the question was if anyone actually knew of any numerical solver programs (such as Matlab or Mathematica) out there that can interface with VB/Excel. I've read that SciLab might have some...
Forum: Visual Basic 4 / 5 / 6 May 14th, 2008
Replies: 2
Views: 833
Posted By Tekito
I'm writing an app in VB with an excel worksheet. At one point I need to solve a set of equations that are not explicit, so I need a numerical solver program. Excel's Solver is supposedly designed...
Forum: Visual Basic 4 / 5 / 6 Apr 14th, 2008
Replies: 1
Views: 1,049
Posted By Tekito
At one point in my program, if there is an error I need to show a customized form that allows the user to make necessary changes to some data. The code needs to be paused until the user is finished...
Showing results 1 to 40 of 43

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC