20,278 Topics
![]() | |
hi everyone. I have question, I have project I write in vb.net 2010, I want to translate this code to asp.net with vb but I don't know how and I try to learn the asp.net but my project is about image and the books that try to learn it talk … | |
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click If Me.dgvData.Rows.Count > 0 Then If Me.dgvData.SelectedRows.Count > 0 Then Dim intPName As Integer = Me.dgvData.SelectedRows(0).Cells("Name").Value If Not cnn.State = ConnectionState.Open Then cnn.Open() End If Dim cmd As New OleDb.OleDbCommand cmd.Connection = cnn cmd.CommandText = "DELETE FROM POS … | |
i want to make an application, where user can upload their images and display it in Image control without physically saving it in a folder on disk. after done build the cone, an error show on this line. Dim base64String As String = Convert.ToBase64String(bytes, 0, bytes.Length) Error show on the … | |
Hi! I'm using Microsoft Visual Studio 2008, Microsoft SQL Server Management Studio. I need help. I cant figure out this if else statement for this condition: ///to check condition either the way ID exist in database ///if not exist then way ID can be delete ///if exist, message box appear … | |
I've got a problem on Visual Basic code. Never used it, and I'm supposed to edit this code below. I need to grey out the fields that have been transferred to the first page from pages (1,2,3) on pages 1,2,3. So after a field is transferred to page one, it … | |
The question sounds like this Permata store is a stationery store. It offers discount for every purchase as stated below. Write a PROGRAM THAT CAN DISPLAY THE DISCOUNT OFFER, ACTUAL price, and price after discount. -Amount spent Entittled discount 50-100 3% More than 100-300 10% More than 300 15% Can … | |
I have an array of student names i.e names(9) and student marks i.e marks(9) as double. I have a text file containing names and corresponding marks like this john,30.5 Mary,40.1 Holli,50.9 I want to read the text file using StreamReader object and then extract each student name and mark and … | |
Hi all :) Before i'm starting futher more about my problem. lets me tell a short description about my program. user will choose path ID (retrieve all this data from table TPATH of database SDO) that they want to delete. before the path ID would be delete, it will compare … | |
Hi all. As mention on the title above, i got an error `Fill: SelectCommand.Connection property has not been initialized` Anyone here have any idea or suggestion on how to solve this error? My code (.aspx.vb) for this program Protected Sub btnDelete_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnDelete.Click … | |
Hello Daniweb Community, I was wondering if there is a way to replace words from a listbox. So at the moment I've got a listbox with a couple of strings to be replaced in the textbox, however single line listbox items work but when I add a multi-lined item eg. … | |
I've been sitting here staring at this code for a day now, and am quite ready to light my computer on fire and throw it into oncoming traffic. The error I recieve is: System.Data.OleDbException Syntax error in INSERT INTO statement. I think everything is spelled correctly. I'm expanding on a … | |
![]() | Hi Everyone. this is the last part of my function Case "December" If cbMonthly.SelectedItem = "December" Then Dim DecStart As String = "-12-01" Dim DecFin As String = "-01-01" M12S = String.Concat(Year, DecStart) M12F = String.Concat(Year, DecFin) End If End Select Dim Places As New List(Of String) Places.Add(M12S) Places.Add(M12F) Return … ![]() |
hi! i have an application which will filter my access db for expiring dates and it will print using crystal report. the expiry date format on my database is as short text. so far this is my code. it prints the records but only when i choose the exact dates.i … | |
I have just seen a resurrected thread about issues with loading images to a PictureBox and the inability to delete the file while the program is running. There was no clear explaination of the problem, only suggested hacks and apparent frustration. So I thought I would offer this explanation from … | |
I am trying to update Varbinary(Max) column data with Null value. But unable to do so. Error "**Implicit conversion from data type varchar to varbinary(max) is not allowed. Use the CONVERT function to run this query.**" my code Private Sub ButRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButRemove.Click … | |
how do DESIGN A PROGRAM THAT CAN DISPLAY THE DISCOUNT ALLOCATED TO A CUSTOMER AND THE TOTAL PRICE TO BE PAID AFTER DEDUCTING THE DISCOUNT.TOTAL PRICE ARRIVED AT AFTER MULTIPLYING THE QUANTITY BY THE UNIT PRICE | |
Hi DW Im trying to make a webpage to microsoft word converter. Is a little project Im trying to finish. Started time ago, found it now but dont know how to do it. can you help me? | |
Above code works Perfectly for single textbox, Thanks for this code. but If in the form there are many textbox and i want to use same code for all, according to this code we have to create may procedure this is not goodd, so how can i use same code … | |
I created project, If It Run from Vb.Net program its works fine, Then Create "Setup" Files and Installed it, When Run "Exe" file, there is error like this, From my Project I want to read this file, (Text File) If I Install this Out of "Program Files" folder, then its … | |
Can anyone give me advice on how to attack this problem? I have files in a directory that are named in a convention dayMonthrandomstuff. I need to sort these files into folders based on month then date. So example, "15e23dr" would go into the "May" folder since "e" is the … | |
Hi, I have a menu strip with a dropdown in which the user can select (check/uncheck) from a list of 6 options. Slightly annoying feature is that after the user checks one item, the dropdown closes so they then have to click the menu to open the dropdown before they … | |
Hi. I was wondering creating a Artificial intelligent program. I know that all app wo do even simple tasks are AI. but I dont want a simle task app. I was wondering for much more. speech recognation, do simple tasks. and why not even speak to me back. (I know … | |
I am having problems with my program that is unable to fill-up and submit a website form. It only browses the website and stops there. I used Live Http Headers to retrieve the needed data for my program to auto fill-up the website. Here is my code: Dim postData As … | |
Hi Guys, I am using the following codes to connect to MS Access database using vb.net code. I am providing the file path name and directory. This codes work fine in my computer. How can I make this codes as dynamics connection that can run to another computer that no … | |
hi... im working with vb.net can u guys help me... can u guys give me some sample code how to add item and display item using combo box? please help me... thanks... | |
Hi Dw I'm having a problem here, I created this project and because of Access denial I was prompted to use the manifest to make my app run accordingly, but changing the manifest value from "asInvoker" to "requireAdministrator" helped solving that problem up to a point where I had to … | |
Hi Guys, I have a Microsoft Access database in which my VB.Net 2008 application is posting the data. It is an inventory management application. I have managed to accomplish a lot of things with your help. And Now, I have reached a point where all my ideas have been exhausted, … | |
![]() | Hello everyone, was looking to see what was availble in listview1.columns.add.... and found this ListView1.Columns.Add("ID", FontDialog, HorizontalAlignment.Center) how would i use this to change the font in listview columns.? the rest of the code... ListView1.Columns.Add("Weekday", 100, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Date", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Time", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Location", 60, HorizontalAlignment.Left) ListView1.Columns.Add("Pump", 50, … |
Hello, I am writing a small 'program' using MS Visual Studio 2013. I would like to read in a few tags from the ID3 headers of media for each file to be written to an XML file. I've used taglib and a few other ID3 libraries but I cannot use … | |
Hi, I have some value at column named "data". I need to scan the value at that column, if more than "2", then column named "1" will be "1 = data -2" Then at next row and still in current column named "data" , if more than "2", then column … |
The End.