800 Posted Topics

Member Avatar for TeaYou

Try this: Dim lstCourses As New List(Of Course) This will create a list, you can add and remove elements like this: lstCourses.Add(Courses1) lstCourses.Remove(Courses1)

Member Avatar for Begginnerdev
0
222
Member Avatar for paoi00

If you had a SMTP host on the network, you can just bounce the email off of it. (Assuming it is configured to allow it)

Member Avatar for Begginnerdev
0
200
Member Avatar for krutatA

Check your motherboard manual, simultanous beeps indicate something is wrong. Check the manual for POST beeps

Member Avatar for krutatA
0
168
Member Avatar for ms061210

The way I normally do this would be a dataset. Example: Dim con As New OleDbConnection(ConfigurationManager.ConnectionStrings("mysys.My.MySettings.ConnectionString").ConnectionString()) con.Open() Dim dat As New OleDbDataAdapter(New OleDbCommand("SELECT MAX(ID_SEQ) FROM dual", con)) Dim ds As New DataSet dat.Fill(ds, "Max") If ds.Tables("Max").Rows.Count > 0 Then Form4.TextBox1.Text = ds.Tables("Max").Rows(0).Item(0) End If

Member Avatar for Begginnerdev
0
182
Member Avatar for paoi00

[Here](http://msdn.microsoft.com/en-us/library/ms404294.aspx) is an article that explains how to use the PrintPreviewDialog object.

Member Avatar for Begginnerdev
0
62
Member Avatar for Nasirjan

If you are storing this data into a database (SQL, MySQL, Access) Execute an update statement: "UPDATE table SET username='" & txtUserName.Text & "', password='" & txtPassWord.Text & "',address='" & txtAddress.Text & "',city='" & txtCity.Text & "'" Or you can parameterize the query. "UPDATE table SET username=@username, password=@password,address=@address,city=@city" 'To enter …

Member Avatar for Begginnerdev
0
84
Member Avatar for jontennyeah

Alternately, if you are using WPF - You can download a [toolkit](http://wpftoolkit.codeplex.com/) that will allow you to create one using XAML. The article for declaring it can be found [here](http://wpftoolkit.codeplex.com/wikipage?title=MaskedTextBox&referringTitle=Home).

Member Avatar for G_Waddell
0
434
Member Avatar for HibaPro

My SQL is not the best, but you can do a select/insert like the following: "INSERT INTO table2 (BOQSectionsAndParts_ID, BOQSection) SELECT BOQSectionsAndParts_ID, BOQSection FROM db.table1 WHERE BOQSectionsAndParts_ID='" & ComboBox1.text & "'"

Member Avatar for G_Waddell
0
221
Member Avatar for ahmedyakson
Member Avatar for Dili1234
0
162
Member Avatar for jontennyeah

Open the Project Designer (My Project) From the Application Tab Set the Startup form by selected the form from the drop down.

Member Avatar for jontennyeah
0
182
Member Avatar for paoi00

There are two ways of doing this. You can save a path to the image OR You can save the image into the database (As a blob)

Member Avatar for Begginnerdev
0
207
Member Avatar for lulu79

Set the format to long time. Example: Dim dat As New Date dat = #10/2/2012 4:04:45 AM# MsgBox(dat.ToLongTimeString)

Member Avatar for brylle
0
9K
Member Avatar for jontennyeah

You will want to match things up. Declare a class wide variable to reference the clicked item. Example: Private lviCurrent As New ListViewItem Next you will want to set the item to the selected item (in the listview's click event) If IsNothing(ListView1.SelectedItems) = false Then For each lvi As ListViewItem …

Member Avatar for Begginnerdev
0
811
Member Avatar for mohana_61

Do you have a strongly typed dataset behind? If so, you can just do the following: DataSet1.DataTable.Rows.AddRow(values)

Member Avatar for Begginnerdev
0
159
Member Avatar for aidan.fowell.5

Have you verified that your split statements are returning the amount you think they are? Place a break point in the application after the split. Then use intellisence to view the data inside the object.

Member Avatar for SaintQJ
0
175
Member Avatar for Dili1234

Are you using data encapsulation or just sending to Module1's public variable? (Encapsulation would be using public Properties) Example: 'Declare local variable Private iBill as Integer Public Property CurrentBill as Integer Get Return me.iBill End Get Set (value as Integer) Me.iBill = Value End Set End Property -Or- You can …

Member Avatar for Dili1234
0
193
Member Avatar for Oneryavuz

Timers do not work in seconds, they work in milliseconds. Just set the timer to 1000 and the frame will be displayed for a full second

Member Avatar for Begginnerdev
0
71
Member Avatar for khair.ullah

You will (as always) have to design/chart your application before you start programming. **Design the tables** You will have to figure out what kinds of information you will need to store (if you were a hotel operator) You will have to figure out which database better fits **the application**. (SQL,MySQL,Oracle,Access …

Member Avatar for Begginnerdev
0
114
Member Avatar for mynci

Have you check the memory? I have had memory to go bad, and the PC just not boot because of it. I am assuming you dont get the POST sound? I would take one out at a time, switch them to see if one module is bad.

Member Avatar for Begginnerdev
0
206
Member Avatar for shahidul263

What does the data that is stored in the cell look like? Is it a long date? A short date? A time span? We can't help unless you show what the data is.

Member Avatar for Begginnerdev
0
45
Member Avatar for mayank.dyl

Dr. Watson is a debugger. Sounds to me like the game (or you) may be having memory problems. (Memory leaks are common) I would run a memory diagnostic on both your RAM and your vRAM. [Memory](http://www.memtest86.com/) [Video Memory](http://majorgeeks.com/Video_Memory_Stress_Test__d5896.html)

Member Avatar for Begginnerdev
0
175
Member Avatar for Rolandwizy
Member Avatar for Gus_19

[Here](http://msdn.microsoft.com/en-us/library/microsoft.office.tools.word.bookmark.aspx) is a good starting point. This was pulled directly from that page: Private Sub BookmarkFont() Me.Paragraphs(1).Range.InsertParagraphBefore() Dim Bookmark1 As Microsoft.Office.Tools.Word.Bookmark = _ Me.Controls.AddBookmark(Me.Paragraphs(1).Range, "Bookmark1") Bookmark1.Text = "This is sample bookmark text." Bookmark1.Words(3).Font.Color = Word.WdColor.wdColorBlue End Sub

Member Avatar for Begginnerdev
0
350
Member Avatar for jontennyeah

If you are deleting the row from the gridview/listview AND the database...just refresh the data. If not, you can try something like the following: Private iRecord As Integer 'Set this to the datatype of your unique value Public Property RowToDelete As Integer 'Set this to the datatype of your unique …

Member Avatar for Begginnerdev
0
173
Member Avatar for themaj

Also, what might be a problem - When inserting strings, you will have to wrap the value in '' Example: cmd.CommandText = "INSERT INTO [GringItems] (EMPLOYEE,CHECK,ITEM,PARENT,CATEGORY)" & _ " VALUES ('" & _ ds.Tables(0).Rows(iX).Item(1) & "'," & _ 'ect... You will only need to wrap the values that are represented …

Member Avatar for themaj
0
196
Member Avatar for cmstoner

It may seem like alot of work, but this will pay off in the long run. When working with databases, I always try to create strongly typed classes. (Check the file attached for an example) So you can do the following to retreive a list: Dim hHotel as New Hotel …

Member Avatar for poojavb
0
5K
Member Avatar for tin.marcelino

Is the database storing a path to the original file, or a blob? If it is a path, just create a local copy of the pdf that gets deleted once the user closes the application

Member Avatar for Begginnerdev
0
86
Member Avatar for jontennyeah

Handle the listview's Click event Example: Private Sub ListView1_Click(sender As System.Object, e As System.EventArgs) Handles ListView1.Click 'Refernces the selected record Try If IsNothing(ListView1.SelectedItems) = False Then For Each sItem As ListViewItem In ListView1.SelectedItems If sItem.Subitem(3).Text.ToLower() = "fail" Then MsgBox("Failing grade!") End If Next End If Catch ex As Exception MsgBox("There …

Member Avatar for Begginnerdev
0
381
Member Avatar for jontennyeah

Duplicate thread [here](http://www.daniweb.com/software-development/vbnet/threads/435165/displaying-error-message-in-the-listview)

Member Avatar for Begginnerdev
0
94
Member Avatar for jayrbete

Isn't maya an application that is pay to use. Reverse engineering would be a punishable offence. Or am I severly misunderstanding?

Member Avatar for Begginnerdev
0
136
Member Avatar for artemix22

[Here](http://social.msdn.microsoft.com/Forums/en/winforms/thread/8037386d-7bfc-4546-8717-5e768b3bf323) is another post on Microsoft's forumns about the very same thing. Hope it helps!

Member Avatar for Begginnerdev
0
79
Member Avatar for DASTANZOTA

Did purchase a finger print scanner? Most fingerprint scanner manufacturers have SDK's that are either free (with registration) or for purchase.

Member Avatar for Begginnerdev
0
86
Member Avatar for jaimin4829

If the user has entered text into a text box, you can just simply use the TextBox.Text method. A password character is just a way to hide the displayed text, the true text typed is still stored in the textbox's text string variable.

Member Avatar for Begginnerdev
0
145
Member Avatar for ayat abukhadra

The best solution would be to check for a forum for the addin. Something the developer uses for a "tech support" web site. As for vb.net, you may have problems going from LTR languages to RTL languages and visa versa.

Member Avatar for Begginnerdev
0
143
Member Avatar for themaj

Why are you using a DataTable and not an adapter/dataset? Do you have a requirement to use only a data table?

Member Avatar for kRod
0
745
Member Avatar for Denden17

You can use [this](http://www.codeproject.com/Articles/7509/VBScan-barcode-software) project for an idea on how to code with code 39. (code 3 of 9)

Member Avatar for Denden17
0
116
Member Avatar for dearjoy

You will have to make use of the textChanged event. You will need to keep track of the key pressed also. Create an array filled with all of the characters/keys you want to filter, then check against it with the key pressed. If it passes,add it to the text box.

Member Avatar for ome2012
0
163
Member Avatar for sean.downes.96

Try this instead: For remove use the following: listview6.Items.Remove(listview6.SelectedItems.Item(0)) 'If multiple items are selcted use For each itm as ListViewItem in ListView6.SelectedItems listview6.Items.Remove(itm) Next

Member Avatar for bnitishpai
0
162
Member Avatar for ObSys

When you say items, what exactly are you referring to? Are you painting multiple pictures, shapes, controls, or just a pallete of color?

Member Avatar for ObSys
0
198
Member Avatar for Start4me

You can simplify the process by: Convert the text to all lower case: Dim sConversionString as String = TextBox1.Text.ToLower() Then do something like the following: If sConversionString.Contains("n229") Or sConversionString.Contains("n 229") Then 'Do Work End If

Member Avatar for TnTinMN
0
300
Member Avatar for Dzulham

You need to make use of the sender object. Example: Private Sub Button_Click(sender as System.Object, e as System.EventArgs) Try Dim ST As New Button ST = TryCast(sender,button) ST.BackColor.ToString = TextBox1.Text Catch MsgBox(ex.message) End Try End Sub Programaticly add this handler to each button ( To rid yourself of the long …

Member Avatar for Dzulham
0
106
Member Avatar for Dzulham
Member Avatar for Dzulham
0
134
Member Avatar for Begginnerdev

Hello my fellow Daniwebers, I have a question for you. I have an asp.net page that contains a structure that looks like so: <asp:MultiView> <asp:View> <asp:UpdatePanel> <asp:Panel> <asp:TextBox ID="txtStartDate" runat="server" AutoPostBack="true" /> <asp:TextBox ID="txtEndDate" runat="server" AutoPostBack="true" /> </asp:Panel> </asp:UpdatePanel> </asp:View> </asp:MultiView> The curious problem is that I can't reference the …

Member Avatar for Begginnerdev
0
234
Member Avatar for Rasool Ahmed

It would be wise, if you are after the razzle dazzle, to use WPF instead of Winforms. WPF allows alot of glitter and sparkles for your gui.

Member Avatar for Rasool Ahmed
0
344
Member Avatar for melodies

Do you have an image of the map you are using for the rails? As for the colors, you can set the tag to the name of the color you want the box to be.

Member Avatar for M.Waqas Aslam
0
152
Member Avatar for jonny_tech_brat
Member Avatar for ashuag

Here is an open source HMS. As Jim said, it will most likely not fit your needs. [Click Here](http://www.medfloss.org/node/422)

Member Avatar for M.Waqas Aslam
0
151
Member Avatar for skran

If you are not wanting to use the time, you can simply set the dtp's format to ShortDate and it will remove the time. If you are wanting the time, you will need to do some error checking to make sure the format will match that of the database.

Member Avatar for G_Waddell
0
558
Member Avatar for ashuag
Member Avatar for yunis.nabil

By using nested for loops. Something tells me you are asking for homework code... Do you have any code where you have tried this on your own?

Member Avatar for Begginnerdev
0
144

The End.