12,425 Topics

Member Avatar for
Member Avatar for Dorcas_1

I want multiply three numbers in VB many private sub cmdmult_click() multiplication=Val(text1.text) * Val(text2.text) please assist me

Member Avatar for ddanbe
0
196
Member Avatar for Md. Maruf

I want to open .txt file in my simple notepad. when i dobble click on .txt file, my simple notepad will show that file text. please kindly code it by TextBox control. not RichTextBox control. please somebody help me....

Member Avatar for rproffitt
0
190
Member Avatar for nagatron

Hallo to all, can anyone help me how to display data from the database based on the date from the [COLOR="red"]dtpicker[/COLOR]? In my database I have a column [COLOR="Green"]date [/COLOR]and a column [COLOR="Green"]event[/COLOR], if I click a particular date in the [COLOR="Red"]dtpicker[/COLOR] it should display in the MSFlexGrid the [COLOR="Green"]date …

Member Avatar for Sambhunath_1
0
2K
Member Avatar for tom_17

Hi, I need to write a macro that has one row of dates. Row D. I need the macro to go down row and depending on the date I need to input a number to the cell to the right of that date. Example. If date < 12/22/16 insert value …

Member Avatar for tom_17
0
293
Member Avatar for Jhovyn

I create DTS Package and assign variables on it in VB6.0...I need to check if my connection to my database is successful using DTS package that I created..I got an error message "Argument not optional"...Please help me Module 1 Option Explicit Public goPackageOld As New DTS.Package Public goPackage As DTS.Package2 …

Member Avatar for Lee_14
0
523
Member Avatar for ArielSerrano

Hi i am new in VB6 trying to built a simple application : 1 userform with 15 combobox, 46 Textbox and 3 command button. (ComboBox1~15)Each combobox is populated with items, TextBox1~15 are user input, Textbox17~46 are automatically filled by excel application to be executed by command button, then if my …

Member Avatar for mohammad.islam
0
1K
Member Avatar for Jhovyn

I have 2 forms namely "form1" and "form2" and checkbox "chkbox1"...The checkbox is created in "form1"..how will I assign variable in my checkbox using boolean and call it to my "form2" using VB6.0?

Member Avatar for rproffitt
0
295
Member Avatar for faza_1

hello, im newbie in VB 6, i have a question : i have text.file in text box like: 1 2 3 4 5 from that file, how to get average?? any help me,please???

Member Avatar for rproffitt
0
313
Member Avatar for samsambm
Member Avatar for rasheedraj

Private Sub cmdPrint_Click() Dim cnview As New ADODB.connection Dim rsview As New ADODB.Recordset Call connection(cnview, App.Path & "\Seeyou.mdb", "endromida") 'Call connection(cnview, "\\SEEYOU-PC\shared\Seeyou.mdb", "endromida") Call Recordset(rsview, cnview, "SELECT * FROM [order] where Edate = #" & txtEdate.Text & "#") If rsview.RecordCount = 0 Then MsgBox "No Record Found On Query.", vbCritical, …

Member Avatar for Santanu.Das
0
356
Member Avatar for nadiam

Hi, im using vb2010 with MS Access 2013. I have this form that displays ID values from database into a listbox And when an ID is clicked the details that correspond with that ID are displyed into textboxes. Screenshots : Forms : http://imgur.com/a/NrTTD Display details : http://imgur.com/a/twF7P The delete button …

Member Avatar for jhai_salvador
0
473
Member Avatar for DS9596

After you open files (like 7 or 8) on email and download to visual studio, how come it won't let you debug right there? Do I have to save all those files, one at a time and then will it let me debug?

Member Avatar for pritaeas
0
163
Member Avatar for Ahmed_78

I want to convert this VB 6 code If Len(Text1.text) <> 0 Then Text1.text = Left(Text1.text, Len(Text1.text) - 1) To visual basic.net 2010 pro This code is used for making textbox delete only one number when you click on button .

Member Avatar for Ahmed_78
0
111
Member Avatar for sandman64

i'm trying to use the elif statement but every time i try to use it it gives a syntax error. here's the code: [code] n = input() while n != 2: n = n - 2 print "number is even" elif: n < 2: print "number is odd" [/code]

Member Avatar for Swathi_4
0
222
Member Avatar for nadiam

Visual Basic 2010 and Microsoft Access 2013 I have a product table in MS with fields : fld_id,fld_name,fld_img,fld_price,fld_type fld_img i set it as attachment and of course attached the corresponding image to it - is this wrong? this is my code to get the data into the datagridview. my form …

0
211
Member Avatar for choeychoco

hi every one. i have a vb6 application and i am using xampp as my database. it works fine when i access my database locally using the following code: Driver={MySQL ODBC 3.51 Driver};Database=NAME_OF_MY_DATABASE;Server=localhost; Port=3306;Option=13; but how will access xampp database stored in a remote pc in a network? thankz.

Member Avatar for choeychoco
0
3K
Member Avatar for abdullah_11

Hi all! I need help with Visual Basic.. ![vb.png](/attachments/small/4/7125b0dd5906a51d99082aad2a1a2add.png "align-right") Write a program that reads 3 integers numbers, then the program prints the square and cube of each. i want a one button and one label in form and the result i want in label . and thank you all

Member Avatar for Santanu.Das
0
423
Member Avatar for Garry_1

Hi I have 60 picture boxes on a form, I want to update these images using a for loop. I have tried Dim PCB as Image For i = 1 to 60 PCB(i).Image = mySampleProject.My.Resources.TestPCB1 next but get an error "Class 'System.Drawing.Image' cannot be indexed because it has no default …

Member Avatar for Reverend Jim
0
833
Member Avatar for Hishamullah

Hi, I want to create a Alternate Coloring in MsFlexGrid that using the Visual Basic Programming. Here I attach a source code : MsFlexGrid I give name : Flex If Wt <= RsParts.Fields!Lowerlimit Then '*********************************************************** '2. Section for create Color at 1 Column under REMARK Dim lngRow As Long Dim …

Member Avatar for rproffitt
0
1K
Member Avatar for Priya_14

I have database table created in sql server visual studio.I have one dashboard kind ,so whenever i want to change the value automatically balance amount should caluclate and display the changed value. Su Si Sa Sd Balance 10 12 13 14 ( Balance=Su+Si+Sa+Sd) 14 15 13 17 ( Balance=Su+Si+Sa+Sd) 17 …

Member Avatar for Priya_14
0
485
Member Avatar for tinstaafl

The algorithm for formatting code has has never treated vb.net comments properly. I've discovered a nifty work around that will format the code properly. Close the comment with another comment character(') and the algorithm will treat the rest as code. I've never tried it, but this should also work for …

Member Avatar for Dani
1
324
Member Avatar for Pranab_1

How to send sms from a GSM Mobile phone using VB Code. Kindly tell me what are the prerequisite for this. Kinldy tell me the steps. Kindly tell me about gateway.

Member Avatar for rproffitt
0
231
Member Avatar for Alvin_6

HI EVERYONE, I JUST WANT TO ASK YOUR HELP HOW TO CODE MY BUTTON IN VB.NET TO DISPLAY NUMBERS IN MY LABEL BOX TO THE ANOTHER FORM, I USED THIS CODE IN MY BUTTON " Queue.Label1.Text = Queue.Label1.Text + 1 ", but it shows only up to 9 and go …

Member Avatar for Santanu.Das
0
187
Member Avatar for seitan

to all programmer out there! i'm a new visual basic 6.0 user.. i wonder if there is possibility that i can run .exe program in visual basic that without installed visual basic? or is there any application needed. thanks in advance..

Member Avatar for Paul Simon
0
1K
Member Avatar for opman234

Please , help me. I could not find crystal report view control in my toolbox. I am using visual basic 2010. I don't know if I need to add something. Thanks

Member Avatar for samuel_11
1
3K
Member Avatar for Ambivert_1

HEEEEEELP! How do I compute for the radius? Velocity,time,and displacement are given.I don't have an idea on how to code it.): Any help will be very much appreciated.(:

Member Avatar for tinstaafl
0
102
Member Avatar for Michael_59

I have developed an x86 application using Visual Studio 2008 with Visual Basic as the programming language. It uses .NET Framework 3.5. My databases are created in MS Access 2007. I have deployed my software on Windows XP all the way through Windows 10 with no problems up until now. …

Member Avatar for rproffitt
0
353
Member Avatar for Michael_57

I am struggling to do somehting so simple in Crystal Reports I have some numbers I.E 2.851 3.481 0.791 I want to round them up so they are 2.80 3.50 0.80

Member Avatar for Reverend Jim
0
175
Member Avatar for rroygaga

I need help. I am developing an application wherein the user selects multiple images and are displayed on a form. With this application, i need to convert these multiple images into a single image. Any ideas?

Member Avatar for Reverend Jim
0
2K
Member Avatar for Jeff-Bennett

I'm looking for a way to get the coordinates of a polygon offset x pixels within a known polygon. This seems to be a non-trivial problem, but I thought of a trick - What if I have the original polygon drawn by Windows with a thick line, the inside edges …

Member Avatar for Stagnant
0
503
Member Avatar for Calvince

Hello!!!! I am a novice programmer though, I am trying to code a vb 6.0 system that calculates total marks from the exams done and return the output. I only know the simplest way of addition, but I want the way to compute total by taking only the exams taken …

Member Avatar for Minimalist
0
219
Member Avatar for anisha.silva

hi, I have an excel sheet and the is a row filled with data the row starts from B5 everytime, what i want to do it to read the values of the cell until the row comes to an empty cell how do i do it, thanks appreciate a reply, …

Member Avatar for tinstaafl
0
14K
Member Avatar for sathish scrop

I have created an VB code which flech data from excel cells to ms word and save it as PDF. But when the macro try to take the empty cells in excel it throws a run time erroe 4198. Can some body help me on this. Private Sub Button2_Click() Dim …

Member Avatar for rproffitt
0
420
Member Avatar for SACHIN_6

Hi i have lots of lable list & i want to make one click button from this particular button we want one by one lable data search in master data & copy the selected data from Master data which is we selected & that data want to copy from One …

Member Avatar for pritaeas
0
112
Member Avatar for Jawad_6

I need Help in data report .how to print single recordset in datareport using dataenivronment .

Member Avatar for rproffitt
0
86
Member Avatar for Jollyyy100

Is there any way possible to display a slideshow of pictures on a vb 6 form? What steps are required? Thankyou

Member Avatar for Supermike
0
2K
Member Avatar for Sushma_2

write a programme in visual basic to create anarray of size 5 to store any 5 names and display them

Member Avatar for rproffitt
0
236
Member Avatar for Shabeer_2
Member Avatar for Prafull_1

Hi Team could you please tell me could I directly convert VB5 code to VB.NET? if yes what about the controls used into the application it is alo replaced automatically is there any freeware tool we have to do it if NO what is the option for doing it Thank …

Member Avatar for Mr.M
0
666
Member Avatar for Tamal_1

I'm looking to build a simple text string replacement tool using visual studio 2015 community tool, which will do the below replacements on all *.txt files whose path is given in a textbox: > Find: \<figure (\d+)\> Replace: <a href id="fig\1">figure \1</a> > Find: \<table (\d+)\> Replace: <a href id="tab\1">table …

Member Avatar for Mr.M
0
564
Member Avatar for jeffersonalomia

is it possible to apply this kind of alignment in vb6 listbox? Ex. aaa bbfawdawd bbbb adwadwa cc dawdawda if it is possible. Please specify the solution. thank you

Member Avatar for Minimalist
0
296
Member Avatar for Jann_2

Hey there! I want to add rows of data in my listview from a database but I want to add only those items I chose then after listing all my items of choosing that is the time for me to save it to a table in databox. is there anyway …

Member Avatar for tinstaafl
0
104
Member Avatar for Abraham_7
Member Avatar for _1_36

sir can you help us or give us an idea in our System Tutorial (Thesis) in our subjet Software Enginieering, our professor required us to make a system that is not yet existed, Examples Grading system, Inventory System, Using VIsual basic 10 with the connection of data base, . sir …

Member Avatar for rproffitt
0
138
Member Avatar for _1_32

I have spent about 40 hours on this code so far. I have finally cleared the faults from it. I am a new coder. What I am trying to get it to do is to display the users name is the "type your guess " box as in "type your …

Member Avatar for Reverend Jim
0
490
Member Avatar for Prafull_1

Hi Dear could you please help for below issue Description: Previously our client is using ms office 2007 now client want to upgrade office to ms office 2013 we have VB5 application with access database (previouly it was .mdb and now it is converted to .accdb) so for that purpose …

Member Avatar for rproffitt
0
624
Member Avatar for Micheal_6

How can I make the URL displayed in the MessageBox clickable, such that when a user clicks on it, it will open the link in a web browser? string msg = "MyApp | v1.0.0.0.1" + Environment.NewLine + "© 2016 MyApp" + Environment.NewLine + "All Rights Reserved." + Environment.NewLine + "For …

Member Avatar for tinstaafl
0
4K
Member Avatar for jeffersonalomia
Member Avatar for matoo
0
198
Member Avatar for matoo

HI everyone i am trying to write POS and Inventory for myself in vb6. I am stuck and gone blank what to do. here is what i want to do. search database for the stocks. change the caption of the button ( eg caption of the botton is "COKE 250ml" …

Member Avatar for matoo
0
255
Member Avatar for Wallace Jnr

Mr Rioch D'lyma, I have gone through your code. It looks right. It is exactly as I have it here in my textbook on the subject although you have implemented the pseudocode using C++. You are also right in stating that IT DOES NOT GIVE THE RIGHT ANSWER ! You …

Member Avatar for Gribouillis
0
691

The End.