[RESOLVED] JoinDomainOrWorkGroup fails on Windows 8
Does anyone know why the following line of code would fail in Windows 8? ReturnValue = objComputer.JoinDomainOrWorkGroup(strDomain, strPassword, strDomain & "\" & strUser, strOU, JOIN_DOMAIN +...
View Article[RESOLVED] how to calculate Discount between 0 and 100
hey im trying to calculate a discount percent or without discount percent witch meens 0 i did this code but i know something is missing Code: Dim InvCost As Double Dim invTax As Double Dim Percent As...
View ArticleObject variable or with block variable not set!? Need help
Hi There Everyone, This is my first post.. I have a system that runs on vb6, from window7 i migrated it to windows 8. when i run the system, it runs normally. but the reference of my project is inside...
View ArticleHow do I get keyboard scancodes and know it's an extended key?
How or with what API can I know which key is an extended key to be able to use keybd_event with the correct dwFlags? If I only know how to make a listing like JackTripper did on following link, then I...
View Article[RESOLVED] how to display item in listview to textbox using double click event
hey im trying to display a name from a listview to textbox every time i double click on a item in the listview. need some help with that tnx ;)
View ArticleErrors when installing .exe after Package and Deployment
Good afternoon, I have finished my application and packaged it using the Package and Deployment wizard. However when I install it on a machine I get a few errors during the installation. Below are the...
View Article[RESOLVED] Adding buttons to a TabControl at RunTime
Hi guys, I've a problem in my Vb6 application. I want to add some button in my TabControl but each tab has a different number of buttons. I don't know this number, so I've to do this at run time. How...
View Articlevb6 coding url mistake?
ok, guys.. i got a wierd bug, i can't figure out what i got wrong here.. maybe some one can point it out for me, what i did wrong! please do not post the corrections. just confirm the place or point me...
View Articleonlick open another.exe ?
i am basically making a form that will open a .exe files when you click on the corresponding button but i am not quite shore how to do it. http://gyazo.com/d0b6359b05845c217dac09258205df96 this is my...
View Articlerequest download for vb6 application
good day, does anybody has the DigitalPersona U.are.U SDK for Windows 2.2.0 software which I will use for the vb6 application. May I ask for it. I already have the reader but have old software which I...
View Articlesearch listview dosnt search
hey im trying to search a listview in a textbox but its not searching for some reason. the listview pulls the data from another form ive done this a houndred times already i know im missing something...
View Article[RESOLVED] isn't possible create the Visible and enable propery?
can i create the Visible and Enable property in usercontrol? Code: 'WARNING! DO NOT REMOVE OR MODIFY THE FOLLOWING COMMENTED LINES! 'MappingInfo=UserControl,UserControl,-1,Visible Public Property Get...
View Articletext file creation
Hi I have a form with various fields and check boxes. I want one CmdSave to save all fields and check values to a file Record1.txt and then I want the same command button to save the next record to...
View ArticleVB6 - Method or data member not found - Menu Items
Hi I have a problem compiling a form with this code. Private Sub mnuBlue_Click(Index As Integer) mnuRed.Checked = False mnuBlue.Checked = True mnuYellow.Checked = False mnuOrange.Checked = False...
View Article[RESOLVED] ShellExecute or VBA.Shell?
Hi, I hope this isn't a silly question, but is there any good reason why you should use ShellExecute over the VBA.Shell? Because I've been only using the latter one and considered it to be the most...
View ArticleVB 6 can't open Access 97 database on OS Windows 7
Hi, I have a program coded in Visual Basic 6 that links to a Microsoft Access 97 database. The VB Program is running on OS Windows 7 Enterprise 32 bit that has MS Access 2010 installed. I get the error...
View Article[RESOLVED] Reading a file by segments
How do I read a file into a byte array in segments? I need to read the 1st 44-bytes of the file into a byte array then after that I need to read nnn number of bytes into another byte array of which nnn...
View ArticleRecording Audio in ASF format using Visual Basic 6 on Windows 7
Hi everyone, This is my first post at VBForums, :) Sorry if my english isn't perfect, I'm brazilian. I'm really needing some help. The situation is: One client of the company where I work have an old...
View ArticleMicrosoft Visual Basic for Applications window keeps popping up
I am am not sure if this is the place for this question, but I am not sure where else to go with this. I have a MS Access VBA database/application which has been running pretty good. However, today,...
View ArticleChanging Picture settings
Hi everyone. I am writing a macro in vb6 that opens a Word 2010 document, accesses a particular picture ("Picture 2") and changes its brightness. My code is: sub ChangePictureBrightness() Dim wrdapp As...
View Article