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

Run time error '-2147467259(80004005)': automation error unspecified error

Hi Im new to VB I trying to connect to oracle 10g data base using excel 2003 vb 6.5 Below is the code.. when i try to run.. iam getting the above error [Run time error '-2147467259(80004005)':...

View Article


[VB6] ShockwaveFlash1 usage

Hey guys :wave: i would like o know all the ShockwaveFlash1 Component usage i'm stuck :c Hope you guys help me :D

View Article


set deny permission on folder

hi. i want to set permission on security tab on folder. i can set access permission. but i want to set deny permission on this tab. how can i do it?

View Article

Hovering mouse over variables doesn't always work

Is this a problem within VB6? During debugging steps most of the time when I hover the mouse over a variable it shows the contents however on other occasions it does not show the contents but there are...

View Article

Read Unicode(Japanese, Chinese) emails from outlook into VB as a string

I am trying to Read Outlook object and get Message Body as a string. Dim MailItem as new Outlook.mailItem Dim temp as String temp = StrConv(MailItem.Body, vbUnicode) I always get '?' when it comes to...

View Article


[RESOLVED] Pass control reference from form to module

I'm not sure the title of this isn't a little misleading .. here's what I want to do: I have at least one MSFlexGrid on each form using VB6. I have to manually set the height and width of the grid...

View Article

datareport problem

can anyone help me to solve my problem.i have a client who wants to coorporate the data of credits namely,groceries,cash and purchase order.can i do this using data report?

View Article

how to reset msflexgrid row color?

Friends, VB6SP6 Code: Private Sub Grid_Click() rowval = Me.Grid.RowSel With Grid     .Row = rowval    ' the row you want to highlight     For i = 0 To .Cols - 1         .Col = i         .CellBackColor...

View Article


how to convert 32 bitmap to 8 bitmap

i need as short and simple code as possible thanks in advanced

View Article


How to build a progress timer ?

Hi guys, I would like to make a timer to count (in miliseconds and seconds) how long time take a process from start to end (the progress time). As display I want to use a Label or a TextBox, it doesn't...

View Article

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


[HELP] How to get data form a website

I want to get IP adress, Port & Country form website http://hidemyass.com/proxy-list/, please tell me how to get it source, thank a lot of.

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
Browsing all 21835 articles
Browse latest View live


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