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

textbox to file name trouble

I am making a patient roster program that lists the patients for a specific day: Code: Private Sub Form_Load() dat$ = Date Text1.Text = Format$(dat$, "MM-DD-YYYY") ff$ = "M:\recep\PT30415.txt" Open ff$...

View Article


Image may be NSFW.
Clik here to view.

Emulate the Google search bar

Good evening :) Onto a form I have a ComboBox that I fill with several items (names of people, in order surnames and names). I wish that the user when starts typing onto the control, it will appear a...

View Article


run program with admin privilege from service

Hi. I want to run a program from a service in current user (active session) with admin privilege (UAC). i use WTSGetActiveConsoleSessionId API to find current user. i use this code to run program in...

View Article

Passing Variable to Batch File to Process

I have a situation where a file is created during runtime of vb code. The file is stored in a folder. Later in the code the file is located in the folder and needs to be passed to a bat file for a...

View Article

Use PIPE (STDIN/STDOut) to port images to ffMPEG to Create video..

HI, Greetings to everyone this topic is related to ffMpeg ( a command line video encoding tool) below is the sample code to create video files from images: Code: ffmpeg -f image2 -r 1 -i img%03d.png...

View Article


Image may be NSFW.
Clik here to view.

subscript out of range run time error '9' vb6 crystal report

I am getting this error when I try to pass an sql string to an external crystal report. extenal in the the report is not part of the project but a crystal report file. I have uploaded a summarised...

View Article

Image may be NSFW.
Clik here to view.

GDI + GdipGetImagePixelFormat (untrusted)

Hello, it fails when using an 8-bit image with a transparent palette, return 32 bits, any explanation? Download the image and put in C:\ Code: Option Explicit Private Declare Function GdiplusStartup...

View Article

Hello, please help. VB6 & Acad

The challenge is to create the example program in VB. Merge AutoCad, Excel. We need to open AutoCAD software, file, identify the drawing, text boxes, and change them to a table in VB6 is ehsel.V Ole...

View Article


[RESOLVED] running code without clicking a button

Now that my project is nearing completion, i have been informed that thjey would like the process to run simply by having the exe called. I must make it run without having to click any command button...

View Article


RS232 "sniffer"

Hello In the company we have sw communicating over bluetooth. I'm doing another software which recognizes communication via RS232 commands and writes to the database. Does anyone know how to connect to...

View Article

function returning value

Sir, I am trying to write a function which check that the numeric key is pressed and if not returns null/blank in the textbox and on write key writes the value so the event and functions are as follows...

View Article

Detect a Process

Looking for a bit of help / direction with this. I have a command button, If I press it I want it to see if calculator is open, If it is open bring it on top. if its not open then open calculator End I...

View Article

Save text submitted by a user in the text box to a txt file in VB 5

Hey there, i was wondering if any one knew any code or tips that would help me acomplish a small program im trying to create? i wanted to make a basic word processing program, i have most of the key...

View Article


vb6 and timeout error when moveNext on last selection

Hello; I am having problems with VB6 and SQL Server 2005 and 2008. I am working with an application, built by a vendor but I have put a lot of work into myself. It is an archive and retrieve app that...

View Article

How do I write in textbox like terminal ?

Hello everyone i need write in textbox or richtextbox like terminal in Linux Exam: The textbox start order like this Order:~# Here write any Command i have in my code if i write command does not exist...

View Article


Basic Network Practice?

I've developed an application before to be run in the main PC only. Last year, the company required me to make a client side application where it can be put to other workstations but some processes and...

View Article

[RESOLVED] How to Set which Option Button is True

Hi, I have a form with 3 option buttons on it and having trouble with settings. I've tried .Option1.value = 1 and .Option1 = True in Form_Load but always the same button is selected. How can I set the...

View Article


HTML entity Unicode Hex Character

Hello! I receive permanently a XML document wich contain strings like this: "Iași" "Galați" "Rīgas pilsēta" What can I do to convert automatically from VB...

View Article

[RESOLVED] Forms - viewing and opening

Hi, I have a couple of questions about Forms. I want to use one as a sort of msgbox. But after I unload it, the next Show command invokes an error that it was previously unloaded. How would I get...

View Article

How to Check the internet connections adapters list?

Hello :wave: I have 2 internet connection on my pc, where one is broad-band connection "Local Area Connection" and another is a dial-up connection "Idea Internet". Now here I want to get the list of...

View Article
Browsing all 21243 articles
Browse latest View live


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