20,285 Topics

Member Avatar for
Member Avatar for major_lost

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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for LukeJWhitworth

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

Member Avatar for Reverend Jim
0
190
Member Avatar for Sherwin Paul

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.

Member Avatar for Sherwin Paul
0
187
Member Avatar for Miurei

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 …

Member Avatar for Miurei
1
7K
Member Avatar for Papa_Don

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" …

Member Avatar for Teme64
0
17K
Member Avatar for major_lost

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). …

Member Avatar for Reverend Jim
0
504
Member Avatar for nosfa

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 …

Member Avatar for Reverend Jim
0
217
Member Avatar for thedonedeal

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for JVAII

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: ![CVDV__tab.jpg](/attachments/large/4/d71dd2333b4335e71abd83448f735d91.jpg "align-center") this is how the end result should look like in …

Member Avatar for ddanbe
0
402
Member Avatar for DenisOxon

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 …

Member Avatar for rproffitt
0
269
Member Avatar for Erald

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" …

Member Avatar for Taywin
0
209
Member Avatar for OTOSystem

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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for OMER AHMED

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 …

Member Avatar for Minimalist
0
432
Member Avatar for vb.n
Member Avatar for rproffitt
0
84
Member Avatar for vb.n

how to login flash site in vb.net ? ex http://chatrandom.com/webcamchat/ http://free.123flashchat.com/room/Best+Tour+Chat

Member Avatar for vb.n
0
97
Member Avatar for Johnny Joe

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 …

Member Avatar for renzlo
0
261
Member Avatar for Iamateur

Hie someone please tell me from which site we can download vb.net software either 2008 or 2010?

Member Avatar for renzlo
0
230
Member Avatar for Mitha_1

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 …

Member Avatar for Reverend Jim
0
237
Member Avatar for Christopher_12

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 = …

Member Avatar for Miurei
0
359
Member Avatar for Johnny Joe

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 …

Member Avatar for Miurei
0
646
Member Avatar for ajit.nayak

Dear all, I have created project database in msaccessdatabase. It contail ![Msaccess.jpg](/attachments/large/4/a91d2278c08f244b439891bcf7c3b36e.jpg "align-center") 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 …

Member Avatar for Miurei
0
334
Member Avatar for farahinsamsudin

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 …

Member Avatar for Miurei
0
240
Member Avatar for nosfa

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 …

Member Avatar for Miurei
0
357
Member Avatar for Mohammad_21

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 …

Member Avatar for JOSheaIV
0
1K
Member Avatar for Kenneth_4

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 …

Member Avatar for rproffitt
0
575
Member Avatar for brainne
Member Avatar for jacobsonsanjay
0
288
Member Avatar for VIPER5646

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 …

Member Avatar for VIPER5646
0
265
Member Avatar for marky101

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.

Member Avatar for Karunya_1
1
5K
Member Avatar for Steven97.1

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 …

Member Avatar for tinstaafl
0
635
Member Avatar for LukeJWhitworth

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! …

Member Avatar for Teme64
0
939

The End.