12,425 Topics

Member Avatar for
Member Avatar for elanch

hi all! I have created two datetime picker for getting input for start time and end time. but i could'nt able to calculate time duration between them. How to calculate the time duration by getting start and end time input. Thanks in advance elanch

Member Avatar for dhineshbabu2k1
0
2K
Member Avatar for habenero

I was here once before and I'm back; Here's my quandary: What I want to do is build a filename (and save it of course) using what the user puts into a txtbox. In that filename I have the user select one of three option buttons and a number of …

Member Avatar for Reverend Jim
0
164
Member Avatar for kimangel

Hi experts, kimangel is here again, doubling my time. Thanks alot for helping. I have problem with two tables, when I click cmdSearch button searching for Employees_IdNo error occur "The specified field 'Employees_IdNo' could refer to more one table in the FROM clause in your SQL statement. below is my …

Member Avatar for AndreRet
0
179
Member Avatar for Ayesha.Shahnawaz

I've got 2 flex grids in one VB form and I wanna connect both of these Flex Grids to 2 different tables in MS Access. This is how my form looks like: http://i213.photobucket.com/albums/cc228/rose_408/form_zps100c290c.png Here's the code for the service flex grid (FlexService): Private Sub Form_Load() Set conn = New ADODB.Connection …

Member Avatar for AndreRet
0
278
Member Avatar for kiran2012

Hi, I newly installed VB6 and Visual Studio 2012 Premium. OS - Windows 7. I want to add Listview control to my form. For this when i add reference to MS Windows common controls, VB crashes and closes. This is the error msg i am getting "Unhandled exception at 0x00409719 …

Member Avatar for AndreRet
0
2K
Member Avatar for CHRIZOTA

Please I need the codes that enable a user to create a new user with a password and also to enable one change a password in Visual Basic 2008

0
47
Member Avatar for CHRIZOTA
Member Avatar for PinoyDev

Good day! I have this datasets format in sql server! AccountID AccountName 1/30/2013 2/30/2013 3/30/2013 4 Credit Cards 20,000 30,000 12,000 5 Loans Payable 5,000 6,000 5,000 How can I load all this data to listview? The colums are dynamic. It could be 6, 7, 8, or 12, or higher. …

Member Avatar for PinoyDev
0
178
Member Avatar for mgunia

Hello, I want to re-arrange my existing macros in the excel file. I have a macro which goes to the specified sheet and checks column R if there are commas. If it finds the commas it replaces it to dots. Column R is called Email. But in some of documents …

Member Avatar for mgunia
0
338
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
180
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
213
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
83
Member Avatar for josverhoeff

My vb6 to vb.net converted application performs about twice as slow as the classic ASP version. Here is the setup: I have an old ASP application that uses for most of its function calls a vb6 dll of 30000 + lines of code. I managed to convert the dll into …

Member Avatar for TnTinMN
0
533
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
212
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
64
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
106
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
212
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
192
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
146
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
69
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
222
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
201
Member Avatar for Skipind

connecting access 2003 database from remote computer .I have a vb2005 application which uses access2003 database. I want to connect to this database via remote computer connected via internet.

Member Avatar for savedlema
0
370
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
55
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
272
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
799
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
190
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
366
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
205
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
127
Member Avatar for nova37

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
153
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
233
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
63
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
180
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
351
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
316
Member Avatar for maytham

hi guys .. i have problem in this code . it dose not work am trying to make gaussian filter in spatial domain. is this possible ??????? pls, any help #Const gauss_width = True sumr=0 sumg=0 sumb=0 Dim gauss_fact() As Integer = {1,6,15,20,15,6,1} Dim gauss_sum As Integer = 64 For …

Member Avatar for TnTinMN
0
411
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
169
Member Avatar for pinkxhmile03
0
41
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
148
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
196
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
125
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
202
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
117

The End.