20,278 Topics

Member Avatar for
Member Avatar for batoolhussain

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 …

0
72
Member Avatar for junzz31

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 …

Member Avatar for DaveAmour
0
294
Member Avatar for nimz143

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 …

Member Avatar for nimz143
0
347
Member Avatar for nimz143

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 …

Member Avatar for nimz143
0
160
Member Avatar for Franklin_1

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 …

Member Avatar for Mr.M
0
161
Member Avatar for Irahmiki

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 …

Member Avatar for Reverend Jim
-3
259
Member Avatar for xmarker

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 …

Member Avatar for ddanbe
0
151
Member Avatar for nimz143

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 …

0
228
Member Avatar for nimz143

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 …

Member Avatar for nimz143
0
1K
Member Avatar for joshl_1995

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. …

Member Avatar for joshl_1995
0
336
Member Avatar for 404notfound

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 …

Member Avatar for 404notfound
0
236
Member Avatar for westsiderailway

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 …

Member Avatar for westsiderailway
0
296
Member Avatar for Sen_1

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 …

Member Avatar for David_50
0
163
Member Avatar for TnTinMN

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 …

Member Avatar for J.C. SolvoTerra
0
6K
Member Avatar for PM312

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 …

Member Avatar for PM312
0
2K
Member Avatar for Phillip_3

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

Member Avatar for ddanbe
-2
232
Member Avatar for altjen

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?

Member Avatar for mridul.ahuja
0
120
Member Avatar for kalpesh_1

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 …

Member Avatar for Reverend Jim
0
153
Member Avatar for pc20912

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 …

Member Avatar for mridul.ahuja
0
322
Member Avatar for SpeakerKeyboard

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 …

Member Avatar for SpeakerKeyboard
0
933
Member Avatar for toomutch

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 …

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

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 …

Member Avatar for Mr.M
0
227
Member Avatar for intes2010

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 …

Member Avatar for fabricedev
0
703
Member Avatar for jovillanuev

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 …

Member Avatar for jovillanueva
0
920
Member Avatar for _::suhanna::_

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...

Member Avatar for pratikb
0
19K
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
325
Member Avatar for wilsonchama

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, …

Member Avatar for wilsonchama
0
3K
Member Avatar for westsiderailway

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, …

Member Avatar for djjeavons
0
259
Member Avatar for weekendrockstar

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 …

Member Avatar for weekendrockstar
0
493
Member Avatar for naz1234

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 …

Member Avatar for Mr.M
0
954

The End.