20,899 Topics

Member Avatar for
Member Avatar for paulablanca

Hello! Can someone help me? I have to add item "Final Grade" to my cboQuarter. The thing is, my cboQuarter already has a datasource and I can't add the item "Final Grade" during drop-down. The error says, "cannot modify or insert (can't remember word by word) when it already has …

Member Avatar for Jx_Man
0
113
Member Avatar for dorothy.v

at - arrival time bt - burst time I - idle for example the user input 3 process process 1 - at = 5 bt - 5 process 2 - at - 2 bt - 2 process 3 - at - 12 bt - 3 I P2 P1 P3 0 …

Member Avatar for codeorder
0
273
Member Avatar for dorothy.v

If p1at.Text = 0 Then p1ts = p1at.Text p1tc = p1bt.Text t1.Text = p1ts t2.Text = p1tc If p1tc > p2at.Text Then p2tc = Val(p1tc) + Val(p2bt.Text) t3.Text = p2tc Else p2tc = Val(p1tc - p2bt.Text) + Val(p2bt.Text) t3.Text = p2tc If p2tc > p2at.Text Then p3tc = Val(p2tc) + …

Member Avatar for dorothy.v
0
123
Member Avatar for RenanLazarotto

Hey guys! There is some way to open a file and fill it with randon information until it reach a determined value? Like a dumb file (; Thanks!

Member Avatar for RenanLazarotto
0
758
Member Avatar for Beginner.net

Hey I need some help to program a little begginner project. So I want to create a program that displays an image when you press the start button. When you press the "Next button" it will display a new image. My problem is, I want the image to change EVERY …

Member Avatar for codeorder
0
71
Member Avatar for arezz09

first i create 1 form, 1 picture box and 1 button.. i name button like upload...when i click upload button, i can browse picture..so after i click a picture,automaticly picture will set in picture box and 1 folder like mypicture will be create on C:// and that picture will be …

Member Avatar for Jx_Man
0
1K
Member Avatar for arezz09

can i chnge all button font color on every form that i hve create. .i just want to click 1 button and it show menu choose color..

Member Avatar for codeorder
0
288
Member Avatar for markdean.expres

Guys is it possible to create new tables in my database at runtime. What components will I have to use? And how will the code look like?

Member Avatar for markdean.expres
0
62
Member Avatar for Joshua Kidd

I have been working on this for a while not finding anything. I have a form that needs to send a ketstroke, but I used: [CODE] SendKeys.Send("{Ctrl}" + "{SHIFT}" + "{]}") [/CODE] But that Did not work. Y? IDK. can someone please help

Member Avatar for honey61399
0
135
Member Avatar for bettybarnes

hi anyone here knows how to validate user inputs.. when the user logs in and his/her password is in Uppercase(saved in database) but forgets to type in uppercase. and it would display warning message saying invalid password... any help would be highly appreciated :)

Member Avatar for bLuEmEzzy
0
114
Member Avatar for jamesrobb

Hi, When I try and populate a listview with data from an array with 3 entries I find that the data goes into the wrong columns. The array consists of the following. ?ID {Length=3} (0): "T123456789" (1): "001" (2): "Smith" My list view has columns : ID, Location, Name. My …

Member Avatar for jamesrobb
0
149
Member Avatar for geoamins2

I have a database designed and implemented using ms sql server 2005. initially, the user has entered the pictures with a very big size because there was not restriction. now when the user is opening the crystal report so it takes alot of time and some time memory full problem …

Member Avatar for CodeWord
0
4K
Member Avatar for tukky

I have a project which is 98% complete. Its basically a Shop(till) interface. I have a form that has tabs the first being the main till, second shows a listview with everything in stock and the quantity of items in stock. Im stuck on one part of the program where …

Member Avatar for codeorder
0
414
Member Avatar for maaroufbalis

Hi all, i am using visual studio 2008 and trying to add a dynamic image into the crystal report, i dont want to use dataset, how could i assign a URL to the image, and just change the image with the same name (ex: c:\logo.jpg different image than the existing …

0
48
Member Avatar for bettybarnes

hi guys i have an application which adds a patient with his/her own picture.. im doing it in vb.net and my database is stored in sql server 2005.. i have my column for saving the picture.. i have already set it to varbinary(max) my problem is i dont have a …

Member Avatar for debasisdas
0
251
Member Avatar for bklynman01

I have a form that uses 28 checkboxes(checkBox1 ~ checkBox28), 28 labels(label1 ~ label28), and 28 textboxes (textBox1 ~ textBox28). These items need to be visible/invisible depending on the mode of the program (there are 5 modes). I could specify each item individually with visibility, but that requires a whole …

Member Avatar for bklynman01
0
2K
Member Avatar for tendaimare

[CODE] '1 'the function Public Shared Function InsertNewRecord(ByVal myStoredProcedure As String) As Boolean Dim conn As New SqlConnection conn = MyFormz.connec.ConnWeb2() Dim cmdInsert As New SqlCommand Dim sSQL As New String("") Dim iSqlStatus As Integer sSQL = myStoredProcedure cmdInsert.Parameters.Clear() Try With cmdInsert .CommandText = sSQL 'Your sql statement .CommandType = …

Member Avatar for Jx_Man
0
257
Member Avatar for Shantanu88d

Hi, I have added a template field on my grid view and added radio buttons to it. I have also given them group name. However when grid view populates, radio buttons behave like check boxes and multiple of them are getting selected. Here's code for GridView for ur reference. Plz …

0
94
Member Avatar for honey61399

I am new in vb.net please help. [CODE]Public Class Form1 Private Sub RichTextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles RichTextBox1.KeyPress RichTextBox1.Text = " Not available " RichTextBox1.Select(RichTextBox1.Text.Length, 0) End Sub End Class[/CODE] I want this code to pass not available like" Not available Not available Not available " …

Member Avatar for Pgmer
0
192
Member Avatar for Shantanu88d

Hi, I am writing a web site in vb.net. I need to show javascript confirm box before data is inserted. so if cancel is pressed program flow stops, otherwise data is inserted. quick help will be much appreciated !! :)

Member Avatar for Shantanu88d
0
221
Member Avatar for DoctorGiraffe

Hello! Can anyone give me a tip on a fairly good serial code system for my software, i obviously don't want to store the codes in the software(unless that's what you ussualy do) I want to be able to hand out a certain serial code and when they enter it …

Member Avatar for ghimangi
0
185
Member Avatar for lbeddawi

Hi everyone; I'm pretty new to VB.NET and I'd like your help in validating the CheckBoxList because I have two of them and then how to read them with an attachment file. Appreciate the help: here is the code[CODE]<%@ Page Language="VB" AutoEventWireup="true" CodeFile="test.aspx.vb" Inherits="test" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

0
42
Member Avatar for bettybarnes

my deletecommand delete all my rows whenever i delete a row..but when i view it again the other rows still there and the i deleted is actually deleted.. here's my code for da.deletecommand [CODE] da.DeleteCommand = New SqlCommand("Delete from Admission_Record WHERE Patient_ID = @Patient_ID", cs) da.DeleteCommand.Parameters.Add("@Patient_ID", SqlDbType.VarChar).Value = ds.Tables(0).Rows(bs.Position)(0) cs.Open() …

Member Avatar for bettybarnes
0
113
Member Avatar for stats79

Create a text file called TOONS.TXT with the following data: Daffy Duck Daffy Duck Daisy Duck Fred Flintstone Mighty Mouse Minnie Mouse Porky Pig Yosemite Sam Write a program to find and display those names in the TOONS.TXT file that are repeated. Assume that the file has already been sorted …

Member Avatar for codeorder
0
172
Member Avatar for bettybarnes

hi everyone i got this error Cannot insert explicit value for identity column in table 'Patients' when IDENTITY_INSERT is set to OFF. i set identity to Yes in sql server 2005..whenever i run my code i get this error message here's part of my code [CODE]Private Function GenerateCaseNumber() As String …

0
75
Member Avatar for rookanga

Sorry for the confusing thread title but im trying to make a fast food program on which the user will input the amount that he has, then he will check on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. …

Member Avatar for codeorder
0
135
Member Avatar for razree

Hello I'm new to this forum and quite new to visual basic. I started editing an existing code (basicaly to learn vb) without any real previou experience. Well let's get to the point; I have a form that gathers data from db ordering by user ID (on click count). I …

Member Avatar for razree
0
322
Member Avatar for Joshua Kidd

Hello, I was wondering if there is any way, I can have my Application save its settings upon exit or a save button to save to maybe a CFG File? such as textbox.text info, Checkbox.checked info, etc... If there is could you please help?

Member Avatar for codeorder
0
152
Member Avatar for bestex

Hi why do i have errors in updating a column using where? this is my code [CODE]"Update inventory Set isExpired='1' from inventory where expirationDate= '" & DateTimePicker1.Text & "'"[/CODE] my date format is yyy-MM-dd can anyone help me pls?

Member Avatar for Pgmer
0
67
Member Avatar for saj_amo

hi friends, i have a problem with using vb.net application, i want to take backup of my database from my vb.net application so that user clicks the button and backup can be copied in a drive .

Member Avatar for geoamins2
0
140
Member Avatar for jmensah

I have a main form with datagridview attached to the form. i calling datagridview when the form load, but am getting the 'property access must assign to the property or use it's value. Please help me correct the error. Attached is the form to help analysis the problem. thanks Gyamfi …

0
76
Member Avatar for bLuEmEzzy

Please Help, the user can only input today's date and tomorrow's date... How can i get it?? example valid dates are: Today's date: March 01, 2011 and tomorrow's date: March 02, 2011 if the dates are not valid then error.... Thank You... [CODE] Dim DD As String : Dim MM …

Member Avatar for codeorder
0
321
Member Avatar for reneeschultz

Need to write a script wit the following criteria using VBScript: Am an English teacher and have some programming experience but not to this extent that is needed. Just trying to make it easier on me for grading... 1. prompt user for a # of quiz scores to input, should …

Member Avatar for Tarkenfire
0
125
Member Avatar for jharrigan

Hi Guys / Gals, First off, if I'm not in the right forum for this question, I apologize. For this question I figured I would ask some seasoned coding professionals :). I do realize that this type of question is not a simple yes / no, but i would just …

Member Avatar for Tarkenfire
0
203
Member Avatar for markdean.expres

Guys, is there a way to programatically and more efficiently sort records displayed in a datagridview control? If so, how?

Member Avatar for markdean.expres
0
131
Member Avatar for steve_Student

Hi Here is my question. My project is basically a addition test for 5 to 9 year old children. On my form I have a button which when clicked, it inputs a number from 1 to 10,( which is chosen by the user via an combo box drop down), into …

Member Avatar for steve_Student
0
326
Member Avatar for johnbo100

Hi All So I have 2 forms form 1 has a list of checkboxes on it form 2 needs to check if one of the form 1 checkboxes is checked. Please see the code below: texton is a value passed from a function parameter of type string [CODE] If (Form1.Controls.Item("checkbox" …

Member Avatar for johnbo100
0
421
Member Avatar for msaranya

Hi, For my application I send mails when an idea is submitted. The mails goes in most cases. Sometimes I get 2 errors "Mailbox unavailable. The server response was: 5.7.1 Unable to relay for -" "Unable to send to all recipients." So I am not able to ensure that mail …

Member Avatar for jlego
0
101
Member Avatar for Mike Askew

Not entirely sure if this is even possible as have yet to find a solution anywhere for this but here goes. The form currently looks at a database and pulls a text name from location: [CODE]DS.Tables("Location").Rows(0).Item(4)[/CODE] The resultant text entry from this location, for example: "loc_fvh_Flowers", will then be compared …

0
88
Member Avatar for Tarkenfire

Okay, so as a project for one of my classes I need to make a basic drawing program in VB that can do three things: [LIST] [*]"Draw" with a brush of some sort [*]Clear the screen [*]Perform a flood-fill (paintbucket action) [/LIST] I decided to do the first two tasks …

Member Avatar for Tarkenfire
0
941
Member Avatar for steve_Student

Hi Ia want to show text in a multi-line textbox, but my problem is how do I start a new line when using code like so.. [CODE] TxtBox_TechTalk.Text = " Good Effort.. You Got " & Lbl_TotalMark.Text & " Lets try the next test. Click the Subtraction Test button to …

Member Avatar for steve_Student
0
107
Member Avatar for JohnBo

Hi I am using VB 2010 on a Windows 7 Home Premium PC. I can't get my my smtp code to send an email out. It always comes back with the error: "The operation has timed out" I have both a Google Mail account and a Sky Mail account both …

Member Avatar for JohnBo
0
136
Member Avatar for vanzhyme

Im using this code ! con.Open() cmd = New OleDbCommand("select * from RoomTypeA", con) conreader = cmd.ExecuteReader Do While conreader.Read If conreader.Item("TimeEnd") = Me.TextBox6.Text Then Me.RTypeListA.Items(0).Selected = True Me.RTypeListA.Select() End If Loop cmd.Dispose() con.Close() conreader.Close() i want to select the item in listview that has the same TimeEnd with textbox6.. …

Member Avatar for vanzhyme
0
202
Member Avatar for jmensah

Am a student novices in vb.net. But task to vb.net for school project. I want a code to help me add a No fo Months(this is an integer) from date and the result display in a tet box as a date. I have 2 fields: Months and startdate, the third …

Member Avatar for prvnkmr194
0
181
Member Avatar for VBrulez

Okay, so I have this program I'm working on, and I was wondering if it was possible to disable/enable TextBoxes when specific words are wrtten. I tried doing this, but it errored. I'm a new programmer to VB, I just started a month ago, and I'm doing this for fun. …

Member Avatar for prvnkmr194
0
198
Member Avatar for johmolan

I have a small problem when I edit cells in my datagrid. If I leave my cursor in the cell I just edited. and runds the updatecommand the cell does not update the edited value. But if I leave the cell before I run the updatecmmand it does. Anyone who …

Member Avatar for johmolan
0
115
Member Avatar for odica

ok im making my first app in VB and i saved it and i run the exe file all workes great but when i close the program the exe stays running i can see it in task even after i close the program can some one help?

Member Avatar for SARUBA
0
88
Member Avatar for tasty

I don't really know how to make the code for the following question. I need a program that counts. The program will ask the user what he/she wants to count by and It will then count from 0 to 20 using what ever increment that user has chosen I want …

Member Avatar for tasty
0
122
Member Avatar for drdream100

hi all!! here's the deal: i have this code [CODE] Sub SaveToTextFile() Handles Button1.Click Dim name1 As String = TextBox3.Text Dim st1 As String = TextBox1.Text Dim st2 As String = TextBox2.Text Dim br1 As String = "{" Dim br2 As String = "}" Dim desck As String = br1 …

Member Avatar for razree
0
184
Member Avatar for arezz09

anybody know how to upload or set piture into windows form using code..i want create a button like browse that can chnge background and every i relaunch application,bckground is still there..please anybody..

Member Avatar for codeorder
0
295

The End.