12,425 Topics

Member Avatar for
Member Avatar for milon.mahbub.1
Member Avatar for Saas2015
Member Avatar for Yugavashini

Hi, I need to validate a text input with the rest of the data inside excel file. The following is my code. It just read the text input and only execute data in row 1 only instead of searching other model's data. Any suggestion where did the code goes wrong? …

Member Avatar for Yugavashini
0
442
Member Avatar for paul1145

I would like to assign a CTRL Q shortcut to the Quit submenuitem (filesubitem1) but can't find the right syntax. Any assistance will be greatly appreciated. Thank you. If user_wants_file_menu = True Then Dim fileItem As ToolStripMenuItem = New ToolStripMenuItem("File") Dim filesubitem1 As ToolStripMenuItem = New ToolStripMenuItem("Quit") filesubitem1.ShowShortcutKeys = True …

Member Avatar for djjeavons
0
550
Member Avatar for Aeonix

I tried to build really basic associative array but it turned out I don't have enough knowledge, so I tried something less, and less, and less, because I kept failing at it. Finally I just tried to set variables and print them in the command-line. But I can't even do …

Member Avatar for Aeonix
0
23K
Member Avatar for Nathan1

I'm sure there is a really simple solution for this matter, but I have tried all I know without success. I'm trying to modify this working SQL string to yield only the Top 25 results, not all results. "SELECT * FROM" & "data.CSV" & "ORDER BY " & "Elapsed" & …

Member Avatar for Nathan1
0
184
Member Avatar for Muhammad_85

i am newer in visual basic 6 face some problem in crystal reporting. set oapp = new craxddrt.application set oreport = oapp.openreport(app.path & "c"\abc\report.rpt",1) oreport .databse.setdatasource rs,3,1 crviewer1.reportsource = oreport crview1.viewreport run time error appear '-2147206460(80043ac4) invalid directory but directory & file available in path what can i do..

Member Avatar for djjeavons
0
222
Member Avatar for boblite2

I found that the following shell code worked for producing a list of all files in the directory and subdirectories of a program I am working on. The basic lesson I learned is not to try shelling out of VB6 to invoke a batch file containing a list of DOS …

0
105
Member Avatar for shimaibrahim

hi. Experts I'm developing a monitoring student in and out of residential college using RFID My problem is i can scan the RFID tag but i did not know how to save it into database access. here is the code i found on internet to connect detect rfid tag no …

Member Avatar for djjeavons
0
505
Member Avatar for weekendrockstar

I am brand new to Visual Studio so please forgive my current lack of knowledge but I've tried searching everywhere for this and am relatively surprised that I couldn't find something about this elsewhere. I am using a currently using an Openfiledialogue with multi-file selection allowed. It then adds the …

Member Avatar for Santanu.Das
0
412
Member Avatar for mike_2000_17

# Introduction # A recurring problem many newcomers face when tackling C++ is the compilation process, from sources to binaries. This tutorial will detail that process. It will be especially useful for people only familiar with higher-level languages (if any), but veterans of one or more native languages (C, Fortran, …

Member Avatar for Lutina
15
8K
Member Avatar for karodhill

I have a linq statement where i turned letter grades into numbers to calculate a gpa can anyone tell me why no matter what grade i click i get the same gpa of 68 for each one? maybe someone can look over my code and give me an answer or …

Member Avatar for djjeavons
0
303
Member Avatar for carall

hi, i need some help! based on the image attached: I need to concatenate from APPLE to the last column in its row and down all the rows and columns UNTIL It sees APPLE again. My problem is that I am being able to concatenate but only the first row …

Member Avatar for carall
0
114
Member Avatar for Abdullahi_1

private void Form1_Closed(object sender, System.EventArgs e) { // Create a PDF document object PDFDocument doc = new PDFDocument(); // Creates a PDF page PDFPage page = new PDFPage(this.Width, this.Heigh,PDFMeasurementUnit.Points); page.MeasurementUnit = PDFMeasurementUnit.Points; // Parses controls on the form for (int i = 0; i < this.Controls.Count; i++) { Label label …

Member Avatar for JerrimePatient
-1
418
Member Avatar for karodhill

need to code a linq statement that codes the grade display button so it allows the user to display either all records or only records matching a specific grade. Also it has to calculate a gpa where a=4 b=3 c=2 d=1 f=0 My main problem is with a linq statement …

Member Avatar for karodhill
0
354
Member Avatar for Tcll

ok, I just want to note, I understand the basic methods of a struct, but I'd like to understand deeper... how exactly does a struct work on the CPU?? (where and how does it store the code template, how is it called, and what is it stored as) I'm trying …

Member Avatar for Tcll
0
160
Member Avatar for Papa_Don

Group, I'm converting a text file into a .pdf file using ItextSharp. The code below works perfectly to do this. Unfortunately the default font size is to large. I need to make it smaller. Here's my code: Private Sub ConvertToPDF() ' Converting the Restran text file to a PDF file …

Member Avatar for tinstaafl
0
4K
Member Avatar for webber2015

Hello, we have to create a football scoreboard in Visual Basic. Purpose: The application calculates the points scored during a football game by one team Requirements: 1. The user clicks the enter score button in an input box object to enter a score after the football team scores 1. Each …

Member Avatar for hericles
0
491
Member Avatar for webber2015

Little League Batting Average Windows Application: Finds the avg batting average of the starting line-up of nine little league baseball players. The user enters the present batting avg of each of the nine players to compute the team batting avg. 1.The user clicks the Enter Batting Averages button to enter …

Member Avatar for Reverend Jim
0
454
Member Avatar for rnyamonga

Hi guys, I need help with some homework... hopefully this is the right forum. So my last project assignment is making a shopping cart and having the user add, remove items therefrom. I am having a problem adjusting the totals after the items get removed from the cart: Using Lists …

Member Avatar for rnyamonga
0
728
Member Avatar for Abu Thahir

Hi iam new joined.And i started a retail store.I prepared a visual basic project. It will be good but I want to do it with print a Sales bill and product's barcode.please give me a right code.

Member Avatar for ddanbe
0
87
Member Avatar for marktwo

Hi, When I run it Dim A As Single A = 12.345 Debug.Print Round(12.345, 2) Debug.Print Round(A, 2) I got different results: 12.34 12.35 Can you tell me why?

Member Avatar for Reverend Jim
0
231
Member Avatar for bthorat22

I want to reload my form in Vb6 without closing it. I am sending a data through serial comm and receiving it. Now i want the repeat the procedure again without closing the Form. The problem is , I don't want to unload the form.It should get reloaded automatically

Member Avatar for bthorat22
0
4K
Member Avatar for Ishmam

i need to find the number of occurences of a specific word in a text but I don't know what to do. I've got the part where it searches and higlights the words but not how to count them, please help.

Member Avatar for ddanbe
0
95
Member Avatar for hiteshkumar_P

Public Class Form1 Private Function getCrc16(b() As Byte, nLen As Integer) As UInt16 {&H0, &H1189, &H2312, &H329B, &H4624, &H57AD, &H6536, &H74BF, _ &H8C48, &H9DC1, &HAF5A, &HBED3, &HCA6C, &HDBE5, &HE97E, &HF8F7, _ &H1081, &H108, &H3393, &H221A, &H56A5, &H472C, &H75B7, &H643E, _ &H9CC9, &H8D40, &HBFDB, &HAE52, &HDAED, &HCB64, &HF9FF, &HE876, _ &H2102, …

Member Avatar for hiteshkumar_P
0
501
Member Avatar for luckynisarg

i want to design a software for a robot. i want to use the arrow keys of keyboard to direct the robot. can any one tell me that how can i do coding of that?

Member Avatar for Sohail_4
0
2K
Member Avatar for Sarwat Zodiac

How can I take a copy of the text inside listbox to Excel Sheet or Word Page ? Thank you

0
110
Member Avatar for altjen

Im designing a app that after press a button textblock1.text goes with "YES" if press an other it goes "NO" how to make it save that text when close the app and show the some text when app load? and on visual basic

Member Avatar for DaveAmour
0
114
Member Avatar for krunal1986

Hello Everyone, is it possible to create excel file without excel installed on machine in vb6 code? is there any code, dll, link is available? Thanks.

Member Avatar for cuzintone
0
90
Member Avatar for Xiao_1

how do i record the the time to the access database on VB with the date when register in Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick lbltime.Text = "Time:" + TimeString End Sub End Class

Member Avatar for cuzintone
0
97
Member Avatar for tyronemiranda

Good Day! I would like to ask for any idea on how to record the time log using recordset. Can you please give me some ideas on how to do it? BTW im using vb 6.0 and access03 for my sources. my fields are EmployeeNo. EmployeeName. TimeIn. TimeOut. TimeIn(2). TimeOut(2) …

Member Avatar for cuzintone
0
122
Member Avatar for Erica_2

I have been hitting a brick wall with this program. I am new at c++ and the text only shows really really easy examples. the deposit function works fine, but i am running into problems with the checking function and doing the final output. 1. when i type in 'C …

Member Avatar for Erica_2
0
928
Member Avatar for johans22

I am very new to vb6.0. I got these questions: in vba 6.0, how to check if time is between today 6:00 PM and next day 6:00 AM then do something. in vba 6.0, how to check if time is between today 1:00 AM and 6:00 AM then do something. …

Member Avatar for mlesniak
0
118
Member Avatar for Tomaž

I am computer technitian. Unfortunately deteriorating economic conditions prevent me from finding an employment that matches my education and I also am unable to afford any formal education, but I digress. I have mentioned my education to clarify that I already have some knowledge with programming languages forehand, however these …

0
113
Member Avatar for Linh_1

can someone show me how to do this please? I am new to programming languge? here is the requirement? Thanks. Create a database table with 10 records with the following fields: Lastname, FirstName, Phone Number, Street Address, City, State, Zipcode. The table name is: “User Info”. Please create the table …

Member Avatar for Aslam Mansoor
0
344
Member Avatar for Madhu_5

Plz tell step step procedure to play music in my Microsoft visual studio 2005 for my opengl projects

Member Avatar for djjeavons
0
220
Member Avatar for djjeavons

This snippet demonstrates how you can add VBA code to an Excel file at run time. **Prerequisites** In this snippet I am using Microsoft Excel 2013 with the Microsoft Excel 15.0 object library. Before you can use this code, you will have to change a setting within Microsoft Excel to …

0
2K
Member Avatar for ranilxmie

hi.. I want to create a similar loop, but what is need is to copy a range of data (example from A1:A10) for about 5 times. meaning, 1st copy, A1:A10 in B1:10, then copy A1:A10 again in B11:B20 and so on for 5 times.. any expert advise pls ?

0
109
Member Avatar for krish_1

Hi Dan, i am looking for something where i click on the button and the excel sheet opens. i have created buttons on the VB excel but i am looking for the coding about how should i link the excel sheet with the command button? please can you help? regards, …

Member Avatar for DaveAmour
0
206
Member Avatar for Mahantesh_1

Count Equal Numbers in Text box How ? Hey guys, I want to Know is there any way to Count Similar Numbers which entered in single textbox in VB6 as a example; i have textbox named txt1 in that user can type any value (2,12,23,2,34,12,2,2,23,54,12....) (separate the values by adding …

Member Avatar for Reverend Jim
0
370
Member Avatar for lyca

Please help me in solving this error of my project. This error appear when i enter this character [ it shows me that i enter an invalid string. where particularly is the error? does it concern with the keyascci? thanks for ur help.

Member Avatar for Minimalist
0
371
Member Avatar for Elliot_1

For my computing GCSE course i had to create a keyword cipher and most of my class did it in VB console, so so did it. Little did I know, it was the most difficult project i have had to code. I can't figure out what is wrong with the …

Member Avatar for Elliot_1
0
205
Member Avatar for Mr.M

Hi Dw. I'm creating a multi-client/server program. I have developed both client and server the server will connect up to 3 clients simultaneously and each client may send an action request to a server at anytime and the server should be able to reply to only that particular client, at …

Member Avatar for Mr.M
0
200
Member Avatar for gordon_1

I am trying to create a program using the console application to solve quadratic equations but the math.sqrt syntax is producing the wrong answers

Member Avatar for gordon_1
0
99
Member Avatar for Christian_4

I have a system named library system and all works properly but not in borrowing i can search the books i want to borrow but when i input my member_ID i encountered runtime error which says " No value given for one or more required parameters" but i have filled …

Member Avatar for Christian_4
0
330
Member Avatar for AndrewBone

hello, I have in my procedure this code: 1. Selelect Case Count 2. Case 1 3. Call MySub1() 4. Case 2 5. Call MySub2() 6. Case 3 7. Call MySub3() 8. '... 9. Case N 10. Call MySubN() 11.End Select But using an array: 1. Dim ArrMySubs(N) as string 2. …

Member Avatar for djjeavons
0
98
Member Avatar for Khaldoun Latif

hello all, I am a mster student, i need a teacher to teach me the curve fitting (cubic spline, bezier, B spline) and help me to program them on visual basic, the lecture should be on skype. if anyone can help me with this please contact me on khaldon89@gmail.com to …

Member Avatar for Zerone_Classic
0
139
Member Avatar for tanidani

Hallo, I need to make in practice a application running in WIN7. This application must read continuously the sound(noise) received from the microphone and, if the level of the sound(noise) is higher that a adjustable value, to activate to display some random files (messages) on the screen and at the …

Member Avatar for mridul.ahuja
0
372
Member Avatar for Liwons

Can you help me to fix this pls. Ty :) ![Untitled.png](/attachments/large/4/56bcf602f2b942d369db5fac83e05b45.png "align-center")

Member Avatar for mridul.ahuja
0
127
Member Avatar for Mr.M

Hi Dw I'm creating a program in Visual Basic 5.0 and what I want is to listen to keyboard keys the main form that I will be using to listen to the keys will be hidden so that is my problem to detect the keys while the form is hidden. …

Member Avatar for Mr.M
0
375

The End.