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

MS Script Control (msscript.ocx), misses subroutine "wscript.Quit"

Has anyone any idea how can i terminate my script using "MS Script Control (msscript.ocx)" besides wscript.quit wich is an unavailable object?

View Article


Duplicate file name

In case of windows, if I try copying existing file already, windows assigns *- Copy.*, *- Copy(2).*, *- Copy(3).*... Is there any API to make this file name? or should I make my own code? Can anybody...

View Article


Hellp .exe make my project and attached .dll file

Hello I create a project1 in vb6 and make .exe file i run setup install successful when my problem when i run my program some file show error first i not know how can clear this error Error show File...

View Article

How to move a Form without Titlebar nor API

I have a borderless Form I want to move but I do not want to use this: ReleaseCapture SendMessage Me.hwnd, WM_NCLBUTTONDOWN, HTCAPTION, 0&

View Article

vb6 need Help (Screen Resolution)

How to make a program that will fit on any screen resolutions?

View Article


[RESOLVED] AdjustHorizScrollBar in module

Hi, I am working on a project for other form member and I am receiving a problem with the following vb Code: Public Sub AdjustHorizScrollBar(ByRef LB As ListBox, Optional ByVal RightMargin As Long =...

View Article

Visual Basic 6. Global/Pulic Folder Location That Limited User Can Write Data

Hi, Greetings to every one.. I am a vb6 coder, and facing problem with widows 7 UAC issue. Limited User: When I run my installer it ask for admin account password, I enter and it installed it...

View Article

Retrieving Quotation Marks From Text File

If I were to open a text file in Visual Basic 6.0 and retrieve and display in a label the text complete with quotation marks, how could this be coded? Thanks in advance. :)

View Article


Please help, need to find login name from computer name

I have written this code, which populates a list box with a bunch of useless(to me) network computer information. It's rough, but it works. You can just put part of a person's name in, and it gives you...

View Article


[RESOLVED] Unset Parent

I can make App2 a child of App1 by using SetParent App2.hwnd, App1.hwnd Now how do I undo this so that App2 returns back to it's original owner

View Article

Moving a Form using API Problem

I can move a Form (or an object such as a Picturebox) using the following Code: Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _  (ByVal hwnd As Long, _   ByVal wMsg As Long, _...

View Article

Image may be NSFW.
Clik here to view.

Windows Explorer Error

I ran Explorer from my VB6 program like following. Shell "explorer.exe /e, " strPath, vbNormalFocus The strPath is the directory where I want to look at. Explorer is opened normally. But after a...

View Article

Instead of using list index, taking an item from the 2nd, 3rd, and 4th...

Hello there and good day to you. I am working on a program that simply randomized numbers. They are a listbox, and when I want to copy the top number from the listbox to a label caption, I use this...

View Article


Trying to keep X and Y of moving Form relative to mouse pointer

Here's what I am doing I have a Form with a Picture1 on it. The picture in Picture1 is a chess board pattern I am using Forms to represent the chess pieces. So I have Form1 which is the main Form (the...

View Article

[RESOLVED] Instead of using list index, taking an item from the 2nd, 3rd, and...

Hello there and good day to you. I am working on a program that simply randomized numbers. They are a listbox, and when I want to copy the top number from the listbox to a label caption, I use this...

View Article


[RESOLVED] customers history dosnt display in datareport

im trying to display the history of each customer in a data report when i make 2 appointments for a customer and hit the history button i see nothing dont know why this is my code Code: Private Sub...

View Article

Help with Making A Report Making Module in vb6

I need to make a report with print preview and page setup buttons. More like a form which can be printed. I know there are tools out there but this is my project. It can be any class/module. No...

View Article


How to determine if a printer is connected and available

I wish to determine whether a particular named USB printer is connected and available and to use this fact as a conditional element of my program. Using the control panel in windows XP (looking at...

View Article

PC Rebuild and new VB 6.0 started errors in my project

Hi all Need your help, I have built my PC recently and have installed Windows XP and VB 6.0. Now when I open one of my project which was working fine before the rebuilding I am getting many error...

View Article

Moving a User Control Problem

When the User Control is a child of the main Form I can move it around the Form and it will follow the mouse pointer using the following code: ReleaseCapture SendMessage UCimg1.hWnd, WM_NCLBUTTONDOWN,...

View Article
Browsing all 21259 articles
Browse latest View live


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