vba x 200

12,155 Topics

Member Avatar for
Member Avatar for Farhan_B

ok what i am trying to do is i have two textboxs which have figues in them and need the 3rd textbox to display the figure the code i am using doesnt seem to be doing anything could anyone spot it and tell me why it is not working for …

Member Avatar for Farhan_B
0
250
Member Avatar for jps447

Hi, I'm planning to create a login window where I can enter a username and password in visual basic 6. In this window, there are also options to create and change password. Can you help on how to do this? And also, how will the passwords be protected from other …

Member Avatar for billyakaeaster
0
2K
Member Avatar for dwiniers

Hello there guys! Need you expertise run time error: '91': Object Variable or with block variable not set. I got the syntax in Do while not .EOF statement. Thanks in advance! [CODE]Private Sub Form_Load() With adVideos.Recordset cmbCategory.Clear Dim i As Integer Dim st As String Dim b As Boolean cmbCategory.AddItem …

Member Avatar for Jx_Man
0
234
Member Avatar for C0ding

Hello guys, Have anybody seen a program with a small button (Like us on Facebook)? well i would like to accomplish something like that on one of my projects. to be honest i haven't click on any program with that little like button.. So i was wondering if they just …

Member Avatar for C0ding
0
103
Member Avatar for LFCDay123

I am trying to make an array so I can store monthly coffee usages. I have used the code below which puts the monthly usages into a listbox and enables me to store new usages by entering them into a textbox and clicking a button. However, I want the values …

Member Avatar for Jx_Man
0
171
Member Avatar for dwiniers

Hello there need your expertise i got the run time error invalid use of null in line number 19. Thanks in advance [CODE]Private Sub Form_Load() Dim oRS As New classRecordset Set rsLibrary = oRS.CurrentRS(Books) Set rsTrans = oRS.CurrentRS(Reserved) With rsLibrary Combo1.Clear Dim i As Integer Dim st As String Dim …

Member Avatar for Jx_Man
0
490
Member Avatar for karthiknv

Hi, I'm developing an application which needs information from an word document. Currently, i'm opening it in editable for getting information. But, Sometimes when the Document is already opened an unexpected window with a message--Doument is already opened for editing.do you want to open it in read-only mode-- is getting …

Member Avatar for kaktuz
0
1K
Member Avatar for dwiniers

Hello there VB6 masters, I need you help guy for this compile error: End with without with. I got the syntax in line no.33 Thanks in advance! [CODE]Private Sub cmdSearch_Click() Dim sql As String With rsLibrary If Trim(Combo1.Text) <> "" Then If Combo1.Text = "All" Then txtTitle = "" txtDirector …

Member Avatar for dwiniers
0
738
Member Avatar for Alison1

i added a login form in the end of my vb 2008 gymnassium project ie i created it last the form coding is right but when i execute the project,the list button(the coach,member,supply lists) doesnt work when i change the startup of the project to login_form it works when the …

Member Avatar for ChrisPadgham
0
122
Member Avatar for IgniteTCS

I am working on a project where I need to open a .pps file using Visual Basic 6 (which I have done already). I need to change the slide transition according to input obtained from a serial port that will keep changing during the execution of the VB project. Please …

Member Avatar for ChrisPadgham
0
2K
Member Avatar for I Love Coding

Hey guys i'm new to VB ,just want to make a little game for my friends ,basically i want to set a default number and you type in a textbox a random number it should tell you whether it's high or low ,and when you typed in the right nmber …

Member Avatar for ChrisPadgham
0
99
Member Avatar for adarsh_wolf

Hi all, i am using vb 6.0 and oracle sql*plus ...........i need the code for ....when the car name is selected in the combo box it's corresponding purchase cost should be displayed in the text box..........and i have connected this to the database through ADODC connection pls help me ASAP …

Member Avatar for BitBlt
0
133
Member Avatar for M.Waqas Aslam

hello! i have shifted my application from mssql server 2000 to mssql server 2005 , now the prob is the command object is not returning the recordset if command text is stored procedure , here is my code please check it and guide me through errors . [ICODE] dim cmdsp …

Member Avatar for BitBlt
0
251
Member Avatar for jd2369

[CODE]<input type="button" onclick="javascript:fnnSaveChanges()" onblur="lsTest=0" onfocus="lsTest=1" value="OK"> <input type="button" onclick="window.close()" onblur="lsTest=0" onfocus="lsTest=2" value="Cancel"> </td> <td class="clsTableElement" align="right" nowrap=""> Selecting 'Save' in the Main Window is required to Save the new settings. </td>[/CODE] i've tried [CODE]WebBrowser1.Document.All.GetElementsByName("OK")(0).InvokeMember("click")[/CODE] but i get value of 0 is not valid for index. index should bebetween 0 and …

Member Avatar for thines01
0
204
Member Avatar for stevo7624

Looking for some help in order to increment a cells value by one depending on how many seperate rows there are for a specific instance. Ill try and demonstrate rather than babble. Report 1(Spreadsheet 1) Employee# Reason 123456 Late 123456 Late 654321 Late 654321 Late 654321 Late This example shows …

0
68
Member Avatar for george8

Hi everybody >> Thanks to this forum >> I need your help please .. My problem in the Combo Box and SQL query .. I have three comboboxes linked to an Access 2007 database first one "Department" second one "Year" third one "ClassRoom" in third combobox I need display the …

Member Avatar for george8
0
231
Member Avatar for LFCDay123

I have been given an assignment where a company requires an application that displays coffee usage information for the managers. I've been given sample data for last years monthly usage amounts in kilos which are: 400.5, 450, 475.5, 336.5, 457, 325, 220.5, 276, 300, 320.5, 400.5 and 415. I need …

Member Avatar for thines01
0
139
Member Avatar for BeeKeeper18

Right guys, I'm really new to this but I'm getting along ok, but I've hit a block. I need to be able to know how to search a text file in VB for a particular line and then display it. the files I'm trying to use are set up as: …

Member Avatar for kaozci
0
388
Member Avatar for Expotential

I am working on a program that requires registration of a username however I do not want users to be able to register usernames with any symbols or spaces only letters and numbers. I honestly dont know where to start on this. Thanks.

Member Avatar for kaozci
-1
3K
Member Avatar for C0ding

Hello everyone, I've been having this problem for years: "Compile error: Procedure too large" I asked this question in few places, Expert-Exchange was one, but nobody never came out with an answer, now here i am again, hoping to find a solution for this issue or problem in my project. …

Member Avatar for C0ding
0
592
Member Avatar for anakonda540

Hello all, i need to creates an automated form that detect the current destination path of the application setup wizard and copies a certain folder then asks where to save this folder so i can use it in a setup wizard. i hope that my question is clear and thanks …

Member Avatar for cyberdaemon
0
200
Member Avatar for razamughal67

Hello to all we make a simple loading bar in vb6 and two command botton exit and start loading bar and we create setup .exe and now i want to run my application in boot time using a boot Cd i mean when we are use a Ghost boot able …

Member Avatar for C0ding
0
177
Member Avatar for C0ding

Hi everyone, [U]Batch example: start /wait executable.exe[/U] I've been using this method with batch files, this time i would like to use something similar in Visual Basic 6, i tried to replace this method using Do While Loop, Do Until... Loop Statement, etc. but still can't find a better way …

Member Avatar for C0ding
0
203
Member Avatar for aianne

Hello everyone! :) I'm sorry I'm new to this stuff. So I'm trying to create a simple system information and I am attempting to populate a listview control and I get a Run-time error '380': Invalid property value. I hope you can help me and I hope it made sense. …

Member Avatar for aianne
0
2K
Member Avatar for razamughal67

Hello to all i want to format usb drive in vb6 we use a drive box 1 command botton 2 labels 1 check box and 1 loading bar we want to do when i select a drive in drive box example: D:\ Drive the label caption show drive memory size …

Member Avatar for Jx_Man
0
484
Member Avatar for hazeleyez

Hello All, Can someone help me out with this please? I have no idea : Error : [B]No accessible 'Main' method with an appropriate signature was found in 'UsedCarsSales' The second error is Project-level conditional compilation constant 'VBC_VER = 9.0, TARGET = "winexe", CONFIG= "Debug", PLATFORM= "x86" , DEBUG; ^^ …

Member Avatar for Smith5646
0
296
Member Avatar for jd2369

Visual Basic 2008/2010 - How do I automatically click buttons in a sequence? I have about 15 buttons that automatically goto a website, then it clicks on certain links and does save as page. They are working beautifully, now i have to automate this process. I already have a code …

Member Avatar for Reverend Jim
0
1K
Member Avatar for razamughal67

i want to delete any file and folder parmanently in my hard disk sometime when we delete any file and folder. after using a data recovery software they will be recover and come back .but i want to do something so the files cannot recover after using any data recovery …

Member Avatar for razamughal67
0
1K
Member Avatar for game4tress

I need to create an application (or find one application) that copies files from a computer to another, across the internet to create automatic backups. The target computer is a company server to which i have phisical access. The "source" computer(s) (several computers in several clients, that we - company, …

Member Avatar for ninjatalon
0
1K
Member Avatar for moe0

Hello I'm using SELECT CASE statement for age cases but I've two inputs years and months [CODE]Case 0 To 1 MS_lbl_category.Text = CStr("infant") Case 1 To 2 MS_lbl_category.Text = CStr("toddlerI") …

Member Avatar for skatamatic
0
319
Member Avatar for C0ding

Hello everyone, I am trying to make a tool that can allow me to join text... For example, my project have four listboxes like my example: [One] [Two] [Three] <== these are thre list boxes or three text boxes with multiline option, which the job is to make something like …

Member Avatar for C0ding
0
550
Member Avatar for krishnisilva

hi , i have a textbox control in one sheet and a range of data in another sheet in the same file. how do i copy the range of data in paste it in the textbox control? appreciate a reply thanks

Member Avatar for krishnisilva
0
219
Member Avatar for vanesh

I already input grades for the first student and the all grade information will save in the database. but when i'm trying to input grades for the other student i can't save the grade but there is no error shown. [CODE]Private Sub cmdSave_Click() On Error Resume Next If Val(txtcount.Text) = …

Member Avatar for Jx_Man
0
137
Member Avatar for razamughal67

Hello everybody i want to get recycle bin all files and folders in a list box using visual basic 6.0 please help me to solve this problem

Member Avatar for Jx_Man
0
415
Member Avatar for ng5

I was wondering if i would be able have the saved items as a way to "login" to my program. in the first form (form1) i have a masked textbox and a button. you type your "pin" into the masked textbox and click the button to enter. i would like …

Member Avatar for Gé48
0
144
Member Avatar for jakeevans

Hello Everyone, I hope this is the right place i'm posting this, basically I need some help with Visual Basic 2008. We've been set a task to build a really basic web browser with one advanced function. I've done the web browser with the basic functionality, but this advanced feature …

Member Avatar for jakeevans
0
260
Member Avatar for MaryApple

[CODE]Private Sub txtProvince_Change() If txtProvince.Text = "" Then txtProvince.SetFocus MsgBox "Specify first the field" End If End Sub Private Sub txtRegNo_Click() If txtRegNo.Text = "" Then txtRegNo.SetFocus MsgBox "Entry must have value", vbInformation, "" Else txtRegNo.Locked = True End If rs.AddNew End Sub[/CODE]

Member Avatar for Jx_Man
0
48
Member Avatar for razamughal67

Hello everybody please tell me How to select costum index in a list in vb6 i have a listbox & a command botton & textbox example: we add some items in a listbox list1.additem = "google.com" list1.additem = "Gmail.com" list1.additem = "myspace.com" list1.additem = "youtube.com" list1.additem = "facebook.com" list1.additem = …

Member Avatar for razamughal67
0
1K
Member Avatar for Member #925360

Alright, I have a Webbrowser which has a page opened. I want it to select a specific Option from the Combobox. How can I do that in VB ? HTML Code: [CODE]<select name="Protected"> <option value="NC"></option> <option value="ON">ON (protected)</option> <option value="OFF">OFF (unprotected)</option> </select>[/CODE] VB Code: [CODE]For Each element As HtmlElement In …

Member Avatar for AndreRet
0
303
Member Avatar for skatamatic

How do you set the Z order on a control in VB6? There doesn't seem to be a property for it... It seems as though I have no control over which control takes the foreground :( I suspect it is based on the order they are declared in the .frm …

Member Avatar for skatamatic
0
322
Member Avatar for scaiferw

Working in Word 2010, I have a long document with many formatting changes to be made. To start with, throughout the document I'd like to replace "Click OK" with "Click [B]OK[/B]", so the OK will be bold but not "Click". I also need it to be case insensitive, as some …

0
124
Member Avatar for Cyre
Member Avatar for Jx_Man
0
93
Member Avatar for stevelll

I’m looking for a programming language that will: 1. Automate desk top processes running under Windows XP, like clearing the recycle bin & clearing recently accessed documents-programs under ‘Customize Classic Start Menu’, & 2. Open a Corel Paintshop program, run that program’s procedures & options, like optimizing photos, save the …

Member Avatar for jbennet
0
178
Member Avatar for az_master
Member Avatar for ChrisPadgham
0
235
Member Avatar for horizondesai

Hi everyone, I am new to RichTextBox control in VB6 I wanted to select the entire line/row in the RichTextBox, where currently the cursor is. How should I do it ? The code should be paste in command button 'cmdSelect' Thanks in advance :)

Member Avatar for horizondesai
0
3K
Member Avatar for judithSampathwa

hi there, i have a datagridview in the desktop application that i made and one of the columns in that is the telephone number. the telephone number is valid if the user type in (630) 345-2532. so everywhere the user hast to type in the paranthasis and then the numbers …

Member Avatar for sathiyapriya.M
0
1K
Member Avatar for belber

hey all, i wan't ask , how to connect sms gateway to vb6..??? and then i sen't sms with vb6... help plizzz...,

Member Avatar for belber
0
246
Member Avatar for Shadizon

Hello all , I'm designing a Database which is for students & Their degrees I have Two Tables One for students one for their Degrees & 2 forms Main One & Sub form . What ever I want to make a way to search for a student name like the …

Member Avatar for ChrisPadgham
0
127
Member Avatar for markee

Hi! I add a time and date with my program [CODE] Private Sub Timer1_Timer() timelbl.Caption=Time datelbl.Caption=Date End Sub [/CODE] but when i run the program.. i got "Compile Error, Cannot find project or library" what's wrong on this? how can i fix this.. help me please thanks..

Member Avatar for BitBlt
0
169
Member Avatar for LFCDay123

I have 2 radio buttons on my form which are both different forms of tax. I have a label which has the amount of money i need to multiply the tax by depending on which radio button the user chooses. 1 radio button has tax of 16.5% and the other …

Member Avatar for Jx_Man
0
125

The End.