20,899 Topics

Member Avatar for
Member Avatar for saphiro

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 …

Member Avatar for Dili1234
0
45
Member Avatar for rony001

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 …

Member Avatar for Dili1234
0
77
Member Avatar for Dili1234

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 …

Member Avatar for Dili1234
0
440
Member Avatar for opman234

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

Member Avatar for G_Waddell
0
222
Member Avatar for pritesh2010

how to convert this code to C#. Protected Class Calendar Public Sub New(ByRef Picker As NullableDateTimePicker) End Sub End Class

Member Avatar for Michael27
0
119
Member Avatar for Mindazz

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 …

Member Avatar for G_Waddell
0
4K
Member Avatar for Gus_19

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.

Member Avatar for G_Waddell
0
287
Member Avatar for tman55588

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 …

Member Avatar for G_Waddell
0
166
Member Avatar for opman234

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

Member Avatar for agbenaza
0
123
Member Avatar for HibaPro

how i can refresh the content of data grid view after add and delete row ??

Member Avatar for Pgmer
0
91
Member Avatar for Mike Bishop

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 …

Member Avatar for M.Waqas Aslam
-1
153
Member Avatar for Jake.20

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 …

Member Avatar for Jake.20
0
308
Member Avatar for gvgv
Member Avatar for fRodzet

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

Member Avatar for Reverend Jim
0
6K
Member Avatar for suji.karthik.3

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 …

Member Avatar for kvprajapati
0
382
Member Avatar for ryin012

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.

Member Avatar for AndreRet
0
192
Member Avatar for PM312

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 = …

Member Avatar for PM312
0
236
Member Avatar for ahmadangel.143
Member Avatar for kindofsudden

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 …

Member Avatar for kindofsudden
0
256
Member Avatar for joshl_1995

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.

Member Avatar for ObSys
-1
319
Member Avatar for anonymousi

need simple code vb.net code tht uses issue date and return date to calculate fine but doesnt use datetimepicker tool..

Member Avatar for suman.samanta1
0
204
Member Avatar for dre-logics

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 * …

Member Avatar for Nutster
0
267
Member Avatar for ulasoc

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)

Member Avatar for Nutster
0
280
Member Avatar for joshl_1995

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)) ![example8](/attachments/small/3/example8.png "align-left") Something like that. Please help.

Member Avatar for joshl_1995
0
379
Member Avatar for fRodzet

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 …

Member Avatar for Reverend Jim
0
563
Member Avatar for lhhippie1

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 …

Member Avatar for lhhippie1
0
159
Member Avatar for joel.hahn

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 " & …

Member Avatar for joel.hahn
0
138
Member Avatar for M.Waqas Aslam

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 …

Member Avatar for neeraj.shorey
0
138
Member Avatar for HibaPro

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 …

Member Avatar for G_Waddell
0
219
Member Avatar for johncatman

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}' …

Member Avatar for G_Waddell
0
252
Member Avatar for franzrivas

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 ..

Member Avatar for G_Waddell
0
294
Member Avatar for markjames2012

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 + …

Member Avatar for markjames2012
0
2K
Member Avatar for drftr24

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.

0
43
Member Avatar for tareywolf

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 …

Member Avatar for Reverend Jim
0
127
Member Avatar for LD Company

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 …

Member Avatar for Reverend Jim
0
227
Member Avatar for Oneryavuz

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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for 432
Member Avatar for ghoshsp

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 …

Member Avatar for saphiro
0
98
Member Avatar for Khav

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 …

Member Avatar for Khav
0
405
Member Avatar for jonkeeler

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 …

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

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 …

0
188
Member Avatar for fRodzet

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 …

Member Avatar for Reverend Jim
0
296
Member Avatar for iskivgs

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.

Member Avatar for Emos
0
186
Member Avatar for michaelzip

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 …

Member Avatar for michaelzip
0
263
Member Avatar for ashishrkala_1

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 …

0
73
Member Avatar for Ncleaver45

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 ![Declering](/attachments/large/3/Declering.png "Declering") ![proper_problem](/attachments/large/3/proper_problem.png "proper_problem")

Member Avatar for Reverend Jim
0
42
Member Avatar for situ.pati

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

Member Avatar for nmaillet
0
83
Member Avatar for androidz

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 …

Member Avatar for androidz
0
288
Member Avatar for Stuugie

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" …

Member Avatar for Reverend Jim
0
295
Member Avatar for bLuEmEzzy

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?

Member Avatar for bLuEmEzzy
0
111

The End.