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

Win32Exception was unhanded

Hey guys! New to this forum :) Okay so basically when I click start on the debugging process I get Win32Exception has occurred or unhandled exception. This is the code: Public Function...

View Article


Need help creating program to scrub a website

I would like to create a VB6 program that can "scrub" a website to get status response info on a membership application (sorry I can't provide details or tell you what website it is). The program needs...

View Article


Make Image Brighter/Make Image Un-brighter

I have this code that I got from this site (one of my previous threads) which is used to make an image brighter. I use it in my games to indicate a piece has been selected by the player. Now, after the...

View Article

Stored Procedure should return value

Hi I want that if stored procedure is executed successful it should return a value Vb Code is this confind.Open "Driver=SQL Server;Server=" & ServerName & ";Database=" & dbname &...

View Article

[RESOLVED] Need Help (Populate Date range to Listbox)

How to populate Date range to Listbox? dFR = DtPicker1.Value ' From dTo = DtPicker2.Value ' To For example : (From : 02/27/2014) (To : 03/03/2014) The output must be like this : 27 - Thu 28 - Fri 1 -...

View Article


Connection String

Hi I have written the below string for connection with sql cnn1.Open "Driver=SQL Server;Server=" & ServerName & ";Database=" & "WEIGHBRIDGE" & ";uid=" & uid & ";pwd=" & pwd...

View Article

Sgrid 2 as a User Control .ctl

Sgrid 2 as a User Control ( .ctl ) I have come across a user control for SGrid 1 but not for SGrid 2 I use the SGrid 2 and I would love to use it as a User Control (which is a .ctl file that you can...

View Article

Date field

Hi I have datetime field in database . I am using SQL . I want to display only time part hh/mm/ss & AM/PM. Thanks

View Article


[RESOLVED] how do i lock specific Row in datagrid in VB6

I use adodc1 with sql quary and i used DataGrid and i have specific field i want to lock like [row,column].locked=true how i do that

View Article


in datagrid how i use the columns button??

i want to use the button in the column DataGrid1.Columns(0).Button = True but how i fill the button in options?

View Article

how to make toolbar button pressed in VB6

I want to make toolbar button toggle. For example, press a toolbar button, that button is pressed. If press that button again, it should be unpressed. Is it possible?

View Article

Image may be NSFW.
Clik here to view.

Keeping Score

Using Vb6 I have attached my "Program" as a zip as i think you'll find it hard to understand what i'm about to say without actually playing the game I was messing around on vb6 trying to create a game...

View Article

[RESOLVED] SQL Database Backup

Hi I have written the below code to take Backup but it is not working . Secondly i want to return a value if it is successfully executed. Create PROCEDURE [dbo].[Sp_Backup] -- Add the parameters for...

View Article


[RESOLVED] Show only part of a filename in a label vb6

How do i get the last part of a filename after the last backslash and leave off the extension ? Typical file name: C:\Documents and Settings\All...

View Article

How to make a loop?

Hello, There is a Listbox that some URL's are listed in it.I want to make a loop for the Listbox that: 1) Gets the first URL of the list and connects to it using inet. 2) After loading the webpage's...

View Article


Set value of the datetime picker to default to the current date vb6

I need help to set the value of the date time picker control to the current date . I need to allow my users to enter a date in the past so setting the min date property to today is not an option. Any...

View Article

writing c++ codes to vb

Hi all I have a code from the site : http://ideone.com/Mv04Oy . it is to c++ language and i don't know it .Can any one help me to convert and write it to VB ? the code is : #include<iostream>...

View Article


Search www in google and copy Title

Ok so here is the code which opens a browser, search word from cell and gives the resault of searching in google images. What I want it to do: It should get the title of the website (search images...

View Article

is there event for adodc that happen after change record

i use adodc and i need event that happen after i change the field i mean i have in my access field that Url/text type and i have PictureBox that i want to do picture2.Picutre=UrlPic .Text //UrlPic is...

View Article

hi im having trouble converting frrom 2d screen coordinates to local coordinates

hi im not sure where to put this. these are my local coordinates of 1 of my triangle points Code:     With ONEobject     .LocalCoord(0).X = -1     .LocalCoord(0).Y = -0.5     .LocalCoord(0).z = 2.5...

View Article
Browsing all 21340 articles
Browse latest View live


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