20,284 Topics
| |
Hi, so im having the user pick two separate colors. Now when they pick the 2.... im going to run an event that determines that combination..... for an example if the user picks red and blue the outcome will be +5 points. Now the only way i can think of … | |
hello all please help me out,I have designed a database in access having two fields(1.Regno 2.Smartid).I hav also kept some dummy values in RegNo,But the Smartid is empty. Now what code should I write to retrive the RegNo for which the Smartid is empty. I hav used only these three … | |
I am planning to create a webpage to collect simple information. Name, email, phone number, college name and also their markes in each subject Exam subject1 subject2 subject3 subject4 Result test1 85 77 90 90 pass test2 89 89 74 74 pass test3 88 91 98 98 pass Name: College … | |
im having a problem on double execution, this is a part of audit trail on my system, the DELETE FUNCTION is working, but it aint updating, im getting an error - it says that "Syntax Error on update statement" on i tried to manually query it on my access and … | |
Hello, I need some help on making a loop for an Windows Form application. This application takes as input a salesperson gross amount, and determines how many of the salespeople earned salaries in each range ($200 - 299, 300 - 399, and so on). I have to use an array … | |
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 … | |
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 … | |
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 … | |
| 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 … |
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) … | |
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] | |
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++ … | |
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 … | |
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) _ … | |
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 … | |
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 … | |
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 … | |
How to Add video in splash screen? is it possible? im using vb2008 | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 ? | |
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, … | |
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 … | |
| This snippet shows you how to connect to a database using ODBC in vb.net 2005 |
The End.