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

Date Format

Hi I am using SQL Database . I have written this statement rs.Open "Select distinct(Shiftcode) from shift where effectivefrom=(select max(effectivefrom) from shift where effectivefrom <= '" &...

View Article


HELP with SQL

I have a table in sql in I have to columns, which are name; Qty Desc. Is there are way I can combine the two row together on another column? Example: Qty Desc Combine 4 Test 4Test 11 Issue 11Issue

View Article


Image may be NSFW.
Clik here to view.

VB6 Run time Error 545 - Unable to bind to field or Datamember "xxx"

Good Day, I have gotten this error lately "runtime error 545". Before I continue a little background first. I have a MySQL server with images in the database (mediumblob) and everything to date is...

View Article

Print if True

I want to print a block of options from 1 to 6 tried If,Do and Select but not as I want it can you help please. In my sample only 3 txtAccs have a number and 3 txtInts have a value but it could be any...

View Article

[RESOLVED] Code to seach for specific items in a listbox won't find anything?

Hello there everyone. I have borrowed code from a previous project. What it does is search a listbox for a phrase, then if it finds the phrase it will turn some buttons invisible. VB Code: Public Sub...

View Article


[RESOLVED] Path/File Access Error

I'm working on an application, App2, that does the following things: 1) Send a message to App1 to close itself 2) Checks if App1 is closed 3) If yes then delete App1.exe file from the folder 4) Checks...

View Article

Using Office features in different versions of the library.

Hello I have a doubt, I hope you can help me SITUATION: I develop on a machine which has Office 2007 installed, so the reference library for VB6 is the Microsoft Excel 12.0 Object Library. LetÂ’s...

View Article

Using an integer as a variable for a directory

I have file stored on a network drive in a patient folder labeled with their ID number. The ID number is stored as an integer. How would i have VB6 use the integer data from the patient records to...

View Article


[RESOLVED] Slow running form after connect to SQL server 2008?

Hello All, i have swich off my db from MS Access to sql server db and face some issues such as slow running code while code working with no delay and normal on Access db, i debug my code and it's delay...

View Article


Find Loan Interest Rate using Newton's Equation

Using vb6 Rate function, I am getting to many errors(not able to find interest rate), especially when I am using large loan amounts like 99,000,000, etc. below I am try to use Newton's equation to find...

View Article

DTPicker, how can I convert a Date to this format?

Using VB6, I have a program in which a User enters a Date via DTPicker. VB6 appears to then convert this to a strange thing like €3â before saving in a File. How can I convert a normal date into this...

View Article

Image may be NSFW.
Clik here to view.

Help: Possible memory leak on my exe watcher app

HI guys, I need your expertise on this. I am basically developing an application which would pop up when the user execute as certain executable app. For example the user execute notepad.exe my...

View Article

Bat file question

What is the command I need to put as the last line in a bat file to keep the bat from closing? When I run my bat file it does what it is supposed to do but it immediately closes. How to stop it from...

View Article


[RESOLVED] Possibly simple SQL query

I hope you can help. I have a program with 2 tables. Customer and Address. When next is clicked customer is iterated through, not address. I want a search function that returns only customers of a...

View Article

Backup of SQl

Hi How we can take a Backup of SQL Express Database using Visual Basic as Front-End . I want to give user an option to take Backup. Thanks

View Article


Quite a stupid annoying bug

I am not sure how long my program has been doing this but I have only just noticed and its really annoying. When a random control has focus and I click on a button that button then has focus. It...

View Article

Performance is very slow running

Hello All, Is there a better way than the code below to speed up the process of saving the data because the code below takes time up to 17 second to saved data? Please need your advice to recode it to...

View Article


please help winsock check site for software version etc plz read

hi i know how to setup winsock to check www.example.com/version.txt for value = 1 or 2 or 3 but i wont to set up something in my client so instead of adding allot of select case statment or if i wish...

View Article

WebBrowser Component is working on Win8?

did anybody test it in vb6?

View Article

MAPISession Control

I'm currently experimenting with receiving email from within a VB6 app using MAPISession & MAPIMessages. If MAPISession.DownLoadMail = True; the equivalent of clicking "Send/Receive" in the...

View Article
Browsing all 21243 articles
Browse latest View live


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