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

The conversion of a char datatype to a datetime datatype resulted in an...

Hi Insert into shift(shiftcode,starttime,endtime,effectivefrom) values ('1','11:10:00 AM','05:10:00 PM','20/05/2013') . I am using SQL 2005 It is giving me error "The conversion of a char datatype to a...

View Article


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


Make 100% CPU Usage

Hi Guys! Now I want something weird. Normally the opposite is desired but I need the 100% of the CPU. I have a very small code for a form uses high amounts of array for a mathematical computation. When...

View Article

Connect to SQL server database

Hello All, I'm about to convert my connection from MS-Access database to SQL server database which i create but i don't know how to convert my connection code below that i used to connect to MS Access...

View Article

Access XP: 35602 - Key is not unique in collection.

Hi: I need your help because I don't get to solve this problem (error 35602). I have a form in Access XP. When it is loaded, it is loaded data into a ListView control and this error (35602 - Key is not...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Working with Win7 Control Panel with VB6 - Power Options

I want to write a VB6 program to programatically (sorry for the double entendre) change the power settings in the control panel on a Win 7, 32bit, Dell laptop. These pictures show a before and after...

View Article

Webbrowser Control with IE7/8 and Windows 7

Hello all - I've searched for the answer to my question but the one discussion that I found that seems to address my issues I attempted what was tried and could not get it to work on my machine. It was...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio crashing when writing to SD Card.

CAUTION: DO NOT RUN THIS CODE WITHOUT LOOKING AT IT FIRST AND UNDERSTANDING IT. IT WRITES TO YOUR G: DRIVE IN A RAW FORMAT WHEN THE COMMAND BUTTON IS CLICKED. Hello, I'm trying to write raw rgb565 data...

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


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


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