19,729 Topics

Member Avatar for
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
406
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
46
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
247
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
252
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
92
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
188
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
215
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
181
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
108
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
168
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
71
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
132
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
304
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
148
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
64
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
136
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
74
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
312
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
119
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
199
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
128
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
225
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
403
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
99
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
86
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
902
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
104
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
132

The End.