10,991 Topics

Member Avatar for
Member Avatar for Member 785694

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 …

Member Avatar for vb5prgrmr
0
496
Member Avatar for Denjoy

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 …

Member Avatar for vb5prgrmr
0
616
Member Avatar for chris con

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 …

Member Avatar for vb5prgrmr
0
502
Member Avatar for mgbear

;)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

0
18
Member Avatar for Rider570

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)" & " …

Member Avatar for asaukani
0
176
Member Avatar for coco86

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")

Member Avatar for manoshailu
0
81
Member Avatar for pepsoft239

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 …

Member Avatar for meilbeck
0
3K
Member Avatar for saksaz

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 …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for Naruse
Member Avatar for Member 784374

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 …

Member Avatar for vb5prgrmr
0
135
Member Avatar for iHacker

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 …

Member Avatar for Teme64
0
281
Member Avatar for migicikinyanjui

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.

Member Avatar for migicikinyanjui
0
118
Member Avatar for chrizymikz
Member Avatar for vb5prgrmr
0
111
Member Avatar for Denxerator

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 + "\" …

Member Avatar for Teme64
0
3K
Member Avatar for santosh5471

Hi, I want the COMBO BOX in FLAT mode on the Screen along with Text Boxes... any body have any answer

0
62
Member Avatar for Praveena Ratiya

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 …

0
28
Member Avatar for indianpresley

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

Member Avatar for vb5prgrmr
0
175
Member Avatar for crackerjacker

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!!

Member Avatar for vb5prgrmr
0
113
Member Avatar for gee_azizi

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 …

Member Avatar for asaness
0
105
Member Avatar for keynan_toht17
Member Avatar for asaness
0
495
Member Avatar for hiks

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] …

Member Avatar for vb5prgrmr
0
78
Member Avatar for Henry Schubel

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 …

Member Avatar for asaness
0
2K
Member Avatar for lab3tech

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 …

Member Avatar for Sarama2030
-2
2K
Member Avatar for AWPROGRAMMER

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 …

Member Avatar for AWPROGRAMMER
0
106
Member Avatar for AWPROGRAMMER

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 …

Member Avatar for AndreRet
0
872
Member Avatar for Denxerator

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

Member Avatar for AndreRet
0
228
Member Avatar for shena

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 …

Member Avatar for AndreRet
0
262
Member Avatar for Totte94l

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 …

Member Avatar for GeekByChoiCe
0
566
Member Avatar for abu taher

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 …

Member Avatar for vb5prgrmr
0
325
Member Avatar for 12"tool

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 …

Member Avatar for AndreRet
0
85

The End.