670 Posted Topics
How do I create a Dynamic crystal report? That is, I want my codes to select and filter the content of the datagrid at runtime. I need help seriously, Thanks | |
Re: you can simply set the AcceptButton property of the form to the search button | |
Re: [CODE] 'You can create Varbinary(Max) datatype for image column 'Below is code to store Image Imports System.Data.SqlClient Dim myfilelocation As String = "C:\myPictures\myimage.jpg" Dim conn As New SqlConnection("Data Source= .\sqlexpress; Initial Catalog=Temp;Integrated Security =True") Dim cmd As New SqlCommand("Insert Into ImageTable(ImageFile,CustomerID) Values (@ImageData,@CustomerID)", conn) Dim param As New SqlParameter("@ImageData", SqlDbType.VarBinary) … | |
Re: [CODE]Imports System.Math Public Class calculator Dim cleardisplay As Boolean Dim operand1 As Double Dim operand2 As Double Dim Operator1 As String Private Sub Digit_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btn1.Click, btn2.Click, _ btn3.Click, btn4.Click, btn5.Click, btn6.Click, _ btn7.Click, btn8.Click, btn9.Click, btn0.Click If cleardisplay Then txtDisplay.Text = … | |
If i may ask, Is it possible to update multiple rows in a database at once. if yes, how? I have a dbase of almost 100 people. Each one has a unique reference number like this: NPHCDA/MSS/109 but i want to update the records of the hundred people and include … | |
I want my application to be able to print details from the databse. I hava a report already in the program but it displays the list off all persons in the database. I want to create a form where i can use a query and the result of the query … | |
Hi everyone! I want to design a biometrics system. already, i've got it working to an extent. i can now save individual details with their images and thumbprints but i want to do a validation on the thumprints so no one person can be registered twice. thanks | |
Re: the NET SEND command works on windows 2000, windows me, xp but does not work on vi | |
Re: your words are not well explanatory. State clearly what you want | |
Hi everyone, pls i need serious help. I got a free template which am editing in asp. the template just has header, footer, sidebar and others but i want to add multiple textboxes for data entry and also a submit button. pls how do i go about it because the … | |
Re: i have downloaded and tried your project. To me, everything seems to be working fine. | |
Re: what database have you added to the project? there are different connection strings for different Dbase Systems | |
Re: what are your 'Fromdate' and 'ToDate'? are they controls like textboxes indicating a date value or something else. | |
Am using asp.net/vb. How do i make a navigation button to link another page using vb.net ans CSS. | |
![]() | Re: please mark thread as solved so people wont have to come back to ti |
Re: [CODE] If Me.txtLine2Rcon.Text = "" Then MsgBox("Please insert a running condition for Line before you add it to the database", vbOKOnly) exit sub Else Dim NewLongDesc As String Dim RConv As String Dim StkCodeV As String RConv = Me.txtLine2Rcon.Text NewLongDesc = Me.txtLongDesc.Text StkCodeV = Me.txtStockCode.Text Dim con As New SqlConnection … | |
Re: write the codes under the 'checked' procedure of both radio buttons | |
Re: please lets remember to mark thread as solved so people dont keep going through the stress of looking for an already found solution. Am saying this cos am affected | |
Re: Chuck, what Dukane is trying to explain is called 'Point Of Sale'. it can be used in stores and other sales outlets Nilam Padval, you need to inform the community on the project. like giving the name of the project and whats its meant to do. | |
Re: try the MonthCalendar or the DateTimePicker control. they may just do the work you think they cant | |
Re: Insert Query: [CODE]INSERT INTO table_name (column_names) VALUES (data_values)[/CODE] Update Query: [CODE]UPDATE table_name SET column_name = value WHERE condition[/CODE] Delete Query: DELETE FROM MemberDetails WHERE condition; | |
Re: for time: [CODE]textbox1.text = TimeOfDay.ToShortTimeString[/CODE] for date: [CODE]Today.ToShortDateString()[/CODE] | |
Re: you have to control the data population from within the form_Load procedure. this would populate the controls with all necessary data immediately the form is loaded or started up | |
Re: for clarity and simplicity, just use the white-smoke background colour. this gives your datagridview a white and ash color for each row. its standard | |
Re: write some of your codes out so we can figure out where the problem is | |
Re: [CODE] DS_Pass1.Tables("PwordStore").Rows(0).Delete() Dim cmdbuilder As OleDbCommandBuilder = New oleDbCommandBuilder(OleDAPass) OleDAPass.update(DS_Pass1) [/CODE] | |
Re: [CODE] My.Computer.Audio.Play("audiofile", AudioPlayMode.WaitToComplete) [/CODE] | |
Re: why not make your search in the same format as in sql server in order to avoid errors | |
Re: syntax errors. avoid too much use of unnecessary procedures. | |
Re: you need to add a setup project to your main project. steps involved are: 1. click on the file menu, select add, new project 2. on the left pane of the dialog box, select other project types 3. select setup and deployment from the drop down 4. Name your setup … | |
Re: [CODE] Private Sub ToggleMenus() Try 'Declare a TextBox object and set it to the ActiveControl Dim objTextBox As RichTextBox = Me.ActiveControl 'Toggle the Undo menu items tsmUndo.Enabled = objTextBox.CanUndo 'Toggle the Cut toolbar button and menu items tsmCut.Enabled = objTextBox.SelectionLength 'Toggle the Copy toolbar button and menu items tsmCopy.Enabled = … | |
Re: it would be better u post a sample of your codes and then, corrections can be made. you would learn better and faster that way. | |
Re: lets assume you have a button on the current child window(form1) named 'button1' and you have a form (control) named 'form2' you want to display while the current child window is disabled. under the button1; [CODE]me.enabled = false form1.show[/CODE] when you are through with your control form, there should be … | |
| |
Re: instead, make a relationship between both tables. | |
Re: [CODE] Imports System.Data Imports System.Data.SqlClient Public Class Form1 ' Declare objects... Dim objConnection As New SqlConnection _ ("server= localhost;database= MSS;user id= sa;password=clement;") Dim objDataSet As DataSet Dim objDataView As DataView Dim objCurrencyManager As CurrencyManager 'create object to handle SQLcommands Dim objcommand As SqlCommand = New SqlCommand With objcommand .Connection = … | |
Re: [CODE]textbox1.text= combobox1.selecteditem.tostring [/CODE] | |
Re: remove the existing one and try and add the database again to the server explorer | |
Re: [CODE] If password = txtpasssword.text and username = txtusername.text then me.dipose mainForm.show [/CODE] | |
Re: For now, You're good to go. if there is to be need for a change, that would be when you start coding before you discover that. You cant finish a project when you've not started. | |
Re: continue with FireFox and avoid problems of IE | |
Re: Change your browser for a better browser | |
Re: Internet Explorer has crashing or freezing problems. I would suggest to anyone who has this problem to download any other browsers like Google Chrome, Opera, Mozilla Firefox. All these browsers are free and work better than IE | |
Re: All you can do is to forcefully close IE. I suggest you download Opera,its a fast and free web browser with little or no crashing problems as in IE | |
Re: use the .sdf file for this. if the .sdf file is used, you can use the same sqlconnection as when connecting to sql server but for the .mdf file, you would require knowledge of the sqlce Connection. | |
How can one search for multiple items at once and display the result in a datagrid? for example, i want to search for multiple mobile numbers (in sql server database)at once and display the found numbers and their corresponding names. | |
Re: chris, first you need to make a connection to sql server and then you can access the particular dbase and rable from which you want to perform user verification as in my codes below [CODE]Private Sub btnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOk.Click Try 'variable to hold … | |
Re: [CODE] DATE: TEXTBOX1 = Date.Now.month & "/" & Date.Now.day & "/" & Date.Now.Year TIME: TEXTBOX2 = Date.Now.ToShortTimeString DAY: TEXTBOX3 = Date.Now.ToShortDateString [/CODE] |
The End.