20,285 Topics

Member Avatar for
Member Avatar for altjen

Hi. Im having some problems to understand how to make search in SQL database actually I use this code DV.RowFilter = String.Format("name Like '%{0}%'", TextBox1.Text) DataGridView1.DataSource = DV and it work, but Im trying to show in a datagrid view results from the table but searched by 2 or more …

Member Avatar for Reverend Jim
0
196
Member Avatar for eyob_1

Have 2 textbox and one button make language of the 2nd textbox the language you wanted to convert it into from the font property then wriet this code to the button (textbox2.text=textbox1.text) enjoy it

Member Avatar for Mr.M
0
53
Member Avatar for altjen

Hi experts. I'm in need for your help. is it able to create a software who can check if a text file contain a text for example Words.txt has few words inside like: "work, job, play, study, go, house" and at Words1.txt have words like: " People, fun, jokes" can …

Member Avatar for altjen
0
224
Member Avatar for Papa_Don

Hi Group, I'm getting the following error message as soon as the application opens: ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at IPSDataUpdate.Main.RunComplexProperties() at IPSDataUpdate.Main.Main_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at …

Member Avatar for Papa_Don
0
507
Member Avatar for Jeysmart

Please am trying to create a practical cbt software please am confuse on how to write the question and answer any other way

Member Avatar for Reverend Jim
0
91
Member Avatar for Lee21

[QUOTE] How will i close all the forms within my main form? Everytime I click on the menus of my main form,I'm setting my main form as MDI-Parent form and then loading a new form as it it is the child form if I'm not mistaken. I have a log-out …

Member Avatar for Mike_25
0
6K
Member Avatar for savedlema

Hi all! I'm asking this after reading so many articles on the internet about hashing & salting, and the entire theme of securing database connection settings. I'm making an application that uses mysql database. Currently, the connection settings are stored as plain text in the Win Registry. Since this is …

Member Avatar for ryantroop
0
1K
Member Avatar for Saboor880

Hello To All! I have started learning Vb.net. I am using Visual Studio Express 2012. While making a console application, when I write "System.Windows.Forms" to use message box, then compiler gives an error: Class " System.Windows.Forms" is not defined. My compiler only supports two methods of this class 1-)Systems.Windows.Markup 2-) …

Member Avatar for DaveAmour
0
2K
Member Avatar for weekendrockstar

I've searched all over the Net and here on DL but I can seem to find only information on passing a single argument when opening a new form. When I attempt to send more than one I get the "Too many arguments to 'Public Sub New()'" error. I am trying …

Member Avatar for weekendrockstar
0
1K
Member Avatar for altjen

Im trying to make a antivirus prototype for my friend. after some research on youtoobe and google I found this code. have been searching for a while now but most of them are "fake". any suggestion? I want to make a simple and working anti virus software in Heuristic method

Member Avatar for altjen
0
246
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
74
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
298
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
350
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
164
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
167
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
260
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
155
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
239
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
354
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
237
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
304
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
164
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
7K
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
234
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
122
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
155
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
327
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
976

The End.