20,899 Topics
![]() | |
im working on vb.net 2010 and ms access database, i was able to create new crystal repot and new connection for my report but when i place password on my database i received errors. both on creating and opening my previous reports can somebody teach me how to deal with … | |
I am new to vb.net , in a project i have a form containing one combobox and two text box nameing as account displaying all accounts name in table , first text box as debit and textbox as credit . I can insert text box entry in the first combobox … | |
Private Sub Product_Details1(ByVal pid1 As String) Dim n As Integer n = 0 DataGridView1.Rows.Clear() myConnection = New SqlConnection(connectionstring) myConnection.Open() Try sqlcmd = New SqlCommand("SELECT P_Id,P_Selling_Price FROM Product_Details WHERE P_Id='" & ComboBox1.SelectedText & "' ", myConnection) Dim dr As SqlDataReader = sqlcmd.ExecuteReader If dr.HasRows Then While dr.Read() DataGridView1.Rows.Add() DataGridView1.Rows(n).Cells(0).Value = dr("P_Id").ToString … | |
Please help me. I want to make my software a trial version for 30 days. Help me with code to use , and the steps. •̸ŤђαϞĸs | |
how to convert this code to C#. Protected Class Calendar Public Sub New(ByRef Picker As NullableDateTimePicker) End Sub End Class | |
Hello. I can search for items in first listview column using FindItemWithText. I wonder is it possible to search in other listview columns and highlight found text, not all item line ? :?: Searched on google all day long but no luck... :sad: My Listview contains multiple items and each … | |
I've been experimenting with having a standard API for a balloon tip on my Winform. No problems with standard textboxes, but I was wondering if it is at all possible to create one for a rich textbox? I would like a balloon tip to display when the Capslock is on. | |
I am trying to load Visual Basic 2010 express onto my computer and keep running into a problem with the install. it hang up on the .net framework 4 download and then quits. i've tried running "as admin" and it still didn't work. i am using vista on one laptop … | |
I need help, please how can I export my database from access to mysql. I do not want to start creating the tables one after the other ĩ̷̊ñ mysql. Thanks | |
how i can refresh the content of data grid view after add and delete row ?? | |
can anyone help me with closing my form. I am getting the following JIT errors See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at … | |
Greetings fellow developers i just wanna ask if this situation is possible.. i have a program that consists this forms - Registration Form - Log in Form - Admin Form The registration form is as usual a windows app, and also the admin form except log in form. When the … | |
how to read gmail mails through vb.net | |
Greetings, I want to add some numbers to a combobox, i want the numbers to be from 1-100 but instead of writing example combobox1.items.addrange({1, 2, 3, 4, 5, etc, 100}) how can i else write it ? :) TY | |
hai! I am new to visual studio 2010. I am trying to develop a miniproject related on atm. But I have syntax error(missing operator) in query expression on 'Accountnumber=and PIN='. are you help me to correct this error? My coding is, op = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = F:\atm1.mdb") op.Open() cd … | |
so i have a form with 4 textbox; idnum, lname, fname, dept 1 button i need help about when I type in the idnum.Text there will be results based on the database table (ms access)and auto fill lname.Text... and if it doesn't exist there'll be a prompt. | |
I have a data grid view and trying to compare data in coloumn 4 with coloumn 6 when data is entered in coloumn 6. but comparision is not happening . How to achive this. my code Private Sub DgvAllocate_CellLeave(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DgvAllocate.CellLeave Crno = … | |
plz send me new code reply now..... | |
I have read many articles here, but haven't quite found the solution. I have a SQLEXPRESS database that is used by my VB.NET application. I have packaged and deployed the application via an MSI file and everything works great except I cannot figure out how to include my database file … | |
Hello Community, I was wondering if there is a way to make a program that will send messages from one computer to the other. **NOT** using LAN connection and **NOT** using winsock. EG. I (at my house) would like to chat with my friend (his at his house). Please help. | |
need simple code vb.net code tht uses issue date and return date to calculate fine but doesnt use datetimepicker tool.. | |
I use MySQL database (innodb) I use Visual Basic 2008 I have a table Employees with two fields EmpNo and Managerno ALTER TABLE Employees ADD PRIMARY KEY (EmpNo CREATE INDEX index_Managerno ON Employees (ManagerNo) How do i now IF Mysql using this index is if i do this: SELECT * … | |
would you help me how i can connect a unix server and send a command using .net for example changing chmod of a file? Unfortunately there is no usefull information about this on net. But i want to do this using ftp server(not domain name or ip address) | |
Hello Community, I was wondering if it's possible to attatch a command prompt window to a visual basic form. EG. (Below (i made this as an example))  Something like that. Please help. | |
Greetings, I'm creating a calculator for a game.. However when i use the code below, i get this error message: Conversion from string "" to type 'Double' is not valid. Private Sub DualTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DualTimer.Tick If BuildCombo.Text = "Main-Hand + Off-Hand" Then APSDPS3.Text … | |
Hello All, First time poster, long time reader and thank you for all the previous help I have recieved from everyone. I am having trouble conneting to my access db. I think I have the bulk if this right, but I am getting an error on the newconnection.open() line. I … | |
I am having issues with the syntax for a like statement in VBnet. I am using access as a back end. here is the code. Any help would be appreciated. Dim rs As ADODB.Recordset Dim cn As ADODB.Connection Dim strsql As String strsql = "SELECT Count(TractStatus.txOwnerID) AS CountOftxOwnerID " & … | |
hello! i am currently working on a simple file make application , this application read data from foxpro .dbf file , i want to get records between two dates , from date and to date , the invoice date field name is fl02 here is my query but this is … | |
i used this code to delete row from datagridview but it dosnt delete the selected row it delete the first row , where is the problem?? Dim sCommand As SqlCommand Dim sAdapter As SqlDataAdapter Dim sBuilder As SqlCommandBuilder Dim sDs As DataSet Dim sTable As DataTable ***** Dim connectionString As … | |
I would like my vb2010 program to click on a javascript element on this webpage depending upon what they choose, here is the source of the rating system, thanks in advance: <div class="basic-info-rating basic-info-user-rating" style="display:none"> <div class="rating quick-rating"> <p class="average rating-3">3 stars</p> <ol class="user" data-analytics='{"click_id":1865,"events":"event6,event7,event24"}' data-ypid="5550608"> <li class="rating-1"> <a data-analytics='{"rating":1}' … | |
Hello i am new to programming using Vb.net and we are required to make a web-based application for our thesis .. Can i make a web-based application using vb.net ? sorry for my english .. | |
Ok i manage to autoselect items on listbox till reach the end of list, but i need it to automatically loop back to the fist selection of indexes when it reach the end list and so on .. i need help on this part newbie here :) if Me.Listboxs1.SelectedIndex + … | |
Is there any free sdk where it retrieves the SPD of my ram? I want to integrate it to my program. Thanks and more power. | |
I would like to create a system and file watcher which can tell me/my program if another FileWatcher is currently running on my system, where (what is it watching) and the location of the exe for the file watcher is located. Is this possible? I've been researching and trying a … | |
Hello programmers! My Library Software with DataBase is 99% finished and I have an error. When I click Save or Delete I got error message: **Cannot insert explicit value for identity column in table 'Table1' when IDENTITY_INSERT is set to OFF.** I want to know **HOW** to set IDENTITY_INSERT to … | |
i'm tring to make a diary. i need nice background. user could edit text anytime if he/she wants. but i cant do that, because i cant make transparent background on textbox or i cant make editable label. is there any way to do transparent background on textbox? how can i … | |
How can i generate Column mousehover event on listview ? | |
I want to input text in one TextBox and as soon as I finish my input, it should do some background work and show the results on the other TextBox. I do not want to use any 'button', 'enter', 'tab' or any other triggering mechanism. The end of input in … | |
Hi I have a vb.net form connected to an access database using vb.net .All my other button except for the add new button If Valid = True Then CustomerBindingSource.AddNew() Me.TableAdapterManager.UpdateAll(Me.DB_ShopDataSet) End If I want this code to add a new row to the customer table.However the current code modify the … | |
Hi, The code below selects all items in a listview control,fine,but I was wondering how I could code to select all but the very last line in the array. [CODE]Private Sub SelectAllToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SelectAllToolStripMenuItem1.Click Dim i As Integer Dim lvItm As ListViewItem Dim … | |
I'm having a hell of a time trying to print from an RTF box. I can do it, but for my test file (Lewis Carroll's "Fury said to a mouse..." with each word on a different line), I keep getting the first two pages printed on the same page, completely … | |
Greetings, I'm a bit new at Visual Basic 2010, and i have one main problem. I want to creat a Calculator for a game, however i have issues getting it to work. When i select a setting from my main Combobox i want it to add different settings for the … | |
Is it possible to store the value of a variable? For example the value of a string variable: [code]strImgFile[/code] containing a file destination, that is saved along with the program, so that the next time the user runs it, the value of the variable [code]strImgFile[/code] is restored. | |
Is it possible to retrieve a text from a URL or page content by using something like ImageUrl property on the Image Control? Ex in image: <asp:Image runat="server" id="Image1" **ImageUrl="getImage.aspx?id=2"** /> Let's say I have this code on getText.aspx Imports System.Data Imports System.Data.SqlClient Partial Class getText Inherits System.Web.UI.Page Protected Sub … | |
Friends, I am making Consultantwise patient report application using VB.NET 2005/08, SQL Server 2005/08. this application i am making for reporting purpose only. I have taken 2 datetimepicker(from date & to date) and one listbox to select the consultant name on my .net form. but i am confused where i … | |
I am trying to insert data into a batabase table (Microsoft Access 2010) But i keep getting a problem it sais"Could not find installable ISAM." the table names are all right. any help would be appreciated   | |
i have vb 2005 express edition. so i dont have crystal report. now i want to print some data from the form to paper. so can anybody help me to print those data | |
HI i have this error null reference i don't know why Imports System.Data.SqlClient Imports System.Configuration Imports System.Configuration.ConfigurationSettings Public Class Form1 Private ConName As New DataAccess Private Sub cmdconnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdconnect.Click Dim conn As String Dim m_server As String Dim m_db As String m_server … | |
Hi all, I have a form that is supposed to query a website. I have the following code that first looks at and uses data from an SQL Server db connection: ConnString = "Data Source=SQL2008T1;Initial Catalog=EconAnalysis;Integrated Security=True" SCqryStr = "" SQLConn.ConnectionString = ConnString SQLConn.Open() SQLStr = "SELECT vSeries_Number FROM tblVSeriesList" … | |
I have a rootnode and its value is (1) then it's childnode is (2,3) I add childnodes to (2) but on (3) I do not know. how can I add childnodes to 3? |
The End.