12,425 Topics

Member Avatar for
Member Avatar for Alessandrorenzi

Hi, How can I do to get motherboard and processor serial number in VB6? I am able to get HD serial number with this code: Option Explicit Private Type DRIVEINFO HDDSerialNum As String End Type Private Sub Form_Load() Dim info As DRIVEINFO Dim objs As Object Dim obj As Object …

Member Avatar for AndreRet
0
769
Member Avatar for mklove999

Run-time error '-2147217887 (80040e21)' Multiple-step operation errors. Check each status value. === The one highlighted was: **Adodc2.Recordset.Update** Private Sub Command1_Click() Adodc2.Recordset.AddNew Text13.Text = Label19.Caption Text14.Text = Label15.Caption Label5.Caption = Text6.Text + "-" + Text7.Text Label3.Caption = Text1.Text Label21.Caption = Text10.Text Text11.Text = Text6.Text Label17.Caption = Text3.Text + ", " + …

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

hi all, i'm very - very newbie here, i need a help, i try to connect arduino with vb6, i want to display data from arduino to vb6, lets say the data is : "the distance : XX m", the problem is when i want to put data via mscomm.input …

Member Avatar for AndreRet
0
553
Member Avatar for BombAppetit

As the title suggest, I don't know how to add item to a multiple column list box. When I do the usual ListBox1.AddItem "haha" it only adds to the first column. How do I populate the others? Columns property has been set to, say, 3. I googled out this issue …

Member Avatar for jksjai
0
3K
Member Avatar for mklove999

I'm really new in ADO for just a substitution on Data Control (I cannot dl any access 2003 D:) --- Whenever I enter command3, it says: *Compile Error: Method or data member not found* and the highlighted one was **.EOF** Code: Private Sub Command3_Click() Adodc1.Recordset.MoveFirst Adodc1.Recordset.Find "SID = '" & …

0
144
Member Avatar for logamuthu

I have been using Qbasic 1.1 in MS DOS 6.22 PCs upto P4. In view of the changing hardware scenerio, I wish to migrate to VB inside Windows 7 32 bit machines. Should i rewrite all code in VB or can I import .bas files created in Qbasic 1.1 into …

Member Avatar for logamuthu
0
132
Member Avatar for Skate Bart

When the button is clicked, I want the file (it's a XPS document) to be opened in windows. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions?

Member Avatar for rishif2
0
946
Member Avatar for Skate Bart

When the button is clicked, I want the file to be opened. The file will be in the same directory as the visual basic project. Therefore, I need the code to open the file using "app.Path". Any solutions?

Member Avatar for AndreRet
0
4K
Member Avatar for Sammy Valdez

In VB6, how do you get the contents of "Comments" from the properties of an image file? I want to place the contents in a text box so I can manipulate it and display it superimposed on the picture. The comments is where one places the the discription of the …

Member Avatar for tinstaafl
0
66
Member Avatar for Blank808

for example: 8 - 9 = -1 i want it to be : 8 - 9 = 1 i want to subtract a lower number from a higher number and the result will be a positive number and it will display on a Label.

Member Avatar for Sammy Valdez
0
636
Member Avatar for HibaPro

i have vb6 project with cr8 and 10 , its correctly run on one pc what i need is to run this project on local netwrok , how i can do this and how i can edit the connection string and make .exe file ???? Help me plz

Member Avatar for AndreRet
0
417
Member Avatar for silversurf

Hello everyone. I am developing a inventory and pos software myself with vb 6.0 and ms-access as database. In my sales invoice I want to generate the sales invoice number serially. I mean when I load the sales invoice form the txtsinvno text box will automatically generate the sales invoice …

Member Avatar for silversurf
0
592
Member Avatar for sharmi cse

hi all, i am creating a form in which when a particular command button is clicked, it will open another form with a flex grid. Based on the row selection the user makes on the flex the first form will be filled with datas retrieved from sql database. i can …

Member Avatar for PM312
0
57
Member Avatar for Yorkiebar14

Hello, I have a program I have made in vb which works perfectly fine. It has a couple of variables I would like the user to define though such as the timer interval. To do this I would like to have one program where the user can download it, run …

Member Avatar for TnTinMN
0
200
Member Avatar for vonnoy

im having problm with my date function. i want to record date in database only one but my code do not function. this checks attendance once in a day. date must not double plz help me. Sub search() 'search if id registered With ado .ConnectionString = connectdb .RecordSource = "Select …

Member Avatar for AndreRet
0
214
Member Avatar for Shailajaprasad

Hi I need to use sumproduct in VBA, but not able to use it. can any one tell how to use it. Shailaja

Member Avatar for AndreRet
0
77
Member Avatar for bluesky18

Hi everyone! Can please someone help and guide me on how to export image from vb6 to excel. I found some codes here but doesnt work well when i tried it. I will use an existing excel file then i will export the image probably from the picture box located …

Member Avatar for bluesky18
0
228
Member Avatar for ImZick
Member Avatar for pfaleite

Well i'm really in need of urgent help. I've created a program (in Visual Basic Express 2012) that seeks the computer for information using WMI, like processor, graphics card, etc. Inside the IDE of Visual Basic everything goes by the book ... but the produced EXE when i try to …

Member Avatar for pfaleite
0
269
Member Avatar for angel06

Hey guys does anyone here knows what is the code for inserting the current day in a form? I'm creating an Employee Monitoring System. I have here a part of the codes of my program Private Sub Command1_Click() If Text1.Text = "2036251" Then Adodc1.RecordSource = "select * from Table4 where …

Member Avatar for vonnoy
0
148
Member Avatar for nezar
Member Avatar for rectifryer

Hello fellow code enthusiasts. I am currently trying to figure out how to retrieve text from pdf images submitted to my MS office inbox and put them into an excel spread sheet. At the moment, I plan on using Tesseract as a library (well reference) to do this. Is there …

Member Avatar for tinstaafl
0
122
Member Avatar for karlcunanan

Good day Geniuses! I am a beginner and would like to ask for your assistance regarding my Javascript not working ONLY in IE :( I dont know where to start debugging since I only use Chrome and Firefox for testing. Hope someone can help me on this. Javascript <script type='text/javascript'> …

Member Avatar for gon1387
0
1K
Member Avatar for furjaw

Visual Basic.Net: I have a DataGridView in Last Name sequence. Is it possible to when a user types the first letter of a last name that it displays all rows with last names that start with that letter. When he types the second letter, it displays all records whose last …

Member Avatar for isharpk
-1
4K
Member Avatar for linky1hit

Read text file after change text " text1 " to " text2" Example text file name hhh.txt have content sdasdsa ádsaewf dsasa asdsa text1 asdksls text1 as +>>>> hhh.txt sdasdsa ádsaewf dsasa asdsa text2 asdksls text2 as Thk :)

Member Avatar for deepakbshitole
0
297
Member Avatar for vonnoy

hi, im new in vb6 how to search in datagrid where every keyword you type wil display the record found in database? here's my code in saving pls ned help here....this is our thesis God Bless>thanks. Sub search() 'search if student is registered then With ado .ConnectionString = connectdb .RecordSource …

Member Avatar for deepakbshitole
0
5K
Member Avatar for candywayans

what is the code to make a timer to my program that basically times how long it takes students to complete a quiz, the timer starts and stops once the 15 questions in the quiz are answered twice , Thank You

Member Avatar for tinstaafl
0
228
Member Avatar for ultracoder

Are you a freelancer or programmer for hire? Join, post & bid for projects free. Thousands of skilled programmers, skilled freelancers to choose from. Ultracoder is a developer oriented outsourcing site. Skilled programmers will bid to complete your project right now. Computer Based programs, Training, Web Services, Language Specific programs, …

Member Avatar for LastMitch
0
234
Member Avatar for jakub.peciak

Hi, I have following code. Dim myData1 As MySqlDataReader Dim sqlquary1 = "INSERT INTO table1 (text1) Values (Value1); INSERT INTO table2 (text2) Values (Value2); INSERT INTO table3 (text3) Values (Value3)" Dim command1 As New MySqlCommand command1.Connection = mySqlConnection command1.CommandText = sqlquary1 myData1 = command1.ExecuteReader mySqlConnection.Close() I need to send few …

Member Avatar for Reverend Jim
0
1K
Member Avatar for gmissile1

well,i am a new programmer in vb6 so i dont know much about vb6.So i have 3 questions. 1) Finding sum of all the numbers from 1 to 100 by loop method. 2) Finding factorial of a number. 3) organizing table of any word. eg. 9*1=9 9*2=18 and so on …

Member Avatar for AndreRet
0
90
Member Avatar for slymdjay.gunshot

Hi geeks!! im working on a project (in visual studio 2008) where i need to create a reminder which will prompt every month for showing the actual state of fees a number of customers have left to pay. the project uses access as database and will have a fixed amount …

Member Avatar for phorce
0
583
Member Avatar for huntvbcode

I want to know **what are the prerequisites Softwares Needed to install on my pc to start vb.net 2008 and ms sql Standalone and Server Client Software Development**? I have P4 Processor, 4 GB Ram, 1 TB Hard Disk, Oprating System Windows XP Professional Service pack 3. Visual Studio 2008 …

Member Avatar for M.Waqas Aslam
0
286
Member Avatar for manishj9869

he y frnds i hve a project on mobile store in vb 6 ..but theres a problem in it whnevr i try to add any amount in that its always shows invalid amount ..i already chcked full coding of the project..is any 1 can hlep me out in this..its an …

Member Avatar for uro123
0
107
Member Avatar for maria.susai.7

Good to all. Here I have a doubt in Visual basic 6.0. I need have excel file as backend and the visual basic is to be the frontend for my project which I am on it. In the excel sheet keeps updating while saving in vb form. Please If any …

Member Avatar for samsylvestertty
0
1K
Member Avatar for bhemlhie
Member Avatar for maskinao

Hi! I want to be able to automatically select the first row in a listview then display the selected items in a text box. I've already done putting the data in the textbox by clicking the row, but i cannot do it automatically. any ideas? i would like to provide …

Member Avatar for Ancient Dragon
0
111
Member Avatar for mc1202bc0077

hi, may i know how to compile visual basic 6.0 file with access 2007. I can link but when i save it in an external device and try to run th exe. in other computer, it could be run, but the connection is lost, i tried to change the location …

Member Avatar for abelingaw
0
2K
Member Avatar for tinstaafl

In a recent discussion these code snippets were developed to replace Convert.ToInt32 and Convert.ToDouble. The person I was helping had a very large number of conversions to do. In our tests, using these 2 routines we were able to do over 1 million conversions in less than half the time. …

1
147
Member Avatar for kazekagerandy

i am working on a POS as a school project. im having a problem in getting the stocks, which is a record in my database. this is what i need to do, i need to populate the combobox with drug names with suggests. when i choose a certain drug, its …

Member Avatar for kazekagerandy
0
271
Member Avatar for silversurf

Hello, I am trying to build a pos and inventory system in vb 6.0 with MS-Access database. I do not have much experties in vb 6. Ok here is the question now, I want to build a report like income statement. I have two tables with name tblsales and tblexpense, …

Member Avatar for silversurf
0
363
Member Avatar for marius2010

Need help with this code, it counts only the second after "And".And if it possible to do like if cell("2.3")<point reenter else Range.. Is it possible to do aritmetics with cells or do smth with other operators? Sub hugo() Dim point As Double InputBox ("Enter The Closing Point(Between 1.1-1.6)") If …

Member Avatar for tinstaafl
0
123
Member Avatar for mlesniak

I have a VB.NET application that has a site.master with a navigation menu in landscape format. In my default.aspx I have a multiview component. When I select the second view in my multiview the navigation menu momentarily changes to portrait format and then back to landscape format. Ideally, I would …

Member Avatar for JorgeM
0
178
Member Avatar for ponnu

L1.ListItems.Clear Dim li1 As ListItem Set li1 = LV1.ListItems.Add() While Not (rs.EOF) li1.Text = rs(0) rs.MoveNext Wend rs.Close

Member Avatar for ImZick
0
170
Member Avatar for msnyder0019

Hello, I am trying to build a Football Scoreboard and I have performed alot of editing but I am getting hung up on this error Error 1 Variable 'strScore' hides a variable in an enclosing block. C:\Users\Michael\AppData\Local\Temporary Projects\WindowsApplication1\Form1.vb 41 17 WindowsApplication1 it keeps referring to this line of code -Dim …

Member Avatar for tinstaafl
0
137
Member Avatar for bangla

Excel cell(1,2) has data with blank lines as: " vb is hard language. test data. test vb. " I want to change to without blank lines as " "vb is hard language. test data test vb" Below code is not working. Please please help. ---------- Set ExcelApp = createobject("Excel.Application") ExcelApp.Visible …

Member Avatar for bangla
0
1K
Member Avatar for timon.bijl

Hello in this code i'm like counting the interest of the start capital and doing this untill the start capital is as much worth as its double but now beside of that i'd like to count with a for next the years so like start capital 100 interest 5 year …

Member Avatar for adam_k
0
89
Member Avatar for ian.murray.33821

hi, im using microsoft visual studio to make a game the game consists of a random number generator which ive completed and is working fine, when it generates a 7 a message tells you that you have a lucky seven, you get five goes at this then a message tells …

Member Avatar for ian.murray.33821
0
215
Member Avatar for fabio.bozzo

Hi to all, I'm using the WIA Aut. Library [url]http://www.microsoft.com/downloads/details.aspx?familyid=a332a77a-01b8-4de6-91c2-b7ea32537e29&displaylang=en[/url] , trying to capture photos from 5 digital cameras (Nikon D90) USB-connected to my pc. Now, I partially achieved my goal, what I do is: - loop through the attached devices, connecting to every camera; - fotocamera.ExecuteCommand (WIA.CommandID.wiaCommandTakePicture) ; - …

Member Avatar for vince8290
0
534
Member Avatar for chieria

how can i make a robot that can move it's arm and leg.... can you guys help me with the coding please

Member Avatar for tinstaafl
0
46
Member Avatar for kokiis

im using many textboxes one button and one datagridview, i want for example, textbox1.text to be shown i first row of column one, textbox2.text to be shown on first row of column2 and so one ... when i press button1. after i press button1, textboxes to be clean and to …

Member Avatar for Wolxhound90
0
522

The End.