12,425 Topics

Member Avatar for
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
465
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
266
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
965
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
992
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
304
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
488
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
198
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
124
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
383
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
120
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
240
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
44
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 SeniorAlexandro

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
287
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
284
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
120
Member Avatar for Cyre
Member Avatar for Jx_Man
0
87
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
146
Member Avatar for az_master
Member Avatar for ChrisPadgham
0
220
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 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
226
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
116
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
163
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
120
Member Avatar for Comatose

One of the most important things to understand when automating office, is that it's heavily [search]OOP[/search], and therefore you are forced to work with objects. In order to create an object that is external to your application (for example an office application, whereas a button or textbox would be internal …

Member Avatar for DJ-DOO
2
1K
Member Avatar for sweetifffy

Hi I have made my software of sms bomber in Visual Basic 2008 . When i open software and enter my password and then i write my number (for testing ) and click on bomb it sent only 5 or 6 sms and then it stops and this error occured …

0
43
Member Avatar for Sturdy

Hi all, How i changing the color of label caption dynamically, so it looks like highlight text changing color. Thank you.

Member Avatar for Sturdy
0
268
Member Avatar for markee

Hi! I need help for my program.. I add a search the Adodc in my program with a combo box category, but when i run the program and search... the category "ID" not searching.. this is my codes [CODE] Private Sub Command1_Click() If Text1.Text = "" Then MsgBox "Type To …

Member Avatar for Jx_Man
0
326
Member Avatar for raheel88

I want to add a new PropertyGrid control every time an item is added to a ListBox. I have a ListBox, with an "Add Item" button underneath (and also a "Remove Item" button). Every time an item is added to the list, I want to create a new PropertyGrid corresponding …

Member Avatar for raheel88
0
1K
Member Avatar for ads1188

Hi All, I am new to programming and have been trying to learn the c++ language for the last couple of weeks. I feel that I understand a lot of what I have learnt but where I am confused how databases are used if c++. Most the tutorials or books …

Member Avatar for Ancient Dragon
0
155
Member Avatar for apuamy

Can anybody help me in filling an Access database table in one field from a serial port using VB 6.0.Data coming from the serial port can be seen in the VB text box line by line.I want to store every line under a field and can manipulate.How can i use …

Member Avatar for ChrisPadgham
0
470
Member Avatar for ng5

i have a form with a listbox. the listbox can be edited (things added/deleted) and when the form is closed i would like the items in the listbox to be saved when the red "x" in the top right corner is clicked any ideas?

Member Avatar for Phasma
0
131
Member Avatar for rapirap

Hi! Please help me with my search functionality...searching using textbox and retrieving the data into a listview. here is my code: [CODE]openrstJCcaseInfo "select * from JCcaseInfo" If Not rstJCcaseInfo.EOF Then caseinfo.ListItems.Clear Dim m With rstJCcaseInfo While .EOF = False If LCase(txtsearch.Text) = LCase(rstJCcaseInfo.Fields("CaseTitle").Value) Then Set ls = caseinfo.ListItems.Add(, , rstJCcaseInfo.Fields("CaseStatus").Value) …

Member Avatar for Jx_Man
0
287
Member Avatar for Farhan_B

When Creating a query using the sear Criteria Builder . I keep getting the error : " The schema returned by the new query differs from the base query " I no this means that the error is due to the query attempting to return too little columns i have …

Member Avatar for poojavb
0
198
Member Avatar for emxif

please help me on my school project it is called "faculty evaluation system" my project is used to evaluate faculty members,i will use the following softwares, visual basic 2008 editon, ms sql server 2000, and crystal reports, what i want to do is their will be a question and it …

Member Avatar for lolafuertes
0
230
Member Avatar for deepakx250

i am using visual basic 2010 and i want to open and save multiple richtextboxes text into one file. for ex richtextbox1.text="Deepak" richtextbox2.text="My Name" but i want to save these informations in one file.

Member Avatar for lolafuertes
0
60
Member Avatar for christophertheo

whenever i run my code it says method or data member not found my code is such Private Sub cmdConnect_Click() Dim lngComPort As Integer Dim lngMachineNum As Integer Dim lngBaudRate As Long Dim bConn As Boolean Me.MousePointer = vbHourglass If cmdConnect.Caption = "Connect" Then DoEvents lblStatus.Caption = "Connecting Device..." lngComPort …

Member Avatar for samangelin
0
975
Member Avatar for kroysemaj

Full disclosure: This is my last stop. I have already done a fair amount of research on this issue. While I've come across lots of implementations of this project, I've not seen this weird behavior anywhere else. The project: As one of the projects for my Advanced Visual Basic course, …

Member Avatar for kroysemaj
0
590
Member Avatar for Wolxhound90

Hey guys, I'm trying to create an application that will allow me to view information in a database and update/delete/all the usual stuff. How do I go about connecting to the database? I have a project using visual basic which connects to the server using this string: [CODE]con.ConnectionString = "Server=salamander.ads.ntu.ac.uk;Database=m_fyp2011_n0218430;Uid=" …

0
54
Member Avatar for tomsc

Hi, I’m looking for a VBA code which would analyze 2 Excel tables from one Sheet and build up a new one in separate Sheet. Basically one table lists folders and groups granting access to those folders; while the other one lists Groups and its Members. Here’s how it looks …

Member Avatar for BitBlt
0
104
Member Avatar for gozo12

in form1 i have two listboxs listbox1 listbox2 loadbutton and savebutton this code will write listbox1.selecteditem into a txt file and loadbutton will load info in listbox2 but i want when i click loadbutton it check if that item is already exist in listbox2 , if not so write selected …

Member Avatar for Mitja Bonca
0
256
Member Avatar for nickg21

Hey everyone, I am lost on the exception that I have getting thrown at me right now. SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. What I am trying to do on my site, which is Windows Authenticated on an internal network, is capture the users …

0
131
Member Avatar for Keidi

I am trying to add a button to outlook's tool bar using a Macro.The problem is that the button appears but on clicking it nothing happens,I suspect I am supplying parameters wrongly to the OnAction method. The call[CODE]Call AddToolbarButton("My very own button", "Click here", "!<Sub/UserForm>")[/CODE] The method it's self: [CODE]Function …

0
99
Member Avatar for sphe_g

Hi all I need help with connecting to and manipulating a microsoft access 2007 database using code in visual basic 2008 express edition. It's for a project I'm doing for University that's due on the 12th of October:S. Please help me out in whatever way you can - links to …

Member Avatar for lansky
0
1K
Member Avatar for teofaniza

How to connect the radio button to a listview in an examination system, whereas if you click a radio button of your choice as the answer of respective question and numbering..the answer will be shown to the listview control that serves as my answer sheet?

Member Avatar for ChrisPadgham
0
31
Member Avatar for teofaniza

How to connect the option/radio button to listview control using ADODB connection? That is,right after when you click a radio button as the letter of your choice..then it will automatically shown to the the listview control as the answer sheet..for the respective question..and numbering..? Using the VB 6.0.. Example: 1. …

Member Avatar for ChrisPadgham
0
308
Member Avatar for bantex07

I have a proble. How can i call andd compute all the record in may database(MS Access) Please gave me some idea or Code Thx

Member Avatar for Jx_Man
0
148
Member Avatar for ng5

I have a listbox and would like to save the items added/deleted when the form closes. any ideas?

Member Avatar for ng5
0
214
Member Avatar for cmcmurugan

[CODE] Public Function removespace(ByVal strtext1 As String) As String If Not Len(strtext1) = 0 Then For K = 1 To Len(strtext1) If Mid(strtext1, K, 1) = Chr(13) Then strtext1 = Replace(strtext1, Chr(13) & Chr(10), ",") End If Next Else strtext1 = "" End If removespace = strtext1 End Function[/CODE]

Member Avatar for Jx_Man
0
69

The End.