Quantcast
Browsing all 21348 articles
Browse latest View live

Decimal to binary converter

Hey! For a school project i have to code a decimal to binary converter and a program to add two binary values together, im really bad at this stuff and i was wondering if anyone had any ideas? Thanks!...

View Article


[RESOLVED] Second call to PaintPicture fails

I'm trying to copy the image from Picture2 to Picture1 using PaintPicture method. I call PaintPicture several times to copy from Picture2 which changes it's picture each time I make the call. The 1st...

View Article


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 Article

align listview listsubitems image

is it possible to align listview listsubitems image to center?

View Article


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 Article

Inet 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 Article


How 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 Article


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

Any 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

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 Article


[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 Article


Object 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 Article

How 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 Article

Errors 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 Article
Browsing all 21348 articles
Browse latest View live