Type Structure vs Class module
Is there an advantage of using a Class module instead of a Type structure? Let's say I have this: Type Thing X As Long Y As Long S As String etc etc etc End Type Dim TheThing() As Thing Now instead of...
View ArticleFlexGrid again ....
Hello everyone. Sincerest apologies for asking about this again but this time I'll be precise about what I need. I have created an application in Win XP where the executable will reside on a network...
View ArticleExecuting javascript in wb control?
Hello. I am trying to execute javascript from the web browser control. Whenever i navigate to a page that contains javascript the script error warning pops up. I know wb.silent stops this error from...
View ArticleVB6 Colspan Enquiry
I'm using the following code to go to a website and gather the tide timetables. I can gather the tide states and times ok, but having a little difficulty in grabbing the tide heights. The problem is...
View ArticleMost repeated/frequent word in string??
i need help about finding word which is most repeated in string, Fro example "This forum is extra, but i need extra help" Result: "extra" There is problem when you have two words which are repeated...
View ArticleSearching Note Pad Document, And returning Data?
Attachment 94755Attachment 94757 The two pictures i have attached show what my entry search, and entry form should look like. Essesntially, i want to be able to search through a notepad document, and...
View Articleip connection problem am facing
am in uk and i have dynamic ip address , everytime i disconnect and then reconnect manually it gets assigned by new ip address my internet is not static. the issue am facing is with winsock file...
View Articlecapture image from webcam and customize
Hi everyone, I need help please. can anyone tell me how to capture image from webcam and display in the picturebox. after that how to add a picture frame on top of the captured image. and then save to...
View ArticleHow to come-up with summation of numbers
I'm trying to do a report using Excel such like this: Client1 = 3000 Client2 = 2000 Client3 = 1000 from my MS Access database containing the following data: Client1 = 1500 Client1 = 1500 Client2 = 1000...
View ArticleRun-time error '-2147467259 (80004005)'
I have made crm in multiuser..i facing 1 error in run time.. "Run-time error '-2147467259 (80004005)' pls reply me.. Attachment 94765 Attached Images Â
View ArticleEaser way of adding items to a listbox?
Hello everyone! I was working on a literacy game for students, so I am adding numbers to a listbox called Qlist. But I was wondering if there was an easier way of adding numbers from 1-100 without...
View ArticlePrinter Canon MG6250
Hi Sending print instructions to the printer I get a blank page ejecting between each printed sheet. I have checked the code by stepping though but cannot see the problem. Could anybody give me some...
View ArticleLoadImage issue
Hi all, I wrote an Icon class to easily handle 32bit icons in VB6. I used following project as example: Systray Icon The problem, which I am facing is, that in my class one icon cannot be loaded - but...
View ArticleConvert String into Currency
Hello im wrestling with some values and i don't get it fixed. What i want is the following: Code: Dim Curarray(20) As Currency Curarray(0) = 833235433555332.6332@ changed into: Code: Dim Curarray(20)...
View Article[RESOLVED] Placing an Image in a Word Document - First Page
I have the following code at the beginning of where I create a Word Document in my VB6 program: (I have the Word Library as a reference.) Code: Dim WordApp As Word.Application Dim WordDoc As...
View Article[RESOLVED] Object Varialbe or With Block Not Set
Is there a solution to this when executing a program from VB (Excel for example) then closing Excel directly INSTEAD of closing the VB App which will close Excel. For example: 1) Excel started using...
View Article[RESOLVED] list1 get count urgent
in project i have list1 list1 items as below demo1(30) demo2(12) demo3(35) how do i get the value out of (35) selected item into label1 i need to make an if statement out of it using command1 button...
View ArticleFinding End of Word Doc Pages
I am starting off my VB6 code with the following in order to create a Word Document: Code: Dim WordApp As Word.Application Dim WordDoc As Word.Document Set WordApp = New Word.Application Set WordDoc =...
View Article[RESOLVED] picture1 & picture2 help
i have 2 picture boxes picture2 has autoredraw enabled and the image is set its a large image now i wish to resize that picture3 image to fit on picture3 by 1 button click so far i have this i dont...
View Article