Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21846 articles
Browse latest View live
↧

Text to Speech on Windows 7?

Ok, so I just remember one of the 'old' days program, a two line one, which was fascinating when I was younger. The code is Code: Private Sub Command1_Click() Set TtS = CreateObject("SAPI.spVoice")...

View Article


Can I trust in this function?

Goodmorning :) I need in one of my projects to use the DoEvents statement. Many programmers said me that is not a good way use it for vary reasons, but as I need it into a function, I thought that...

View Article


Check machine date format in vb6

I have an vb6 application. The input date in the application processed as UK date format. But some time user change machine date format as US format (mm/dd/yyyy). But when process these dates shown as...

View Article

check OS and processor is 32 bit or 64 bit?

I want vb6 code to check OS is 32 bit or 64 bit and also processor is 32 bit or 64 bit.So please help me to get these codes.

View Article

Create Database

Hi I have created Blank Database (TEST) in MS-SQL . User will select year like 11-12 , 12-13 from dropdown and i want that default database should be renamed like this Test12-13 and attach to Database...

View Article


Using On Error

I am having several problems with my project which involves three or more applications each one doing certain things depending on what the other applications do. I have to test this project in the...

View Article

write to webbrowser1 from richtextbox1

richtextbox1 has multi line like this 1: example text 2: second example line of text when i print it to webbrowser it becomes 1 line please help , i need to print exactly as shown in richtextbox to...

View Article

Struggling with VB Code PLEASE HELP!

I had to move names from one list to another and then write a code to group those names randomly from a listbox into a textbox and then reset the names now labeled Group 1 and so on back to listbox1. I...

View Article


Not able to get the textbox focus from one form to another

Friends, feesentry1: Code: Private Sub txtbrno_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyF9 Then     If cmdqry.Enabled = False And cmdedit.Enabled = True And cmdcancel.Enabled =...

View Article


huge binary file to Text file

Hello All I am new to VB and would like to convert a bonary file to text file. Basically its data sampled over 20ms from around 5 analong channels collected over 3 days. I understand that i can use the...

View Article

StatusBar

Hi I am reading Data from RS232 , i want that value should continuously appear in StatusBar . Thanks

View Article

object library

Hi all , l was in the middle of a project with vb6 , and when l tried to continue with it a couple of day later l got the error "object library not registered" and naturally l cannot carry on . What...

View Article

Getting 'Variable Not Defined' Using strFilename With Commondialog

Hi as the title says, I'm getting the error message variable not defined, when trying to load some thing using this string method. Is it the code, or am I missing some sort of reference? I tried object...

View Article


[RESOLVED] Using Clipboard to copy several lines in a MultiSelect Listbox

I have the following code to copy several (more than 1) lines of a listbox with it's MultiSelect property set to 2-Enhanced. It works, however, it is time consuming when I am using a fairly long list...

View Article

Help with wininet FTP Upload

I'm using the code from http://www.ex-designz.net/apidetail.asp?api_id=50 The code works fine in an exe just to test. I put it on form load. The form loads and uploads a test.txt file to my localhost...

View Article


login forum in vb using sql+ with odbc connection

i would like to create a login form in vb using sql with odbc connection it would be helpful if someone helps

View Article

Multiple PINGs in parallel

Hello! I have a ping function like s = Ping("1.2.3.4", 10000) that returns whether a host is alive or not. 10000=timeout value in miliseconds The ping function uses IcmpSendEcho API function. I want to...

View Article


Help export data from Access with formatting and layout to Excel

Hi I am currently using this code i got from SI_the_Geek from an old post to export data from Access to Excel. I would like to also export the headings and formatting from Access into Excel just like...

View Article

ADO Recordset to Excel - formatting cells

Please find this link http://support.microsoft.com/kb/246335 This is the link for 'How to transfer data from an ADO Recordset to Excel with automation' But this code I need some modifications. Because...

View Article

Sqlite with vb6

Hello, I want to package my application to use sqlite as the local database. it says sqlite is zero configuration. Is it possible to connect to it without installing drivers? Is there any way i can use...

View Article
Browsing all 21846 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>