20,279 Topics

Member Avatar for
Member Avatar for cr6564

Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as …

Member Avatar for codeorder
0
621
Member Avatar for xcarbonx

Hi, I'm having trouble lining up data from a file with their respectable columns in a list box. I am using print zones to space out data evenly, but when i run the program the output is still messy. So I need help lining up columns properly together. As of …

Member Avatar for xcarbonx
0
1K
Member Avatar for zaaephod

Hello again! This is something that's been bugging me for a while. Say I have a dgv with several columns and rows of data. Many times while working with the grid, it's necessary to know the number of the column, but all you know is the column header name, or …

Member Avatar for zaaephod
0
1K
Member Avatar for hueikar

hi.i m new in the visual studio basic 2010..can i noe how to import txt file to datagridview? the txt file like below: name>date>id jay,2010,a111* cheryl,2011,a222* i had successfully import the data to the datagridview. but i cant import for the attribute.. the attribute and data will always change if …

0
52
Member Avatar for alex-VX

hi im making a task manager and want to get cpu usage of a process this is how my code looks now [CODE=vb.net] For Each proc As System.Diagnostics.Process In pList Dim lstStuff As ListViewItem = New ListViewItem() lstStuff.Text = proc.Id.ToString lstStuff.SubItems.Add(proc.ProcessName) Try lstStuff.SubItems.Add(proc.TotalProcessorTime.Milliseconds.ToString + "%") Catch End Try lstStuff.SubItems.Add(proc.WorkingSet64.ToString()) lstStuff.SubItems.Add(proc.Responding.ToString) …

Member Avatar for AndreRet
0
2K
Member Avatar for luanht

This is very much in the source code vb.net, c # refer you to learn more . [URL="http://update24h.info/blog/index.php?go=category_51"]http://update24h.info/blog/index.php?go=category_51[/URL]

-3
40
Member Avatar for DavidRathbone

Looking on the web very few have got VB.net 2008/2010 using object arrays working. I felt it was time to give back what I have taken from the web for any other users. VB6 had a simple object array system which has been lost in VB.net As a C#/ C++ …

Member Avatar for AndreRet
1
2K
Member Avatar for linezero

I was trying to get this work, but couldn't find a way to work this out. I'm new to vb.net. In a text box, the user enters a number for example a 9 digit number. I want the user enter to enter a 9 digit number that is starting from …

Member Avatar for codeorder
0
125
Member Avatar for linezero

how to validate a text box to accept only alphabets and numbers. no special characters. in vb.net i have tried the following code but it doesn't allow numbers but it allows alphabets only [CODE]Private Sub TextBox2_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox2.KeyPress If (Microsoft.VisualBasic.Asc(e.KeyChar) < 65) _ …

Member Avatar for kvprajapati
0
3K
Member Avatar for ironclads

I'm trying to get a VB.Net application to type into a file upload control field. The application currently navigates to the correct page, and clicks the "BROWSE" button so the "Choose File" window opens, but when I use SendKeys.Send( "Testing" ), nothing types into the field, even though the cursor …

0
43
Member Avatar for eladreznik

I am trying to delete a row and update the database, i wrote the code, but it results in an error: Dynamic SQL generation for the updatecommand is not supported against a selectcommand that does not return and key column information. the SQL table contains a primary key, any idea …

0
68
Member Avatar for d_a_r_k

Hello, I'm working on some project and I need your help guys. I'm just a beginner. I searched the forums for a related topic but couldn't found any resolved answer. So how can I make start my external application "DXSETUP.exe" at center screen position using this code? Thanks. [CODE]Private Sub …

Member Avatar for AndreRet
0
3K
Member Avatar for mynameisshafiq
Member Avatar for Pundia

Hi everyone, I'm in this proyect where I need an area in the form where I can place just dots, then join these dots with an straight line between them. How can I do that? I placed a Picturebox to see functions there but nothing is clear. Any help would …

Member Avatar for codeorder
0
216
Member Avatar for lewisco

I have a multiline text box which is used to enter barcode numbers into. I have a barcode scanner and all the barcodes will end in L2, L3 or L4. Once a barcode is scanned in I need VB to detect either L2, L3 or L4 then go to a …

Member Avatar for codeorder
0
1K
Member Avatar for aljiro

Greetings Good People of DaniWeb, I have been on a search for a solution for my problem for weeks and weeks now. My search has brought me into this wonderful community in which I hope to find help. I will be doing my part in the community by providing help …

Member Avatar for aljiro
0
2K
Member Avatar for tahir_77

I am beginner in vb.net, I have created a report in SQL Server Report Builder 3.0 and I want to call/run this report from vb.net form. Please tell me how can I do this, if you have any sample code will be highly appreciated.

Member Avatar for AndreRet
0
49
Member Avatar for Learning_Curve

I am currently working on an application for use with scanning an printing devices. I use the ManagementObjectSearcher in order to retrieve device names and Id's: For example using (Don't forget to add the reference to System.Management.dll in the framework 2.** folder if you're trying the code) [CODE] Dim searcher …

Member Avatar for AndreRet
0
393
Member Avatar for 290nerd

I'm having trouble working with VB.Net 2010, I'm trying to have a Windows Media Player video play, and once it ends I want it to go to a new task. But I cannot figure out how to get it to get to that new task in the event that the …

Member Avatar for AndreRet
0
43
Member Avatar for zaaephod

Hello, first post =D Seemingly simple question, but I can't seem to find the solution. [CODE] (above were other SQL statements I had been fooling with) SQL = "SHOW TABLES;" Try conn.Open() da = New MySqlDataAdapter(SQL, conn) Dim cb As MySqlCommandBuilder = New MySqlCommandBuilder(da) da.Fill(ds, "products") dgvMain.DataSource = ds dgvMain.DataMember …

Member Avatar for AndreRet
0
192
Member Avatar for Trle94

Hey every one... im trying to read file path from .txt I can read it but there is one big hole in which i stepped.. So if you could help me out?? lets see the code looks like this: [CODE]Imports System.IO Public Class Form1 Function INIparse(ByVal TextStringToProcess As String, Optional …

Member Avatar for Trle94
0
152
Member Avatar for eladreznik

i need to create a vertical seperation line in a panel, how do i do so ? do i need to create a place holder and just load an image or is there a better way for doing so ?

Member Avatar for codeorder
0
68
Member Avatar for ACARS

I know this might have came up, but i have a login code and once logged in it would show u your information that u entered in the sql database just for that one person that logged in. Here is my problem when i login it shows another users information, …

Member Avatar for kronald
0
146
Member Avatar for D4rkN3t

I'm new to Vb and I'm just testing some stuff and at the moment im trying something new and im stuck... So here is what i want to do... [URL="http://img441.imageshack.us/img441/9858/hfghdfhg.jpg"]http://img441.imageshack.us/img441/9858/hfghdfhg.jpg[/URL] I want the username and Password fields to be the mail and password in here... [CODE]Dim MyMailMessage As New MailMessage …

Member Avatar for kronald
0
141
Member Avatar for iamthwee
Member Avatar for sukanya1990
0
5K
Member Avatar for Th13teen

Hey, I'm fairly new to VB and haven't done this kind of thing with code before... I would like to read values set in a string that's retrieved from the Web, I've already got the string in a string called Webdata. The string is like so... [CODE]"Info" { "Name" { …

Member Avatar for Th13teen
0
149
Member Avatar for eladreznik

guys, where can i find some icons needed for a panel ? i am looking for the regular icons, add, delete, save etc ?

Member Avatar for AndreRet
0
62
Member Avatar for chris evans

Hi im working on views that can help me navigate through records in a table. i have managed to execute an sql string to select the table i.e "select * from Users" i however want to build a "Previous" and "Next" command on the view but im mixed up on …

Member Avatar for AndreRet
0
94
Member Avatar for kmachstang

I am fairly new to VB.NET and I am working with an service that implements a timer. The timer action will do some work and then log success/failures to the event log. I am noticing that each time the event log is written to the memory usage of the executable …

Member Avatar for JJCollins
0
124
Member Avatar for Richard Kerr

I'm writing a small application to retrieve a playlist from Windows Media Player and I'd like to display the associated album art. I can't find any reference to where the album art is stored in relation to the album currently in the playlist. The code I'm using is fairly simple …

Member Avatar for JJCollins
0
496

The End.