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 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[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 ArticleSave 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 ArticleClass 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 ArticleThe 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[RESOLVED] command line and new object
I run into a scenario that I am stuck. I have an exe, and in the program, there's this sequence: 1. Create an object provided by API. 2. Call that object to login. 3. On logoff, call that object to...
View Article[RESOLVED] How do I determine the distance from border of Form to border of...
On a Form I have a Picturebox. How do I calculate the distance from Form.Left to Picture1.Left and Form.Top to Picture1.Top The Form and the Picturebox have ScaleMode = vbPixels
View ArticleBeware of the Default Command Button
I had a very perplexing problem that took a while to figure out, so I thought I would pass it on. I had 2 communications programs, the original Host and a Client that was copied from the original and...
View Article[RESOLVED] Checking multiple words existance in a textfield
Hello, Guess I'm having a textbox named Text1 (or richtextbox, if it isn't possible in textbox) filled with some alphabetical music notes that are separated by commas, like: Quote: A,B,C#,D,E,F#,G#...
View ArticleDragging a picture from one application to another using OLEDragDrop
When you start to drag an image from one app to another you see that drag icon (see attached image) but I would like to show the image I'm dragging instead. Can this be done and how? Attached Images
View Articlewebbrowser and tv tuner
good day. may I ask if anybody has already a code for viewing streaming with webbrowser control from a tv tuner.
View ArticleNeed Help (VB6 + Access Multiple user update)
How to allow multiple users to get into the same Access database? multiple users having a problem on updating records at the same time. only 1 user can successfully update record. What am i doing...
View Article