20,285 Topics

Member Avatar for
Member Avatar for gopi17

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 & _ …

Member Avatar for gopi17
0
146
Member Avatar for dwkw

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 …

0
38
Member Avatar for gopi17

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

0
91
Member Avatar for soham100

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??

0
46
Member Avatar for mailtosridar

[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]

0
41
Member Avatar for laghaterohan

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 …

Member Avatar for isaackhazi
0
121
Member Avatar for mailtosridar

[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]

Member Avatar for Jx_Man
0
95
Member Avatar for chenmanalo

:'( please help... i want to know the syntax in the checkbox and option button.... any idea please.... :?:

Member Avatar for Jx_Man
0
52
Member Avatar for gouki2005

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

Member Avatar for gouki2005
0
869
Member Avatar for q8_dreamy

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 :(

Member Avatar for kuttans151
0
58
Member Avatar for bpacheco1227

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 …

Member Avatar for bpacheco1227
0
156
Member Avatar for animedude123

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

Member Avatar for techtix
0
71
Member Avatar for tyserman5674

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

Member Avatar for tyserman5674
0
178
Member Avatar for juma denice

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?

Member Avatar for Teme64
0
37
Member Avatar for Duki

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 …

Member Avatar for Teme64
0
96
Member Avatar for q8_dreamy

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

0
81
Member Avatar for dwkw

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 …

0
48
Member Avatar for laghaterohan

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 …

Member Avatar for Teme64
0
93
Member Avatar for Elmo_loves_you

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

Member Avatar for Jx_Man
0
219
Member Avatar for Duki

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 …

Member Avatar for selvaganapathy
0
119
Member Avatar for reniies

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 …

Member Avatar for reniies
0
531
Member Avatar for Duki

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

Member Avatar for Duki
0
294
Member Avatar for asmit1987

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 …

Member Avatar for Teme64
0
2K
Member Avatar for laghaterohan

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 …

Member Avatar for Jx_Man
0
109
Member Avatar for laghaterohan

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 …

Member Avatar for laghaterohan
0
76
Member Avatar for thatoneguyx

How is it different from VB6? Is it mainly for web or what? I've looked around on google and am abit confused.

Member Avatar for Jx_Man
0
51
Member Avatar for waynespangler

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 …

Member Avatar for waynespangler
0
164
Member Avatar for franz081227

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 …

0
53
Member Avatar for George_E

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 …

Member Avatar for franz081227
0
100
Member Avatar for Michael Stancil

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 …

Member Avatar for BeejCyr
-1
2K
Member Avatar for nerden

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.

Member Avatar for waynespangler
0
115
Member Avatar for Ixeman

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 …

Member Avatar for Ixeman
0
217
Member Avatar for EkoX

How can i playing wav file on my application? Im using vb.net 2005. Thank you very much...

Member Avatar for Ixeman
0
164
Member Avatar for gopi17

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 …

Member Avatar for Elmo_loves_you
0
247
Member Avatar for Eswar.P

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 …

Member Avatar for Teme64
0
100
Member Avatar for R3B3L

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

Member Avatar for waynespangler
0
1K
Member Avatar for iamthwee
Member Avatar for bpacheco1227

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

Member Avatar for bpacheco1227
0
215
Member Avatar for Elmo_loves_you

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 …

Member Avatar for Elmo_loves_you
0
146
Member Avatar for csharpdeveloper

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 …

Member Avatar for Teme64
0
119
Member Avatar for pete08

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

0
41
Member Avatar for zappan

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.

0
62
Member Avatar for AJVanZyl

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.

0
63
Member Avatar for aks87

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 …

Member Avatar for aks87
0
95
Member Avatar for Alexpap

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 …

Member Avatar for Jx_Man
0
97
Member Avatar for arufafa

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

0
52
Member Avatar for SHAWTY721

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 …

Member Avatar for toko
0
309
Member Avatar for JimmyEatWorld

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 …

Member Avatar for JimmyEatWorld
0
539
Member Avatar for arufafa

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.

Member Avatar for Jx_Man
0
60
Member Avatar for asmit1987

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

Member Avatar for Jx_Man
0
2K

The End.