19,728 Topics

Member Avatar for
Member Avatar for basit_3

hello guys i make a database software and i want to import sql file into mySQL database with query , so that when user click button this sql file is auto import , Is there any way to do this , thankx

Member Avatar for basit_3
0
593
Member Avatar for nemzmiyaw

i want to disable the Alt Tab, windows key, ctrl esc key. FOr my Log On Security that start up in coomputer like windows log on. Thanks for the help. Try to search hours for this but i cannot find the right solution im using vb.net 2005 and OS is …

Member Avatar for adeministrator
0
6K
Member Avatar for Undeva

Hello, Please help me, I want to stay on the desktop application when pressed lwin + d or show desktop button, Topmost not want to stay in all the time, fail at all :(

Member Avatar for rproffitt
0
74
Member Avatar for Begginnerdev

Here is a small extention of the Panel class that allows you to 'collapse' it. So far, the user can place a control on the parent form and perform a collapse/expantion by: 'Where cpNew is a Collapsible Panel If Not cpNew.PanelCollapsed Then cpNew.Collapse() 'or If cpNew.PanelCollapsed Then cpNew.Expand() I will …

Member Avatar for parjor
0
2K
Member Avatar for Raj_14

Public Class Form1 Private Sub cmdmark_Click(sender As Object, e As EventArgs) Handles cmdmark.Click Dim intsum As Integer, intnum As Integer Dim inthighest As Integer Dim intlowest As Integer intnum = InputBox("Enter the mark") intsum = intnum + intsum intnum = InputBox("Enter the mark For subject 2") intsum = intnum + …

Member Avatar for rubberman
0
104
Member Avatar for اشرف_1

Hello I have VB.NET System ; I wanna to make setup (.exe) for the program. The Program depend on SQL Server Database. How I can make it exe file with the database, and to install all the configuration on any PC. What I shall do according to the connection string …

Member Avatar for basit_3
0
2K
Member Avatar for සශික

Recently I saved boolean value by radio command button . Now I want to retrive that value to search form. Please help me ????

Member Avatar for tinstaafl
0
110
Member Avatar for සශික

I making application using vb.net and mysql database(mysql query broweser). In my programm there is two date time pickers (dtpisf & dtpist). I want to run this application like this, when I select two dates from date time pickers and click button it will show total of column in text …

Member Avatar for සශික
0
276
Member Avatar for Triple_7

In VS2010 I have Form1, 9 textboxes (TextBox1, 2, 3...) and 1 Button (Button1). In the first 8 textboxes a number is entered. Button1 is then clicked and the sum is returned to TextBox9. Everything works fine. I am trying to get the sum in TextBox9 to update as a …

Member Avatar for Reverend Jim
0
111
Member Avatar for basit_3

Hello Guys i want to make a password protected setup installer for my VB.NET application

Member Avatar for basit_3
0
92
Member Avatar for සශික

I'm trying to load sum of columns to text boxes. but it give me this error: "Object cannot be cast from DBNULL to other types" this is code : query = "SELECT sum(fuel) as ttlfuel, sum(stationery) as ttlstationery, sum(salary) as ttlsalary, sum(vehicle_part) as ttlvp, sum(other) as ttlother FROM mcs.expenses WHERE …

Member Avatar for සශික
0
721
Member Avatar for සශික

I got dannie web help and make best effort to get good idea. Finally I make this code. but This code okay for search data and load it to text boxes. but again I change some values and click update button It say "connection alredy open." this is search code …

Member Avatar for Reverend Jim
0
357
Member Avatar for altjen

Hi, I am trying to develop a software which can get information like listed bellow In System : -SERIAL NUMBER(847MY5N15) -UUID(4C4C4554-0134-3710-804D-B8C04F594E31) -BIOS VENDOR(Dell Inc.) -BIOS VERSION(A09) In Motherboard(Optional, but will be good if : -MOTHERBOARD VENDOR(Dell Inc.) -MOTHERBOARD MODEL(02XJP9) -MOTHERBOARD VERSION (A03) -MOTHERBOARD SERIAL NUMBER (/847MYN1/CN1296112402BB/) In CPU: -CPU MODEL(Intel(R) …

Member Avatar for JOSheaIV
0
767
Member Avatar for Mr.M

I'm having the below code which works fine. The code is for typing some text on a website text field. In my case my site only have 2 components( it one TextBox, and one Button) the app simply loads this site and then auto type in the textbox field then …

Member Avatar for tinstaafl
0
820
Member Avatar for සශික

I'm coding button which name 'Load'. I coded it like this, Try Using cmd = New MySqlCommand(Query, con) Query = "SELECT first_name FROM custormer WHERE custormer_id='" & txtcustormeridforloanform.Text & "'" dr = cmd.ExecuteReader() While dr.Read() Me.txtcustormername.Text = Convert.ToString(dr("first_name")) cmd.ExecuteNonQuery() End While End Using Catch ex As Exception MessageBox.Show(ex.Message) End Try …

Member Avatar for Reverend Jim
0
261
Member Avatar for Wynand

Hi I am trying to export the contents of a datagridview to a text file but I only want to see the data that is visible. I have hidden certain non important columns which I do not want to export. Please could someone help me modify the code accordingly. Private …

Member Avatar for tinstaafl
0
1K
Member Avatar for සශික

This is my search button code. but it give error. I enter custormer id and click search button it give this error "The text command text has not been properly intialized" and again I click on search button. that time it show correct data row. but again I entered new …

Member Avatar for Reverend Jim
0
356
Member Avatar for සශික

Authentication to host for user using method mysql_native_password failed with message: Access denied for user @localhost (using password:NO) dear guys howto solve this?

Member Avatar for Reverend Jim
0
59
Member Avatar for සශික

I'm new to vb.net :rolleyes: I have form and it contain two date time pickers(dtpfrom & dtpto) and lable (lbltotal) and button (btnview) I want to pick data between two dates from mysql table. mysql table name is 'daily_income' can anyone help me ?

Member Avatar for Reverend Jim
0
1K
Member Avatar for kingspartan300

hi igot some erro with this code vb.net 2008 cmd.ExecuteNonQuery() error Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cmd As New OleDb.OleDbCommand If Not cn.State = ConnectionState.Open Then 'open connection if it is not yet open cn.Open() End If cmd.Connection = cn 'check whether …

Member Avatar for pritaeas
0
402
Member Avatar for Ralph Anthony

this is my code for loading the data in my database going to my datagrid Private Sub Records_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim connString As String = "Provider=Microsoft.Ace.Oledb.12.0; Data Source=" & My.Application.Info.DirectoryPath.ToString() & "\BackUp\Database3.Accdb;" Dim MyConn As OleDbConnection Dim da As OleDbDataAdapter Dim ds As …

Member Avatar for Santanu.Das
0
480
Member Avatar for .millz.

Is it possible that when writing this: Dim ds As New DataSet Dim dt As New DataTable ds.Tables.Add(dt) Dim da As New OleDbDataAdapter da = New OleDbDataAdapter("SELECT * FROM [Football Questions]", con) da.Fill(dt) lblQuestion.Text = dt.Rows(0).Item(1) lblAnswer1.Text = dt.Rows(0).Item(2) lblAnswer2.Text = dt.Rows(0).Item(3) lblAnswer3.Text = dt.Rows(0).Item(4) lblAnswer4.Text = dt.Rows(0).Item(5) lblCorrectAnswer.Tag = …

Member Avatar for tinstaafl
0
184
Member Avatar for Mr.M

Hi Dw I have created a program to lock files and by default when a file is locked the file changes from being a folder to a lock. So what I want to do is to change the lock to my own image, just like how VLC do, it changes …

Member Avatar for Mr.M
0
306
Member Avatar for .millz.

I am creating a multiple choice quiz but I am not sure how to check if the answer selected is the correct one. I have If radAnswer1.Checked = True Then End If But do not know what to put after the "then". I am trying to compare the value in …

Member Avatar for Reverend Jim
0
297
Member Avatar for ameenullahkhan

I want to create Input method Editor (IME) of my Balochi Keyboard and when I run setup file of this Balochi keyboard and install, after that when i open Language and region from control panel and add Balochi keyboard then this Language Keyboard come in Language Bar of my or …

Member Avatar for Mr.M
0
215
Member Avatar for Dinesh.Roja

I have a query result . need to pass the Query parmeter(Where----?) to text box based on this need to display the value in data grid If any one know provide the vb.net code

Member Avatar for Mr.M
-1
76
Member Avatar for Ramarasan

Step-by-step 1) I’ll continue from the previous post. You can download a project file from the previous post at here – SampleMySQL (zip format). The project was created on Microsoft Visual Studio 2005. 2) Open the Design view of Form1. 3)Drag DataGridView tool from the Toolbox window to empty area …

Member Avatar for tinstaafl
0
437
Member Avatar for G_Waddell

Hi, I'm writing code to connect to Oracle through ODP so I added a reference to the Oracle.DataAccess dll on my machine. Trouble is I'm writing a 64 bit app and I appear to have both x86 and 64 bit versions of this dll on my machine. No matter which …

Member Avatar for JOSheaIV
0
336
Member Avatar for Ankït

i did creat vb.net code for .aspx files, now i am looking for sql database connection for my project. exapmle: databasename: demo1 table_name: State user id: sa Password: 123 default.aspx - <fieldset> <legend>Table :</legend> <div class="Row"> <div class="textleft">Country Name :</div> <div class="textmid1"> <asp:TextBox ID="TextBox1" runat="server" BorderStyle="Solid" BorderWidth="1" BorderColor="#009933" Height="18px" Width="250px"></asp:TextBox> …

Member Avatar for AleMonteiro
0
203
Member Avatar for yaho01

Dim arr1 As String If Left(arr1(i), Len(n) + 2) = n& ": " Then titleBar = String$(100, Convert.ToChar(0)) valid1 = Right(arr1(1), Len(arr1(1)) - 13) how to convert vb6 to vb.net ? Left String$ Right Private Declare Function ObjectFromLresult Lib "oleacc" (ByVal lResult As Long, ByVal riid As Guid, ByVal wParam …

Member Avatar for Reverend Jim
0
249

The End.