20,285 Topics

Member Avatar for
Member Avatar for mitchfizz05

Hi everyone. I am making an application that you need to sign up and login to. I want to use an online SQL database to store the login information. I know how to use a local SQL database, but I want to use an online database. Please help :) BTW, …

Member Avatar for mitchfizz05
0
187
Member Avatar for digitalsindh

How to Retrive/select or Get underlined/Formated Text on Click event from rich text box in vb.net... it should be just like Hyperlink but programmed with click event on it, not for Web page but for local cause. i have the coding but its only for single word, i need for …

0
105
Member Avatar for poojavijay
Member Avatar for cheiL

Hi there I have a few lines of code that I would like to ammend but have been unsuccessful in doing so. I have posted in a few other forums with no luck, hopefully somebody here can help me out. I have a delete statement which I have been asked …

Member Avatar for cheiL
0
137
Member Avatar for reds8

This are my tables: tblData **numIndex** | **num** | **cost** tblPrize **numIndex** | **num** | **Prize** and the result I want is : tblData.num=tblPrize.num then sum the cost in tblData example of the table view i want: **tblData.Num** | **SUM(tblData.cost)** | **tblPrize.prize**

Member Avatar for poojavb
0
157
Member Avatar for ZainabJuma

**I have a problem in the Trainee Id Iwant the ID to be like that 20120001 the year should be change if we are in new year and start with a new count i alrady connect the vb with a database how can i do that? **

Member Avatar for poojavb
0
99
Member Avatar for poojavb

Hello Friends, I need idea for my below process... I have one medical prescription form in my table....which will generate bill...and a receipt number will be generated in crystal reports.... If suppose a bill is generated for a particular transaction and after suppose few days i need a duplicate bill....how …

Member Avatar for poojavb
0
100
Member Avatar for moe0

I have an assignment which is asking me to complate some Mastermind game code I'm gven most of the code and there is one sub that i do not understand what it asking for it says Private Function createColourString(ByVal gb As GroupBox) As String ' ' For the groupbox gb, …

Member Avatar for gusano79
0
195
Member Avatar for tom12

Hey guys i'm new to visual basic and im trying to figure out where im going wrong. if you have any tip or a point in the right direction. i would be gratful thank you Public Class frmMain Public counter As Integer = 0 Public card1 As Integer Public card2 …

Member Avatar for Begginnerdev
0
80
Member Avatar for zo0oda

hello, I'm creating e-menu system for a restuarent... It has 3 users... and in staff user i want , when the staff see orders of the custmer from StoreOrders1 table which will be displayed in DataGrideView ... i want a botton to move the records of StoreOrders1 to ReceiveOrder table.. …

Member Avatar for adam_k
0
1K
Member Avatar for darthswift00

Want to know how to create a exception handler if say you have a form that has a foregin key in it, how does one put an exception handler to prevent the operation of this producing a VB.NET Error when i want to delete a record?

Member Avatar for adam_k
0
89
Member Avatar for Joshua Kidd

Hello, I have a listbox in my program and I want the user to be able to remove all Listbox Items with the click of a button. I Figured this would work, [CODE]Listbox1.Text = ""[/CODE] But I Guess that doesn't work. Any Help would be awesome:)

Member Avatar for mhosny
0
256
Member Avatar for Kappash

Hello, I'm trying to make a sub that will highlight the text of a RTB that is passed. Here is the code: Private Sub SearchAll(ByVal selectedRichTextBox As RichTextBox) Dim startPos As Int16 = 0 Dim matchPos As Integer = selectedRichTextBox.Find(TextBoxSearchFor.Text, startPos, selectedRichTextBox.Text.Length, RichTextBoxFinds.None) selectedRichTextBox.SelectionBackColor = Color.Yellow While matchPos >= 0 …

Member Avatar for Kappash
0
82
Member Avatar for Sevyt

I need this for 2 different changes. ON one form i got a week calendar, the other a month calendar. Was hoping to add 2 buttons previous & next. To scroll back in time x days, or x days forward. And similar for the months, but instead of days months. …

Member Avatar for Sevyt
0
98
Member Avatar for Begginnerdev

Hello my fellow Danniwebbers, I have yet another question for you to ponder. I have two custom action listers. One that handles Mouse.Click and one that handles Mouse.MouseDown. My question to you is, can I delay the mouse down event so that it does not intefere with the code of …

Member Avatar for Begginnerdev
0
5K
Member Avatar for eawedat

hey all, I have this code in VB.NET : Having: 1 TextBox 1 Button with this code: Public Class Form1 Dim m As String() Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click m = TextBox1.Text.Split(Environment.NewLine) For Each k As String In m 'MessageBox.Show(k) WebBrowser1.Navigate(k) Next End …

Member Avatar for Oxiegen
0
245
Member Avatar for sam ferns

The company needs a system to calculate the charges for each load that they deliver. The loads consist of up to 10 different types of goods. Each item has an associated delivery charge. The system will allow the user to select up to 10 lines of goods and a quantity …

Member Avatar for Mitja Bonca
0
86
Member Avatar for Eternal Newbie

Could you guys show me how to create a progess bar which discribes the process of a SQL procedure?

Member Avatar for debasisdas
0
86
Member Avatar for bravo659

I been working on this login page for months, and to no avail can have the program working. I am using the MSAccess Database and using VB.Net. This is a windows application creating a login page. The following is the code that I been working on: Dim mypath = Application.StartupPath …

Member Avatar for renzlo
0
1K
Member Avatar for AndyPants

Ever scince I saved my project yesterday, when I try to debug my application I get this: > An error occurred creating the form. See Exception.InnerException for details. The error is: Value '0' is not a valid value for Interval. Interval must be greater than 0. > Parameter name: Interval …

Member Avatar for GeekByChoiCe
0
689
Member Avatar for Eternal Newbie

What I tried was using `My.Computer.Network.DownloadFile()`, and created a shared folder in the other computer to do downloading stuff. But, in fact I didn't know how to fill the path to the other computer, the error was: *"...path not supported..."* How about this: ServerName1 = cmbServerName1.Text.Trim() database = cmbDataBase1.Text If …

Member Avatar for Eternal Newbie
0
315
Member Avatar for guru_iyer

I am new to VB programming. I recently copied a code from internet, which gives me an error of Object Reference Not Set To Instance Of Object, NULL POINTER EXCEPTION. I couldn't understand where the problem lies..!! Help.. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click …

Member Avatar for Reverend Jim
0
199
Member Avatar for kindofsudden

Okay, I am 50% toward having this figured out, but there are a couple of concepts that are new to me here and it is throwing me for a loop. I am reading an Excel file into VB.NET. There are 4 columns containing dollar figures of varying amounts. Here is …

Member Avatar for kindofsudden
0
918
Member Avatar for dilse4sk

hi every 1/ . i am having problem in sql query. if i double click on the dataset. i am not sure which statement to write to restrict the user so that he/she cannot enter the date in the past. i have droped the data set on the form and …

Member Avatar for dilse4sk
0
277
Member Avatar for dilse4sk

hi every one . when my form gets load it automatically fills th data using these two line Me.CustomerTableAdapter.Fill(Me.NewBookingDataSet1.Customer) "Customer info is displayed in text boxes on same form" Me.BookingTableAdapter.Fill(Me.NewBookingDataSet1.Booking) "Booking is displayed in data gridview" when i use the the above two lines as comment then i get the …

Member Avatar for dilse4sk
0
187
Member Avatar for Mike Bishop

I am pulling three coloums of data from a SQL view into my data drid Day,TimeIn,Timeout I want to colour my datagrid rows red if timeout is null and green if both the timein, timeout have data in them. here is my code so far, but it aint working Public …

Member Avatar for Mike Bishop
0
120
Member Avatar for bigzos

Hey guys,, i am working on an application titled Asset Management for my b.tech major project.The company under which i am pursuing it only asked me to include sumitting asset information,,retrieving information and generating reports and editing of data with admin login.I made all that but my college faculty is …

Member Avatar for bigzos
0
89
Member Avatar for roshan_shetty

friends............. i am doing my project in vb.net 2008 when i minimise my running windows application its icon must be minimised and fit in system tray......... and when we doing some other works in our system(such as video playing or other working) my windows application must works in background hw …

Member Avatar for anuj6928
0
95
Member Avatar for praveenrko

i want a code for registration form in vb.net and my project name is book bank system can anyone please post the snippet for me am using sqlserver2005 as backend

Member Avatar for Mitja Bonca
0
365
Member Avatar for Farhan_B

In my datagrid my sql statement uses a have clause to get set information and i am having countless errors My code is as shown below, were am i going wrong ` con.Open() cmd.Connection = con Dim da As New SqlDataAdapter("SELECT MONTH(Head.SalesDate) AS Month, Detail.ProductID, Detail.Qty, SUM (Detail.Qty) AS TotalSold, …

Member Avatar for M.Waqas Aslam
0
208
Member Avatar for poojavb

Hello Friends, I need one help I have a datetimepicker control, a combobox with day i.e. Sunday, Monday and so on.... The datetimepicker min date will be todays date and max date will be more 7 days...i.e. a week... so the days dont get repeated..means sunday will come only one …

0
84
Member Avatar for cs_tx_usa

Hi guys, I would appreciate it if you could help me reading a 16bit binary file (tiff image). Since the file is in 16bit, pixels of the file stores values ranging from 1200 to 4500. I want to retrieve those values. I used ReadUInt16 since the file has a 2byte …

Member Avatar for Reverend Jim
0
454
Member Avatar for darthswift00

Hi guys, Having abit of trouble with inserting values that i have in my form into my sql database. Basically it supposed to calculate a customer who borrowed a DVD or CD. I select the date that the customer brings the returned item by selecting a datepicker. The calculation works …

Member Avatar for darthswift00
0
294
Member Avatar for tukky

Hey guys, Im currently doing another small project where i have to create a web broswer. Ive got everything completed except one function that im quite confused. I have a listbox that stores a history of the websites that have been visited. I was wondering how i would, If the …

Member Avatar for Begginnerdev
0
144
Member Avatar for networkmancer

I know how to create textbox dynamically but the problem now is that I want it below my previous created textbox Dim textbox1 As New TextBox textbox1.Name = "Textbox1" textbox1.Bounds = New Rectangle(e.Location, New Size(100, 100)) Me.Controls.Add(textbox1)

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

Hi i am trying to do a transaction. It's basically were a customer makes a booking of a particular ablum(dvd or cd). In my database i have a table called Transaction with the following colomun names: Trasaction ID , MemberID, AlbumID , issueDate and ReturnDate. Here is were the problem …

Member Avatar for darthswift00
0
143
Member Avatar for dilse4sk

Hi every one . Can you please tell me how i can change the text type field of datagridview to datetime pikcer or calender. if i click on edit columns in datagridview i can only see textbox column, combox, and button i want to change the date field in datagridview …

Member Avatar for dilse4sk
0
721
Member Avatar for dilse4sk

hi every one i need to send data gridview values as email body but i dont know how to do it. Could any one help. The values which i want to send are location,date,and price. here is my code Dim mail As New MailMessage mail.Subject = "hi" mail.To.Add("to@hotmail.com") mail.From = …

Member Avatar for dilse4sk
0
2K
Member Avatar for gozo12

Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged If ListBox1.SelectedItem IsNot Nothing Then Timer1.Enabled = False Else Timer1.Enabled = True End If End Sub

Member Avatar for Jx_Man
0
141
Member Avatar for dilse4sk

hi every one. I need some ideas for the calculation. I have a form where admin can add the product. field names are Product_id,Name,Description,Quantity,Unit_price now i have an other form which is used for buying products. What i want to do is when customer chooses the product, as soon as …

Member Avatar for P.manidas
0
973
Member Avatar for collin_ola

Hi, I was wondering if it is possible to send an e-mail through VB.NET, and if so, how it is done? Thanks Collin

Member Avatar for Jx_Man
0
118
Member Avatar for Gus_19

I'm a noob to the .net world and I was wondering how I would go about creating a rich text box by triggering a click event button. I am trying to shrink the data currently in my form. One way of doing this would be to take away the two …

Member Avatar for Mitja Bonca
0
257
Member Avatar for networkmancer

How can I get items in listview? I know how to get the current item if selected but Im trying to put it in a loop where i need to get my three row items there. I have 3 columns and I want to get there items and insert it …

Member Avatar for Reverend Jim
0
157
Member Avatar for flywheeljack

I've been able to write a thread into my app which basically does a loop in the background perfroming detection for a device being added or removed. works great! i am trying to implement another thread to check for a file on the found device...but i still haven't figured out …

Member Avatar for flywheeljack
0
86
Member Avatar for flywheeljack

Hello, I am using XMLReader to look thru and XML file that I have. While I have been able to play around with it and get it to pull some of the information I want, I am wondering what commands to use to do what I really want. For example, …

Member Avatar for flywheeljack
0
562
Member Avatar for NavVet

OK, I'm new to VB.Net so forgive me if this was covered else where and my search foo was week. I am trying to read data from a text file which is updated regularly by another program. I only want to read the new data which will then be passed …

Member Avatar for Mitja Bonca
0
270
Member Avatar for Darkone

I am having a problem and that is I have buttons to read text to speech like play pause and stop I have created 4 buttons Play,Pause,Stop,Resume but now I dont want the Resume button, instead when I click on the pause button it should pause the speech and later …

Member Avatar for Begginnerdev
0
962
Member Avatar for miramiey

Hai, I am doing a registration system, and my system should have a report by using a bar/pie chart. How i want to create a bar chart with value generate from database. what component should i have to create those chart? im using visual studio 2008 and mysql query... Anyone …

Member Avatar for Begginnerdev
0
273
Member Avatar for vinnitro

Hi friends, I am a student of BScIT and I want a project which is to be done in VB.NET language. I surfed the internet but not found anything new... So, Is there anyone who can give me good suggestion??? & also help me give some objective i.e. what the …

Member Avatar for vinnitro
0
135
Member Avatar for miramiey

I have a problem to make a selection by using combo box(cbChoice). if I have 2 item [name], [age], [id_number]. After click SEARCH button, the data from database will display to textbox. this my code but its not work myCommand = New MySqlCommand("SELECT * FROM daftarpelajar WHERE " & cbChoice.Text …

Member Avatar for Begginnerdev
0
138

The End.