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

create table from template table

I need to create a new table from template. In effect i just have a table named Template into access database, it contain 7 fields and have no records. I need with VB6 and DAO 3.6 to copy the blank...

View Article


Reopened: CreateProcessWithLogon Problems

The problem is when running this from startup/when Windows starts up it fails with Access Denied... I found that if I added code from Karl Peterson if works if I addd a msgbox.. weird.. First off I...

View Article


why is this ADO call to this stored procedure not executing

I am completely frustrated as this shoudl work. Right ?:eek2: Where I have it bolded those lines have been commented out to change the inline SQL query to a stored procedure without paramaters to be...

View Article

[RESOLVED] vb6 keeps crashing so annoying

when ever i open a project lightweight or heavy weighted with less forms or lots of modules it crashes when i try and compile , or when ever i run the exe from vb6 and close it bang crash i have to do...

View Article

program hangs

I have created this program that will check in the database the list of legitimate windows processes to run. if not included in the whitelist, the said process will be terminated. how i am doing this...

View Article


need your help again in chat auth

i just need simple idea for winsock chat authorizing the client id before accepting his request from server i wish to send out a message to server while requesting to server , if server reconizes that...

View Article

Collecting data, processing it - winsock? multiple threads? repository? what?

I have a lot of experience with VB5/6, but I have zero experience with winsock, threads, repositories, etc. I need to fetch a lot of stock price data that comes in very frequently, store it someplace,...

View Article

Image may be NSFW.
Clik here to view.

Hi i'm new here can you help me something in VB6 thanks

Hi i'm new here and i want to know something in vb6 i'm new in vb6 i want to read txt file from website in to Textbox in vb6 i found some source in google but watch this for example: Attachment 95619...

View Article


[RESOLVED] GetShortPathName not working, help!

Hi guys, I'm experiencing some trouble with 64-bit machines, where our app is installed in C:\program files(x86). The problem is that GetShortPathName API function is not working anymore, where there...

View Article


Find the tab stop position

I'm sending output to a text file and to make this file more readable, I indent some lines by placing one or more vbTab characters at the beginning. In some of these lines, I'd like to add a specific...

View Article

VB6 How to declare an array as global.

Hi guys! I want to declare a dim as global. But VB6 clearly warns me arrays cannot be declared as Public. Any trick to overcome this problem? Thanks a lot!

View Article

Show Text in ComboBox When Set as Dropdown List?

Hi, Is there a way I can set a ComboBox as a Dropdown List but still have the text property available? For example, I have a ComboBox that I want to restrict so users can only choose what is in the...

View Article

mshflexgrid problem

i would like to format the passwords in the grid...i really dont know how beacause its in string format.. Private Sub LoadUsers(grd As MSHFlexGrid) If rs.State = 1 Then rs.Close sql = "SELECT * FROM...

View Article


[RESOLVED] Dynamic array related question

Hi folks! I know how to work with fixed arrays, but I would like to make it more clear and ask a question regarding fixed arrays. For example, what's the difference when declaring: Code: Dim str(0 to...

View Article

Help with WHILE (# AND #) command

Hi, I have a code I've been trying to dechipher and I got stuck with one command... It's simple. WHILE (INP(&H3BD) AND 8) = UPVAL So I know WHILE, I also know INP for input and then &H3BD would...

View Article


dropping text

How do i make the code drop the first 10 characters from each line of the source txt? Code: Open "source.txt" For Input As #1 Open "destination.txt" For Output As #2 Do While Not EOF(1)     Line Input...

View Article

Data grid

I am using VB5 and have a data grid on my form. The grid has 3 columns- name, id, test. The number of rows in the grid changes according to the information in the form before it so it does not have a...

View Article


Error prompt

My program reads file from a floppy (old school i know) how do I have the program notify the user that the floppy needs to be inserted if its not instead of the program just crashing?

View Article

Sorting arrays alphabetically

Hi guys! This is a very diffifult task for me so if you have a suggestion, please try to give solution examples insted of explainations. I need something very fantastic. I have three arrays of String,...

View Article

How do you connect to a remote PC?

Hey guys, How do you connect to a remote PC in MS ACCESS? I am trying to write a program where I can input a computers name that is on the network in a form, and have it pull that computer up. Not...

View Article
Browsing all 21236 articles
Browse latest View live


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