20,285 Topics
![]() | |
Rev Jim: I need to get a random file name from a specific directory (folder) each time this routine is called. I was given these steps on another website, but I need to be shown how this is done. Can you please assist? Get the files - Directory.GetFiles or DirectoryInfo.GetFiles … | |
Hi, Does anyone know how to have a dropdown appear when typing in a multi line text box? I want it to work in the same way it does in Visual Basic, suggesting what could be inserted based on what the user is typing. Thanks guys, Regards, Luke | |
Hi Expert, would it be possible to list all the current active Domain equivalent Active Directory in a network? Hoping to here from you. Thanks. | |
I need help about this, I've been working for this a quiet while... I want to log-in using one login form for both admin and normal user but after log in, some of its form and/or buttons in the form should not be available for normal users. here is my … | |
Hi group, I'm modifying a VB.net app where I need to loop through an Excel spreadsheet for data out of two column. In essence the code will need to read: For i = 2 to end of file propNo = Cells(i, 2).Value crms = Cells(i, 8).Value If crms = "Y" … | |
I know that this probably has been done by someone, but I want to learn how to do this using VB 2010 express. I cannot seem to get the numbers to stay in the text boxes that they are dropped in. The numbers always go to the last box (#81). … | |
Hi. I have a MVC project with a form and a submit button. The values are passed to the controller. One method will fetch data from the dataset according to the parameters passed. Then some VB functions will work with the data retrieved. Currently I have the whole dataset being … | |
I'm currently in the middle of making a VB.NET project. I want to have the VB.NET project control the actions of the Flash projector. (Stop, play, change text of text control in the Flash projector, etc.) This is a one way control however, nothing about the SWF projector will interact … | |
Hello everybody, I'm doing a colleague a favor by looking into a VBA formula to make her reporting tasks a little easier, poor her, but I need help myself now. this is how her tabsheet is set up:  this is how the end result should look like in … | |
I need to interface to a USB device from VB.net, where I both read and write to the device. Are there any programing differences between the different USB interfaces, i.e 1,2 and 3 that I should be aware ? Does it matter if say a USB 3 device is plugged … | |
I'm updating my database using this code. only id and attendance date is updated but the time(AM_TIME_IN etc...) is not updating. What could be wrong? I'm using access and time(AM_TIME_IN etc...) datatype is shorttext Dim a As String = Now.ToShortTimeString If a.Contains("AM") Then a = "AM" Else a = "PM" … | |
I want to play random sounds, one after another. I can get one sound to play, but nothing more. It should play 10 random sounds from the list of 6. It just plays 1. How do I get it to play all 10? `Private Sub RandomNote() For Me.a = 1 … | |
Hi i am making an application in vb.net and i need help. The user will send me his issues or information through attachment. but i want a restriction on filesize that he can not attach file more then 20MB i did some coding but its not working. it will show … | |
how to capture an area of your desktop and save as video in vb.net ? | |
how to login flash site in vb.net ? ex http://chatrandom.com/webcamchat/ http://free.123flashchat.com/room/Best+Tour+Chat | |
hi.i need help on this... i have a datagridview and when i clicked the datagridview shows in textbox and i have this one problem with my picture box...it only shows the same picture even if the saved picture in my database is not the same... Private Sub Button1_Click(ByVal sender As … | |
Hie someone please tell me from which site we can download vb.net software either 2008 or 2010? | |
Hi, everyone! I want to make search a student's grade. Each student follows the 10 subjects. I want to make a search of students in certain grades. I made 10 textboxs to input the value I want to search. I put a combobox on left of each textbox to select … | |
i want to save data entered into my form into the database but it is telling "column name or number of supplied values does not match table definition" here is my code help please Private Sub BtnSave_Click(sender As Object, e As EventArgs) Handles BtnSave.Click 'Error checking:Personal information Try cmd.CommandType = … | |
i used pcode as my primary key which has a datatype of short text Private Sub RefreshData() If Not conn.state = ConnectionState.Open Then conn.Open() End If Dim DATA1 As New OleDb.OleDbDataAdapter("SELECT pcode as [Item Code], psup as [Supplier], pcat as [Category], pdescript as [Description], pstock as [In Stock], piprice as … | |
Dear all, I have created project database in msaccessdatabase. It contail  form layout as shown in image & i have attached code for reference Imports System Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the … | |
Hi, I have try to insert edit and delete feature in my gridview app. however, the code is not really work. when I click the edit or delete button it keep adding the blank line. It supposed show textbox with data and Update Cancel link button, when I click the … | |
Hello. I have a SQL database called bd with a table called dados. I want to get one row from it. Web.config <add connectionString="Data Source=(local);Initial Catalog=bd;Integrated Security=True" name="bd" providerName="System.Data.SqlClient"/> variable declarations Dim DS As New bd Dim a1row As bd.dadosRow this code in the method won't return anything. In fact … | |
hello. i get data from two database db1, db2, into one datagridview, this dtatgridview has three columns[Id, Name, DirectorId], only the first row has no director, and each Id has one or more child, so that i want to create treeview that have one main node, and each node can … | |
Dear All May you kindly help me. I have a windows login form in VB.net. I have a users table in MySQL. How can i use the users table in to login changes made to any table in MySql database. I only have 1 mysql databse user that i use … | |
how do i deploy visual basic 2003 project and include access database? | |
Hi All I have a method to configure a datagridview, meaning changing the column widths, format columns etc. If I call the configuration meathod from the form load doesn't work because the form hasn't been totaly loaded and I dont get the correct size of the datagrid, to be able … | |
Good day! I want to know how to pass a value to reportviewer textbox. I want to pass the value of a datetimepicker to reportviewer textbox. How can I do this? Both reportviewer and datetimepicker are in the same form. any help is much appreciated. Thank you. | |
![]() | Hey guys, I'm teaching myself visual basic using the "Starting out with Visual Basic 2012" textbook and I'm having trouble with a two part programing challenge. I did the first part which was: *"An internet service provicer offers 3 subscriptions packages to its customers, plus a discount for nonprofit organizations … |
Hello, I am looking to return all the usernames and SIDs of users on a computer or network. Has anyone got any idea how to do this? I know I can return the SID of the current user using the code below: System.Security.Principal.WindowsIdentity.GetCurrent().User.ToString Any help with this would be great! … |
The End.