20,285 Topics

Member Avatar for
Member Avatar for HEMAMBUJAVALLY

hi friends, i m very newbie to vb.net. i'm using opendialog control to select the database file. this works for me. [COde] Private Sub btnbrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnbrowse.Click opendatabase.ShowDialog() txtfilename.Text = opendatabase.FileName End Sub[/COde] Then i need to connect with the actual code. i'm …

Member Avatar for lysezoudn
0
471
Member Avatar for codeorder

Having a bit of an issue with my file.scanner and that issue is that I cannot figure out how to run multi.threading when searching the files within a folder(8,000+ files). [CODE]Imports System.IO Module x Function xGetFolderFilesCount(ByVal selFolder As String) As Integer If Directory.Exists(selFolder) Then Return Directory.GetFiles(selFolder).Length Else Return 0 End …

Member Avatar for codeorder
0
479
Member Avatar for Lius

I have problem with saving entry to mysql.. first entry saved but it doesnt work with second, somehow the save_new button didnt respond at all.. then i use saveandclose button it works or after i restart the pc the save_new button function will do it job for the first entry …

0
93
Member Avatar for connect4

Hello everyone, By the way im portuguese so , sorry for my english and im new in VB.net so sorry if i dont understand somethings. I really need everyones help, you may think that my question is kind off easy for you , but for me its a bit hard …

Member Avatar for codeorder
0
1K
Member Avatar for Rakham

I'm using IO.File.ReadAllLines(FileName) to read all lines from text file to array of strings at once. Problem is, text lines include ANSI characters above ASCII value 127 (Scandinavian letters e.g. "Ä" (Ascii 196), "ö" (Ascii 246) and "é" (Ascii 233). Array is build up nicely, but all chars above ascii …

Member Avatar for thines01
0
741
Member Avatar for remya1000

I’m using VB.Net 2008 application program. I’m using DataGridView. I have a Print option where i need to print the DataGridView. I’m using this code for Printing and for Print Preview. [CODE] Dim MyDataGridViewPrinter As DataGridViewPrinter Private Function SetupThePrinting() As Boolean Dim MyPrintDialog As PrintDialog = New PrintDialog() MyPrintDialog.AllowCurrentPage = …

Member Avatar for Oxiegen
0
1K
Member Avatar for ryma

Hi! I'm load file XML to listbox It have old value in new line how to edit it. [CODE]<?xml version="1.0"?> <catalog> <book id="bk101"> <author>Gambardella, Matthew</author> <title>XML Developer's Guide</title> <genre>Computer</genre> <price>44.95</price> <publish_date>2000-10-01</publish_date> <description>An in-depth look at creating applications with XML.</description> </book> <book id="bk102"> <author>Ralls, Kim</author> <title>Midnight Rain</title> <genre>Fantasy</genre> <price>5.95</price> <publish_date>2000-12-16</publish_date> <description>A …

Member Avatar for codeorder
0
156
Member Avatar for haqayyum

Dear friends I am using vb 2008 with access 2007 at the backend. I want to make custome invoice id like Inv0001. when make next invoice the id should be Inv002 and so on. add 1 numeric value in the previous one. Please help me any help will greatly appriciated

Member Avatar for Reverend Jim
0
2K
Member Avatar for vivekanandaan

hi, I am having two tables with a similar structure. I want a code to select data from one table and update the same in second table and then delete the records in the first table. Kindly help me out. Thanks & Regards Vivek

Member Avatar for Reverend Jim
0
161
Member Avatar for honeybee2090

in application am using list box i load items from a text file i want to remove single items from list and want to keep duplicate items in listbox any help?

Member Avatar for honeybee2090
0
112
Member Avatar for Jackwong0099

[CODE] Private Sub btnedit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnedit.Click 'check for the selected item in list If Me.dgvData.Rows.Count > 0 Then If Me.dgvData.SelectedRows.Count > 0 Then Dim intStdID As Integer = Me.dgvData.SelectedRows(0).Cells("id").Value 'get data from database followed by id 'open connection If Not cnn.State = ConnectionState.Open …

Member Avatar for Pgmer
0
112
Member Avatar for snowdoll
Member Avatar for danait

Hi, I'm using an MS Access database which has password (database password, not a workgroup or smth). I'm using 13 characters - with no special signs- only letters. When I try to open the DB from access it works fine, but when I try to run my Windows Form application …

Member Avatar for mani-hellboy
0
165
Member Avatar for lysezoudn

Are there anyone know how to select a tab in tabcontrol using API? Any help will be highly appreciated.

Member Avatar for lysezoudn
0
162
Member Avatar for clipper_soul

i have the same problem of this post [url]http://www.daniweb.com/software-development/vbnet/threads/409118/1746088#post1746088[/url] i cant find the elements of this site that i need to my system. this is the only missing part to my system/project this is the site : someurl.com this is the portion that i want to grab [IMG]http://i1059.photobucket.com/albums/t432/doomhades666/sss12.png[/IMG] Thanks in …

Member Avatar for clipper_soul
0
420
Member Avatar for jtodd

Hey guys! I am trying to write a program that will display an excel spreadsheet in Visual Basic. My goal is for the program to display this Work Order Form I have designed in excel and to modify user, date and auto assign a work order number. After that is …

Member Avatar for M.Waqas Aslam
0
149
Member Avatar for Lius

[CODE]#Region "Imports" Imports System.Data.SqlClient #End Region Public Class frmcuti Private m_Cuti As New Entity_Penggajian.Cuti Private m_GetHari As New GlobalValidasi Private m_CutiA As New BussinessComponents.Cuti Private m_DS As New DataSet Private m_dta As SqlDataAdapter Private datagrid As DataView Private check As Boolean = True Private Sub frmcuti_onEdit(ByVal sender As Object, ByVal …

Member Avatar for Lius
0
197
Member Avatar for docgrid

hi everyone i need bit of support in my vb coding. i've publish data onto a datagrid(in vb express 2010). i just want to highlight entire row once the search data is found(in lime color) and color should be remain in that particular row when searching next records. so that …

Member Avatar for docgrid
0
535
Member Avatar for rhone0809

hi to all vb6 and vb.net expert! i need help. i want to split the data from a text file and save it to the sql database. attached here is the .txt file and the format.this data is from a chronolog machine im thinking of using string token but it …

Member Avatar for rhone0809
0
456
Member Avatar for Jackwong0099

Help me check? I think there's something wrong with these codes especially to the date of birth(chodob) when i start debugging the database don't have any columns :( Customer name = txtstdid Name = txtstdname Gender/Sex = cbosex Date of Birth = chodob1, chodob2, chodob3 Identification card number = txtic …

Member Avatar for Reverend Jim
0
115
Member Avatar for marijana

please, does anybody know is there a .NET control in which an excel document can be displayed on a windows form ?? Or is there any other way to display it on a form?? tnx :)

Member Avatar for jtodd
1
3K
Member Avatar for ng5

I have a masked text box and two text boxes. I would like to save all of these fields so that when the "open" button is clicked the field repopulate.... anybody have any idea on how to do this? If so please help me out. thanks in advance :)

Member Avatar for codeorder
0
434
Member Avatar for razree

Hi all I have two parts of code; one is searching (InStr) if log file contains certain string and the other one find the last modified log in one folder. Now I would like to merge these two together and modify so the [U]script finds the last modified log file …

Member Avatar for Reverend Jim
0
238
Member Avatar for dilse4sk

hello every 1 i am new to this forum i am having a lot of difficulty in giving privileges to login user. i am using vb.net and sql server 2008. What i want to do is i want to create an admin account . Admin will have all access on …

Member Avatar for Reverend Jim
0
501
Member Avatar for PF2G

Hi, I'm trying to do a school schedule with a Table Panel Layout, and i'm having some difficults. This is the code i have so far: [CODE]TableLayoutPanel1.ColumnCount = 7 TableLayoutPanel1.RowCount = 2 TableLayoutPanel1.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single Dim label_seg As New Label() label_seg.Location = New Point(10, 10) label_seg.Text = "Monday" label_seg.Size = …

Member Avatar for codeorder
0
105
Member Avatar for collin_ola

Hi, I have a textbox called [CODE]txtCustomerRecord.text[/CODE]. It is a multiline textbox, and I want to be able to enter different pieces of information (info1, info2, info3) into each line. I would really appreciate it if somebody could show me how to do this. Collin

Member Avatar for collin_ola
0
2K
Member Avatar for Shreya J

Hello All , I am working in a project in which I have been asked to use Telerik Gridview control. I was curious to know that why should we use Telerik Controls when we can do the same thing using ASP controls. Like in gridview the collapse and expand feature …

Member Avatar for Shreya J
0
113
Member Avatar for Jackwong0099

How do I fix this: Me.dgvData.DataSource = dt, there are three date of birth dropdown list [CODE] Private Sub RefreshData() If Not cnn.State = ConnectionState.Open Then 'open connection cnn.Open() End If Dim da As New OleDb.OleDbDataAdapter("SELECT txtstdid as [ID], " & _ "txtstdname as [Name], cbosex as [Gender], chodob1 as …

Member Avatar for Pgmer
0
186
Member Avatar for Hawk123

Hello, I have a serious and confusing issues with DateTimePicker. I have DateTimePicker where user can choose a date and make entry. I then record this entry into the database. Problem: my application date shows 08-02-2012 (i.e 08 february 2012 in DTPicker value), when i select this and insert it …

Member Avatar for poojavb
0
106
Member Avatar for daydie

Hey guys, is have a bot at the moment which basicly uses the browser to get around things and its really slow as the process which i need doing is repetitive. i need a really quick method. Can any1 post a sample script where it Downloads HTTP source to text …

Member Avatar for daydie
0
7K
Member Avatar for rhone0809

i have a problem with sorting this thing... i want to sort a column without changing the data in the other column. i have an attached document. a picture of my query and database.. tnx :)

Member Avatar for rhone0809
0
130
Member Avatar for syeda amna

Hi Which is better Web development or VB.NET course? I am also a java programmer. plzz suggest me, which one will be better for me/

Member Avatar for Rashakil Fol
0
244
Member Avatar for VijayKumaran

Dear friends, In VB.NET... How to write coding "Form Text characters move slowly right to left using of Timer"? Please help me and solve my doubt. Yours, Vijaykumaran

Member Avatar for person_112
0
3K
Member Avatar for artemix22

i try to put picture in mysql with vb.net, first i convert with this function : [CODE]Public Function convertImage(ByVal myImage As Image) As Byte() Dim mStream As New MemoryStream() myImage.Save(mStream, System.Drawing.Imaging.ImageFormat.Jpeg) Dim myBytes(mStream.Length = 1) As Byte mStream.Position = 0 mStream.Read(myBytes, 0, mStream.Length) Return myBytes End Function[/CODE] i try to …

Member Avatar for Reverend Jim
0
433
Member Avatar for Alex_2011

How are you, I created a simple cash register code that makes the user selects the order from different buttons. I have some problem figuring out the following: 1. How can I get the total (if the user selects 1 or 2 or 3 different orders). I need to find …

Member Avatar for Alex_2011
0
370
Member Avatar for daydie

Hello guys, ive tryed alot of HTTP codes to try login to EA Forums, But some reason i cant do it. It does re-direct on login and im wondering if this has anything to do with it. Any help would be much appreciated. [ICODE]Imports System.Net Imports System.Text Imports System.IO Public …

0
95
Member Avatar for M.Waqas Aslam

hello ! i am developing an desktop application , i want to make my menus just like in VS2008 have tool box , ,when we click on the main tab it will open and slid down , i want to make same thing , is there any one who guide …

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for themaj

Haven't been around here in a long time but have returned to hear your thoughts and suggestions regarding my problem. I had been dev'ing projects in VB6 until around 2006 when I stopped all my development. Mainly it was a change in responsibilities but it was also because I had …

Member Avatar for codeorder
0
145
Member Avatar for bilal_fazlani

[B]I converted my project from .net 3.5 to .net 4.0 and here's what I got.[/B] [COLOR="Green"][URL="http://img43.imageshack.us/img43/5152/errorso.jpg"]http://img43.imageshack.us/img43/5152/errorso.jpg[/URL][/COLOR] I wanted to convert just because of charting controls available in .net 4.0 I have a backup of original .net 3.5 project. can anyone please tell me what to do to be able to …

0
112
Member Avatar for Pride

[URL="http://www.daniweb.com/business-exchange/project-partners-wanted/threads/411630/1756166"]http://www.daniweb.com/business-exchange/project-partners-wanted/threads/411630/1756166[/URL]

0
75
Member Avatar for ryklon

Hello! Is there a way to hide the password of your database inside the source code? [CODE=vb.net]"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Application.StartupPath & "\Database.accdb; Jet OLEDB:Database Password = [B]MyPassword[/B]"[/CODE] As you can see the password is exposed, increasing the risk for the database to be compromise. Is there anything you can suggest …

Member Avatar for Reverend Jim
0
285
Member Avatar for ibeast

Hello, I wrote the following code to create dynamic controls-textboxes and labels. [CODE] ctlRow += 1 ctlRowLocation += 25 Dim new_ForceLabel As New Label new_ForceLabel.Text = "Force" + Convert.ToString(ctlRow - 1) new_ForceLabel.Location = New Point(txtForceLabel.Location.X + 2, ctlRowLocation) new_ForceLabel.Height = 25 new_ForceLabel.Width = 50 Dim new_ForceInput As New TextBox new_ForceInput.Name …

Member Avatar for ibeast
0
1K
Member Avatar for ryma

I can't load data to show error at xeProduct = XElement.Load(strLoadSource) I want data to compare if username or password wrong have messagebox if true exit sub [CODE]Private Sub login() Dim postData As String Dim strLoadSource As String Dim xeProduct As XElement postData = "username=" & user & "&password=" & …

Member Avatar for hericles
0
131
Member Avatar for M.Waqas Aslam

hello ! look , for example i have 2 textboxes in my vb form, i want that when i press enter key the focus move from 1st textbox to 2nd textbox , i use this code on my every control to move focus [CODE] if e.keychar = chr(keys.enter) then textbox2.focus …

Member Avatar for codeorder
0
1K
Member Avatar for Shodow

Now, from another MDI Child, the user selects a button which opens a window allowing them to add a new record to the system, this is simply a form and a add button... when the add button is clicked, a message box informs them that the new record is added. …

Member Avatar for Oxiegen
0
594
Member Avatar for imolorhe

I am currently working on a project in which I have a thread that needs to [U]constantly[/U] be making changes on a control in another thread. What is the best way to go about [B]safely[/B]? [I]Note: The thread connects to a database, gets data from the database, and populates the …

0
67
Member Avatar for poojavb

Hello Friends, I need an urgent help on the below topic.... I have created a project which takes the database dyanamically.... Means when the application starts it will ask for the database path....the database will already be created in some or the other folder.... The path for database is stored …

Member Avatar for bilal_fazlani
0
459
Member Avatar for shuey79

Hello, I am a beginner trying to make a networked game called Guess Who. I have 2 combo boxes I am trying to read a access database. Whatever is selected in the 1st combo box will be the column to 'lookup' the values in the database. These values should go …

Member Avatar for bmndayakar
0
957
Member Avatar for Killzusall

Hi all, Sorry if this has been asked before, I did a search but couldn't find anything. I am new to programming and thought I'd start with a GUI menu type thing. One of the options is to tell program's to install one after the other. This works fine but …

Member Avatar for Killzusall
0
570
Member Avatar for Contagious98

Can someone point me here any tutorials or ideas how can I start an event log in my Program? Vb.net am using msaccess as Database. Detailed info: Writes or records who was the last account that logged in the system.

Member Avatar for thines01
0
154

The End.