20,285 Topics
![]() | |
how do i output like datetimepicker.text to a listbox... I tried datetimepicker1.text but it did not work....can someone help me please my code is like this... Rpanel.Hide() Plistbox.Items.Add("Customer Name" & ControlChars.Tab & _ ControlChars.Tab & "Booking Date" & ControlChars.Tab & _ ControlChars.Tab & "Booking Time") Plistbox.Items.Add(Bcusname.Text & ControlChars.Tab & _ … | |
Please help me with my project When the form loads it will connect to serial com and retrieve the number of chinups from a PLC and store it a variable called 'int' there is a textbox in the form called 'txtname' and a button called 'ok' My question is when … | |
hello guys, i need help assigning details in a listbox to a button, therefore changing the buttons color....any idea...i manage to do something here.... [code] PListBox1.Items.Add("Customer Name" & ControlChars.Tab & _ "Booking Date" & ControlChars.Tab & _ ControlChars.Tab & "Booking Time") PListBox1.Items.Add(Bcusname1.Text & ControlChars.Tab & _ ControlChars.Tab & ControlChars.Tab & … | |
hey .. I need a help .. How can I find out how many macros are present in an excel file using excel objects in vb.net .. DO u hv any idea about it?? | |
[B][COLOR="Green"]how to display two fields in checkedlistbox from database i want to display empid,empname any help me[/COLOR][/B][B][/B] | |
PLZ HELP ME OUT ON THIS...ITS VERY URGENT..... Hi...plz help me out on this...i have stuck up here for past many days... 1) Plz tell me how to update the Database Table from the datagrid... here is my code : ITS A ATTENDANCE FORM CODE... I AM RETRIVING MY ATTENDANCE … | |
[B]any help me urgent i have a list box in my form in that i want to display empname and empid from database[/B] | |
:'( please help... i want to know the syntax in the checkbox and option button.... any idea please.... :?: | |
[CODE] Imports System.Data.OleDb Module Module1 Sub Main() Dim Cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\mibase.mdb;Persist Security Info=False") Cn.Open() Dim comando As OleDbCommand comando = New OleDbCommand() comando.CommandText = String.Format("SELECT Telefono FROM empleados ") comando.Connection = Cn Dim lector As OleDbDataReader lector = comando.ExecuteReader Do While lector.Read Console.WriteLine(lector("Telefono")) Loop Dim nombres As New … | |
Hi, I made a form having control reportviewer and when I run my web I got the following error: Failed to map the path What is the problem I neeeeeeeeeeeeeeeeeeeed Help quickly please :( | |
I need to average the numbers in the array and display and also detemine the letter grade and display. I've managed to average the numbers but I am unable to display the lettergrade, (won't compile) I think it has to do with "Average Grade" being a constant string This is … | |
Hey, I was wondering if anyone knew of a way to have a vb.net app that can load a batch file, and run it inside the vb.net app. Something like, when you open the application, you will see a blank window with a big button that says "Start Batch File" … | |
Hi All, I have a program trying to use mousehover to pause the autoscroll. It is a widows form called: lstOutput System.Windows.Forms.1 Below is how it is in my code. Public Sub lstOutput_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstOutput.MouseHover 'Public EventMouseHover As EventHandler lblPauseScroll.Text = "Output Paused" … | |
i have been using VB.NET in the developing of systems but i have an issue with the creation of classes in the VB.NET framework. some explanations please? | |
Hey everyone, I'm creating some databases (new to this) and I'd like to specify the maximum number of digits allowed for a record. For example, I have a field for zip code that I would like to limit to 5 digits. Can I do this with any of the binary … | |
:sad: hi every one I have a problem with rdlc report how can I view it??! I think something missing with my code.. can any one help pleeeeeeeeaaaaase :'( :'( :'( this is my code: Protected Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click Dim thisDataSet As … | |
Can anybody improve on my code to read from serial port and store it in a variable? Public Class Form1 'SerialPort object creation WithEvents mySerialPort As New IO.Ports.SerialPort Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'setting the mySerialPort settings With mySerialPort .PortName = "COM1" .BaudRate … | |
hi friends, i am having a Form in which there r 5 tab pages... however i want to enable/disable these tab pages on the basis of selection of some commands.. how can this be done ? i tried but i am not finding any enabled /disable property for the tab … | |
Hi Guys, Im more familiar with coding in C# ... can someone please help me to convert the line highlighted below into VB.NET Much appreciated [code] private int file_count = 0; /// /// Get the file count of a given directory recursively. /// public void GetDirectoryFileCount(string dir) { dir = … | |
Hey everyone, I'm writing a program for work. I need to do the following: The user inputs an unknown number of values to be processed. I want to allow them to basically click "new" and be able to add a new textbox or something that will allow them to input … | |
Hi all, Would you please help me to find a way that I can open an external crystal report in my application without creating a new report. I actually wanted the application to export the report to a PDF which I know the methods to do it. What I am … | |
Hey everyone, I have a program that computes the distance between two elevations at a given point. I need to plot these lines to a picture. I'm having problems getting the lines to start in the correct spot. Here's the code I'm using: [code=vb] Dim Gr As Graphics = PictureBox1.CreateGraphics() … | |
I am having a combo box in my form and i want to open a image using that now whenever i select any option from the combo box different different images should be displayed what cud be the necessary code and what event should be used to write the necessary … | |
Hii...i am curious to know about sending an sms from vb.net 2005 i browsed thru n no. of codes on this site..however i really wish to ask u which is really working ? Is there any code that is properly working ?? I too want to implement the same in … | |
I have a form in which i have 5 tab pages i have a doubt as to how to open a specific tab page within that form on button click. Say, i have an admission form in which when i click on save the details should be saved and then … | |
How is it different from VB6? Is it mainly for web or what? I've looked around on google and am abit confused. | |
I am writing a slide show. The slide show itself is not bad. My problem: [INDENT]I can put the pictures in the resource area. This would require recompiling and sending the viewer each time I want to send pictures. I would like to send the pictures seperatlly and have the … | |
hi guys can i ask... i have a treeview here connceted to retrieve my 5 tables in mysql 3.51 to update the record but when the records is being retrieved all the records in the database even the other contents that are not needed is being retrieved. Pls help me … | |
Hey guys I have 2 forms. One is a log in screen and another is a main menu. I need to retrieve the data from the textbox in the login screen to the textbox in the main menu. I have sourced around the internet and have implemented this code into … | |
What is the easiest way to print pdf files using Visual Basic 2005? I have some experience programming in VB 6 but I'm haven’t' been using 2005 very long so I’m still quite ignorant. Thanks for any help I can get. If someone could point me in the right direction … | |
I have a list of numbers, say; 1, 2, 3, 4, 5 and i want to find the next biggest number to 3, obv the answer would be 4. ive tried every book i know, and MSDN, i cant find anything, is this not possible? Thanks for you time. | |
Ok Well, in vb6 it's completely easy. For an example, im trying to convert this to vb.net but im kinda struggling. For Example, i don't know what the new get and put statements are in vb.net. [code] Dim aS As String Dim aF As String Open App.Path & "\s.exe" For … | |
How can i playing wav file on my application? Im using vb.net 2005. Thank you very much... | |
Hello there.....i just learnt how to use the the oleDb commands to insert into the a database i created from vb.net,but the problem is.....i cannot insert anythin else than OleDbType.VarChar or i dunno how to insert anything else this is my code......i need help to insert the value of my … | |
How can i set screen height based on resolution ? and i have a gridview in my page.when screen height is 768 page size of gridview is 7. screen height is 864 page size of gridview is 10. screen height is 960 page size of gridview is 11. screen height … | |
[B]TEXT file csvSTOCKS.TXT contains the following:[/B] Stock 1,200,300,200,200 Stock 2,200,300,200,200 Stock 3,200,300,200,200 Stock 4,200,300,200,200 Stock 5,200,300,200,200 [B]I'm attempting to read each line in the text file and put it in the array of strings lines()[/B] [code=vb] Dim sr As StreamReader = New StreamReader("csvSTOCKS.TXT") Dim lines() As String Do While (sr.Peek … | |
![]() | How do I pass an arrayList to a function? |
This program is supposed to prompt for a price until (do while loop) the input box is blank and then average the numbers and display the average. I've got most of it down except the average part, how do I store the numbers the professor hasn't showed us arrays yet. … | |
Hi Guys ... Does anybody know how to force a windows forms application to restart (Close and open again) taking the user back to the first screen ? My user fills in a questionnaire, reaches the end and is asked to either perform another survey or to send data (sent … | |
I've created a local copy of my company's live site. It is developed using ms.net[vb.net] and am using msVisual Studio 2005 on my comp. when i build and run it ,it runs fine but evrytime i put breakpoints it would open 46 tag viewers and my system would crash. I … | |
Hi, I have developed application in WinMobile 5.0 for PDA. Here is my queation: is it possible to start application automatically when turning on the device, without booting the Windows first? Pete | |
Hi everyone, any simple sample code that show how to implement hierargrid inside datagrid...i found there is 1 framework from denis bauer solved this problem...i just wants to know if any others sample code that can also solve this problem. | |
Hi Can anyone tell me what is the correct way to setup and deploy a vb.net 2008 project that uses crystal reports and a ms access database? Thanks in Advance. | |
I need to copy data from one excel sheet to another. source sheet 1 2 3 4 5 6 the data is to be copied in the following format 1 2 3 4 5 6 the copy paste method does not allow this because the regions are different. Can this … | |
Hello all, im new to this community and i would use some help. I have learned VB.Net and i write programms for almost a year and a half. Currently im learning C, C++, and C#, but i dont have any expirience with these languages. So i would like you to … | |
hey thanks for questions,they really gave me direction. here its the error message below in red and code [COLOR="Red"]"child list for field books cannot be created[/COLOR]" Private Sub btnsearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsearch.Click 'search the database for specific records sConn = "Data Source=Click\sqlclick;Initial Catalog=bookinvetory;User ID=sa;pwd=sqlserver#1" … | |
I have an executable vb.net application that opens an external application. My program using two screens. I was wondering if there was a way to have the application open the program on the selected window from the screen that the button is pushed. Opening the external application on the screen … | |
hello can u help me to store data from vb.net to access...right now i get the data from com port. and i want the data to be save in the access...below is the sample code... [code=vbnet] Public Class frmSerialPortExample '---------------------------------------------------------------------------------------------------------- 'Purpose: Allow for data recieve event to update text box … | |
hie out there im having problems binding records form an sql database to the text boxes on the form.i want to be able to navigate through the records. PLIZ HELP FAST AND I APPRECIATE YO EFFOCTS. | |
i am creating an application in which i require a splash screen. Now the thing is that i want my splash screen to be there without any title bar and frame border what should be the necessary code for it plz provide me with that.... thank you.... |
The End.