20,899 Topics

Member Avatar for
Member Avatar for shuey79

When I run this I get an error saying that the sql syntax is wrong. [U]Field types are:[/U] [B]Time:[/B] Text [B]Date:[/B] Text [B]SalespersonID:[/B] Integer [code=vb.net] Dim sqlWrite As String = "INSERT INTO Audit (Time, Date, SalespersonID) VALUES('" & CType(lblTime.Text, String) & "','" & CType(lblDate.Text, String) & "','" & SalespersonID & …

Member Avatar for shuey79
0
328
Member Avatar for kannandesikan

hi, iam new mysql with vb.net , i am install mysql in my machine 3 more user have to access the mysql database , my question is that , i need to install mysql in all the client machine? looking forward ur suggestions kannan

0
55
Member Avatar for spinnaret

Is there any way to identify the specific instance of word that a vb.net applcation creates [code] objWord = New Microsoft.Office.Interop.Word.Application objWord.Documents.Open("C:\TestFile.rtf") objWord.Visible = True [/code] In the text above how can identify this instance of word to close it after a specific event or period of time.

Member Avatar for Teme64
0
84
Member Avatar for 3Dees

Hi, I am trying to write the syntax using a FOR loop to sum numbers base on user input from a console apps. The user enters the total amount numbers to add 2 for eg then the actual numbers to add 4 and then 4 for eg. so the using …

Member Avatar for 3Dees
0
115
Member Avatar for spinnaret
Member Avatar for Teme64
0
101
Member Avatar for LudwigFF

Hi guys. I have now looked at hundreds of articles and forums for solutions. I have the following forms: A db selector form. The form has a combobox where I want to load the connections(connection name) you want to use to connect to a sql database. I need the user …

Member Avatar for Teme64
0
103
Member Avatar for mailtosridar
Member Avatar for mdsheley

All, I have been working a vb6 app since 1999 and it has over 100 forms that work with ADO - COM and am looking for a simple way to access MSAccess for each form. Some forms have several old ADO connectors using late binding to connect the the database …

0
41
Member Avatar for Seba Sama

Hi I'm currently using data binding, combo boxes, grids... I need to filter the data in a DataGridview depending on a value selected in a combo box. The combo is bound to a table, displaying data from a particular column, while the datagrid needs to "query" a second table "...WHERE …

Member Avatar for Seba Sama
0
141
Member Avatar for Proctor

Hello: I hope I'm in the correct forum for this question: Does anyone know if the .net api for autoCad allow you to work off the internet; or rather, it for developing in client/server environment only. Thanks, Proctor

Member Avatar for ognyandim
0
63
Member Avatar for Prakash.C

hi, I'm trying to make a AutoCad tool palette with some tools, from VB.Net, i have been roaming through nets for some materials & help, but i coud'nt get atleast one also, so if U know any resource regarding this please forward it to me, thank U in advance, bye...................Prakash.C

Member Avatar for ognyandim
0
150
Member Avatar for spinnaret

I have a a process that loads a datset and prints it in VB.net. I need to make this available to avb6 legacy application. Does anyone know how to do this?

0
41
Member Avatar for mailtosridar

[B][I]iam doing project in vb.net with mysql any one help me how to create setup for project[/I][/B]

0
79
Member Avatar for asmit1987

I want to retrieve data frm my DB in a datacombo what event nd property shud i use plz help me with the single line code to retrieve data

Member Avatar for Jx_Man
0
147
Member Avatar for elrayiss

i have this project. it calculates the checkout an hotel. first i need it to calculate the first subtotal which is costpernight*numberofnights. and second additionnal charges. its telephone+laundry+roomservice. thats my first step it should be done wihout any button it should appear to the user from inputing the values for …

Member Avatar for manal
0
132
Member Avatar for Birdie010

I'm trying to determine why I receive this error message when attempting to update the database.."Syntax error in UPDATE statement", please assist! Thanks! [code=vbnet] Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click Dim SQLStmt As String Dim UpdateOK As Integer If txtFirstName.Text = "" And txtLastName.Text …

Member Avatar for selvaganapathy
0
184
Member Avatar for mailtosridar
Member Avatar for Melab

I need the code on how to read and manipulate text in a textbox get the date in month#day# format and the process and output in the same box upon Enter

Member Avatar for Diguelo
0
68
Member Avatar for Birdie010

Can someone please tell me why I'm receiving these error messages when attempting to take on customer data from a flat file: - Error 1 Name 'OpenFileDialog1' is not declared. - Error 5 Overload resolution failed because no accessible 'Split' can be called without a narrowing conversion: 'Public Function Split(separator() …

Member Avatar for Diguelo
0
375
Member Avatar for shilli

Hi, I m making a telephone directory using VB and MS-Access.i have taken code from net and made some changes in it.After that i made new table in access but i m getting old table's column name (which already exists with d code downloaded fron net) and new table's content.can …

Member Avatar for selvaganapathy
0
74
Member Avatar for mailtosridar

[B][COLOR="Green"]IN MY FORM THERE IS TWO DATATIMEPICKER AND ONE BUTTON WHILE CLICKING THE BUTTON MESSAGE SHOULD DISPLAY TIME DIFFERENCE BETWEEN TWO DATETIMEPICKER.............................................. ANY ONE HELP ME BY SENDING CODING[/COLOR][/B]

Member Avatar for timothybard
0
442
Member Avatar for Traicey

Guys I know there is a way of only writting 2 lines of code in VB.Net when Connecting to a database that are [ICODE]DataAdapter.fill(Dataset, "Tablename") [/ICODE]and then u can have all the buttons required such next, delete, previous, last and so forth without adding them but I dont know how …

Member Avatar for xavier.hoorens
0
73
Member Avatar for jrscribner

First off let me start by saying I'm not a programmer, but envy those who can. My programming style consists of find someone elses code or tutorial and making it fit my own. Currently I'm working on a project where I can send a command from another computer thru the …

0
89
Member Avatar for Sheryl99

What is wrong with this code? All I want to do is display photos for a slide show, with about 5 seconds pause between photos. It will only show the last photo. The photo directory and file names are contained in the ComboBox. (I thought I posted this wrong, so …

Member Avatar for Sheryl99
0
89
Member Avatar for icklecoder

Hi there Sorry if i have posted this on the wrong area. I have a problem with a simple query shown below [code=sql] SELECT * FROM Disney WHERE Upper(COLNAME) LIKE UPPER('%' || SEARCHSTRING || '%'); [/code] My problem, The colname variable is not being recognised as a column name for …

0
36
Member Avatar for mailtosridar

[I][COLOR="Red"][/COLOR][/I][B]any one help me how to store image in database in vb.net coding[/B]

Member Avatar for Jx_Man
0
279
Member Avatar for mailtosridar
0
79
Member Avatar for asmit1987

I need to store date from my application in to my database which created in MS Access now i use datetimepicker in my application created in VB.net 03 what shuold be the necessary code required for it plz help me with code snippet...

Member Avatar for Jx_Man
0
173
Member Avatar for juma denice

i am facing the same issue but it kinda different as yes am doing an E-commerce project coding with ASP.NET and VB.NET using Dream Weaver. i require some validation if this is the best way to go? or if u fellow learned fellows have a more better idea that i …

Member Avatar for sarehu
0
67
Member Avatar for MadAxel

Im doing an application that runs on vb.net using oracle database. The function that i did is to select 3 combo boxes for the information to come out. The problem is i can only retrieve the records from the first selectedindex=0 of the ifelse statement and not from the others. …

Member Avatar for MadAxel
0
117
Member Avatar for Sheryl99

I am writing a simple application in VB.NET to view JPG files. I have a slide show option, and can only get my PictureBox1 to display the last photo. ComboBox1 contains the directory and file information for each file. Here is my code. Thanks for your help! Private Sub cmdSlideShow_Click(ByVal …

0
82
Member Avatar for sisi

I need help to fixe my code for date convert to letter . I made a Pulic class where i identify day , month , year as integer . After i call a funtion to flash them on screen in little form . Now i need to convert this date …

Member Avatar for timothybard
0
111
Member Avatar for rizwan6feb

There are two versions of my application. First runs on a local server and the second version runs on a client machine. The application on the local server performs that following tasks 1. Pulls data from an online Mysql database and stores it in a DataSet 2. Makes changes in …

Member Avatar for timothybard
0
118
Member Avatar for mailtosridar
Member Avatar for mailtosridar
Member Avatar for Elmo_loves_you

Hey Guys, im a fairly novice programmer I would just like to hear some views / opinions on how you would go about implementing the following: I need my program to save data to a textfile giving the file a name and adding a number to the end eg filename_1.txt. …

Member Avatar for Elmo_loves_you
0
250
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
42
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 anilvc31

Dear friends I am electrical engineer of 54 yr age. Recently, I have developed interest in vb6. Vb.net is too complex for me to understand. At present I am trying to develop a software in which family details are to entered. family.mdb is having tables, name, place & family. To …

Member Avatar for jireh
0
1K
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
179

The End.