20,279 Topics

Member Avatar for
Member Avatar for Anigmalee

I'm a Electrical engineer working in an automation company, recently i'm require to do a PC base HMI. So i decide to use VB to do it(I'm a newbie in VB, just learn/use VB6 in Uni). So far, Im able to read/write to the PLC through serial port. There problem …

Member Avatar for Alexpap
0
154
Member Avatar for jnip

Here is my code. Currently I have my information coming out in a message box, but I need need the information to come out in "prose" form. I am not sure where to put it and how to do it. {{ ' applicant details Dim name As String = txtName.Text …

Member Avatar for Alexpap
0
196
Member Avatar for phoenix911

ive created an application which multiple users will be using on an intranet... now if i had to make changes to the app(fixes/bugs/etc) after deployment.... what would be the way to go without the user clicking a button to update... the new version would be put on the server, where …

Member Avatar for phoenix911
0
217
Member Avatar for csfriends

can any one tell us whether it is possible to send e-mails without smtp server..? if so can u give us code plzzzzzzzzzzzzzzzzzzzzzzz.

Member Avatar for DrkNite
1
70
Member Avatar for cutieann12

hello, everyone i had a project which will have a function to resize the images in the picturebox..i've seen some code snippet in resizing the images. The code works fine but it automatically resizes the image when i run the program..what i need is that the user will be the …

Member Avatar for kvprajapati
0
1K
Member Avatar for tukky

Hi this is the code i have [CODE]NewCustomerTable.Clear() NewCustomerconnection.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source=G:\Shop.mdb" NewCustomerconnection.Open() NewCustomerAdapter = New OleDb.OleDbDataAdapter("INSERT INTO Customers VALUES ('" & txtNewID.Text & "','" & txtNewFirstName.Text & "','" & txtNewLastName.Text & "','" & txtNewAddress1.Text & "','" & txtNewAddress2.Text & "','" & txtNewPostcode.Text & "','" & txtNewPhoneNumber.Text & …

Member Avatar for debasisdas
0
131
Member Avatar for Lee21

guyz,can you help me in importing an excel file?first the program should be able to browse for an excel file and then,the values in an excel file will be imported to the datagrid and save all the data in the database.. I needed it for my project! hope you help …

Member Avatar for Lee21
0
121
Member Avatar for Darkicon

I'm writing a program that gathers a list of files within a directory and optionally, every file within the subdirectories (10 levels deep) of the directory then exports it as a text file. I have no idea how to do this so I just attempted to code it myself. It …

Member Avatar for Darkicon
0
102
Member Avatar for realnsleo

Hi guys, i read an article from <http://www.scratchprojects.com/2006/02/sample_article_tic_tac_toe_p01.php> and got this really cool approach for development of Tic Tac Toe (am sure u all know it) in VB. However i am using sharp develop 2.2.1 to edit anf compile my code and it's working fine. I combined all the code …

Member Avatar for kvprajapati
0
188
Member Avatar for toocoded

Hi everyone, I really need to figure out how to manipulate the Multiview control with a dropdown list control. Also, what is the C# equivalent to this VB Code [CODE] MultiView1.ActiveViewIndex = RadioButtonList1.SelectedValue[/CODE]The following does not work... [CODE] MultiView1.ActiveViewIndex = RadioButtonList1.SelectedValue; [/CODE] Anyone please help, i'm coding with C# and …

Member Avatar for kvprajapati
0
168
Member Avatar for dwayned

Hi Guys, I am currently creating an application to track timekeeping (a clock in/out system) and I am trying to work out the best way to do this. I have a Main Form which contains buttons to ; - Log in - Out for Break - In from Break - …

Member Avatar for dwayned
0
127
Member Avatar for Learner7

Hi, What is the code to write in txtCaps text box event which can change the whole text entered in as capital letters? Thanks.

Member Avatar for Learner7
0
99
Member Avatar for anilgamare

Like below quotes for serial no. for VB.net, do you have codes for ms access? Anil Gamare *********** [QUOTE=Jx_Man;682096]Try This : [code=vb.net] Public Sub GenerateNotaId() Dim myReader As SqlDataReader conn = GetConnect() conn.Open() Dim temp As String Try Dim sql As String = "SELECT MAX(IDNOTA) AS 'KODE' FROM Nota " …

Member Avatar for pritesh2010
0
91
Member Avatar for shanef1981

Hi Guys, I've been trawling the web for ages trying to find some dll's/code to be able to extract text from a PDF file and keep the formatting as much as possible. I did find something last year, but it simply took all the text and created one big list …

Member Avatar for Luc001
0
79
Member Avatar for Srinitodanni
Member Avatar for kvprajapati
0
76
Member Avatar for Lee21

guyz help me. I want to filter the data that's being displayed to my datagrid once I click the combobox and select a specific value,the selected value will be the item to filter the data that I needed to be displayed in the datagrid.. I'm using a datatable,a combobox and …

Member Avatar for Lee21
0
197
Member Avatar for «¤¦PR☼GRAM¦¤»

So I am making a program and in the program I give the user the option to add Custom Items into the Combobox. To make sure that the Custom Items are still there when the program is restarted I use this code in the form load [CODE] Dim customcarrier As …

Member Avatar for «¤¦PR☼GRAM¦¤»
0
147
Member Avatar for j_808

[code] Dim thisMonth As Integer DateCollected = DataSet.Repair.Rows(2).Item("DateCollected") thisMonth = Month(Now) For........ If Month(DateCollected) = thisMonth Then partsprofit = (partswholesalerpricetotal) / (partstotalcost) * 100 Else End If Next [/code] Basically i am writing up some code that loops through all the records in a table looking at a column called …

Member Avatar for j_808
0
112
Member Avatar for drummy

Greetings group, Hopefully someone can help me. I'm trying to essentially append elements (in a Collection List) from another column to a different file (e.g. take a set of columns and append them on another file). I've tried nested For Each loops to write out each element line by line, …

0
53
Member Avatar for Learner7

Hi, I have the following code which deletes a row after confirmation. As I know a little bit with message boxes, I could not figure it out. Hence if I say 'Yes' or 'No' the selected row is deleted. Please fix the problem. [CODE]MsgBox("Do you really want to delete this …

Member Avatar for Learner7
0
127
Member Avatar for krishnisilva

hi there, how can i add a date time picker in the datagrid view in C# VS 2008 standard edition, there is not datetime picker in the column type in the datagrid view. how can i do this please help me thanx...

Member Avatar for ddanbe
0
92
Member Avatar for digozz

please i need help in my asignment the assignment question is: Write a functionto print the Fibonacci value at a given position in the series.you should write two versions of the function both of wich must be named Fibonacci(overload functions).the first version should be implemented using a for loop.the second …

Member Avatar for digozz
0
75
Member Avatar for Lee21

guyz i need help, i encounter an error saying "Cannot access a disposed object. Object name: 'Form2'." I encountered it after I closed the child form named Form2 and then click again the button1 to show it again. Hope you help me guyz here's my code [CODE]Public Class Form1 Dim …

Member Avatar for Luc001
0
141
Member Avatar for emaduddeen

Greetings Everyone, I have several forms in my project and I have set the IsMdiContainer property to True on my main form. This project also is not using a menu system. Instead I'm using a 3rd party ribbon control with buttons that call the other forms in the project. Can …

Member Avatar for emaduddeen
0
162
Member Avatar for digitalsindhx

My Search Date sql Query is not working plz help any body. i set my Date formate dd/mm/yyyy in control panel, and in Access i set coulumns field as shortDate, I used Folowing Sql Quries but non of them works [CODE] PurchaseSql = "Select * from PUrchase where PurchaseDate => …

Member Avatar for digitalsindhx
0
363
Member Avatar for krahuman

My below codes in a button click event populate data in the grid upon the user click the button. 1. How do I know that my commandtext did not find any matching data to popup the message to the user - No Records found. 2. How do I clear the …

Member Avatar for kvprajapati
0
112
Member Avatar for tashiDuks

HI, I have a form with a datagrid, few buttons, and textboxes. I can add the new record in data table and can display in datagrid. The problem is that... the new record which i have inserted in data table is been displayed at the last row of datagrid which …

Member Avatar for tashiDuks
0
112
Member Avatar for Phoenix127

We have a MDI main form, which contains a main menu and holds the properties and routines to - select, read and write a selected DAT-input file, and to convert the data to and from a MS-Access database - open forms like grids and specificly an InpMatrix (which shows INPUTMATH …

Member Avatar for Phoenix127
0
896
Member Avatar for Learner7

Dear Friends, I am new to vb.net. I would like to know how can I get the listview selected values in respective textboxes? Could somebody will help me with the code, please? Using Visual Studio 2008 MS Access Database 2007 txtSearch Thanks.

Member Avatar for Learner7
0
149
Member Avatar for kedakai

I want to create a program that will close itself when the user was idle(not touching/moving the mouse and keyboard) for about 5 minutes...but I have a problem in how to track a user's idle time so that I could set the closing action. Could anyone give me a simple …

Member Avatar for kedakai
0
179

The End.