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

How 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 Article


Image may be NSFW.
Clik here to view.

[HELP] Compile Error :(

When i want to compile the project, i got this error message. Please give me the solution :) Attached Images  

View Article


LIKE operator functionally doubt

Dear all i have a string str1 = "2" and in table i have the values in one of the fields as 1,2,3 4,2,5 Now if i am executing the SOL stmt as follows using LIKE operator select * from table name where...

View Article

how to bypass the permission denied when backing up database

does somebody know's how to bypass permission denied? i tried to open the db close it played with it but still no luck i get permission denied Code: Private Sub doBackup() cd1.InitDir = App.Path...

View Article

Help for Inet login problem

Hi I need a help for inet control which try to log a site below.I also add login html portion of that site into bottom of this post https://login.mig33.com/wap/ i can log with webbrowser control,but...

View Article


how 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 Article

Condensing 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 Article

Image may be NSFW.
Clik here to view.

Pass 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 Article


Function 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 Article


OLEDragDrop 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 Article


download 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

[RESOLVED] unwanted attribute in XML-Node

Hi, It's me Mario!! I have a Problem with adding Xml-Nodes. Sometimes when I m adding XML-Nodes he is adding an Attribute xmlns, that cant be deleted. But he isnt adding it all the time. This is a part...

View Article


Save to file or copy to clipboard

Hi, Which method would be better, I have a number of links in a list box when a command button is clicked the select item link needs to been copied to the clipboard. I know how to copy a single item to...

View Article

Class file is not loading into the project

Hi , I have a vb project in clear case server. I open the project. But one class module file is not showing in vb explorer, even if it is showing in clear case explorer. when i try build the project i...

View Article

The WIA device is not online - windows 7

Hi All, I have an application uses WIA (Windows Image Acquisition library). The application work fine in Windows XP, but the Windows 7 give an error saying The WIA device is not online I am using the...

View Article
Browsing all 21323 articles
Browse latest View live


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