vba x 200

12,155 Topics

Member Avatar for
Member Avatar for kimangel

hi experts, i have problem saving my logout entry could not be saved on database. Password & username textbox is in the login form on form 1 and lbldate & lbltime is on form 2. Log-out click is a Menu editor on form 2. Pls help me check my code. …

Member Avatar for AndreRet
0
188
Member Avatar for Aarowaim

Hey everyone. I do a bit of programming in my spare time, and I've been on hiatus for a while due to taking up a second language. Now that I am taking computer science classes, I'm back into programming. Admittedly, they're far too easy for me, and I find myself …

Member Avatar for mike_2000_17
1
234
Member Avatar for Ayesha.Shahnawaz

Ok, so my form displays an error saying "run time error. could not find installable ISAM." everytime i run it. And its pointing at "conn.Open" part of the code when i run it. heres my code: Dim conn As ADODB.Connection Dim rec As ADODB.Recordset Dim rec1 As ADODB.Recordset Dim rec2 …

Member Avatar for AndreRet
0
2K
Member Avatar for sachins1986
Member Avatar for AndreRet
0
87
Member Avatar for oail

Hi, can anyone help me by showing me a sample of MS Access linked to Visual Basic that have edit, delete and add function?

Member Avatar for Ancient Dragon
0
220
Member Avatar for SID.SIL

Hi Guys Normally I obtain a data this way "MM/DD/YYYY HH:MM:SS" but now I need tenths, hundredths and thousandths. Can you help me? Thanks a Lot

Member Avatar for AndreRet
0
73
Member Avatar for kimangel

Hi experts, my time value display is the word "true" on Label2.caption and not a real time. On Label1.caption the is the exact date. Only the time got wrong. below is my code: Private Sub Timer2_Timer() Label1.Caption = Date Label2.Caption = time End sub I have a timer1 the dispaly …

Member Avatar for AndreRet
0
121
Member Avatar for sarman.boyslo

newbie wanna ask... please help let say i have a form, in this form i make a menu, if i click it, it will show a form, mini form (sub form), in this form i put a textboxt and a button, the textboxt contain some value and changeable, if i …

Member Avatar for rishif2
0
222
Member Avatar for Bile

-->>Hi, here is athing I managed to write Codes that Creates a Folder for a User when Registered... -->>The Folder takes User's registered name with some additional files inside it,works very fine... -->>The code I used is this one: MkDir GetAppPath() & "SPGPAC - File User Files\" & UCase(txtUserName.Text) MkDir …

Member Avatar for AndreRet
0
212
Member Avatar for mgunia

Hello. I would like to ask for a help. I deal with excel spread sheets and very often I need to amend specific column. The whole steps look like this: Step 1. Find the column name, Step 2. Mark the all populated rows in this column, Step 3. Proceed with …

0
154
Member Avatar for sharunkumar

Hi, I want to know how to send keys like ALT, Shift, Ctrl, Entre, etc. with the My.Computer.SendKeys() function. Also, I need a code with which i can send 2 keys together like Ctrl+C If its not possible with SendKeys(), please suggest some other function to acheive this. [I use …

Member Avatar for Cardine.Mpisane
0
28K
Member Avatar for v.k.p

Please, I need guidance. I know **VB** and some vb.net programming. 1. I have an assignment in which I have to program for product process management, where I will have a client updating daily reports(processes completed) and this data will be compared with targetdata (available on other client/server) and the …

0
90
Member Avatar for A0110

Hi, I am facing some problems in the deployment of my VB ActiveX DLL on a server. I have a job which runs a stored procedure. The job and the SP are on the same server as the DLL. Using this stored procedure I access the classes (and the methods …

Member Avatar for AndreRet
0
232
Member Avatar for kimangel

Hi Sir, Kimangel is here again! Gud Day! How would I code that a cursor will automatically return to its place where it was encountered error? unless resolved. Below is my code; Private Sub txtContact_No1_LostFocus() On Error Resume Next If txtContact_No1.Text = "" Then MsgBox "Fill up the field to …

Member Avatar for AndreRet
0
216
Member Avatar for pravi4444

dear all, i am creting internet lab management project for diploma ,I am trying to save web browsing history of google chrome,ie and mozila by the user in his login.. can you just tell me the way to proceed. not getting how to start for this.

0
61
Member Avatar for ThisIsNotYourS

Hey guys, i need a wave sound file for my program i am working for a basic tutorial for grade school and pre-scool so i am looking for a sound file that fitted to my quiz in pre-school i can`t find in google or to any sites..

Member Avatar for michellspijkers
0
325
Member Avatar for kimangel

hi experts, i have problem in displaying commas and decimal to a certain amount in a textbox and label. it only display certain amount without comma. below are my codes; ______ Private Sub lblAllowable_Change() lblAllowable.Caption = Format("4321", "#,##0.00") End Sub ____ ____ Private Sub cmdSearch_Click() txtLastname.Text = "" txtFirstname.Text = …

Member Avatar for AndreRet
0
2K
Member Avatar for atletico

Hello guys, I would appreciate if you could help my on the below issue. When i used an Excel object in my code, when closing this, the excel.xls applicataion remains opened at the task manager. i am copying below the test code for your reference, which i am using in …

Member Avatar for Reverend Jim
0
832
Member Avatar for kimangel

Hi experts,gud day! Here I am again needing your help. How will I code condition that textbox will only be enable after 6 months from date of hired or textbox will be disabled after typing certain amounts because it is not yet 6 months from date of hired. A message …

Member Avatar for AndreRet
0
201
Member Avatar for JohnKelly

We have a sensor on our local network that is sending a data telegram using UDP Broadcast. How do we use Winsock to capture these messages. The Port number that the data is being sent on is 42567. I tried the following code WinSockControl.Protocol = sckUDPProtocol WinSockControl.RemotePort = 42567 WinSockControl.Bind …

Member Avatar for TnTinMN
0
375
Member Avatar for Reverend Jim

One of the things I have been steadfastly avoiding is writing code to print stuff. Most of what I want to print is from withing apps like Outlook or Word that already provide that functionality. But I finally ended up having to bite the bullet. What I ended up with …

Member Avatar for tinstaafl
2
3K
Member Avatar for vin24

Hi! I would like to ask if it is possible to insert a GIF image on my form? If possible, would you mind to show me how by posting its codes? Thank you in advance......

Member Avatar for alex.mur.946
0
237
Member Avatar for might.nova

hi guys can you plzz help me in my program i need codes for deleting selected rows in datagrid and also editing on datagrid in visual basic 6.0 plzz show me some codes or video on how to do it tnx guys god bless

Member Avatar for AndreRet
0
137
Member Avatar for Member #940193

i want to know that how can we download file in visual basic silently without notifying users .... its my application update , also how could we create thread in visual basic so that this thread always check for updates and downloads silently

Member Avatar for AndreRet
0
2K
Member Avatar for dipankar_pr

1. database in access 2. ADO is in use 3. Datareport is designed. 4. I have 40 records in Recordset. 5. I want create one page per record in recordset. It just create one page report for only first record Private Sub Command1_Click() Dim cnString As String Set rs = …

Member Avatar for AndreRet
0
164
Member Avatar for bguild

*Code Complete* is a programming book by Steve McConnell which includes a second about how to choose a language for your project. It very briefly examines a wide variety of languages: Ada, Assembly, C, C++, C#, Cobol, Fortran, Java, JavaScript, PHP, Perl, Python, Smalltalk, SQL, and Visual Basic. It also …

Member Avatar for <M/>
1
247
Member Avatar for alv2000

I have a project in vb " Hospital mangement, i want to know commonly or frequently asked questions that may be asked by the examiner on my topic what type of questions wiill be asked like what will happen this feature of vb is inserted here like that only oral …

0
67
Member Avatar for jemartalaban_1

i was planning to convert my vb6 program to vb2010 but sometimes the codes from vb6 was unable accept in vb2010. like adodc.recordset.xxxxxxxx help me please

Member Avatar for Reverend Jim
0
196
Member Avatar for abelingaw

Was having trouble printing special characters using Ascii codes for this two characters: **Ñ and ñ. ** I'm trying to enable inserting them on textboxes using Keypress event but to no avail. But since the Alt key doesn't have Ascii equivalent, I can't figure it out. I would want to …

Member Avatar for TnTinMN
0
375
Member Avatar for rishif2

hello expertes i have 2 tables , both having same table structure (i.e. same fields ) but having different Records. First Table for Male Candidate and another for Female Candidate. both tables have 2 fields namely :- name and marks. Now i wanna write sql statement using adodb to perform …

Member Avatar for AndreRet
0
346
Member Avatar for firoz.riz

Hi All, We have an old application running on VB 4.0. We need to find out whether this code can be analyzed easily to identify issues/defects so that we can increase the code maintainability and in turn also help us in improving the performance of the system. Any tools which …

Member Avatar for AndreRet
0
179
Member Avatar for pinkxhmile03
0
53
Member Avatar for rishif2

hello experts ! i've designed an application in vb6 with 1280*1024 resolution. it looks perfect when i see the application in system , having same resolution And now the real problem occures when i use it on another system having different resoltion like 1024*768. so how can i display the …

Member Avatar for AndreRet
0
155
Member Avatar for kimangel

hi, good day! I have problem in coding this; combo box list - positions like Manager & supervisor and a label for the Rate of each position. When I click the manager, the label below will auto display the rate for Manager which these two data, Position and Rate, are …

Member Avatar for kimangel
0
2K
Member Avatar for vivek.vivek

Hello, I have an excel where I will select a Currency dropdown (USD,EUR,GBP,SGD). On selecting any one of the currencies, I need to change the currency symbol in multiple cells where the amount is entered. My Drop down column & Amount column looks like this; CELL LABEL CURRENCY B5 Currency …

Member Avatar for vivek.vivek
0
213
Member Avatar for t2nator

In my program I have two child forms, one contains a richtextbox, and the other a webbrowser. When I type into the the text box it displays it in the webbrowser. The problem I am having is that after every key I press I have to click on the richtextbox …

Member Avatar for TnTinMN
0
138
Member Avatar for Bile

-->>Hello World of VB 6 Programers... -->>I've been using a block of Branching statement that worked fine in all the places I've used it... -->>Now I came to develop this form thats when things started to look bad... -->>I just check for the availability of a record in a database …

Member Avatar for BitBlt
0
211
Member Avatar for vonnoy

i got a little problem here, i want to update my record by opening it on another form. but it only update the first record on the list, can anybody help me with this. heres my code: 'first form Private Sub command1_Click() If Text1 = ListView1.SelectedItem.Text Then With form2 .Label1.Caption …

Member Avatar for tinstaafl
0
128
Member Avatar for ponnu

Runtime error 2147467259(80004005): The changes you requested to the table were not successful because they would create duplicate values in the index, primary key..How to catch the exception?

Member Avatar for G_Waddell
0
162
Member Avatar for RCDAWebmaster

Hi everyone, I’m getting the following error uploading a file with asp. I’m using the code I downloaded from uploadasp.zip. I don’t know who wrote it so I can’t give credit. I've checked my local dev box here and I do infact have the correct directory permissions as far as …

Member Avatar for remunance
0
418
Member Avatar for Anverdeen

hai all the comunity people. i want to know how to creat a software in visual basic

Member Avatar for rishif2
0
68
Member Avatar for clubberlangMayo

hi guys, writing a code in my first term at vb 2010, ive to create a guessing game, generate a number between 1 and 30 and let the user guess it. i must give hints along the way and record the amount of guesses made. i have the code written …

Member Avatar for clubberlangMayo
0
339
Member Avatar for tifjones

Having trouble writing code for sum of numbers in visual basic 1 through 10 equal 55 need help please

Member Avatar for rishif2
0
72
Member Avatar for Bile

-->>SOmething is Confusing Me or Doesn't provide Me with actual Results I needed... -->>I want to Calculate some Numbers and Its result if It has more than 3 decimal places... -->>I want it to be rounded only to 2 decimal palces... -->>What I dont want is that when I use …

Member Avatar for AndreRet
0
326
Member Avatar for Member #854131

Hi, I would like to export data from datagridview into excel? Can show me some example to do it? Appreaciate it!

Member Avatar for softwareskill
0
1K
Member Avatar for gauri.ansurkar

How to validate textbox by allowing only characters, spacekey and backspace in vb 2010 utimate............plz help as soon as u can

0
96
Member Avatar for baabjitvk

hi i'm very much new to vb. can any body solve my smaaaall problem...? my problem is; i have a form, in that, two textboxes and a button are there. that is connected (i dont know how to connect, excuse me) with a table in ms access 2007. when i …

Member Avatar for AndreRet
0
148
Member Avatar for vonnoy

can anybody help me with a sample code on how to add items in listbox connected in database. my item list are amount, description, and OR #.

Member Avatar for AndreRet
0
2K
Member Avatar for anisha.silva

hi, I have a sheet name 'rate' and another sheet name "master". rate sheet has data as below EmpCol1 rateCol1 a 1 b 2 c 3 etc... and master has data as empCol2 rateCol2 c a b What i want to do is to get the rateCol1 from rate sheet …

Member Avatar for TnTinMN
0
262
Member Avatar for rishif2

hello experts . . . i am using following code:- `con.Execute "insert into tbl values('" & Text1.Text & "','" & Text2.Text & "') ", adCmdText` i am trying to insert data using above statement and its working well but an error occures when i input data (contaning the symbol `'` …

Member Avatar for AndreRet
0
139

The End.