Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. CassandraR

    Printer Select -- Reply To Email

    Man, how I like forums! Thanks, Hypetia!!! [2thumbsup] Cassie Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  2. CassandraR

    Printer Select -- Reply To Email

    To Brian D., who emailed the following message to me: Brian: Sorry that I won't be of much help. The "Printer Select" project (previously copied to the FAQs) is a project that I have not worked on in two years. Things have faded from memory in that time. Another problem is that I did not...
  3. CassandraR

    Sting function for API

    Big difference. String(255, Chr(0)) is a string of 255 null (ASCII zero) characters. The null characters are the usual end of string marker. So, a string of 255 null characters is unlikely to cause string overrun. String(255, Chr(32)) is a string of 255 spaces. It doesn't necessarily have an...
  4. CassandraR

    Select Case Inclusive

    At least David got his star. Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  5. CassandraR

    Printing a word document (Very Strange)

    Hi: Did you open a document in the Word Application? For example, WD.Documents.Add Template:= _ "C:\WINDOWS\Application Data\Microsoft\Templates\Normal.dot", NewTemplate _ :=False, DocumentType:=0 Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  6. CassandraR

    Printing a word document (Very Strange)

    Hi: I am a bit confused. Why did you dimension WD as an Object and not as a Word.Application? Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  7. CassandraR

    setfocus on textbox in control array

    Hi Barbola: I tested the textbox SetFocus with an array of textboxes. There was no problem. Can you give the error message that occurs? Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  8. CassandraR

    Need help. Displaying variables on form

    Hi slyr1338: You might want to use a label control to display the variable. To update the contents that is displayed, use the code:Label1.Caption = MyVariable, where MyVariable is replaced with the name of your variable. Welcome to the VB5/6 forum. Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  9. CassandraR

    Run-Time Error '3251'

    Hi: It might help us to help you, if you were to post your connection string and parameters. One possibility is the wrong cursor type. See Bob Rodes FAQ on ADO cursor types. faq222-3670 Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  10. CassandraR

    Label problem

    Hi selimsl: If you can't use John's suggestion, how about: Private Sub Label1_Change() Label1.Width = TextWidth(Label1.Caption) End Sub Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  11. CassandraR

    Convert Excel table to HTML table

    Hi strongm: Thanks for the tip on using the DHTML controls. A star for you. Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  12. CassandraR

    Convert Excel table to HTML table

    Hi Andy: In Excel 2000, there is the option of saving the file as a Web Page (HTML) file. Granted that Excel, like other HTML-aware MS software, spews a lot of extraneous tags, but it could be a starting place to convert an Excel sheet to an HTML file. Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  13. CassandraR

    How to read file with NULL characters?

    Hi Just a suggestion to follow. Since you appear to read the file into a RichTextBox okay, why not use the Replace() function to replace the nulls with some character that VB will not interrupt and that will not show up in the original text? For example, strReplacedText =...
  14. CassandraR

    Function goes into infinite loop

    Hi: In your gADOGetRecordset_RO function, where do you set gADOGetRecordset_RO to the objRecordSet? Also, it appears that you are missing a "End With" in the gADOGetRecordset_RO function. Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  15. CassandraR

    Function goes into infinite loop

    Hi: In your Pause sub, I would like to suggest one minor modification. Change If GetTickCount = PreTick + Value Then Exit Do to If GetTickCount >= PreTick + Value Then Exit Do to remove the possible endless loop should GetTickCount skip over the value of PreTick + Value. Cassie Cassie...
  16. CassandraR

    Line Numbers in VB Code

    You are very welcome, Sajid. Cassie PIII-500Mhz-128MB Win98SE-VB6SP5
  17. CassandraR

    Line Numbers in VB Code

    Hi Sajid: An important use of line numbers is program debugging. If one numbers the lines and adds error handling, then one can determine which line caused the error. For example, one could do something along the lines of Private Sub MySub() 10 On Error Goto MyErrorHandler . . . ...
  18. CassandraR

    same combobox in different forms

    Hi noun: As for avoiding the cloning of the methods, one can write the method on one form (declaring the subs as either friend or public) and calling the method from the other forms. For example, suppose FormA is where one stores the methods and FormB is a form that wants to use the methods in...
  19. CassandraR

    Flashing BackColor

    Hi all: I noticed that something was not mentioned that should have been. One needs to avoid flash rates in the 3 - 10 flashes per second range. Users who have epilepsy are usually sensitive to visual stimuli in this range. We would not want to trigger seizures, would we? Cassie...
  20. CassandraR

    Microsoft Visual Basic 6.0 Common Controls - Hotfix

    Hi Doc: Thanks! Another star for this noteworthy link. Cassie PIII-500Mhz-128MB Win98SE-VB6SP5

Part and Inventory Search

Back
Top