20,899 Topics

Member Avatar for
Member Avatar for swathys

hi, How to code, if let say i want only 10 records to inserted in listview. By mean listview only can accept 10 records. please guide thank you

Member Avatar for codeorder
0
205
Member Avatar for b1izzard

Hi all, I got this Error Message while I try to preview the records in Dataset Designer: "The connection string could not be found or Data provider associated with the connection string could not be loaded" Here is my dataset.xsd code [CODE] <Connections> <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="loginConnectionString1" IsAppSettingsProperty="true" Modifier="Assembly" Name="loginConnectionString1 (MySettings)" …

Member Avatar for MaKhalid
0
509
Member Avatar for awmantonio

I have program in VB.NET 2008 where I want to update the premamt cell value in the tblPrem Access table, where the premno is the maximum (autogenerated as 1,2,3...), but only within a specified set of common numbers in a column (contno) I am currently saving. This contno is from …

Member Avatar for awmantonio
0
110
Member Avatar for ruimacdonald

Hi: I need to the a Timetable programme and I should like to move (Drag & Drop) textboxes contents to an array of textboxes "days / times". I have seen your example but I can't do it working. The code I have I just Attache. Can you help me please? …

0
27
Member Avatar for judithSampathwa

Hi there, I have a question in datagrid view , hwat I want is when a user edits a datagridview cell in a row in the datagridview I want to check a check box in the same row, how can I do this and what is the event that I …

Member Avatar for Geekitygeek
0
163
Member Avatar for Partydude4

Can anyone tell me how or what's the JavaScript code to perform the following: 1. I have two frames on my web page. (Top and Bottom) 2. Top Frame is data 3. Bottom Frame are some Controls. (Print button, Back Button, Close Button.) 4. I'm using VB.Net creating aspx pages. …

Member Avatar for srikanthdon
0
2K
Member Avatar for dre-logics

I use Visual Basis 2008 With MySQL. I Have one from with 6 (six) Datagridviews controls I Have the following problem: If i use Form1.Show method than the form1 is [COLOR="Red"]only show [/COLOR]if data connections are [COLOR="Green"]made[/COLOR] and all the datagridviews are [COLOR="green"]filled [/COLOR]with data . What i want is …

Member Avatar for dre-logics
0
100
Member Avatar for chamber8401

I am newbie in Visual Studio 2005 and i just has finished install the VS05 but I can't start new Visual Basic Project. When i go to Menu Project, Add New Item there is no templates Win32 Project. There are just Text File, XML File, Bitmap File, etc. Is there …

Member Avatar for kvprajapati
0
165
Member Avatar for ukshir

Hi, I want to add my custom controls to the visual studio toolbox programatically (not manually by selecting "add items") with my own tab. How can I achive it? Is there any registry entry where all the Toolbox items are entered to be able to view in the toolbox? where …

Member Avatar for kvprajapati
0
155
Member Avatar for hemal1972

[B]Hi Guys, right now i am making accounting software project. In this project, i have used one list box for storing accounting groups. now here is a problem. I have stored 50 groups. But, I can see only 30 groups at a time. to see another 20 groups i have …

Member Avatar for meeni
0
118
Member Avatar for eikal

Hey guys, i'm just starting in VB and am experimenting with programs. I'm trying to make a simple program that when you type in your name and phone number it displays it in a label. So i have everything good up until getting the info from the box to the …

Member Avatar for eikal
0
2K
Member Avatar for kiryoku

can anyone help me to figure out how to nest forms on visual basic?? example: i would like to link form1 to form2?

Member Avatar for mbrown686886
0
113
Member Avatar for lucaazori

Hi, i would like to know how to refresh data base after i insert records. I explain, i have form in which user add data into database ACCESS, after that if he would like to view all data he got it but without the latest added, so i was obliged …

Member Avatar for samuel_1991
0
3K
Member Avatar for prvnkmr449

Hi all of you, Iam creating a Inventory System on vb.net and I need some image for like new,search,delete copy cut edit etc can any Help me from I get all this Images, I try to search in google bt I did't get thanks In Advance

Member Avatar for prvnkmr449
0
373
Member Avatar for Kingcoder210

I have written code to show records in a datagridview but it shows nothing. I have tried to debug & when it step into GetData function following codes [Code] Catch ex As Exception returnData = Nothing If connection.State = ConnectionState.Open Then connection.Close() End If [/Code] become gray & it shows …

0
88
Member Avatar for swathys

hi, If the condition = true How do i select all records stored in .txt (temporary text file) to be updated in sql table How do i do that. Please help Thank You

Member Avatar for swathys
0
123
Member Avatar for Simran Kaur

Hi friends, I am migrating VB6 project to VB.Net. I am stuck with these warnings for which I am unable to find solutions. I would be grateful if I get solutions to atleast some of the below warnings. Warnings: ------------- Need VB.Net equivalent for the below code as they are …

Member Avatar for Simran Kaur
0
2K
Member Avatar for W1ND0W5

Hello Daniweb, it's me (again). I am making a web browser app and would like to have a loading bar. I'm using the default ProgressBar control but I don't know how to program it! Help! Thanks for your help, -Toby -------------------------------------------------------------------------------------- If you put in your two pence worth, then …

Member Avatar for brijeshsonagara
0
219
Member Avatar for samuel_1991

Hi, as I am using Inno Setup to do the installer job, which requires a dll to check for installation path (Please refer to a previous thread: [URL="http://www.daniweb.com/forums/thread310549.html"]http://www.daniweb.com/forums/thread310549.html[/URL]), only to find out that [I][URL="http://news.jrsoftware.org/read/article.php?id=24737&group=jrsoftware.innosetup.code#24737"]VB.NET DLLs are .NET managed code. The DLL import feature of Inno can only talk to native …

0
69
Member Avatar for Kingcoder210

I have used following code to show records there in a datagridview but it doesnt work. Even it shows nothing. Please check it & tell me what did I make mistake. Please add example with your answer because I am just a beginner. [Code] Imports System.Data.SqlClient Public Class Form34 Private …

Member Avatar for samuel_1991
0
149
Member Avatar for bauc

How do you know what event called the current event? Background: I'm trying to return a value to a textbox on form1 from form2. Form2 displays a dynamic list of labels based on a database and I've added event handlers to each label's click event which then calls the below …

Member Avatar for bauc
0
107
Member Avatar for jimmy0jambo

hello everyone .... i want to make an atm which is used in tailoring shop and withdrawing the suits(dress) the we have given to tailor... the tailor has to issue the card with the measurements of our dress next time we want to make that dress and directly go to …

Member Avatar for codeorder
0
91
Member Avatar for njparton

I'm currently writing a small system tray app that needs to shutdown my PC at a certain time. That bit's easy: [CODE]Process.Start("shutdown", "-s -t 00")[/CODE] But how do I do this when my PC is locked? The above doesn't work and I don't want to leave my PC unlocked and …

Member Avatar for njparton
0
94
Member Avatar for jlking007

I am a newbie. I am using validating procedures to validate user input from 4 text boxes. I am experiencing an issue using the 'x' button to close my form if invalid or no data is present in the textbox with focus when I click the 'x' button. Validating triggers …

Member Avatar for jlking007
0
908
Member Avatar for lucaazori

hi, here is my data base structure: [ATTACH]17124[/ATTACH] i try an sql command that return for each examen its number of tests, so i tried: [CODE]Dim sqlQRY1 As String = "SELECT Int_Exa,count(*) as 'TOTAL' from TEST T1,TEST T2 where T1.Int_Exa=T2.Int_Exa"[/CODE] that`s did not work, so i tried to do that: …

Member Avatar for lucaazori
0
118
Member Avatar for Darkicon

I'm making a program that allows me to control my other computer from this one by encoding and streaming the commands I enter into a console to the destination, which then decodes it and does what the command says and encodes the result and streams it back, then my side …

Member Avatar for bbman
0
150
Member Avatar for ÜnLoCo

hello i have a datagridview (Dg) with 7 columns. i have a RowValidated event which tests if the validated cell is the first (index = 0) then sets the focus on the third cell with columnIndex = 2 BUT the cell that's getting focus after the row is validated is …

Member Avatar for ÜnLoCo
0
183
Member Avatar for Dorayaki

Hello, I'm just looking for an answer or idea. I plan to connect vb.net to mysql (which is done) and also the PHP connected to the mysql. But I'm confuse with something. VB.NET is use for offline things (which people will come to store and buy), but PHP is buying …

Member Avatar for samuel_1991
0
385
Member Avatar for samuel_1991

Hi, I would like to know how to write a "Console application" in dll form for a patch installer so that I could call it from the installers and find out the installation of a program. I have created a VB.NET class project and checked the COM Interoperation or sort …

Member Avatar for samuel_1991
0
1K
Member Avatar for el_vala

I have been doing some research on the net, and found many ways of doing this, but it all leaves me with the same question. Wich one is the better to use? What i want to do, is a simple yet stable configuration system for any of my projects that …

Member Avatar for codeorder
0
436
Member Avatar for CodeLearner

Imports System.Data.OleDb Public Class frmLogin Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim add As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\User\Documents\Visual Studio 2008\Projects\DietTrainer\DietTrainer\DT.mdb.accdb" Dim dr As OleDbDataReader Dim SID As String = "admin" Dim SPSW As String = "admin" Dim LoginID As String = Me.txtID.Text Dim LoginPassword As String = Me.txtpsw.Text …

Member Avatar for lolafuertes
0
333
Member Avatar for krishniha

hey guys, i am looking for new topics related to vb.net (DATABASE PROJECT). can anyone help me in this research??

Member Avatar for lolafuertes
0
99
Member Avatar for deo153

Well here it is, im using list view box and MSAccess as Database connection rs.Open " SELECT * FROM Menu WHERE Menu_ID=" & tmp, con, 3, 3 rs.Update txtname.Text = rs("Name") txtprc.Text = rs("Price") txtqnt.Text = rs("Quantity") rs.Update clos MsgBox "Updated Successfully!", vbInformation, Me.Caption Form_Load txtname.Text = "" txtprc.Text = …

0
37
Member Avatar for Andreas5

Hello I am working on a Asp.net website where i can upload images. When i upload images i resize and save 3 different images: Original, Picture and a Thumbnail. My problem is that when i resize .Gif images they just end up with ugly colours and without animation. I had …

0
52
Member Avatar for guptas

Hi all! i am trying to copy a file from 1 location to other location with a new name. The new name should be like "Oldname + date & time". I wrote the following code but getting error that the Given path format is not supported [code] Imports System.IO Public …

Member Avatar for guptas
0
326
Member Avatar for Dorayaki

Hello, Currently I can connect database through local area network by using IP address on the SQL string. Then I read about security things that it require ssh/tunneling ? I also wanted my computer can connect to mysql database server not only through LAN but also through the Internet. So, …

0
61
Member Avatar for laptop545

Hello All, I have a question regardind=g accessing shared resources. I have a for loop in which i am creating many threads.. And each thread at some point of time they call this function : [code] Public Function UpdateMailJobs(ByVal con As Data.DataRow, ByVal jobid As String, ByVal varName As String, …

Member Avatar for the_carpenter
0
172
Member Avatar for KrisJones

Can Somebody please help a newbie ? I`ve searched high and low for an answer, but just can`t seem to get it working ! I`m trying to write a programme ,in VB2008 Express, to receive Serial Port Ascii data ( from a Multimeter) and display it as Hex Data in …

Member Avatar for ÜnLoCo
0
150
Member Avatar for Dorayaki

Hello, I Got problem in using delimiter by using vb.net 2008 Please take a look at my code [CODE] Dim array As String() Dim IPaddr as String Dim r As New System.IO.StreamReader("config.ini") Dim rline As String = "" Dim s As String = "" While r.Peek <> -1 rline = …

Member Avatar for codeorder
0
107
Member Avatar for mustangBE

hello i have an appl. in vb2008 with a datagridview. when i import my data from excel (colum with text and numbers)it only imports the numbers or the text , not the both. example : 120 150 set25 160 "set25" is not imported example : set120 150 120 set130 "150 …

Member Avatar for mustangBE
0
116
Member Avatar for lordbaddkitty

I'm trying to LINQ two tables based on a dynamic key. User can change key via a combo box. Key may be money, string, double, int, etc. Currently I'm getting the data just fine, but without filtering out the doubles. I can filter the double in VB, but it's slooooow. …

Member Avatar for lordbaddkitty
0
288
Member Avatar for pixma

Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click conn.Open() Dim cmd As New OleDbCommand("Update (SELECT Employee.empno, Employee.emplname, Employee.empfname, Employee.empmidname, Employee.contactno, Admin.description FROM Admin INNER JOIN Employee ON Admin.adminNo = Employee.adminNo) Set emplname=?, empfname=?, empmidname=?, contactno=?, description=? where empno=?", conn) cmd.Parameters.Add("empno", OleDbType.Integer) cmd.Parameters.AddWithValue("emplname", OleDbType.Char) cmd.Parameters.AddWithValue("empfname", OleDbType.Char) cmd.Parameters.AddWithValue("empmidname", …

Member Avatar for pixma
0
165
Member Avatar for perryg30313

Can anyone tell me what is wrong with the following Code. I am trying to launch a form on a different thread because the form takes 10+ seconds to load. The code I am using follows: [CODE] Public Class frmAdjustments Inherits System.Windows.Forms.Form Dim gVariant As Guid Dim gsUID As Guid …

Member Avatar for perryg30313
0
129
Member Avatar for bettybarnes

hi everyone kindly help me with my code, my form isn't showing my newly added records in the database but when i close it and then open again it will show. I want to know how to add refresh button and it will automatically refresh itself.. Thanks in advance!

Member Avatar for bettybarnes
0
197
Member Avatar for Naveed_786
Member Avatar for Naveed_786
0
477
Member Avatar for OldQBasicer

I'm re-posting this because I forgot to put code tags around the code. I'm trying to make a form with a thermometer painted on it. I want the thermometer to go up each second. I tried the code below and it sorta works, but not really. It does the For... …

Member Avatar for Mariandi
0
209
Member Avatar for kalyan2642

Hello people, can some one explain me how i can plot distance based graphs.., like i have x,y and z vlaues in three files , i calculate distances cause x and y are latitude and longitude now i need to plot them using zed graph.., i can plot them but …

0
37
Member Avatar for SpOOKy.Is.GoD

Here is my Prob- we have a main router from which we use a distributor or hub for internet connection distribution, ever computer connected automatically obtains IP address of format say - 180.50.50.xxx to access net connection. if any connected computer has different IP format than the given one, it …

Member Avatar for ÜnLoCo
0
3K
Member Avatar for VB 2012

How do get a dll's resources By resources i mean the stuff that you can put in like Images,files,icons ect. How to you call the resources:)

Member Avatar for GeekByChoiCe
0
96
Member Avatar for riddhi_k
Member Avatar for akuvidz
0
2K

The End.