20,279 Topics

Member Avatar for
Member Avatar for debrah.rutherford

procedure TMSDE2005Fm.ButtonInstallClick(Sender: TObject); Var txt: TextFile; aFileName, s: String; begin aFileName := GetTempDir + '\PROD_Name.bat'; AssignFile(txt, aFileName); ReWrite(txt); s := GetSetupString; WriteLn(txt, s); CloseFile(txt); MessageDlg('Setup will now begin for SQL Server 2005 Express.', mtInformation, [mbOk], 0); ShellExecute(0,'open',PChar(aFileName),nil,nil,SW_SHOW); ButtonCancel.Caption := '&Finish'; end; function TMSDE2005Fm.GetSetupString: String; begin Result := '"' + Trim(wwDBEditSetup.Text) …

Member Avatar for oussama_1
0
254
Member Avatar for joester007

I'm making a random number game. The user only gets three chances to guess. If the user guesses wrong all three times, a message box should appear asking if he/she wants to restart, if yes then reset the game and it's controls. I'm not sure if i'm suppose to use …

Member Avatar for Mr.M
0
211
Member Avatar for Mr.M

Hi DW I'm creating an application in VB.Net which is using the command to complete the tasks the reason why I'm doing this on VB.Net is that I have an interface where the user will be able to type in and also choose the prefered options, the vapplication will then …

Member Avatar for Mr.M
0
167
Member Avatar for Yna Aurielle

i am making a reservation system and i am having a a problem with time conflicts(the system must not accept a reservation where in there is already an event reserved art that time. . my table looks like this ![0fac31edf20c874089f52ed4a0be4fb6](/attachments/small/4/0fac31edf20c874089f52ed4a0be4fb6.png "align-left")

Member Avatar for Reverend Jim
0
379
Member Avatar for vbforum

Has anyone had issues using EASendMail to send to hotmail accounts? I have no issues with any other domain, but hotmail accounts don't seem to go through. There are no errors when the code executes, but the email doesn't show up.

Member Avatar for Begginnerdev
0
95
Member Avatar for skran

Hi all! I have a user interface where I want to filter a datagridview.. I 've achieved to create filters but I 've failed to filter tha data by date.. I have a sql db and the column of date is of datetime type. When I try to filter the …

Member Avatar for eldarzeynal
0
1K
Member Avatar for Lejan

Hi, need some help. How can I retrieve data from MS Access database into DataGridView that allow me to ADD/UPDATE/SAVE/DELETE? Thanks. Hope someone can help me.

Member Avatar for elie.karkafy
0
249
Member Avatar for elie.karkafy

i am using an access odbc to connect my database to a crystal report , when i ma generating the report up to 10 times successivly the access con stop working , can i know why ?? and how i can make the odbc access more faster and can hold …

Member Avatar for elie.karkafy
0
114
Member Avatar for </scorpion>

I have a gridview that is populated and a button outside the gridview that I want to enable editing on the selected row when clicked. I have this in the code behind. What goes in the button event to invoke the grid view editing? Protected Sub GridView1_RowEditing(ByVal sender As Object, …

Member Avatar for </scorpion>
0
1K
Member Avatar for ricardo.scheufele

I have a datagridview and a bindinglist. They work together pretty ok, but I want to make the properties appear in the rows´ headers, not on the column. Other thing I want to do is to make the headers´ text be different from the properties name. Is there any way …

Member Avatar for ricardo.scheufele
0
271
Member Avatar for Trle94

Hey all, I'm trying to do something and read text from page to listview in columns, problem is i get first row, but second third etc it dont insert idk why, im talking about ROWs here is my code check it out and let me know what is wrong? Try …

Member Avatar for Reverend Jim
0
131
Member Avatar for Mr.XtrawEffecient

ublic Class Login Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If Password.Text = "" Or Username.Text = "" Then MessageBox.Show("Password v likh..", "Banday da puttar ban.. :D ", MessageBoxButtons.OK, MessageBoxIcon.Error) Else Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\CCIMS.mdb; Persist Security Info= False" Dim cmd As …

Member Avatar for oussama_1
0
230
Member Avatar for Centorpe

I have 2 forms. One is a typed list having 3 controls (fields) loaded from access database (copied to project as part of .xsd). The values in this list represent recommended values of items and will also be applied to another 3rd form eventually. In the 2nd form there are …

Member Avatar for tinstaafl
0
245
Member Avatar for yagelnnn1

Hey, I need help.. Let's say I made an application and gave it to a friend, how can I made a "Control Panel"..? I mean if i'll click a button it'll exit the application in he's computer..? Thx !

Member Avatar for oussama_1
0
152
Member Avatar for mhieyo

i just want to display datagrid value to label but i am getting problem after passing ten line. Label1.Text = Me.DataGridView1.CurrentRow.Cells(0).Value.ToString.Trim Private Sub DataGridView1_MouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles DataGridView1.MouseClick Label2.Text = DataGridView1.CurrentRow.Cells(1).Value.ToString Label3.Text = DataGridView1.CurrentRow.Cells(2).Value.ToString Label4.Text = DataGridView1.CurrentRow.Cells(3).Value.ToString Label5.Text = DataGridView1.CurrentRow.Cells(4).Value.ToString Label6.Text = DataGridView1.CurrentRow.Cells(5).Value.ToString Label7.Text = …

Member Avatar for oussama_1
0
293
Member Avatar for elie.karkafy
Member Avatar for elie.karkafy

i have a txt file that is exported from an attendance software as follow : Date Time s1 s2 EmpiD IN\OUT 07-24-13 12:23:52 001 07 0000020009 0300000000 07-24-13 12:24:02 001 07 0000020010 0300000000 between the columns of this txt file different spaces for example between date and time 1 space …

Member Avatar for oussama_1
0
348
Member Avatar for joester007

As I was testing the game I noticed that when you try to guess another number for the second time and you guessed it right the "Game over, the correct guess is __" messagebox.show appears. Can someone explain what is wrong with this? Public Class SuperAwesomeGuessingGame Dim ranNum As Integer …

Member Avatar for Begginnerdev
0
168
Member Avatar for oussama_1

Hi I have access database with two tables With a Relationship i can insert records into the first table with no problems but when im trying to insert a record in the second table i got error message Error message : Syntax error in INSERT INTO statement. - Microsoft Office …

Member Avatar for oussama_1
0
6K
Member Avatar for Nebil

Hi all, I wanted to load a listbox with items from the database.I just wrote the code using oop. But on the interface i'm not sure how to read and insert the items in the listbox. How can i access the items being read at the client side(interface). Public Sub …

Member Avatar for elie.karkafy
0
204
Member Avatar for lexaeterna

good day! im working on a migration tool for mysql to mssql. is there any references or codes that you guys can share to me to create databases and transfer data from mysql to mssql? ive just got this idea of using dump mysql files since they also have sql …

Member Avatar for Ancient Dragon
0
138
Member Avatar for samuel terngu

My UPDATE vb.net code below displays this error message:conversion from string "UPDATE tblstaff SET fName='name' " to type 'integer' is not valid.Microsoft.visualBasic conn.Open() If conn.State = ConnectionState.Open Then com = New OleDb.OleDbCommand("SELECT *FROM tblstaff ") com.Connection = conn Dim cb As New OleDb.OleDbCommandBuilder(da) da.Fill(ds, "Eeestaffinfo") Dim sql As String = …

Member Avatar for samuel terngu
0
823
Member Avatar for Start4me

Hello everybody! I’m trying to create a program in which the user has the ability to move the image with mouse click and ability to zoom in and out by scrolling the mouse wheel. If the user wants to return to the original image size and position, it will be …

Member Avatar for Start4me
0
1K
Member Avatar for Lauram340

Hi I am currently working on a piece of code that I am struggling to get working. I have a picture box that I want to move across the screen. At the moment I want it to stop when it gets to a certain point and you have to click …

Member Avatar for Mansibugan
0
2K
Member Avatar for KafitiJr

Please help, it keeps on showing the exception msg "Failed" the message send never work Imports System.Net.Mail Imports System.Net.CredentialCache Public Class Sendmail Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "" Or TextBox2.Text = "" Or TextBox3.Text = "" Or TextBox4.Text = "" …

Member Avatar for oussama_1
0
132
Member Avatar for nilesh7136

Hello There, I am Working with Master Detail Database, There Many Tables and Columns with Relationship. One of them 'M_Location' is one Table, and Its Primary Key IS 'LocationID' and Another table is 'D_Trip', so LocationID is used in D_Trip, now whenever gridview shows data of 'D_Trip', and also show …

Member Avatar for Begginnerdev
0
294
Member Avatar for debrah.rutherford

Step 1. Install mysql-essential-5.0 Following Command To install that . start mysql-essential-5.5.12-win32.msi /quiet /norestart Step 2. Set configuration Run Following Command line For That . cd\ cd Program Files cd MySQL cd MySQL Server 5.5 cd bin MySQLInstanceConfig.exe -i -q "-lC:\mysql_install_log.txt" "-nMySQL Server 5.5" "-pC:\Program Files\MySQL\MySQL Server 5.5" -v5.5.12 "-tC:\Program …

Member Avatar for Begginnerdev
0
263
Member Avatar for bigzos

[CODE]Public Class Form5 Dim connection As OleDb.OleDbConnection Dim mystr As String Dim cmd As OleDb.OleDbCommand Dim adp As OleDb.OleDbDataAdapter Dim ds As New DataSet Private Sub Form5_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) connection.Close() End Sub Private Sub Form5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load mystr …

Member Avatar for k.prabhu
0
739
Member Avatar for elie.karkafy

how i could import my txt file into access database 2010 using vb.net . the txt file as follow : 08-14-13 08:09:26 001 07 0000020016 0100000000 08-14-13 13:12:06 001 07 0000020014 0300000000 i should take into consideration the space between columns becauase this txt file is exported from a certain …

Member Avatar for elie.karkafy
0
817
Member Avatar for Papa_Don

Hi group, I'm looking through the book "Mastering Microsoft Visual Basic 2010" by Evangelos Petroutsos. I'm trying to work through a chapter on designing windows controls. In the first step the directions read: "Start a new project, and in the New Project dialog box, select the template Windows Forms Control …

Member Avatar for Papa_Don
0
1K

The End.