How to update database with changes made in data grid.
Hello, I need some help with datagrid control. On a form I have a datagrid control and I am selecting a row from the datagrid and I have a button below which helps me perform that action on the...
View Articleis it possible to connect word (doc) file with vb application
Hi awl.... as we know that generally mdb file is being used for showing database in vb, but mdb file contains only plain text. I have created 3 tables in a word (doc) file, and the data contained in...
View Articlemy program says encountered a problem and must close after i refresh the Forms
i trying to refresh the table and everytime i ger this error the code that im using Code: Private Sub refreshsystem_Click() Â If MsgBox("refresh program? & vbCr & _ Â Â Â Â "this may take some...
View Article[RESOLVED] Copying My Database File
Thought I had this one licked..... The following works 'sometimes' -- I HATE 'sometimes'. When I first start my program, I can select my menu option and export this .mdb file. If I 'play around with'...
View Articlephoto dosnt update the correct pictures
i have a form with to photos that i can add when i add does 2 photos or 1 photo then everything is ok but when i add 1 photo and go back to add another photo then the first photo that i added is gone....
View ArticleMoving an object from Form1 to Form2
Form1 is used as the Tool Box to hold the chess pieces Form2 is used as the Chess board Form1 has these objects (basically pictureboxes with images of chess pieces in them). I need to mouse down and...
View ArticleHelp with logging out of Twitter
I am trying to log in to Twitter and submit a tweet in vb6. I should use the REST API but it is way too much confusing. So I thought I would use the internet control. The internet control is named to...
View ArticleHow can I force the 00.00 numeric format ?
For example Dim sglX as single sglX = 00.00 VB forces the 0# to show up, and the watch window shows 0 as the variable value. Is there a way to use Format() to do that ? I tried several iterations sglX...
View ArticleHow can i add validation rule to DTPicker and Microsoft calendar??
Hello Everybody Am using DtPicker on one form and Microsoft calendar on another form. can someone help me with a validation rule for both so that i can get a msg box if i leave the calendar blank...
View Articlehow to show (calculate) the profit of a single column after selling a product
How Do i calculate & Update each single column after selling a product from the inventory i dont know if the calculation is by item number or something else so i show the 2 tables of inventory and...
View ArticleCondensing Text in Text Box?
I am wondering if there is a way to condense the text in a Text Box if it goes beyond a certain number of characters?
View ArticlePass variable from one module to another (one sub to another sub)
I may not have all my terminology correct, but hopefully it will come across with what I am looking to do. I have two MODULES in my VB Editor. I think we are using VB 6.3. Within each MODULE, I have...
View ArticleFunction from Excel using in VB6
Hello, Im have a program in VB6, where I read an ExcelSheet. Opening and closing the sheet is no problem, but I want to calculate the average of cells A:A. I hope that someone can help me. Sorry for my...
View Article[RESOLVED] Does a Form know it is being moved
If my Form is moved by program code is there a way for the Form to know it is being moved and also is there a way to know the X and Y of the Form when it is stopped moving. I know to use Form.Left and...
View Article[RESOLVED] the exit sub dosnt work and still updates the database
can somebody please tell me why i put a exit sub before i save or update and it stills saves and update isn't this supposed to exit the routine?:confused: what is wrong with my code? this is before i...
View Article[RESOLVED] [VB6] Combo Box: Can I drop down the list programmatically...
I would like to show a combo box with the list "dropped down" without having to click the button. Can I do this programmatically without resorting to API?
View Article[RESOLVED] How to get the location of a Form that has been moved from one...
I hope I explain this in a understandable way. I have 3 Forms, Form1, Form2, and Form3. All measurements are in Pixels All pictures and images are the same size, 30 x 30 except for the picturebox on...
View ArticleOLEDragDrop from one Form to another
I know how to do OLEDragDrop but what I don't know is how to get the picture of what I am dragging to show as I drag it across the screen from Form1 to Form2.
View Article[RESOLVED] Question about using GetWindowRect
Don't understand something. 1) If my Form is at screen location 0,0 to 22,22 GetWindowRect returns 1 2) If my Form is at screen location 23,23 to 37,37 GetWindowRect returns 2 3) If my Form is at...
View Articledownload picture or show in picturebox with winsock
Hi, I wonder how can we get an image to picturebox with winsock? I'm writing a program which sends data and get a picture. Thanks in advance
View Article