20,284 Topics

Member Avatar for
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
35
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
89
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
43
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
39
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
118
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
92
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
49
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
865
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
56
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
153
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
68
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
177
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
35
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
92
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
79
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
46
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
89
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
218
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
118
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
528
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
270
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
107
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
50
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
161
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
52
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
97
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
111

The End.