20,285 Topics

Member Avatar for
Member Avatar for Ruchi224

Hello... I have form having a button and a gridview. The gridview is ok and generates data. But now, i want to populate only the data when i click on the button specified. Can anybody please help me with this ?? Here is my code : Private Sub button1_Click(ByVal sender …

Member Avatar for Ruchi224
0
136
Member Avatar for raaif

I want to write an XML file in the following format [ICODE]<?xml version="1.0" encoding="utf-8" ?> <trans> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from …

Member Avatar for raaif
0
184
Member Avatar for aldeene

I created a barcode and displayed it in a picture box and i want to print it. i can't figure how to do it..

Member Avatar for aldeene
0
10K
Member Avatar for rinoa0424

Guys.. I need help in my RPG game project.. I used visual basic 2008, windows form applications. I used panel and its background is the map, and I used picture box as the character and with transparent gif pictures in every keyevents, I already can move the picturebox with keyevents. …

Member Avatar for nick.crane
0
216
Member Avatar for sidyusuf

hi frnds.... i am working on a window based student registration project using vs2008 and ms access database.what i have to do is to register students for main or comptt. exam according to the course they are in. The students are shown in a datagridview as per the course generated …

Member Avatar for sidyusuf
0
163
Member Avatar for EliteCandyX

hey daniweb :) I need to click this button in vb. like click a button in webbrowser1 [CODE]<input type="submit" name="ok" value="send" class="btn sbold slarger">[/CODE] I've scoured through the internet, but alas, i failed to look for a helpful one :\ how would i go about this? Thanks a lot

Member Avatar for codeorder
0
142
Member Avatar for Ruchi224

Hello !! I am making a simple windows application. In one of the forms, I have buttons with various names and datagrid that displays the table. Now, what i would like to do is if I click on a button titled "softwares", i want only those elements from my table …

Member Avatar for Ruchi224
0
157
Member Avatar for Ole Raptor

I am getting this message: value of type "System.data.datacolumn" cannot be converted to "System.windows.forms.datagridviewcolumn" when I am trying to add a column to the dgv [code=vb.net] Dim dtcCheck As New DataColumn("Select") dtcCheck.DataType = System.Type.GetType("System.Boolean") dtcCheck.DefaultValue = False Dim sa As New SqlDataAdapter("SELECT * FROM therapy", myconnection1) sa.Fill(ds, "Therapy") dgvther.DataSource = …

Member Avatar for concepcionmark
0
5K
Member Avatar for khentz

Hi, Here's the code of my listview,.It's already working well. It have a search box in my form, then if the use type in the search box, the result will display at the listbox. Now, what I want to do is when I choose an item in the listview, the …

0
79
Member Avatar for vasim jada

[CODE] Imports System.IO Imports System.Data.OleDb.OleDbException Public Class Form2 Inherits System.Windows.Forms.Form Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Dim username As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Member Avatar for Netcode
0
117
Member Avatar for khentz

hi, Please help me with my listview. The listview did'nt show any list items. here's my code: [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged Dim strSearch As String strSearch = "SELECT * FROM tblMobileTracking WHERE accountNumber LIKE '" & txtSearch.Text & "%'" myConnection.Open() Dim …

Member Avatar for khentz
0
182
Member Avatar for ericko10kip

i am stuckin the printing the listview items.i have already displayed in the listview.i would like to printpreview and also print it. please help people.

Member Avatar for lolafuertes
0
209
Member Avatar for raaif

I've seen threads on this topic but it didnt shed any light on my case so here it goes I am trying to rename a file as such; [CODE]Dim loc_path = "D:\Test" Dim filenames() As String = Directory.GetFiles(loc_path, "*.mp3") For i = 0 To ListBox1.Items.Count - 1 filepath = Path.Combine(loc_path, …

Member Avatar for lolafuertes
0
1K
Member Avatar for comsci2

hi guys,, this is my problem first im going to scan into a scanner, after that it loads into a picture box and when i save it i got an error said "A generic error occurred in GDI +" Can you help me guys Thanks for your assistance all comments …

Member Avatar for Maduri M
0
2K
Member Avatar for raaif

I have created a contextmenu (cnt_hys) and am adding items to it as program runs based on the user input in textbox1. when the user clicks button1 the contextmenu shows up and when the user clicks an item on the contextmenu strip i want to get the text of the …

Member Avatar for raaif
0
7K
Member Avatar for TIP.Synergy

i have a list of record that already populated but my problems is How to find out if there are any duplicates? VB.NET

Member Avatar for TIP.Synergy
0
2K
Member Avatar for bluehangook629

hey guys, I have this simple set a codes that opens a form as a child in MDI container. [CODE] Private Sub BarButtonItem1_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem1.ItemClick frmConfirmShipment.MdiParent = Me frmConfirmShipment.Show() ''Dim NewMDIChild As New frmConfirmShipment() With {.MdiParent = Me} ''For Each ChildForm As Form In Me.MdiChildren …

Member Avatar for bluehangook629
0
206
Member Avatar for saba kausar
Member Avatar for gccriaz
Member Avatar for Ruchi224

This is the syntax i have written in vb.net to compare the text entered in textbox with the database. If existing, the value will be entered in databse, if not, it will give a msgbox displaying to add a new contact. I am new in vb.net. The database is Ms …

Member Avatar for Netcode
0
124
Member Avatar for aadi_capri

hello everyone. i have 8 labels on a page and i have to select them one ba one. all the labels are selected ba the user one after the other from top to bottom fashion, like firstly [B]label1[/B] is selected then [B]label2[/B]........[B]labeln[/B] and if someone exploits this fashion i want …

Member Avatar for Mitja Bonca
0
460
Member Avatar for NetJunkie

I am using a DLL file as my license file for a VB.NET project and was wondering if there was a way to make it locked so notepad can't open it and edit the data stored in there. Thanks in advanced!

Member Avatar for adam_k
0
423
Member Avatar for IT_Student_604

, hello there.. can anyone teach me how to display picture using the Application.startup path?.. i don't have any idea about it. i want to locate the picture in my bin folder inside my debug folder as i selected the name of the candidate in the combo box.

Member Avatar for NetJunkie
0
173
Member Avatar for rinoa0424

Hello friends!! I made a simple RPG game for my project. I used windows form application.. I set the background image of my form1 to a picture that is already a map.. I used picture box for the MainCharacter and set it to transparent and I also put transparent background …

Member Avatar for rinoa0424
0
180
Member Avatar for Ruchi224

Hello !! I am trying to implement datagridview using b.net and ms access. While I import the data from database, the connection is established and test connection succeeds. But, during the last phase, i get an error saying : Could not load type 'Microsoft.VisualStudio.DataDesign.SyncDesigner.syncFacade.SyncManager' from assembly 'Microsoft.VisualStudio.DataDesign.SyncDesigner.DslPackage, version 9.0.0, Culture=neutral,PblicKey …

Member Avatar for Ruchi224
0
109
Member Avatar for theonebit

Hi, I have a problem. I have been programming an activation type of security protection for my software but i ran into problems when i try to generate an alphanumeric key with conditions. i cant seem to be able to make the keys to be valid with the condition. Basically …

Member Avatar for theonebit
0
206
Member Avatar for Bamboozled

I have the following VB6 code [CODE] Dim objdir As Scripting.FileSystemObject cfile="c:\workingdir\france\include" If DirExists(cfile) = False Then objdir.CreateFolder(cfile) End If Public Function DirExists(OrigFile As String) As Boolean Dim fs Set fs = CreateObject("Scripting.FileSystemObject") DirExists = fs.FolderExists(OrigFile) End Function[/CODE] The folder C:\workingdir\france already exists and there should not be any permissions …

Member Avatar for Bamboozled
0
362
Member Avatar for garrettb

I have written an application that creates an mhtml file based on information in cache. The MHTML file can be opened in Opera but not Internet explorer. Below is an example of an MHTML file i have created. Does anybody know what im missing? Why wont it open in IE? …

0
88
Member Avatar for chenschel

Hi and thanks ahead of time: I'm new to vb.net - not sure if I'm doing this right. I need an editable gridview with an Access database as it's source. The findcontrol is not finding control in gridview (dropdownlist). I have the following gridview: [CODE] <asp:GridView ID="gvRescue" runat="server" AutoGenerateColumns="False" onrowcancelingedit="gvRescue_RowCancelingEdit" …

1
74
Member Avatar for ericko10kip

Please assist in Formatting the input text to upper and lower cases e.g Start with a capital. Thanks.

Member Avatar for ericko10kip
0
126
Member Avatar for aadi_capri

hello folks, let me tell you the plot first. I am developing a windows application through vb.net,i have done the database connectivity through ms access, which has only two columns, i.e firstname and lastname. what i want is to maintain a session id so when i browse through all the …

Member Avatar for lolafuertes
0
204
Member Avatar for Purrenhage

I am trying to get this Program to print. Most of it is working correctly except for the part of the Fragrance. When it prints it is printing the whole list not what I selected. The exterior and interior are printing correctly and I tried to set the combo box …

Member Avatar for lolafuertes
0
154
Member Avatar for aadi_capri

Public Class Form1 Inherits System.Windows.Forms.Form Dim con As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim run = New OleDb.OleDbCommand Dim sql As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load dbprovider = …

Member Avatar for aadi_capri
0
194
Member Avatar for juniorsilver

How can i compile my application so the access database is inbuilt in the executable file so i can use it without installing microsoft office.

Member Avatar for lolafuertes
0
63
Member Avatar for juniorsilver

Please i am trying to compile my programme, and each time i do the access database is outside the executable. I was wondering if it is possible to compile it and the database will be within the executable, or better still how do i make it an installer kind of …

Member Avatar for lolafuertes
0
147
Member Avatar for OblibSystems

I was thinking of making a program which creates a console in which it sends a ping to an domain, in this case "www.google.com". then read this into my vb application. Probably looking to read each line into a listbox, this way i can add a parser to only take …

Member Avatar for Reverend Jim
0
123
Member Avatar for DeOiD

hi i'm making a little application in vb.net and i need to use a data base. so i used some of my aspx functions and the same data base. the problem is that every time i run the application and do something that needs to get values from that db …

Member Avatar for aadi_capri
0
391
Member Avatar for IT_Student_604

this thing is getting into my nerves and i really don't know what to do.. i tried a lot of variations in my code and even sql statement but still nothing happens.. i really need to do thing messed up project of mine and put all my efforts here.. but …

Member Avatar for lolafuertes
0
229
Member Avatar for Bucher

Hello all, I just joined the site. I hope someone can help me with a minor problem, I have been searching both this site and google for the anwser... but keep getting stuck. A dialog with a textbox is reading a text file within the project like this [CODE] Private …

Member Avatar for Bucher
0
218
Member Avatar for austenx

Good evening all, This is the first time I have needed to start a new topic, I can usually find the answers via the Google Gods, but not this time – I would very much appreciate your help. I have written a number of small apps in the past, have …

Member Avatar for austenx
0
591
Member Avatar for naazsayed

i want a field to be fetched from the database of one form and display it in another form i tried but the simple program works that to the text in the textbox appears in another forms textbox on button click event how to retrieve a value from a database …

Member Avatar for lolafuertes
0
193
Member Avatar for khentz

Hi, I have a search textbox in my form. I also have, textboxes for computer name, mouse serial number, monitor serial number and phone number. While in my database, they are all reside in one table named tblComputerAsset. I am using Access for my Database. What I want to do …

Member Avatar for Netcode
0
92
Member Avatar for khentz

Hi, I have a search textbox,I would like to know how to list all of the searched items in the list view.

Member Avatar for khentz
0
86
Member Avatar for SimarAsr

Hello, I developed a vb.net application using Ms-Access 2007 as backend. Now can i deploy this application in a machine where Ms-Access 2007 is not installed. Is Ms-Access runtime necessary for running the Apllication in machine not having Ms-Access 2007 installed?

Member Avatar for kvprajapati
0
138
Member Avatar for Ruchi224

Hello.. I am new to vb.net. Need to know how can I retrieve the value from compname field of my table, to the textbox7 in form i made. While the user enters data in the textbox, i need to compare the entered textbox value, if it exists or not, in …

Member Avatar for kvprajapati
0
147
Member Avatar for rbrnkr

I have a test.txt file that contains: 1/15/2011; somedescription ; Joe Blow ; $50 1/18/2011; somedescription ; John Doe ; $30 2/1/2011; somedescription; Joe Blow; $90 I want to be able to pull all rows of data associated with Joe Blow if a users selects Joe Blow from a combobox. …

Member Avatar for Reverend Jim
0
159
Member Avatar for moparman426

alright i have this problem out of my book that i bought used and goin through doin some self excersiesfor practice now this one has me stumped to ends the only thing i have so far is my dim as integer thats it but the problem reads like this: Your …

Member Avatar for Reverend Jim
0
222
Member Avatar for kylelendo

Dear friends I am trying to convert an exe file to another file preferrably a BAT file or MSI file I have converted an file into exe but now i want to convert it into another file [CODE] Private Sub Decode(ByVal strFrom As String, ByVal strTo As String) Dim fileIn …

Member Avatar for kylelendo
0
165
Member Avatar for casey_sunako

Hi guys, I would just like to ask if it is possible to capture and record streaming videos from websites like youtube, dailymotion, etc. using vb.net? Are there certain streaming protocols that should be considered? I hope someone could help me. Thanks.

Member Avatar for Reverend Jim
0
142
Member Avatar for raaif

Im trying to change the title of a mp3 file but it doesnt work ans also error An attempt was made to move the file pointer before the beginning of the file pops up at file seek ive comented it out (ie. '///###@@) in the WriteID3v11() sub heres my code …

Member Avatar for raaif
0
153

The End.