Computer Learning Zone CLZ Access Excel Word Windows

Knowledge is power. Information is liberating. Education is the premise of progress, in every society, in every family.

-Kofi Annan
 
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
 
Home > Forums > VB
 
Visual Basic Forum

Welcome to the Visual Basic Forum. This forum is for everyone to read but only students (paid customers) can post here. If you'd like to become a student, you can watch VB Beginner Level 1 for free, and then purchase Level 2 for just $1.00 here. After you create a logon, you will have full access to the Forums.

You can post questions about any version of Visual Basic, Visual Studio, VBA, VBScript, or whatever you like. Right now, my only course on VB covers the old Visual Basic 6, and of course I cover VBA for Microsoft Access in the Developer and 300-level classes. I'm going to be releasing courses for Visual Basic in Visual Studio 2019 soon, including the free Community edition.

Subscribe to this forum and receive an email update whenever new posts are added. You will also be notified by email if any conversations you are involved in receieve new comments. Yes, even non-students can subscribe to update notifications.

Click Here to Post a comment and start a new discussion!

 

Text Conversion Upload Images   Link 
Kevin Robertson 
15 days ago
I am working in a text conversion program to convert abbreviations to their translation. It works if their is only one abbreviation, but if there is more than one it only converts the last one. Anyone got any ides? Thanks in advance. Read More...
Kevin Robertson
15 days ago

Kevin Robertson
15 days ago

Add a Reply
Video Player Upload Images   Link 
Kevin Robertson 
33 days ago
Spent the day putting together a player to play my videos - music vids, movies and of course your classes. It uses the Windows Media Player Control at the moment, though I am looking into better methods for v2.
Kevin Robertson
33 days ago

Alex Hedley
33 days ago
Nice, looks very like AVP!
I've been asking Rich for the source for this for a while! RICH FIND THIS

Have you thought about using a HTML page and the VIDEO tag to a local file so you don�t have a dependency on WMP?
Add a Reply
Fixed Length Strings Upload Images   Link 
Kevin Robertson 
2 months ago
I am building a Diner POS (practice project) and needed a fixed length string for the customer receipt (since product names are of variable lengths). Thought I'd share the code I found with you guys :) Read More...
Richard Rost
2 months ago
Awesome. Thanks for sharing!
Add a Reply
Space in folder name Upload Images   Link 
Stephen King 
7 months ago
How do you allow for a space in a folder name in the shell command?  I'm moving some Word docs to Dropbox, which requires a space in the folder name.  Current command is:  Shell "WINWORD.EXE X:\Steve\Legal_Forms\Health_Care_Directive\Health_Care_Directive_Client.docx", vbNormalFocus   Read More...
Richard Rost
7 months ago
Put it in double-double quotes:

Shell "WINWORD.EXE ""X:\Steve\Legal_Forms\Health_Care_Directive\Health_Care_Directive_Client.docx""", vbNormalFocus  

See Double Double Quotes
Stephen King
7 months ago
Thank you SO much.
Add a Reply
Date to Notepad VB6 Upload Images   Link 
Dwight Arroyo 
8 months ago
I know this is probably a boring question, however, I have scoured the Internet for answers and no one seems to have an answer to the following question listed below. Since I have just joined The Computer Learning Zone and Richard Rost knows what he is doing, talking about and is a complete expert at this, I am sure he can help... Read More...
Richard Rost
8 months ago
That's a tricky one. You could use the clipboard, copy the date from your app, shell open Notepad.exe, paste it there, but that might involve a WinAPI call.

Alternately, if all you need is just the date, you could just write out a text file as MyFile.TXT and then open that with Notepad. That would be easier to do.

I haven't had VB6 installed on my machines in YEARS, so I've got no way to try it for sure.
Alex Hedley
8 months ago
Open Notepad
Press F5
It inserts the current datetime
Add a Reply
My Code Works Upload Images   Link 
Richard Rost 
9 months ago

I have no idea why

Alex Hedley
9 months ago
If it's working I don't tempt fate by checking, it might change it's mind :p
Add a Reply
Column Resizing Upload Images   Link 
Kevin Robertson 
15 months ago
I was wondering if it was possible to prevent a  user resizing the columns in a ListView control.

After several google searches I am unable to find any documentation.
Alex Hedley
15 months ago
I'm surprised this isn't a properly, looks like you have to go down into the Win32 API.

Could you use a DataGridView instead?
Kevin Robertson
15 months ago
Alex,

Actually found some code that works.

In the ColumnWidth Changed event:

        Static blnChangeWidth As Boolean = True

        If blnChangeWidth = True Then
            If e.ColumnIndex = 7 Then
                blnChangeWidth = False
                lvwCurrentAlarms.Columns(e.ColumnIndex).Width = 0
                blnChangeWidth = True
            End If
        End If

Then in the ColumnWidthChanging event:

e.Cancel = True
Add a Reply
Simutanious Event Handling Upload Images   Link 
Kevin Robertson 
16 months ago
I have a program that has a PictureBox (Time Machine) that moves alolng the width of a Panel (Time Line). I need the Panel to flash while the picture is moving.

The problem is the Panel only starts flashing after the picture has finished moving. How do I get both to occur at the same time? Read More...
Richard Rost
16 months ago
That's a tough one. One of the problems Visual Basic has is that it doesn't handle asynchronous actions very well. Access VBA has a DoEvents command that you can use to allow background processes and user interaction to run while a process is in progress. I'd have to play with your project to tell you for sure how to get that to work.
Add a Reply
Who Wants VB 2019 Lessons? Upload Images   Link 
Richard Rost 
16 months ago
Well, I finally broke down and installed Visual Studio 2019. I have to say, I'm pretty impressed. There have been some nice changes.

Who here is looking for some updated lessons in Visual Basic using Visual Studio? Remember, this is NOT VBA for Access or Excel. It's for building standalone programs.
Alex Hedley
16 months ago
I'd loved to see Access Developer 14 the Easy Access POS as a VB.NET app.

I know connecting to an Access db was planned for the original VB6 courses. Might need a few beginner courses first though.
Abraham Breuer
8 months ago
Does this offer still go on?
Add a Reply
Convert RGB to HSV Upload Images   Link 
Kevin Robertson 
16 months ago
Hi,
I am building a new version of my color picker program in VB2019 (I built a very basic version in VB6). I have successfully converted the RGB values to HSL, but cannot figure out how to convert to HSV. Read More...
Richard Rost
16 months ago
Hi Kevin. I've never done this myself, but here's a page I found with a quick Google search that shows the math behind how to get it done: RGB to HSV Color Conversion
Alex Hedley
16 months ago
http://www.vbforums.com/showthread.php?786243-HSV-and-RGB-conversion
Add a Reply

Show Older Comments...
View in Table Format

Start a NEW Conversation
 
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.
 
Subscribe
 
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: vb forum visual basic  PermaLink