12,425 Topics

Member Avatar for
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
142
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
64
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
331
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
67
Member Avatar for lorenzocalzaretti

Hi everybody, I'd like to know if there is a way to retrieve the id of a youtube video when it plays in a youtube xl page because on youtube xl the url is always "http://youtube.com/xl/" on any video. Thank you in advance.

Member Avatar for tinstaafl
0
268
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
303
Member Avatar for hueikar

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
92
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
136
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
248
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
130
Member Avatar for vonnoy

need help here guys! i want to open record from form1 and form1 composed of two listview namely listview1 and listview2 if i choose listview1 or listview2, form2 will appear and data will display in labels then if listview1 was selected then save it on table 1st_sem and listview2 on …

Member Avatar for AndreRet
0
103
Member Avatar for Krs13

Hi, I have an access database where in i have 3 separate fields for day, month and year which are comboboxes. I have an separate field where i need to combine these 3 fields into that single field(dd/mm/yyyy). can somebody help me on this please.

Member Avatar for rishif2
0
118
Member Avatar for joshl_1995
Member Avatar for joshl_1995
0
217
Member Avatar for sheena.sabado.5

Hello daniweb folks. I am here to ask some guidance, tips, suggestions and advices regarding the round robin scheduling algorithm. We are tasked to solve for the waiting time and turn around time of each process. They all have the same arrival time which is zero. here is my codes: …

Member Avatar for sheena.sabado.5
0
294
Member Avatar for t2nator

How can the following code be change so the children form move event is smoother? Dim isMouseDown As Integer Dim MyX, MyY As Integer Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown isMouseDown = 1 MyX = e.X : MyY = e.Y 'Me.Cursor = Cursors.SizeAll End …

Member Avatar for t2nator
0
113
Member Avatar for vonnoy

i have search box,listview and 3 labelcaption namely: fname,lname and total. my database name is students and table name attendance. if i search particular student and display in listview, once i click the name on the listview automatically display on the labels, and display total number of records of that …

Member Avatar for AndreRet
0
2K
Member Avatar for MaxRevenge

Yo. I am making a project in vb6. The backend is MS Access 2003. Data is entered into the form and stored in the database table. The code: With cnct .BeginTrans .Execute "INSERT INTO Employee_Info (EI_CNIC, EI_FirstName, EI_LastName, EI_Gender, EI_Birthdate, EI_Country, EI_Language, EI_MaritalStat, EI_Education, EI_Designation, EI_Salary, EI_ResdAddress, EI_ResdContact, EI_Cellphone, EI_EmailID, …

Member Avatar for AndreRet
0
721
Member Avatar for opera-rotas
Member Avatar for squigworm

Hello, I am trying to run a simple loop and am having trouble. I would like for this loop to run through the data in an excel spreadhseet and analize column "p". Upon analisys, the macro will create a new worksheet each time it encounters a new digit in coulmn …

Member Avatar for demon916
0
324
Member Avatar for aliyahkusnan

excuseme :) sorry I have some problem here, I make a simple paint using vb 6.0 I already can save the image that I load, but something like brush and pencil that I draw in the image can't include :( after I save and open it, it just the image …

Member Avatar for Jeff-Bennett
0
2K
Member Avatar for sheena.sabado.5

Private Sub cmdSimulate_Click() Dim comm As CommandButton Dim zi As Long, ki As Long Dim shorts(10) As Integer, count As Integer Dim temps As Integer, z As Integer, n As Integer, m As Integer, i As Integer If typeSched = 1 Then temps = 0 btnP(0).Width = Val(txtBT(0).Text) * 100 …

Member Avatar for sheena.sabado.5
0
647
Member Avatar for mark.scutt.7

Hiya, I have 10 people and need to assign 10 random numbers between 1 and 10 for random seating purposes each time.My code so far is below but assigns sometimes the same numbers. How can I make it so that once a number is used it won't be produced for …

Member Avatar for AndreRet
0
937
Member Avatar for dan.ni.aiza

*It's my first time here but the way I see things around here is good * I'm a newbie in VB2010 so please don't judge me too much... HERE is my codes for INSERTING DATA but the problem is I don't know how to use it for SEARCHING Imports System.Data.SqlClient …

Member Avatar for Reverend Jim
0
251
Member Avatar for brendalyn.quiba

hi i cant seem to make the search code for my program work . . how is this so . .? this is my code: Private Sub cmdSearch_Click() With Adodc1 .RecordSource = "Select * from PATIENT where Last Name='" & txtSearch.Text & "'" If .Recordset.RecordCount = 0 Then MsgBox "No …

Member Avatar for AndreRet
0
131
Member Avatar for rishif2

hello experts . . . i've designed a form (two textboxes and one commandbutton) i wanna display id and user(fields of the table). and i display id and user on the basis of the id(inputted through textbox1).And for that i've written following code within command button's click event Private Sub …

Member Avatar for rishif2
0
152
Member Avatar for arasten

I made a program that makes someone think his desktop cleaned up, its just for fun and make me learn a littel bit of codes because i'm still a beginner in programming i'm 16 years old in high school grade 11 so i wanna learn more codes because at school …

Member Avatar for pritaeas
0
5K
Member Avatar for learningcoding

I am making a visual basic project and using MS Sql database as datasource. Now my problem is if I will use the project's .exe file on any other machine which has MS Sql already installed, then will the application will start using the database on its own or do …

Member Avatar for pritaeas
0
173
Member Avatar for Bile

-->>Hello, I hope I can get help on this its like this... -->>I have an application that allows a User to brows files in a Computer... -->>On My point of interest Zipped files,that's My filtering Criteria... -->>When the File wiht .zip is found it is displayed on the Textbox very …

Member Avatar for AndreRet
0
139
Member Avatar for vonnoy

i have my two database namely: "data1st.mdb" and "data2nd.mdb", then my combobox items are "1st_semester","2nd_semester". if i chose combobox "1st_semester" then all values inputed from the txtbox will directly save to "data1st.mdb", then 2nd_semester combo save to data2nd.mdb.i got no idea with this. thanks a lot. please help me with …

Member Avatar for vonnoy
0
111
Member Avatar for major_lost

Is there a way to get the hard drive letter with VB 4.0? I have an older program written in this language that I am attempting to modify and need to get the hard drive letter to update it. Thanks for your help. major_lost

Member Avatar for TnTinMN
0
393
Member Avatar for gsatya

Hi friends, I need to know how the auto responding softwares work. for example if I send keyword IBAL to 567666 I will be receiving my current bank balance through sms. Is it possible to develop such software using vb6? if so I need basics to communicate withe GSM/CDMA modem/Phone …

0
149
Member Avatar for Jake.20

Guys i need help or tips about allowing only one dot in calculator and i'm using button. could you guys provide me some tips on how to do it? Thank you in advance.

Member Avatar for Jake.20
0
291
Member Avatar for keth
Member Avatar for peter_budo
0
178
Member Avatar for sarman.boyslo

hi all, newbie wanna ask... :) if i have a button, normally (before it clicked) the button is just like usual, but if i clicked it, in the button appear dotted line, how if i want to before and after he button clicked without dotted line? please see the pict, …

Member Avatar for sarman.boyslo
0
280
Member Avatar for 2mhzbrain

i connected and migrated all the things from access to mySQL (online) using free hosting on the net, when i make my simple program to .exe, then run it on different computer, its asking for some OCX and dll files... why is that happening? my .exe program run well on …

Member Avatar for 2mhzbrain
0
278
Member Avatar for rishif2

hello experts `rec.Open "select * from tbl where id="& inputted, con, 2, 3` i used the above code to find records and now the real problem occures when a value is inputted and that doesn't exist in the database so in such a case i wanna display en error message …

Member Avatar for AndreRet
0
136
Member Avatar for vonnoy

i search record from the present form then i want to load it in another form for editing and saving the record. here's my code but its always error. With list_stud .label1.caption = ID_no .label2.caption = lvStudentInfo.SelectedItem.SubItems(1) .label3.caption = lvStudentInfo.SelectedItem.SubItems(2) .label4.caption = lvStudentInfo.SelectedItem.SubItems(3) .label5.caption = lvStudentInfo.SelectedItem.SubItems(4) .label6.caption = lvStudentInfo.SelectedItem.SubItems(5) .Show …

Member Avatar for tinstaafl
0
183
Member Avatar for shanaka895

Hi... I want to create a project to use in my cd's.So I want to create a button, when I press it should open a new window and browes the cd.Please help me guys... thank you soooooooooo much..

Member Avatar for AndreRet
0
190
Member Avatar for viktoriaong

need help mybe this site can help me with my vb6 class.., i'm trying my best in our lab.class but still i'm having hard time with the codes and logic of the problem that our instructor give us. i don't know why but in our java class and object-oriented class …

Member Avatar for AndreRet
0
126
Member Avatar for vonnoy

can anyone help how to save using this code below.? i used adodc recordset with adodc1 .ConnectionString = connectdb .RecordSource = "Select * from 'tablename'" .Refresh 'dont know the next action end with 'what does this code mean?

Member Avatar for vonnoy
0
222
Member Avatar for firebird102085

Hi Everyone, I am just starting out so I am sorry for this basic of a question. I have developed the code below to run a very simple program, but, each time the program runs the console window comes up during the program run but closes itself automatically. It should …

Member Avatar for Suzie999
0
333
Member Avatar for rishif2

how to make a mdiform fixed size(can't be resized or maximize) as there is no property like border style in mdi.

Member Avatar for AndreRet
0
140
Member Avatar for QUADCOREDELUX

I Have these Programming Project In School Using Visual Basic 2005 Express, we were assigned to do a First Come First Serve Simulator however it's just my Second Year in College and I'm No good in Programming cause I'm not majoring in IT.. Any one can help me on how …

Member Avatar for Reverend Jim
0
502
Member Avatar for t2nator

I'm having trouble figuring out how to fill a dynamic array function and then print it on declaration. Here is the function: Public Function SQLConductGetFields(InCommand As Object) As String() Dim ConnectionA As New MySqlConnection(My.Application.sqlconnect) Dim command As New MySqlCommand() ConnectionA.Open() command.Connection = ConnectionA Dim reader As MySqlDataReader command.CommandText = InCommand …

Member Avatar for Begginnerdev
0
205
Member Avatar for silversurf

Hello, As I am building a pos and inventory software in vb 6.0 with Ms-Access as database, I am building the face of the software where I have one MDImain form with toolbar and menus and related some mdichild form holding different informations (I have attached the image). ![main2](/attachments/large/3/main2.JPG "main2") …

Member Avatar for silversurf
0
445
Member Avatar for dipankar_pr

1. A access database contain one table PhBook with fields First name, Last Name, Mobile Number 2. Few record already exist in PhBook table 3. Mobile Number is consider as unique and appears in database once. 4. First name and last name may duplicate. 5. One excel contains few records …

0
80
Member Avatar for romz

hi everyone. I want to delay the click event in a vsFlexgrid so that the double click event will run 1st. I used a timer for the delay in the click event and managed to get the value of the double click speed in the windows library for the timer …

Member Avatar for romz
0
1K
Member Avatar for docgrid

Hi, i want to calculate elasped time in Mintues excluding after 6pm and the weekends. for instance i have a start time on 2013-01-11 2:37:20 PM and need to calculate the time difference with repect to current time(NOW) in minutes by satisfying above 2 conditions. i've been trying to do …

Member Avatar for tinstaafl
0
359

The End.