20,284 Topics
| |
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 … | |
anyone can know this code? if its possible just help me, but if not thanks:) | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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) … | |
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 … | |
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, … | |
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 … | |
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 ...) … | |
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 … | |
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 = … | |
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 … | |
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.. | |
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 … | |
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 | |
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, … | |
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 … | |
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 … | |
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 | |
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 … | |
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: … | |
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 | |
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 … | |
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 … | |
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 | |
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? |
The End.