10,991 Topics
| |
On click of the following button it is suppose to call a sub function (either searchdepartment or searchname) the issue is: When searchname is called it returns the following error [B][COLOR="Green"]-2147467259 (80004005)[/COLOR][/B]) Private Sub cmdcheck_Click() button = "cmdcheck" If cbodepartment.Text <> "" And cbodepartment.Enabled = True Then searchdepartment ElseIf cboname.Text … | |
I am trying to install Visual Basic 6.0 Enhanced Edition on Windows Vista Home. I keep getting and error that reads: "This software is not compatible with this version of Windows" I beleive the Visual 6.0 is compatible with 32 bit windows operating system and my windows vista is a … | |
Hi All, First let me tell you my scenario. I am a technician at a secondary school. We have a medium sized network with AD, running server 2003 and XP clients I am trying to create a very simple VB6 executable that will reset a students password and force a … | |
;)This may be helpful for those of you with Windows 7 and Visual Basic 6 Found this on the Web [url]http://www.fortypoundhead.com/showcontent.asp?artid=20502[/url] The bear | |
Private Sub cmdsummery_Click() Set wss = DBEngine.Workspaces(0) Set dbs = wss.OpenDatabase("Gagedetails.mdb") Set rss = dbs.OpenRecordset("tblGage") 'Set rss1 = dbs.OpenRecordset("tblopeName") Do While Not rss.EOF OSQL = "SELECT DISTINCT OpeName1 FROM tblGage WHERE Date =" & SQLDate(txtdate.Text) Set rss = dbs.OpenRecordset(OSQL) MSQL = rss("OpeName1") NSQL = "INSERT INTO tblOpeName (name)" & " … | |
hi, I wanna to calculate the total in currency format $00.00. But the coding doesnt seems to work . Can u help me ? total = Cstr(total) + Request.Cookies("jumlah") | |
Hi All I have a requirement to develop a VB application to download a pdf file from a server using an example URL [url]http://xxxxxxxxxxxxx/pdffiles/yyyyy.pdf[/url]. I need to perform a silent download and print the same to the local printer. As this is going to be a scheduled task, I need … | |
hi i have create a database in sql , it is opened in my system, and i shared the database into another system,i was updating my datas from another system, form and database everything is working fine , but the problem is when i try to open the report it … | |
hi all, i want to use asterix character (*) in input box. ho to do this??? | |
Hi all, I'm working on a VB6 project and i'm a bit rusty as its been a while!! I want to create one form that can be reused in several sections. What I need is that my new form will know where it was called from. I can then grab … | |
I've been trying to work on a personal project, in which the user enters in a text string in the first text box, and when the user clicks the "encrypt" button, the SHA1 hash of the text appears in the next text box. I've googled around for some information on … | |
I am using DataEnviroment ,I set the path of my connection by going to the properties of the connection (connemployee). and it brings issues with the path at runtime when the packaged program is installed. Help me solve this problem. | |
♥helo everyOne..i need idea for my thesis proposal using vb6.. pls help me..tnx | |
You know when you insert an image into BASIC it makes a new folder called "Resources" and puts the picture in it? Well, I want a file in it so I can access it. [CODE]PictureBox3.ImageLocation = "C:\Users\Kenneth Rhee\Desktop\CIB\Profiles\" + TextBox3.Text + "" + TextBox4.Text + "" + TextBox6.Text + "\" … | |
Hi, I want the COMBO BOX in FLAT mode on the Screen along with Text Boxes... any body have any answer | |
I get this error when trying to put a inet or winsock control on my form: License information for this component not found. You do not have an appropriate license to use this functionality in the design environment I've downloaded and ran the vb6cli fix thing from microsoft and it … | |
I want to use rdo with/without using a sql, ado without using sql and dao using sql for my application programming can you show some simple and understandable examples | |
so, basicly what i wan't to do is get all of the details from a JPEG picture. like when you right click -->properties-->details and you can set the title, rating, tags etc. i want to be able to read that data into variables or txt boxes or something. Thanks!! | |
Hi, I'm working with the VB6 for my project and it's about membership in a club. Everything is near done but there are something I want to ask Database : D-Club.mdb Field that hold the DOB : member_dob ex: '(dd/MM/yyyy) Field that hold the member value : member_value ex: '(16 … | |
Help me guys... It is very hard for me to make a new title for my thesis.. thank in avance | |
Hi..All i wanna ask about bold text .. can help me to describe it. [CODE]Public Declare Function SendMessage Lib "USER32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long Public mCapHwnd As Long Public Const WM_USER As Long = [B]1024[/B] … | |
There will be two posts minimum... First, I'll refer you to the Knowledgebase Articles that give the needed information, and second I'll give you code samples to run a report given the methods I use. Specifically, I access a SQL or Access database via ODBC, but either database will work … | |
I am new to VB, and am having problems with a program. I have a textbox where the user enters a grade value, then clicks tghe add button to display the grade in a listbox. The user continues the entries until all grades have been entered. I have also programmed … | |
I would like to take value for say cell K1 and compare it to all data in L1 to L25 then if K1 = L12 I want it to take the data from P12 and paste it in D1 then move on to the next one. Compare K2 to all … | |
I have some script that I have to use on multiple projects but the excel file that it opens depends on which project I am in. I do not want to have to go through the code and change the file that is opened each time. I would prefer to … | |
Dim FILE_NAME As String = "C:\test.txt" How could I make the C:\test.txt's "test" become the text in textbox1's text? E.g. textbox1's text = "kenneth" then the C:\test.txt becomes C:\kenneth.txt | |
Hi all, How to create refresh Button in the form? I have combo box with the data linked to Access database. I create another form for data input for those that appear on the combo box. When I close the input form, I realise that the data is not yet … | |
Hello! I would appreciate if someone could convert this code from VB6 to VB.net. [CODE]Option Explicit Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As … | |
I made a querie with 2 table. both of 2 table have date fields. the querie also have this both of date fields with other fields. so all data show in a each line. like name | address | date this 3 fields in table1 Roll | Class | date … | |
Hi guys When I ask VB to display a date obtained from a field in Access I get a date that displays the day ok, the year okay but it displays the month as 00. In other words 20100029. Now, I have to evaluate the date difference between todays' date … |
The End.