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

how to update without a duplicate name

hey im trying to update a customer but when i try to change something in his details i get name already exists in the database. i did this only when i add a new cust. cant figure out how to fix it. if...

View Article


Do your part for VB6!!

There is currently an active petition going on in Visual Studio uservoice site named "Bring back Classic Visual Basic, an improved version of VB6". it is one of the most popular petitions in the site....

View Article


[RESOLVED] Creating Excel Worksheet with QueryTable in VB6

Just for fun, I am using an example posted on MSDN to copy an entire table's contents into an Excel spreadsheet. I am using VB6, Excel 2007 and Access 2007. On this line, "oQryTable.refreshtype = 2...

View Article

[RESOLVED] msflexgrid populating question

I wanted to ask how to do this problem. I have this form A with msflexgrid A with no records. then I have another form B with msflexgrid B with 10 rows of record. I need to copy the records from grid B...

View Article

[RESOLVED] how to update without a duplicate name

hey im trying to update a customer but when i try to change something in his details i get name already exists in the database. i did this only when i add a new cust. cant figure out how to fix it. if...

View Article


Image may be NSFW.
Clik here to view.

Coding for finding and displaying data

I have a large text file from which I want to extract information. As a sample of what my data looks like, I've saved some data in a txt file which has 4 columns. The first one is 'ID' (Unique ID of...

View Article

question on treeview from columns

As I read about treeview, it branches out because of the node keys. On the other hand, I have create 4 tables with each Primary Keys. All tables relate to each other like table1 is related to table2,...

View Article

get string

hi all i have this code dim amir as string amir = "amir:123" i need make 2 string about : u = "amir" we = "123" how i can cut 2strings from 1 string ?!

View Article


Odd - and probably basic error

Hello I am facing to this odd problem. It is probably a simple issue, but I can't find the solution I am calling a sub, in order to - load some values from a form in an array - I am calling this sub...

View Article


CUT and COPY txt file

I have in c:\mydir\ this txt file: AAAA-BBBB_04-05-2012.TXT AAAA-BBBB_02-05-2013.TXT AAAA-BBBB_02-06-2012.TXT i need to cut from c:\mydir\ and copy in c:\mydir1\ all files based the current year -1...

View Article

web broswer interaction

ok, so the code ive got it: Code: Call bb1.Document.GetElementById("login_name").SetAttribute("value", "username") Call bb1.Document.GetElementById("password").SetAttribute("value", "password") Call...

View Article

[RESOLVED] rotate strings - please read

this is the text Quote: Inbound links were originally vital (prior to the emergence of search engines) as a primary amartitle suggests that of net navigation; nowadays, their significance lies in...

View Article

Startup Helpl

For some reason the startup value in my computer does not match the value I create it as when I run the code... Code: Dim Reg As Object Set Reg = CreateObject("wscript.shell") Reg.RegWrite...

View Article


Listview check uncheck need help

I have code for checking multiple selected item For Each Itm In lv_LIST.ListItems If Itm.Selected Then Itm.Checked = True End If Next How about unchecking multiple checked items?

View Article

breaking 1 line of keyword into 5 pieaces

this is involved in (seo) search engine optimization project working with keywords there is 1 thing i need to do breaking 1 line of string into 5 pieces no matter how long or short it should add extra...

View Article


Image may be NSFW.
Clik here to view.

mschart displaying label backwords

hey i have a problem mschart is displaying the words backwords meaning in july is yluj and august is tsugua this only happens if i have more then 6 months bar showing in the mschart need some help...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Howto query RGB() value at (Picturebox) position: x=37 y=31

Hello, I want to load an *.GIF image (dimensions: 50x30 pixels) into a invisible picturebox. -How can I determine what RGB value the gif image has at position (x=37,y=31)? I already know the RGB value...

View Article


How to query and update the database

guys I would like some advice on how I can loop while updating the database I would like to move through an integer field in the database This field would typically look like this: ShiftNumbers 195 195...

View Article

Code Module Window Order?

Does anyone know where the display "Order" (i.e. specifying the display order, front-to-back) of the code-module windows is specified, when the IDE is first opened? The initial ordering appears to have...

View Article

Syntaxt error - need help please

Hello, I found a site that has code for turning off a virtual machine. I get a syntax error when trying to compile on the objVM.Turnoff(). How can I code this to work? I took it right from the website....

View Article
Browsing all 21846 articles
Browse latest View live


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