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

display replace confirmation message for word file

hi, i want to pop up replace dialogue box for word file if file already exists at specified location. thanks, kk

View Article


VB6 - Detecting frequencies from microphone sounds

I'm coding a program to detect frequencies from a given sample of sound, in this case from the microphone. I don't fully visualize how to do that. It will very helpful some answers about this topic.

View Article


Putting Chr(n) values in a Textbox

Code: Private Sub Command4_Click()  Dim a() As String  Dim CC As String  Dim C As Integer  Dim B As String  a = Split(Text3.Text, ",")    CC = ""    txtYourString.Text = ""    For n = 0 To UBound(a)...

View Article

Using SetMapMode function

Hello everybody! I have used The SetMapMode function in the gdi32 library to define the device context logical unit. Then, I have used movetoex and lineto to draw line. I want to have a mm_himetric map...

View Article

error while searching

In my project i am trying to search data between two dates by DTPicker my codes are Dim sSQL As String sSQL = "select * from ExpCM Where Format(Dat, 'dd-mm-yyyy') Between '" &...

View Article


Program Help how to add costs to original cost

Hi I don't know if anyone can help me but i'm doing this program in school and i'm so confused. It's supposed to upgrade the original cost by adding the upgrades then the discounts then...

View Article

need help with hangman game

In my hangman game if i have a word with two of the same letters only the first of the two will show up. I have the labels invisible until you guess it right, here is the code: Private Sub...

View Article

Image may be NSFW.
Clik here to view.

How to import txt file to database (MSAccess of SQL Server) using vb6.0?

Hello masters? I need help! I'm a newbie in programming vb6.0. I would like to import a txt file into MSAccess Database or SQLServer using vb6.0. Below is the format of the text File. test.txt SEQ A ID...

View Article


[RESOLVED] HELP regarding common dialog control in visual basic 6.0

hi i was wriing a program to change the color of the shape using a common dialog control but i always get an error in common dialog control while compiling my code its says "invalid outside procedure"...

View Article


Reading a text file with LINE INPUT.. reading whole file?

I commonly use LINE INPUT with DO/UNTIL loops to parse files. I need to parse a handful of 2GB files (Essbase database exports), but when I try to input a single line to a string variable, it never...

View Article

I think this is easy on for you guys

Hi, I'm new to VB6. I have a project where I move the open Access 97 files across our network, then I compact & repair the MDF files. I thought this code would work: Code: Private Sub...

View Article

Problem with running VB6 app in Windows 7(64bit) that had run in Windows...

I have a VB6 application currently running fine on Windows XP. I have migrated to Windows 7 and it is not doing well. My project references a odbcconf.dll in the the Windows\System32 subdirectory. Does...

View Article

Attention all VBForumers, I have a Microsoft Windows 8.00 Answer, for you all...

This has all of the Answers that you need for your Programming in Visual Basic. I am still sourcing one for Visual Studioo .NET, but then this one is for both VB6 and VBA COM... Click Here

View Article


HELP needed in picturebox of visual basic 6

hello i have a code which draws a line in the picture box when i click the command button, clear the picturebox when i click on the second command button..... the code is below Private Sub...

View Article

loop dir and zip file

How to loop all .txt files in dir and zip one to one.... naturally delete the original file if the ziiped operation is complete.

View Article


winsock connect friends home ip plz help

i have a vps i tested this on vps and it connects but when i try and connect to friends pc using his ip it dont connect please help my client code Quote: Private Sub Command1_Click() sckMain.Close...

View Article

Trasnsform string in date

I have myvar="ASSMF-01102012-230120.txt" i need to extract the date 01102012 from myvar and assing the new value in Mydate in this format 01/10/2012

View Article


Data Member Not Found

Okay so I’m doing a quiz for my project in VB6. I use three forms, a main menu, the quiz itself and then the high score table. I seem to be having trouble with my quiz form with the code. I get an...

View Article

Is VB6 supports MTOM attachment?

Hi, Could you let me know if VB6 supports MTOM attachments? If not, do we have any other way to call WebServices from VB6 with attachments? Thanks, Singaiah.

View Article

[RESOLVED] Vb6 - shellexecute doesnt like "&"

Hi I was trying to send an email thru shellexecute and I found out that if the text being sent contains a "&", shellexecute will just stop reading beyond &. I don't know why (Im not familiar...

View Article
Browsing all 21835 articles
Browse latest View live


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