20,285 Topics

Member Avatar for
Member Avatar for iPoor

I have a file download code in vb .net but when i try to download any file (.rar in this case) everything downloads properly but when i open the .rar file WinRAR shows "The archive is damaged!" but when i download the same file from IDM its perfect and no …

Member Avatar for iPoor
0
4K
Member Avatar for Emma Etigu

hi guys I need assistance with SQL insert statement to an access database. I want to insert values to a particular table if the text box value is less than 0. below is the sample code. dim value4 as integer if integer.try parse(textbox4.text) then if value4 <=0 then dim cmd …

Member Avatar for DaveAmour
0
294
Member Avatar for Emma Etigu

hi people how do I select a specific row in a data grid view to be updated. the row contains item number, item name and price. thanks

Member Avatar for Emma Etigu
0
334
Member Avatar for PrabuT

Hello I need some help. I'm trying to opening a file and sorting then displaying the results in a listbox. When I run the program I get the error "Index (zero based) must be greater thatn or equal to zero and less that the size of the argument list" Here …

Member Avatar for Santanu.Das
0
697
Member Avatar for toomutch

Hi, I have a dgv displaying records from an SQL database. On load, the dgv is filled, the dgv selection cleared and the 'action' buttons set to enabled=false. When the user selects a row (cellclick action) the 'action' buttons are enabled. When the action button is clicked the dgv is …

Member Avatar for Santanu.Das
0
180
Member Avatar for LukeJWhitworth

Hello Guys, Simlple problem and I am hoping for a simple solution! My software saves all my randomly generated product keys to a text file. It saves this using the code below. My.Computer.FileSystem.WriteAllText(My.Computer.FileSystem.SpecialDirectories.MyDocuments & "\TempValuesForAKG.txt", PTB.Text, True) That works fine. I then try to use the Print Document control and …

Member Avatar for Santanu.Das
0
810
Member Avatar for altjen

Hi members I need some help over here. trying to make a software who send free msg to phone (messages of type like "you have 2 days left for payments) I made a similar website like this with www.send-free-texts.com (on vb) but it need a verification with captcha code. I …

Member Avatar for Mr.M
0
133
Member Avatar for marvin_1

hi everyone i have 5 labels 1 textbox 1 button 1 timer and database im actually making some sort of a timer .. i managed to put the value of the 5 labels (which is my timer) to the textbox. now id like to put and save the value of …

Member Avatar for Reverend Jim
0
124
Member Avatar for Michael_35

Hi All,I am coidng a movie database using vb.ebt (VS 2013) and using access (2013) I am trying to code my save button, but every time i run the program and try to save my data I get the below error An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll …

Member Avatar for Reverend Jim
0
357
Member Avatar for wilsonchama

Hi guys, I am a new member to the group. I am trying to build an inventory management application using VB.net 2008 express edtion and MS access 2007. I have managed to load the Combo box (cmID) on form(frmSales) with product Ids from tblProducts. I have two textboxes on the …

Member Avatar for wilsonchama
0
208
Member Avatar for gordon_1

This is the program I need to re-write and I dont understand. Sub Main() Dim array(24) As Double, i As Long array(0) = 1 For i = 1 To 24 array(i) = 2 * array(i - 1) Next i Call DisplayArray(array) End Sub Sub DisplayArray(ByVal array() As Double) Dim i …

Member Avatar for Reverend Jim
0
135
Member Avatar for altjen

how to fix [DBNETLIB] ConnectionOpen(Connect()).]SQL server http://i.gyazo.com/3e7e693141fd157da860907218fbb1a0.png this is UID and password of my SQL server I try to insert but this is the problem I get http://i.gyazo.com/c903e03c7d697b7b8c2c80933e99e376.png and this is at my other pc so had to make pics with my phone. any idea how to fix this?

Member Avatar for altjen
0
574
Member Avatar for 2384443

Hi.. I'm doing a project on Vb.net 2008.. There's a textbox called "Price" which requires validation.. The validation is that the textbox should not enter dot, special characters or alphabets as the first character.. The Dot should only be active after the number which is entered on the textbox.. for …

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

Hi, how to avoid the WebBrowser in Vb.net to go at specific website, then return to specific link Here the code I try, but got an error,expression does not produce value Here the code Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If WebBrowser1.Navigate("http://www.youtube.com") Then WebBrowser1.Navigate("http://www.google.com") …

Member Avatar for Mr.M
0
213
Member Avatar for Senthil_6

Plz anyone help me .... I created the database in access with fields type is date/time and text... But I try to get the value from datetimepicker and combobox.. My struggling code was cmd=new oledbcommand(insert into sample (doj,designation)values(" & datetimepicker1.value &","&combobox1.text&")",con) note:- database connection is successfull!...

Member Avatar for djjeavons
0
198
Member Avatar for sanjeewa.abeywardana

I have gone through "How Do I?" Videos for Visual C# but it is all about wpf , and the link is already expired Hoping for some help on this topic where user can choice columns to search in the lookup and when user pick one it search according to …

Member Avatar for sanjeewa.abeywardana
0
245
Member Avatar for Yaw_1

Imports System.Data Imports System.Data.OleDb Public Class Chemical_Details Dim MyConnection As OleDbConnection Dim MyDataAdapter As OleDbDataAdapter Dim MyCommandBuilder As OleDbCommandBuilder Dim MyDataTableChemical As DataTable Dim MyDataSet As DataSet Private Sub Chemical_Details_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MyConnection = New OleDbConnection 'Creates OleDB connection MyConnection.ConnectionString = "Provider= Microsoft.ace.oledb.12.0;Data …

Member Avatar for Yaw_1
0
185
Member Avatar for Yaw_1

I have been trying fruitlessly to populate my datagridview using multiple tables from my ms access database. My code is shown below. Thanks in advance for your help. Imports System.Data.OleDb Public Class Stock_Check_Options Dim MyConnection As OleDbConnection Dim MyDataAdapter As OleDbDataAdapter Dim MyDataAdapter1 As OleDbDataAdapter Dim MyDataSet As DataSet Dim …

Member Avatar for Yaw_1
0
337
Member Avatar for altjen

Hi Daniweb users :) Im having a problem over here :( Im developing a application on VB and currently using MySQL to connect to a online database but Microsoft(on Albania) wanted us to change from SQL to MySQL data. I HAVE ABSOLUTELY NO IDEA WHAT THE SYNTAX OF CONNECTING SHOULD …

Member Avatar for DaveAmour
0
538
Member Avatar for Charisse_1

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Call validation() Select Case valid Case False Exit Sub End Select Try Dim FileSize As UInteger Dim mstream As New System.IO.MemoryStream PictureBox1.Image.Save(mstream, System.Drawing.Imaging.ImageFormat.Jpeg) Dim arrImage() As Byte = mstream.GetBuffer() FileSize = mstream.Length mstream.Close() sqlString = "INSERT INTO tbladminaccount(accname,accposition,accage,accaddress,accpassword,accgender,Acc_pix) …

Member Avatar for DaveAmour
0
161
Member Avatar for hightechka

i am new in VB.net (about 3 weeks now) and i am using visual studio 2008 to make a reservation and billing program project. i want to change the background color of the row having the entry which time (Day Swimming 8am-5pm, night swimming 4pm-11pm and overnight swimming 9pm-11pm) will …

Member Avatar for hightechka
0
435
Member Avatar for jonathan.paul.7543

Hi, I am working on Hotel Application and I need your help on how to prevent booking a room twice. That is, if a room is booked for 3 days(24/2/2015(18.00) to 27/2/2015(7.00)), no room can be booked withing that period. Am developing the project with Asp.Net(VB) ans Sql Database. Thanks …

Member Avatar for David_50
0
1K
Member Avatar for marvin_1

I need some help .. i want to disable alt+tab .. and other shortcut keys to prevent the user from closing it unless you logout of the program..

Member Avatar for djjeavons
0
620
Member Avatar for Engr_1

How to delete DataGridView Row after Selecting Row from Database Using Delete Button

Member Avatar for yesi_1
0
173
Member Avatar for Chris_29

I have a few picture in My.Resources in Vb.Net and I need a next and previous button to change the image . someone help me :)

Member Avatar for Mr.M
0
246
Member Avatar for eddy Omatco
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 Diomarch

Server Error in 'Performance' Application. ExecuteReader: Connection property has not been initialized. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: ExecuteReader: Connection property has …

Member Avatar for Reverend Jim
0
185
Member Avatar for Amiet_1

Hey guys, I have Huawei Modem, which has predloaded SMS send/receive facility. I want to develope a same application which could send/receive messeges. Can anyone tell me where should i start for it. I want to integrate this SMS facility in my application.

Member Avatar for Logn
0
704
Member Avatar for manikandan22
Member Avatar for Doogledude123
0
4K

The End.