20,899 Topics

Member Avatar for
Member Avatar for theonebit

My Visual Studin 2010 suddenly showing nbsp symbol for the html designer. how do i disable it.

0
126
Member Avatar for Reo_1

hello Am trying to make an app which has five questions with textboxes for each question for entering answers.Question one has two textboxes worthy one mark each for the correct answer and question two one textbox worth two marks for the correct answer.I want the marks got for the correct …

Member Avatar for AndreRet
0
529
Member Avatar for TonyTGI

Hello! I need a way to use a Progressbar to show the status of a web page loading in a web browser, Heres what the code for the project is: Button1: - WebBrowser1.Navigate(TextBox1.Text) TextBox1: - TextBox1.Text = WebBrowser1.URL.ToString() That works, but I have not even a "slight" idea how to …

Member Avatar for Reverend Jim
0
106
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
602
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
78
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
109
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
115
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
291
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
96
Member Avatar for Gilbert_3

Hi guys I need help from you. How do i increment the id like for example: EMP001, EMP002, EMP003 I hope you can help me out guys, thanks in advanced.

Member Avatar for Reverend Jim
0
422
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
736
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
360
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
794
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
852
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
273
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
359
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
62
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
409
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
484
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
187
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
346
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
303
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
217
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
79
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
446
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
345
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
205
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
250
Member Avatar for DespDev

Hello Everyone!! just a newbie here looking for some advice. ready to accept any suggestion that I get. I wish to make a GUI for a specific feature of a lenel panel 2220. I'd like to have a list of the activity on badge reader. I have the Lenel set …

Member Avatar for rproffitt
0
257
Member Avatar for computer_man

i have a datagridview with some columns and i want to check if column number (e.g "6") value is null remove the row even if the other columns on the same row has value for example : col1 | col2 | col3 mn | nder| john sa | | sayed …

Member Avatar for ddanbe
0
153
Member Avatar for computer_man

i made a form with datagridview which get its values from excel file and make some changes on its columns to prepare it to be saved in sql database so i need your help to compare one datagridview column with listbox items and get the result in another column for …

Member Avatar for computer_man
0
495
Member Avatar for .millz.

I am making a multiple choice quiz in vb with the questions and answers stored in an access database. When trying to display the question and answers on my labels, they don't change. Here is my code: Imports System.Data.OleDb Public Class Football_Questions Dim con As New OleDbConnection Private Sub Football_Questions_Load(sender …

Member Avatar for rproffitt
0
571
Member Avatar for dukleatish

Hi I m currently working on windows application that is loading electoral roll pdf file. What I m trying to do is to get the data as per Sr. No., Epic No., Name, Father's / Husbands Name, Age, Sex, House No. and pincode. Data is available in 3 columns and …

Member Avatar for rproffitt
0
163
Member Avatar for El Ticha

I have a new command in my connection 1 of my dataenvironment, but, when i drag the "Command1" to my form, i cant see the labels and textboxes , why? Please help me, its my homework

Member Avatar for Suzie999
0
83
Member Avatar for themaj

Just a quick question here for VB.NET developing with Visual Studio. I have an existing project (Project A) and I want to use portions of it as a foundation for another related project (Project B). How can I safely copy Project A to another location, rip out unnecessary forms, code, …

Member Avatar for Santanu.Das
0
314
Member Avatar for ARIGAR

A sub procedure in Visual Basic that sets the vertical and horizontal sizes of a form named DemoForm to half the vertical size of the screen and to three-quarters the horizontal size of the screen respectively. ******************************* A program that can be used to generate and display the following multiplication …

Member Avatar for tinstaafl
0
270
Member Avatar for tfmiltz

I do see AutoClose as a property for primary ContextMenu items, but I observe the secondary menu items do not stay open. Does anyone have a solution for this? I did opt with Secondary menu item click handler to set AutoClose to False, and create a single handler to process …

0
93
Member Avatar for lefteven20

I am working on a program and I almost have it working the way I want except for two problems. The first is major; I can not for the life of me get my answer for the population to equal anything but zero. I have a feeling this is due …

Member Avatar for Reverend Jim
0
202
Member Avatar for DenisOxon

As some of you know I am moving to VB.net from VB5. I see that to read and write to text files there are two options 1) Use System.IO.File e.g Filewritealltext ( options...) or 2) Use Streamwriter e.g Dim ts as StreamWriter( options...) Are there any differences, apart from syntax, …

Member Avatar for Reverend Jim
0
162
Member Avatar for DenisOxon

Hello, I have for a number of years supported a VB5 application which controls customers equipment. We are now going to do some major changes to software because hardware is changing. It now seems the ideal opportunity to upgrade to a newer/latest version of visual basic, which if we go …

Member Avatar for DenisOxon
0
389
Member Avatar for David_64

I knew how to use combo box to read the database in Microsoft access, let say I have 7 option and I can make it into conbo box. But now I want the 7 option in the form of button (means got 7 button). Can anyone help ?? While (acsdr.Read()) …

Member Avatar for David_64
0
207
Member Avatar for lefteven20

For my class I am asked to complete a program: create an application that will predict the approximate sie of a population of organisms. the user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a …

Member Avatar for lefteven20
0
573
Member Avatar for Mr.M

Hi Dw. Is it possible to search through "*.COM", "*.exe" files and check if they are encrypted and so check which encryption was used in VB.NET?

Member Avatar for Mr.M
0
480
Member Avatar for overwraith

Am having some difficulty, I had some code that had a static helper method in C#, and now I am looking to port it to vb, but unfortunately vb doesn't seem to have a yield return operator. How do most vb developers do this, and why is there no yield …

Member Avatar for ddanbe
0
413

The End.