vb6 query problem
I have this query to get record Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset Dim sSQL As String sSQL = "SELECT * FROM customer where (custid = '' or custid = '" & Text1.Text & "') and...
View Article[RESOLVED] adodb update muliple records (need help)
Is it possible to update record using 'between' in adodb? for example update record from '13001' to '13005' i am using listview. i have a code but its not working. dim first,last as string for each itm...
View Articlealign listview listsubitems image
is it possible to align listview listsubitems image to center?
View ArticleAccessing URL
I am trying to access a URL that I have authorization for to access. I have a User Name and a Password. I tried the following code using the inet control: Inet1.UserName = "xxxxxxx" Inet1.Password =...
View Article[RESOLVED] Accessing URL
I am trying to access a URL that I have authorization for to access. I have a User Name and a Password. I tried the following code using the inet control: Inet1.UserName = "xxxxxxx" Inet1.Password =...
View ArticleInet and WebBrowser control problems
Hello! My operating system is Windows XP/SP3 with IE8. This link: http://adfoc.us/679079050323 works perfectly in Chrome, Opera and Internet Explorer 10. Internet Explorer 8 does not load anything. I...
View Article[RESOLVED] removing spaces from random words in a paragraph...
hi guys, i'm trying to achieve a kinda string function in which when a paragraph is entered by the user...it randomly removes the spaces between a few words each time giving different results( thats...
View ArticleHow can i check if my local network connection is fine ?
Hi guys! I've a problem with my program... i need to connect with a network printer, but... before i need to check if i'm connect in a local network and if i can use this connection. It's possible? i...
View ArticleJoinDomainOrWorkGroup 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 ArticleAny way to use a more modern browser in a VB 6 program?
My program uses the Internet Explorer control which is getting out of date and modern websites don't appear properly in it. Is there anyway of using a more modern version of IE inside a VB 6...
View Article[RESOLVED] Function for Non-decimal Percentage?
Hi, can anyone please shed me some light: I'm doing random values in arrays, but I need to get a 100 sharp as the total value: Code: Private Sub Command1_Click() Â Â Dim Num(1 To 10) As Single, total...
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 Article