20,899 Topics
![]() | |
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 | |
![]() | 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)" … |
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 … | |
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? … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
can anyone help me to figure out how to nest forms on visual basic?? example: i would like to link form1 to form2? | |
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 … | |
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 | |
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 … | |
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 | |
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 … | |
![]() | 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 … |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hey guys, i am looking for new topics related to vb.net (DATABASE PROJECT). can anyone help me in this research?? | |
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 = … | |
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 … | |
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 … | |
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, … | |
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, … | |
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 … | |
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 = … | |
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 … | |
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. … | |
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", … | |
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 … | |
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! | |
How to store and retrieve images from VB.NET and Sql Server 2008 | |
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... … | |
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 … | |
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 … | |
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:) | |
please give me full coding for searching data from textbox and display it in gridview. |
The End.