MSDN says there is a limit of 32,000 unique identifiers, variable names, module names, etc. in a VB 6.0 project. Is there any way to tell how many I have in a project, other than going in and actually trying to count them manually? Thanks
David Galloway
Posts
-
VB 6 Project Limit -
Listview ProblemI am using a Listview control in VB 6 SP5. I highlight the last entry accessed by the user by setting listview.selecteditem = listview.listitems(5), for example. If I shift-click on an item in the list, say item 6 when item 5 is lit, everything from item 6 to item 1 is highlighted instead of just items 5 and 6. The following code reproduces the problem. It is the form load for a new form with a listview control added to the form. Private Sub Form_Load() Dim i As Integer Dim lv As ListItem ListView1.MultiSelect = True For i = 1 To 10 Set lv = ListView1.ListItems.Add(, , "Item " & i) lv.Selected = False Next i Set lv = ListView1.ListItems(5) Set ListView1.SelectedItem = lv End Sub If I now shift-click item 6, 1 through 6 are lit. Any ideas? Maybe a listview bug? Thanks for your help. Dave
-
Working DirectoryThanks for the info. I'll give it a try.
-
Working DirectoryIn a windows icon properties there is a field called "start in". You can point your app to a different directory using this field. Does anyone know how I can access this field from inside my VB app? Thanks
-
Menu Font in VB (and Outlook 2000)Due to a series of mishaps, I had to reinstall MS Developer Studio 6.0 several times. Everything seems to work again but I have noticed that the menu in VB and Outlook 2000 are a different font than they used to be, bold at least if not a new font. I went in to the display properties dialog and checked the menu setting under the appearances tab and it looked ok. VC++ menu looks fine (File, Edit, etc.). Just seems to be affecting VB and Outlook. Any ideas? Thanks David
-
Why??Must be an Aussie thing or something! :) :) :) Still nothing to go here!
-
Why??Isn't Christmas on the 25th and Halloween on the 31st? 25dc = 31oc? Still searching for something witty to place here.
-
Finding out what value one hasHeavy response to a rather common question. Obviously a persons value is based on their contribution to the bottom line of the company. But, I assumed that Matthias was looking for some salary guidance. There are a number of salary surveys in print and on the web. There is one at http://jobs.brainbuzz.com/salary/SalaryWizard.asp. I think Software Development magazine has an annual salary survey issue also. There are others as well. Go to Google, etc. and type in "salary survey" to get started. Remember to take these numbers with a grain of salt. There are a lot of variables to the salary question. Good Luck , David:)
-
Printing and Acrobat PDF filesI am looking for help with using Windows API calls to print, specifically, StartDocPrinter, WritePrinter, etc. When writing to the Adobe Acrobat PDF Writer the Save As dialog does not appear as it does when the StartDoc call is used. Any pointers to good web sites, code samples, etc. would be greatly appreciated. Printing in Windows seems a bit of a black art. Thanks.
-
Printing and Acrobat PDF filesI am looking for help with using Windows API calls to print, specifically, StartDocPrinter, WritePrinter, etc. When writing to the Adobe Acrobat PDF Writer the Save As dialog does not appear as it does when the StartDoc call is used. Any pointers to good web sites, code samples, etc. would be greatly appreciated. Printing in Windows seems a bit of a black art. Thanks.