Well, here's my issue.
I am trying to save a color value (from the colordialog) in a text INI file, which has several configuartion lines, all plain text. I later retrieve this information.
The color returned by colordialog is e.g. "{Name=ffff8000, ARGB(255,255,128,0)}", but I get errors if I...
I' retrieving a color from ColorDialog, and it appears to be in ARGB format. I'm trying to save this in a config file, along with other data, so that I can retrieve later. Can't work out a format to save it in which will convert back into a usable color. ANy ideas?
This is bizarre. Both the methods suggested by strongm and Andrezek appear to work as far as the debug.print line. All looks good at that point and I see something like this:
Debug.Print sNewLine
"item1","item2","item3"........
However, if I write this to a text file like this:
intF =...
I have a large CSV file, and I need to enclose every field with double quotes (a requirement for the application importing it). I had thought it would be an easy task, but it has beaten me!
I have tried inserting double quotes each side of the commas, which I though would work, but I either get...
That does indeed confirm the SP6 controls, and they all work perfectly in my old applications that were built with that. Also in new projects. The mystery is just why in Help/About it doesn't show that SP6 is installed (and neither does the splash screen at start up). It's no big issue, but...
Thanks klima - that worked fine. I found vshelp.dll in C:\Program Files (x86)\Common Files\Microsoft Shared\VS98, and it registered successfully. Help now available in VB6, and the F1 key appears to work too. ALl I need to do now if find out why the 'About' doesn't show SP2 installed, even...
I have successfully(?) installed VB6 on my new Win11 machine, with SP6. Two issues though:
1) Although all the SP6 components are there and working, the splash screen doesn't show SP6, and neither does 'About'.
2) I have installed the MSDN help files, but VB6 doesn't seem to link to them.
Any...
I'm struggling to create workable code to do what appears to be a simple task!
I have a directory A, containing several hundred sub-directories, each one of which contains many individual files.
I want to move ALL the individual files into a single new directory.
Any help appreciated.
The error is "#5 Mailbox unavailable. Server requires authentication." But I think I am doing this with the line:
MySmtp.Credentials = New Net.NetworkCredential(<MySMTPServerLogin>, <MySMTPServerPassword>)
I am trying unsuccessfully to use the SmtpClient to send an email. The following code generates an error and fails. Any ideas?
Dim email As New Net.Mail.MailMessage(<Sender>, <Recipient>)
email.Subject = "My Subject"
email.Body = "My Body Text"
Dim MySmtp As New...
I too have now upgraded a Win7 machine (with VB6 SP6 already installed) to Win8, and VB6/SDP6 installed just fine on the Win8 PC this time. Thanks anyway radarm for your info regarding experiences on a 64-bit setup. When I was trying a few weeks ago to install on a new 64-bit Win 8 PC, I...
Yes Montoro - that's the whole problem I believe. The VB6 installation does not fully complete, so it's not listed in the Add/Remove programs. And for this reason the SP6 will not install (or have you managed to do it?)
Well, after 10 days of unsuccessfully attempting to put VB6 with SP6 on a WIn8 64-bit machine I have finally admitted defeat. The best I could achieve was a bodged basic VB6 installation, which whilst it worked was not correctly registered in the system, so SP6 just refused to co-operate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.