[RESOLVED] how to find a path of a filename instead of entering the full path
i have a animated gif that i display on a form now in the form load i put the full path for it is there a way to find this gif picture and load it without telling the system the exact location of the...
View ArticleRemoving specific items from a listbox with their index?
Hello there! I have a list of students in a listbox called StudentList. I am trying to figure out how I could remove an item by saying removeitem index0 (the first item in the listbox), second item...
View Articlehow we can create a table manually and fill the data inside a table
i want to create a table and filling data inside i created a table but no idea how to fill data inside .. Code:  Dim tmpcounter As Integer     tmpcounter = pageLeft + Printer.CurrentY     For...
View Articlehow to add in attachment Crystal Report output in Visual Basic 6.0
Private Sub sendmail() Dim o As Outlook.Application Set o = New Outlook.Application Dim mi As Outlook.MailItem Set mi = o.CreateItem(olMailItem) With mi .Subject = "login" .To =...
View ArticleHow can I separate items in a listbox that were put there using an array?
Hi there folks, I have a listbox called Studentlist. It has 4 different items put there in an array like this. VB Code: Option Explicit Private Students As ObjectStudents.AddNew Array("Name", "Points",...
View ArticleForm Dimensions!
Hey guys... I have had a question about form dimensions! I have 2 simple command buttons : -Their code is : form1.width(something!) and form1.height(something!) *the dimensions are not the same! -They...
View Article[RESOLVED] Form Dimensions!
Hey guys... I have had a question about form dimensions! I have 2 simple command buttons : -Their code is : form1.width(something!) and form1.height(something!) *the dimensions are not the same! -They...
View ArticleDatareport textbox change event
Hi, We are doing some reporting using VB6 datareport. I have set cangrow property of some rpttextbox true and i have used lines between rpttextbox fields. My problem is line dont have cangrow property,...
View ArticleMove Data
IS THERE A WAY I CAN MOVE DATA FROM ONE TEXTBOX TO ANOTHER ON THE FIRST OF EVERY MONTH 18(0) IT MUST MOVE IN AN EVER ENDING CIRCLE 18(1) AND IT MUST MOVE DOWN 18(2) 18(3) Thank you for your support!!...
View ArticleUsing Winsock Listen Mode talking to a device that uses port forwarding
Hi All Im writing some code to listen to an analytical device which uses a cellular modem with a port forwding table. I can connect to the device.. Winsock1.Protocol = sckTCPProtocol Winsock1.LocalPort...
View ArticleTask Bar Context Menu Close
I have noticed an issue in VB6 and Windows 7. I have a main project "MAIN." MAIN reference an ActiveX DLL called "CHILD." The user runs my application and MAIN is opened. From within my application,...
View ArticleHow to install vb6.0 pro on windows 8
I am not sure where to ask this. I have vb5.0 and a vb6.0 upgrade which have been working fine on windows xp. Now with xp support going away I bought a new machine with window 8. It loaded vb 5.0 with...
View Articlerotating a label 90 degrees in VB6 in Windows 7...
Hi. I am still using Visual Studio 6 (VB6) to support some very old software. In Windows XP I used an active X component called RotateLabelVer2.ocx to do this - with no problem. However, I am now using...
View Article[resolved] Help with looping my proccess killing code
this is the code I want to be looped Code: Kill_Program ("the program i want to close") i put do then loop in it like this Code: do Kill_Program ("the program i want to close") loop but my vb crashes...
View ArticlePreventing a MouseDown to take place
Is there any way I can prevent a mouse down to occur on any object before a certain event has finished? I'm thinking can the mouse be blocked; ie, once the event is in progress and before the event has...
View ArticleShift+Space
Team, I am trying to run a keyboard command of "Shift+Space", however no matter the combination of parenthesis, quotations, brackets or braces, I am not able to get this specific key combination. What...
View Article[RESOLVED] User Control Question - How do I add an Enabled Property
I made a UC but it does not have an Enabled property. I would like to have one because I have a situation where I need to disable the control (to prevent a mouse click or mouse down to occur) and then...
View Article[RESOLVED] User Control Question - Initialize
What is the difference between the Initialize() and the InitProperties() events? What I am asking is does it make any difference whether I initialize a property in one or the other events.
View Articleget the surce with winhttp through a Proxy
hello ! i want to get the source of this page with winhttp in vb6 : Code: http://mihanwebads.com/website/js [CODE] i try to get the source with PROXY : Code: Private WithEvents Http1 As...
View ArticleHo do I disable the mouse
I have a situation in my program that I must prevent the user from clicking on an object while a certain event is in progress. When the event has finished I then need to enable the mouse again
View Article