20,284 Topics

Member Avatar for
Member Avatar for StatiX

Im trying to display data in a datagrid then once a row is selected show a different column of the database in a text box. I use the unique primary key in the datagridview as not visible so once the row is selected, i can get that integer and populate …

Member Avatar for gever
0
73K
Member Avatar for nashy13
Member Avatar for Begginnerdev
0
69
Member Avatar for shena

Hi all, i created a table (columns:part_no, part_desc, pi_loc) whereby part_no field has unique values. But, now need to add one more column "customer" and the part_no will have duplicates. And, we need to verify new entries by checking the part_no and customer fields (which tied together is unique). How …

Member Avatar for Begginnerdev
0
61
Member Avatar for babyluxe03

Hi.. i have created a tic tac toe game in vb net 2010.. im almost done with my project but there are still some errors. Can somebody pls help me with my code? A big thanks to whoever will help me.. my errors are: buttons remaining are still clickable when …

Member Avatar for babyluxe03
0
1K
Member Avatar for pardeep3dec

Hi Experts, First of all Happy New year in advance. :) I am unable to run VB.Net exe file on another computer.On that computer there is no VB.NET application. how can i make that computer for running .exe file. Pardeep

Member Avatar for prateek.singh.18
1
165
Member Avatar for Ahmed.C

Hi. I am working on this ftp client and i want a column of the listview to show the date modified. I've got the code but here's the problem: Private Sub RefreshList() FTPDownload.Hostname = LoginMenu.TextBox3.Text.Trim FTPDownload.Username = LoginMenu.TextBox1.Text FTPDownload.Password = LoginMenu.TextBox2.Text ListView1.Items.Clear() Try For Each File In FTPDownload.ListDirectory Dim ext …

Member Avatar for pritaeas
0
116
Member Avatar for Ahmed.C

Hello people.. I've been working with listviews and FTP clients and i was wondering if you could help me with getting listview to show the icon for the relevent type. So like i have a files in the listview which is music.mp3 and testdoc.txt etc and i need the list …

Member Avatar for Ahmed.C
0
153
Member Avatar for aning0420

hi !! my background in vb.net is not that good, but i need to make a voting system, user must be log in once and update his status into yes after voting, i have a table namely tbl_elemvoters it has a fields : voterid, username, password, name, grade, section and …

Member Avatar for Keerthi_1
0
306
Member Avatar for nikki05

Hi I am storing name and texts of controls (Label, Button, ComboBox, ListBox, etc.) into a dictionary. With ContainsKey, I am able to find the texts of Labels, Buttons, and RadioButtons. However, I am getting problem to find the items of ComboBox. Appreciate if you have an idea. If _dic.ContainsKey(selectedControl.Name) …

Member Avatar for nikki05
0
226
Member Avatar for pearl.kumar1

Hi to all, This is the first time i can use barcode..anyone can suggest how to use coding () in VB.Net.. Private Sub Button3_Click(print_click)(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Actual VB6 Coding for the same module is.. Private Sub BTNPRINT_Click() Dim cur_dat_tim As String Dim copy …

Member Avatar for tigerwoods11
0
293
Member Avatar for Patrick_3

I don't know if what I would like to accomplish is possible in VB, but here it is. Lets say my program creates a set of labels at run time. These labels will be named Label_n (n being an index value to uniquely identify the object). Later in my program, …

Member Avatar for Patrick_3
0
362
Member Avatar for Ahmed.C

Hi. I was just wondering if there is a simple way to detect if the filetype is a sort of docuemnt which can be read and written. e.g. txt, docx, ini ect. I want to make it in s uch a way that when the listview selects and item it …

Member Avatar for tinstaafl
0
155
Member Avatar for amvx86

Hey what's up everyone? I have a script here that works when i execute it from command line, and when I double-click it. Now, there is something interesting going on here. 1) When the program is executed by process.start it does not load (even when called from cmd.exe /c ...) …

0
195
Member Avatar for vaasudevi

Hi all, I am loading the webpage into my webbrowser and navigating, filling the from etc. while do so, if i fill the first textbox , based on that second text box has to come automatically. But it's not coming automatic. When viewing page source of that page came to …

Member Avatar for AleMonteiro
0
567
Member Avatar for dangeroz

Public Class Adminpage Dim result As MsgBoxResult Public Sub shw() End Sub Private Sub Adminpage_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load clr() End Sub Public Sub clr() patientno.Text = "" lasttxt.Text = "" Firsttxt.Text = "" Middletxt.Text = "" ComboBox1.Text = "" gencbad.Text = "Select..." MaskedTextBox1.Text = …

Member Avatar for JorgeM
0
290
Member Avatar for Trle94

Hey guys what I'm really trying to do is that i use same button to open image, convert it and save. Example on first click our button name is "select.." you click it and filedialog opens and you choose image, when you hit okay it changes name to convert, then …

Member Avatar for ddanbe
0
199
Member Avatar for Ahmed.C

I was just wondering if there is a possible way to get the last 4 characters from a label or textbox. If someone could please provide me with an example that would be great! Thanks..

Member Avatar for ddanbe
0
139
Member Avatar for Ahmed.C

So I've been working on this FTP server client using Howard Richards FTP client library. After a while the program just stopped logging me into the FTP server and is giving me the "Object reference not set to an instance of an object." error each time i click the button …

Member Avatar for Begginnerdev
0
203
Member Avatar for Rajiv9

Dear All, I had created Userform in VBa excel in which data is provided after the final rsult in user form i want to print whole data in specified format What is code of printing for specified format Rajiv

Member Avatar for Begginnerdev
0
135
Member Avatar for tyserman5674

I am getting an error with this statement and can not seem to figure out what is wrong. [code] decMortgagePayment.ToString("C") & " Monthly Payment" = Me.lblMortgagePayment.Text [/code] I am doing a calculation and want to put the results of the calculation in lblMortgagePayment. I get the error for this line, …

Member Avatar for ss125
0
398
Member Avatar for GreaterThanYouAndMeCombine

well our professor said to make a program able to solve specific mathematical problems by using VB 6 well iwas studying Vb6 but i can't get a clue on how to make the equation inputtted to be the one used as a formula (like for example type equation here: (x^2/2 …

Member Avatar for Reverend Jim
0
138
Member Avatar for themaj

My current VB.net project involves a 2003 Access db and I have now upgraded one of my machines to Access 2007. Before I upgrade the other I'm wondering whether there are any significant issues with my present VB.NET code that might render it 'broken'. Are there any connection issues I …

Member Avatar for Begginnerdev
0
251
Member Avatar for Ahmed.C

Hi. So i was just wondering if there is a way to get the filepath only when a user selects a file using an openfiledialog. E.g. Rather than C:\Test.txt it should be C:\ Really would appreciate the help

Member Avatar for Ahmed.C
0
2K
Member Avatar for Fangling

Hi i have a datatable which looks like: Modulecode AdminNo EG1001 111411H 111380Y 192029B EG1002 110970R 102938X ... populated in a dgv. How to i get: Modulecode NumofStudents AdminNo EG1001 3 111411H 111380Y 192029B <<<<<<<<<<Blank>>>>>>>>>>>>>>>>>>>>>> EG1002 2 110970R 102938X <<<<<<<<>>>>>>>>>>>>>>>>>>>>>> . . . My codes are: ''Connections Dim connect As …

Member Avatar for ss125
0
130
Member Avatar for nerden

I am trying to write an application to do various things, one of the elements is going to require a service, The service is called myService.vb and is part of the main solution containing frmMenu which has a button (btnRegister). Is it possible to programaticaly register this service? Alternative question: …

Member Avatar for nerden
0
319
Member Avatar for yuvjeeth

Hi Everyone, I would like to know if there is any way to change the color of a part of text in rich textbox when the user types it automatically like the way in vb.net IDE (Classes have blue etc.). Thanks in advance, Yuvjeeth

Member Avatar for ddanbe
0
476
Member Avatar for monching

Hello guys, I have my problem in saving date to mysql. Dim conn As MySqlConnection Dim myCommand As New MySqlCommand Dim commandB As MySqlCommandBuilder Dim data As MySqlDataAdapter Dim query As String = "SELECT * FROM events e;" Dim myconnstring As String Dim comm As String Dim vers As String …

Member Avatar for shashikumar s g
0
3K
Member Avatar for Reverend Jim

Several people have asked about storing binary data in a database. I coded up an example today that uses an ADODB.Stream to copy the binary data but after some fiddling I found a more direct way. If you are using MS SQL Server, the easiest way I have found is …

0
2K
Member Avatar for chloie

hi I have the codes for the save,delete and update button but I need the codes for first,prev,last and next can you please help. please

Member Avatar for Reverend Jim
0
510
Member Avatar for Ahmed.C

Hi. I just wanted to know if there is anyway to make a textbox recognise if there is text or not. I don't want it to be textbox1.text = "". Is there a legitimate way?

Member Avatar for Ahmed.C
0
160

The End.