vba x 200

12,155 Topics

Member Avatar for
Member Avatar for maraippo

HI evryone I'm a student and new to VBA and currently self studying this program. Found this forum which might help me in studying and some task :) Hope i can find my help here too :)

Member Avatar for zandiago
0
37
Member Avatar for annir

hi guys can someone pls help me... Im copying data from different files (all excel), how can I count the last row then the second data that im copied will placed under it. It's somehow like insert a record.. Thanks... :)

0
42
Member Avatar for asem_d

Hi everyone How to introduce myself? [B]I[/B] hate using the "[B]I[/B]" letter too much, but [B]I[/B] believe [B]I[/B] have to. Let us start with my name, [B]I[/B] was named Assem عاصم in Arabic (pronounced 3aasem) before [B]I[/B] was born in Beirut, Lebanon. [B]I[/B] am now 41 years old, [B]I[/B] am …

Member Avatar for MakeMoneyOnline
0
70
Member Avatar for annir

hi everyone; can somebody help me with my project. I have different files in one folder (Budget Folder) then I will import that in a single excel file (destibook.xls). This is the code. [ICODE] Dim DestBook As Workbook, SrcBook As Workbook Application.ScreenUpdating = False Set SrcBook = Workbooks.Open("C:\Documents and Settings\cbanato\My …

0
37
Member Avatar for maraippo

Hello.. I want to make a macro to create a chart from a table in different sheet. What i try to do is copy the information into a new sheet. Next i use the information copied to make a column clustered chart. The problem is the chart does not appead …

0
63
Member Avatar for mstarmatt

So far i have managed to butcher some code i found around 12mth ago to allow me to read the relevant node but i'm struggling to find out how to edit this node value and save the xml file. I cant find where i got this from or anything similar. …

0
169
Member Avatar for galaxies

I ask for simple help. I'm at a part of my application where I need it to open a text file, and search for id numbers within the text. There will be several instances of "id=######"s that I will need to grab from the text file, and put them line …

Member Avatar for fidodidoss
0
162
Member Avatar for mykar_88

hi how to make the process sleep until my webbrowser gets loaded. this is my code [B]webbrowser1.navigate("www.google.co.in") text=webbrowser1.document.body.innertext[/B] pls send me the code

Member Avatar for selvaganapathy
0
134
Member Avatar for fa_hed

I have a form has to (maskedbox1) and (maskedbox2) if maskedbox1 I put date of today, I want ([COLOR="Red"]maskedbox2[/COLOR]) show date after 30 days as defult I will be thank you if you help me to do this I use vb6

Member Avatar for selvaganapathy
0
215
Member Avatar for mobman

Hey guys I am a VB noob and need some help, basically this is what I want to do please look at the following picture [URL="http://www.bus.ucf.edu/llinden/courses/ISM3253/assignments/marketing_study.PNG"]CLICK FOR PICTURE [/URL] The app should basically pull up the data contained within this CSV file : [URL="http://www.bus.ucf.edu/llinden/courses/ISM3253/assignments/survey_data.csv"]CLICK FOR CVS FILE[/URL] and display it …

Member Avatar for mobman
0
194
Member Avatar for Webbsta

I've just started playing a game again after a while (Runescape.com) and thought i would just make my own small utility program that looks up hiscores etc, but for some reason i get this error: "Attempted to read or write protected memory. This is often an indication that other memory …

0
72
Member Avatar for bhoot_jb

i am working on a vb project in which need has arised to print an invoice. however the problem is that the contents of the invoice is accompanied by horizontal and vertical lines. Also the so-formed rows and columns are not regular. My question is how can i print such …

Member Avatar for selvaganapathy
0
1K
Member Avatar for faizza007

When I Enter The First Data enters as null in the database. while record count shows me there is one record in the database. i have uploaded the whole project. can anybody figure out the error in the code. if yes please assist me!!! please note about the project : …

0
41
Member Avatar for buzincarl

[ICODE]Private Sub Form_Load() Dim tmp() As String Dim i As Integer Open App.Path & "\links.txt" For Input As #1 tmp() = Split(Input(LOF(1), 1), vbCrLf) Close #1 For i = 0 To UBound(tmp) DL.Download tmp(i), App.Path & "\" & ExtractFileName(tmp(i)), "k" & i Label2.Caption = "Connecting..." Next i End Sub Private …

Member Avatar for Jishnu
0
181
Member Avatar for apuamy

i am working in developing a package for reading data from a com port and then display its interpretation. i am getting data in a text box. i have a database to compare eachline and give results. Now my problem is data is coming in the text box, i have …

0
58
Member Avatar for Shilpa Jain

Hi all, I am generating a report in flexgrid. I need to copy this data in excel and attach the excel sheet in the outlook so that the mail can be send. Outlook will be opened on a button click. I am able to open the outlook but unable to …

Member Avatar for Shilpa Jain
0
113
Member Avatar for EddyLLC

In the code below I use the Form_Load to connect to a Access database and load a form and combo box. I then use the cboComp_Click to look for a record in the tblToDo table, If found I load it into the form using the FillFields If not found I …

Member Avatar for debasisdas
0
113
Member Avatar for agent7

Private Sub btnedit_Click() Dim a As Variant Set conn = New ADODB.Connection strConn = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=SPUM;Data Source=(LOCAL)" conn.ConnectionString = strConn conn.CursorLocation = adUseClient conn.Open 'lblindexid.Caption = rs!Indexid strsql = " Select * from ES_otherSchools where Indexid = '" & lblindexid.Caption & "' " Set rs = conn.Execute(strsql) …

Member Avatar for agent7
0
96
Member Avatar for vickypat

hi everyone, I am not a software kid that much but after getting fail from all books, im here for help. I am trying to read data from a device like monitor with a screen like calculator. It is connected with its main unit with 15 pin serial port like …

Member Avatar for vickypat
0
174
Member Avatar for veledrom

Hi, How do i select a particular value of a combobox? Example [code] combo1.selectvalue(rset.field("id"))[/code] I believe you understand what i mean. I bring data from database and want select it in combo. Thanks

Member Avatar for selvaganapathy
0
139
Member Avatar for apuamy

Can anybody help me. I want to store data from a textbox to a word document and viceversa. mt second query i have developed a package using Vb and access which involves mscomm com control. i am not able to make an exe file or make a package using package …

0
58
Member Avatar for hell_tej

hello Frends, i m creating a new project of vb to access conncetivity in 5 PC small LAN. I don't Know What is the code,connection string use in project. And I am biginar for that type of programming. I want to store data in server, access database tables. Please give …

Member Avatar for Jishnu
0
260
Member Avatar for mykar_88

hi i used the following code to read data from web. this is my code Private Sub Command1_Click() Dim Text As Variant WebBrowser1.Navigate ("www.google.co.in") [U]Text = WebBrowser1.Document.Body.Innertext[/U] MsgBox Text For i = 1 To 1000 If Mid$(Text, i, 8) = "google" Then MsgBox ("String Found") End If Next i End …

Member Avatar for bushman_222
0
165
Member Avatar for swapna7999

hi i have 3 form and an exit button in 3rd form i want to close the whole project when i click exit i think unload me can only stops that particular form i want to close the whole project thank u very much

Member Avatar for hemen
0
593
Member Avatar for nanawan

hi... when i save a data from text box it didnt show at the listview how to do that? and someone please check my delete coding Private Sub cmdSave1_Click() If MsgBox("Are you sure you want to save?", vbYesNo + vbQuestion) = vbYes Then Set rec = New ADODB.Recordset rec.Open "Select …

Member Avatar for nanawan
0
114
Member Avatar for silver_buddah

hi, i am currently working on a software for hospital records. i am using vb6 linked to db. i wanted to view the records of the existing patient and add new records on the same patient and at the same time i would like to view the table of the …

Member Avatar for debasisdas
0
90
Member Avatar for Reg74

I'm getting the above error at this section --> SetCurDir ("\\Cls000008\actuarial_data\Xtractor") in my code below ... please help ! _____________________________________ Option Explicit Private Declare Function SetCurDir Lib "kernel32" _ Alias "SetCurrentdirectoryA" (ByVal lpPathName As String) As Long Public Sub Extract_POL(strinputfile, lngTOTpno, blnPOL, blnIDAT, blnTcode, _ blnHPTAR, blnTerm, blnOccode, blnAge, blnPollines, …

Member Avatar for Reg74
0
449
Member Avatar for ryan311

can anyone help me? where can i DOWNLOAD visual basic language for free? please help me thnx!!

Member Avatar for bornok15
0
88
Member Avatar for theaforcecoder

I have looked threw several times and cant find it. I am a coder for the united states air force. i feel ashamed that i have to get help but there is a first time for everything right? help will be much appreciated :) [code]Private Sub cmdLogin_Click() On Error GoTo …

Member Avatar for bornok15
0
73
Member Avatar for VB noobster

Any expert programmers here are willing to help out with my school attendance system? im using visual studio 2008 (Visual basic language) i am ask to do an attendance system whereby a student capture their own image using webcam and hence their attendance will be taken down. i REALLY need …

0
55
Member Avatar for Tekito

I want an embedded listbox (with headers) on my excel spreadsheet, that references a range on the worksheet. So using the ControlBox Toolbar I created a listbox. First thing I noticed is that there is no RowSource property appearing for this listbox. So I tried to enter the range using …

0
79
Member Avatar for jithusdani

Hi folks, In My Application i have used the date function to find the difference between two date.but while executing is showing that runtime erroe 424,object required. Can anyone plz help me fast... This is the code i have used Dim date1, date2 As Date Dim diff As Long date1 …

Member Avatar for Jx_Man
0
171
Member Avatar for jbimontes

this is a simple quiz program for addtion that generates random numbers and records the attempts and correct answers that were taken. i have a problem, i need to have the percentage of the scores. i have a text2(number of attempts) text3(number of correct answers) the text4 should automalically have …

Member Avatar for Jx_Man
0
151
Member Avatar for jf404

Hi I need to import data from an excel sheet using a variable filename that has been defined through a user input.. I cant get it to work.. What could I use?? Cheers, J

0
49
Member Avatar for Baradaran

Hi, I have a form with two tabs. On each tab, I have 5 different fields. Is it possible to design the elements in a frame and assign them to a tabstrip, or do I have to load and place them in the new loaded tab? I would appreciate your …

Member Avatar for Baradaran
0
235
Member Avatar for memnac

Hello All, I have two multi-select listboxes, 'listFrom' and 'listTo'. I want to be able to copy mulitple selections from 'listfrom' to 'listTo' and delete those selections from 'listfrom'. To copy over multiple items is no problem but when i introduce the 'removeitem' line to delete the selection, it deletes …

Member Avatar for memnac
0
367
Member Avatar for shamil_gawas
Member Avatar for Perppie

I've always wanted to post a comment online especially on information technology. I also love web-designing. I can write programs using visual basic, gwbasic, c, c++, and currently working on java The challenge i seem to have is getting a project topic for my final year project. if u have …

Member Avatar for MakeMoneyOnline
0
36
Member Avatar for EddyLLC

I'm using the following code behind a combo box name cboCompy. For some reason when I make a selection from the pulldown in the combo box this code won't fire. No errors appear but the code won't execute. I put stop in the code so I can view but it …

Member Avatar for selvaganapathy
0
351
Member Avatar for ibesokewl24

I'm rather new to VB, I'm starting my 6th week in the course at school. I made a form that includes a Windows Media Control and all the coding is correct to run the application. I have it set up so that the URL is already assigned because I have …

Member Avatar for selvaganapathy
0
99
Member Avatar for apuamy

how to transfer contents of a word file into a text box by clicking a command button. can anybody help me

Member Avatar for apuamy
0
101
Member Avatar for veledrom

Hi, [code] Create table myTable( title ENUM ('Mr', 'Mrs', 'Miss') NOT NULL DEFAULT 'Mr' ); [/code] How can i load ('Mr', 'Mrs', 'Miss') into a combobox in VB6. Thanks

Member Avatar for veledrom
0
200
Member Avatar for siva_it54

hi guys i need a concept to develop a VB project. it like a mediaplayer concept. actually i need to run a mediaplayer in full screen mode but should not support the mediaplayer feature. then same time in that same mediaplayer i need to run diferent file when i click …

Member Avatar for Jx_Man
0
96
Member Avatar for veledrom

Hi, I have created a project in VB6. How can make it SETUP / INSTALL kit? I have added some refferences and components as well. Thanks

Member Avatar for veledrom
0
140
Member Avatar for Phadraig

I would be very grateful for any advice on this. The business I work for want all their paper data stored in Access 2000, and to be accessible through a small network - server, 3/4 PCs running XP. The main question is: Is there any reason not to use VB6 …

Member Avatar for Phadraig
0
124
Member Avatar for jonc

Hi, I am in the process of making an application to query Quake 3 servers, but I am starting with querying the master server as I'd like to get the server list down so I can then start to query them individually. I've read through a number of threads on …

Member Avatar for DaKasper
0
551
Member Avatar for brainne

i'm new to vb.net and i cant figure out how to solve this problem any help would be greatly appreciated how can i show data into list view if the data is located in different tables. here few of my code, Public strConn As String = "C:\*********.mdb" Public cn As …

Member Avatar for brainne
0
94
Member Avatar for Jawaid

Hi everyone, Will appreciate if someone could advise me on how to do this: In an Excel workbook I have a few sheets. [B]I'm trying to write a macro which looks for a named sheet and if it is there do the required action and if it is not there …

Member Avatar for Paul Friedman
0
136
Member Avatar for jbimontes

i randomized the numbers ranging 1-20, it generates 2 numbers for label1 and label2 after clicking the command1 button. i created a textbox and another command button for checking if ever the to labels are [B]ADDED[/B], the answer in the textbox should match the right answer.. it will be activated …

Member Avatar for selvaganapathy
0
141
Member Avatar for Loony064

Hey guys I'm pretty close to finishing this payroll program, but i've run in to yet some more problems and i can't figure out how to fix them. So, i have various forms representing different tables of my database (Access - the database is connected to my vb application as …

Member Avatar for Loony064
0
132

The End.