VB6 and Canon Printer MG6250
Hi I could not get my Canon MG6250 to print in LandScape so I tried the sample below and even though i = 2 the printer just ignores the instruction. Can anyone help please? Code: VB6 Private Sub...
View ArticleHave a mouse cursor change depending on where it is on a form?
Hi there, I am working on a program, and it would be pretty cool if the mouse cursor could change into a custom cursor when it is over an image control? Is there a way to have it change when it is over...
View ArticleHow to connect MySQL database 1 Hosting to VB6
I have one problem that is to be answered! How to connect MySQL database 1 Hosting to VB6 And how to query it? For example, I have an IP address: 100.123.100.1 (hosting my address) In it I have created...
View ArticleNo value given for one or more required parameters
Hi guys! Im having a problem from opening a database... i think the code was right. DocListDummy is a ListBox that contains my doctors_id DocsList is a ListBox that get (lname,fname,mname) I want to...
View ArticleVB code for editing registry key HKEY_LOCAL_MACHINE for flashdrives disabling
in my college project, i am trying to make an application using VB6 i which the USB ports will be disabled for pendrives only. other USB devices like keyboard mouse will be operating fairly, but the...
View Articlesave pdf file to oracle 11g
Dear friends, this is my first comment in vbforums. i am using a vb 6 application to save pdf files in oracle 11 g table. the file is to be saved in blob field. after saving the file in the table my...
View Articleunion array
hi i have 3 array below like : arr1(0)=1 arr1(1)=2 arr1(2)=3 arr2(0)=2 arr2(1)=3 arr2(2)=4 arr3(0)=3 arr3(1)=2 arr3(2)=5 i want to marge them ,namely my result be nelow like : result 1,2,3,4,5 i need...
View ArticleHow to sort a recordset ??
Hi there! I want to sort my recordset - "Table" by the column "Arr". how do I do that without using SQL ? thx a lot!
View ArticleVB6 - Credit Card Processing Using VBSCRIPT
I have been supporting a VB6 application for some time now. I've recently been asked about incorporating credit card processing into the app. The credit card merchant has sent me what they call their...
View Article[RESOLVED] How to highlight a row using datagrid in visual basic 6?
Hello everyone, I have a problem here about the highlighting of the whole row programmatically (not by just clicking the row in the left side of the grid). I've thought the setfocus property would help...
View ArticleNeed advice/help
Hi All, Just wondering if VB6 can convert raw data to below format ? PLease advice and any other help will be much appreciated. Thanks machine send raw data to PC --> convert the raw data to...
View Article[RESOLVED] How to specify a REFERER in an HTTP download? I'm using urlmon and...
Simply put, I need to specify a referer url in my call to download a specific file via http. I'm using a probably well known but simple download.cls that utilizes urlmon.dll and implements from...
View Article[RESOLVED] Looking to create image(s) at form_load
So I'm pretty new to this, go easy one me. I have a form right now(Form1) I want to create a new image at specific coords, I'm not sure how to do this though, I've tried searching but the search...
View ArticleHow do I load an EXE or DLL file icon?
I noticed in the registry when an icon stored as a resource is referred to, it has the file, a comma, and then the resource number like this: "C:\Program Files\VideoLAN\VLC\vlc.exe",0 So I tried this...
View ArticleHelp How to Fix Run-time error - where my nested SQL is not recognizing my...
I'm trying to teach myself VB and Ive been successful in writing a very similar module, but for some reason this one just will not run. I have no Idea why the nested SQL Select statement will not...
View ArticleEmail to SMS
I'm writing a simple program to allow doctors to send out a text to remind patients that they have an appointment the next day. I've actually got it finished and working perfectly. Except for one...
View ArticleInvalid Row Value Error
I'm getting an error 30009 "Invalid Row Value" when using a datagrid that is populated with the result set of a query. This seems to happen on one user's machine only. And it happens only when the...
View ArticleUnexpected recordset result during loop through
Forgive me if this is the wrong place. I am working on vba project, its really simple but I have one little piece that I can't figure out. I have generated 20 random numbers and put them in a database....
View ArticleGet control of an image created dynamically(See post)
Sorry the title was not very descriptive, I'm not quite sure how to put it in words Basically I create images in my script like this: Dim img2 As Image Set img2 = Controls.Add("VB.Image", "pm" &...
View ArticleIm geting an error on windows 7
Hi, I moved my program to windows 7 and I had the program on windows xp and how i registered it was regsvr32 "C:\test\MSDXM.OCX" and it registered but when i do that to windows 7 i get this error (The...
View Article