I have been searching the web for days now and cannot find anything on controlling the line spacing in a RichTextBox. Such as single spacing, double spacing. any help would be greatly appreciated.
I was playing around with comparing
Private Declare Function GetTickCount Lib "kernel32" () As Long
to the Timer in VB.
The CPU usage for the API call was about 50% and the CPU usage for the VB Timer was basically nothing. The code I was using is below. I don't know why but I always assumed...
I know how to download a specific file to a designated location. But my users chose the file to download, right-click on it and chose save target as - how can I control what the default download directory is?
Thanks in advance
With all previous versions of Windows, I keep my programs from being freely distributed by creating a mean looking dll in the system folder. The dll is created the first time the program runs (after installation) and creates a unique code for the computer the program is installed on. The users...
I have a shortcut icon on my desktop pointing to my exe.
I am using the following code which allows me to drag and drop a list of files from Explorer to my desktop icon. Upon dropping the files on the desktop icon the program opens and the file names are added to list1.
The code works fine on...
I have no clue on where to begin dealing with e-mail in VB6. I get daily e-mails in Microsoft Outlook ( 1 - 20 per day, all from the same person). They all have an attachment named notify.txt. I am manually saving the attachments as notifyXX.txt, where XX starts at 01 and goes up. I have a...
I have two computers (A and B) that are connected together through an ethernet connection, and they can see each other.
Users on computer B select items they would like to purchase. The user changes constantly (it is a touch screen in a mall). The program on computer A sees what the users on...
In VB6 where is the list of 'Recent Projects' kept. For some reason every once in awhile VB (or my computer)seems to lose the list and shows no recent projects. I would like to either copy the list to a safe place, to allow me to resore it, or be able to generate it myself.
Thanks in advance.
I have a large program that is now going to be issued in another spoken language. All of my .caption= and .text= have to be changed to the alternate language (along with a few other oddities).
If I had known this from the beginning I could of setup a language array. The easiest solution I...
With a single dimensional array, I can write the array to a file using
Print #1, join(data,vbtab)
The data will be written as a single line of data tab delimited.
Is there a way of doing this for a two dimensional array. right now I use for data(i,k)
For i = 0 to ubound(data,1)
For k =...
I know this is simple - but its Thursday, and i just can't think. I have only a Form with only a RichTextBox on it. The tab key works as a tab key would in a word document (it indents). If I have another control on the Form the tab Key moves focus to the next control - I want it to continue...
My Norton Systemworks 2005 Premier is suppose to expire in March 2006. It just expired last nite?? I unloaded all of Norton and reinstalled it - it took my activation code accepted it - showed me my correct expiration date - Yet when i go into Norton - it says "Trial Period Has Expired...
I am populating a msflexgrid either from a file or by user input. If the value in any row for column 5 is > 50 and < 200 then the cell backcolor for that cell is red else white.
Doing this is not an issue. The issue lies in that column 5 for any particular row may not get the focus. We have...
I want to drag and drop a list of files from a VB6 listbox into another application. The other application accepts Drag and Drop from Windows Explorer (that is what I am trying to emulate).
My list box only lists the file name, however in a background array is the full filename. How would I...
I want to drag and drop a list of files from a VB6 listbox into another application. The other application accepts Drag and Drop from Windows Explorer (that is what I am trying to emulate).
My list box only lists the file name, however in a background array is the full filename. How would I...
I want the user to download a known file from a known location on the internet by just clicking a button, without them having to view the web page. In other words going to the website would be transparent to them, all they know is that a file is being downloaded. These files are typically text...
I have been struggling with this one for awhile now. I have a VB application that reads the CD-Text and or CDDB tag from a CD. The problem is in Win2000 systems, when the CD is inserted into the machine - autoplay takes over and wants to play the CD. How can I cancel autoplay from inside of...
I am using Wise Installation System ver 9.2
I have a VB6 application ready for distribution. What I need to do in WIS is setup the installation program to check the following.
If Mytext.dll already exists on the target machine in the system32 directory then
Does it also exist on the...
I have seen the code to open and close a CD door in several questions previously posted and it works fine for a single CD drive computer. there are two thing i need to figure out.
First if I have 2 CD Drives how do I open and close the doors on both. How do I select one over the other.
Second...
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.