20,285 Topics

Member Avatar for
Member Avatar for kavithabhaskar

my selection of one, or 2 or all 3 at a time should get connected to a SQL query and get executed but that does not happen here atall.can u all please take a look at this code and help me with this.. please..' thanks Private Sub Button4_Click(ByVal sender As …

0
61
Member Avatar for Bill Purkins

Hi, I am new to VB 2008 and am trying to add a tableadapter to my app. I get as far as creating the tableadapter but when I try to add a column to the table I get an error message TABLE DOES NOT EXIST. Thanks in advance, Bill P.

Member Avatar for Bill Purkins
0
82
Member Avatar for denkyirane

Hi PPL I am working on a mobile application with VB.NET. I have created a table in SQLServerCE <tblFertilizer> in a database <Packhouse.sdf> Now i am trying to insert data into the table upon a button click event, but i get an "error parsing query" issue on the line where …

0
43
Member Avatar for akosiadrian

hi guys, im having problems connecting to my database using vb.net and sql server 2k5. below is the code im currently using and it is having problems. please help me solve this problem. Thanks adapter.connection = conn is the one having problems the problem is connection is not a member …

0
70
Member Avatar for warun

Dear All, Which is the best tool to develop an CHM model help program, which will take data from a backend database and display in a manner like history of business discussion among a group of personnels. there should be some display picture for each personnel and their comment would …

Member Avatar for warun
0
75
Member Avatar for sohel08

Our Software Development forum category encompasses topics related to application programming and software design. When posting programming code, encase it in (code), (code=syntax), where 'syntax' is any language found within our Code Snippets section, or (icode), for inline code, bbcode tags. Also, to keep DaniWeb a student-friendly place to learn, …

0
70
Member Avatar for linux

Let's list pros and cons of each, comparing one to the other in the process. What do you like about VB6 over VB.NET, and vice versa? What do you find easy to do in one, that you have trouble with in the other?

Member Avatar for invisal
0
198
Member Avatar for sniper1983

Hi, I have a simple question about hovering in a checklistbox. How can I get the value(object ) the hovered item..? I have tried something like this: Private Sub CheckboxHover(ByVal sender As Object, ByVal e As EventArgs) Handles CheckedListBox1.MouseHover 'MsgBox(sender.GetType.ToString & ", " & e.GetType.ToString) 'Dim mSender As CheckedListBox = …

Member Avatar for selvaganapathy
0
286
Member Avatar for jalandoonk

How can I mass deploy our windows application (that adds information to our database) if there is no ODBC Driver on our clients PC? any suggestion on this? our database server is FileMaker(sucks!) P.S. we have several clients all over the globe and we cannot just have them install an …

0
58
Member Avatar for netprogramme

I want to send value from Asp textbox to Javascript function on Button 1 click how i can have that . pls help This is my code <head runat="server"> function callserver(txt1) { //Here i have to receive the value var nm=txt1 alert(txt1); } </script> <asp:TextBox ID="TextBox1" runat="server" Style="z-index: 100; left: …

0
44
Member Avatar for warun

Dear Friends DataView is pouplated from an oracle database table and when i tried to Filter records which has been created in between two dates gives me misguiding rows. I have tried with different date format, still getting wrong information. [code] Dim dt as New DataSet, dv as New DataView …

0
65
Member Avatar for jivangoyal

I want to make functions easy to use. So for summarizing about the function I'm using Code [CODE]''' ----------------------------------------------------------------------------- ''' <summary> ''' ''' </summary> ''' <param name=""> </param> '''-----------------------------------------------------------------------------[/CODE] I want to enable a feature for the function that if a variable say 'Var1' can take values from a list …

0
51
Member Avatar for kavithabhaskar

Folks: I got rid of the error now.. this is my code..pls take a look at the button1_click function! i dont see any data being entered into my database. :( Your guidance will be very helpful! Thanks, Kukki. Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As …

Member Avatar for sierrainfo
0
2K
Member Avatar for kdw3

Hi, I am trying to use a 2D array to gather information from a dialogue box. The array has been publicly dimensioned in a module. Before the dialogue box is opened, there is data in the array, and thats fine, but as soon as soon as the dialogue box is …

Member Avatar for kdw3
0
124
Member Avatar for kavithabhaskar

Hello All: I have a program using VB.NET and Access. I have 5 comboboxes and any combination that I choose I get a result. I have 2 problems here: 1. I want to design 4 check boxes in such a way that any1 or combination when selected should give a …

Member Avatar for kavithabhaskar
0
162
Member Avatar for kavithabhaskar

This code simpy does not work..it does not do anything..can anyone please help me figure out why this is happening? Thanks, Kavitha. Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim con As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") con.Open() Dim cmd1 As New OleDbCommand …

0
53
Member Avatar for cellus205

Hows it going everyone. I am having trouble clearing the data in an access DB that I am using in my program. I have two DataGrids and each have a table from my access DB bound to them. Im not having any trouble adding the data to them, but the …

0
58
Member Avatar for manoj_dabs

i am new to vb.net i want to know how to create login form in vb.net & how to connect sql server 2000 for login id & password i.e. code for login & cancel buttons.

Member Avatar for Jx_Man
0
55
Member Avatar for paulcat

I'm trying to make a GUI application that needs flow arrows to shows the flow between 2 components, sort of like the display you see in the Toyota Prius that shows the transfer of power from the battery to the motor, etc... Are there anything in Visual Basic Express 2008 …

Member Avatar for J-P
0
78
Member Avatar for 010Nick

Hi I have been writing VB.Net for a few weeks, it has been going well but I am now stuck. I have multiple user controls on a form and I need a way to remove a selected one. I was hoping that something like this would do it [code] Private …

Member Avatar for 010Nick
0
204
Member Avatar for mvnk12
Member Avatar for sierrainfo
0
2K
Member Avatar for Ixeman

I was wondering how would you write a new file in vb.net. In vb6 it's pretty easy like some code like this [code] Open App.Path & "\file.exe" For Binary As #1 Put #1 and etc [/code] So i was wondering how could you do that in vb.net. But i also …

Member Avatar for Ixeman
0
88
Member Avatar for novadose

First off i would like to say i am very new to vb, i am using vb 2008 express edition and while making a web browser (which is supposed to be one of the easiest things to do), i decided to some image links to some of my favorite sites, …

Member Avatar for novadose
0
86
Member Avatar for dhanashreegd

i want to use color dialog box and i also want to pick up color from that dialogbox and use it as backcolor in the crystal report textboxobjet

Member Avatar for waynespangler
0
49
Member Avatar for tuse

In most of my VB.NET applications, I connect to MySQL databases using the MySQL ODBC Driver. Recently, I got to know about the MySQL Connector (again provided by MySQL). Which one is better in terms of- a. Performance b. Security

Member Avatar for mwasif
0
51
Member Avatar for prasadsatam

If ColorDialog1.ShowDialog = DialogResult.OK Then Dim Text18 As TextObject Me.Color = ColorDialog1.Color end if

Member Avatar for Jx_Man
0
53
Member Avatar for priyankareddy
Member Avatar for Dell XPS

How can i search in a .txt file wod by word... I will have a textbox(and a search button) and I need to search for the word entered in the textbox.... and display all the result in the listbox Sorry if this exists somewhere else.... just post me the link …

Member Avatar for Dell XPS
0
78
Member Avatar for Aigini

The bold section of the code below is supposed to loop in the dataset and return the values from the second code snippet into the database. The second snippet of code is for the data to be inserted into the database. [CODE]Imports System.Data Imports System.Data.SqlClient Imports System.Data.OleDb Imports System.Data.OleDb.OleDbType Public …

0
58
Member Avatar for Mr.Wobbles

I am getting information from a database and reading it into an xml file - I've tested the SQL and it works just fine on the database I am using - but it won't return anything once I've got it and am trying to use it. Here is my code: …

Member Avatar for sierrainfo
0
100
Member Avatar for mfahmy2008

hi all i write this code to load text file (undelimeted) to access database my problem each record take from 1 to 2 second to loaded into datasource Imports System Imports System.Diagnostics Imports System.Threading Imports System.Transactions Public Class Form1 Dim trd As Threading.Thread Private Sub Form1_FormClosing(ByVal sender As Object, ByVal …

0
93
Member Avatar for dhanashreegd

If ColorDialog1.ShowDialog = DialogResult.OK Then Dim Text18 As TextObject 'Me.Color = ColorDialog1.Color

0
56
Member Avatar for reniies

Hi all, I've developed a vb.net application for a desktop digital clock and deployed it. I made the application start at windows startup and it's working fine. But the taskbar button for the application is there in the taskbar every time the windows login. Please help me to modify the …

Member Avatar for reniies
0
267
Member Avatar for visual_2005

I'm a beginner to VB.net 2005. I've started creating a small database project by refering to some VB.net books. I've know the use of dataadapter, datareader, commandbuilder etc which are required to connect to the database. I'm using Microsoft SQL Server Database File (SqlClient) for my project. I've used the …

Member Avatar for tuse
0
255
Member Avatar for swappy

When I try to add a SQL database using Using Add New Data Source Wizard I get a Error.You can see dat in this [URL="http://img156.imageshack.us/img156/8012/errorsa7.png"]screenshot[/URL] Anyone can Tell me whats the prob..

Member Avatar for sierrainfo
0
125
Member Avatar for creacom

i need to create a currency flactuation control in vb.net does any one has a sample code so i can work on as a template?

0
45
Member Avatar for warun

Dear All, Which is the best pratice to handle a Nullable Date Field with DateTimePicker control. From my previous experience i learned that we could not show Null in datetimepicker control, i used to fix this problem with IIF function. can anyone help me out to solve this problem in …

0
124
Member Avatar for deepukng

Dear friends, I am using Vb.net as front end and Sqldatabase as my database file. In my application actual data is not updaing in to the database. But it shows the data while running. Once if clsoe the eecution and if i check the table the data is not saved …

Member Avatar for deepukng
0
205
Member Avatar for RajeshTechnowit

Hi i want to capture the screen form my computer and want to send to other sytem as picture . and i want tjo do this through vb.net please help me. Thank you

0
45
Member Avatar for somwang

I try to solve this problem: when i add, delete record it working, but for update is not working please someone help me here code: Private Sub UpdateRecord() VarTransaction = VarConn.BeginTransaction Dim VarOleDbCommand As New OleDbCommand Dim VarStringBuilder As StringBuilder VarStringBuilder = New StringBuilder VarStringBuilder.Append("UPDATE tblCl_TrainingType") VarStringBuilder.Append(" SET Type_title=@Type_title,Clarification=@Clarification") VarStringBuilder.Append(" …

Member Avatar for sierrainfo
0
98
Member Avatar for SWdevelopment

Hello All, I want to learn VB.net again, before 3 years i did cource but now i forgot most of things what i learned. Now i want to learn VB.net again, will you please let me know good source to start with where, the examples are given with the code, …

Member Avatar for sierrainfo
0
171
Member Avatar for tirso

hi to all I made a lot of textboxes in my usercontrol. Now I used it in another forms. how can I know the name of each textboxes since it is formed as one control. thanks in advance

Member Avatar for selvaganapathy
0
115
Member Avatar for elfranger

All, I am trying to write me an application using visual studio 2005. My back-end database for the application is mysql. I've found some code examples online and been able to get it working with both reading from the database and writing to it. However, the examples I find does …

Member Avatar for elfranger
0
74
Member Avatar for MURRAT TAYLOR

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Select Case e.KeyChar Case "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "." Case Chr(Keys.Back) '<----- to allow BackSpace Case Else e.Handled = True End Select End Sub The above only allows whats shown into the …

0
48
Member Avatar for Aigini

I created the code below to import an Excel file into an existing M'soft Access database. The attributes present in the Access database are CWNO(Text), Name(Text), ICNO(Text), Nasion(Text), Company(Text), JoinDT(DateTime), ExpDT(DateTime), ResBT(Boolean), ResDT(DateTime), Note(Text), PBIT(boolean). The final four columns are not present in the Excel sheet. (ResBT, ResDT, Note, PBIT).But …

0
61
Member Avatar for palpha

I hope this is the correct forum I am converting some qbasic to vba and have come undone. The qbasic lines - FOR I = 1 TO A IF B(I) > 0 THEN PRINT "("; C(I); "="; D(I); ")"; END IF NEXT I screen prints the values for SLENGTH and …

Member Avatar for palpha
0
116
Member Avatar for rk4088

Hi all, I'm having the situation to calculate as follows: The time difference between 4:00pm and 1:00 am is 9 hours. This is derived by subtracting 4 from 12 which equals 8 and adding 1 hour for the time between 12:00 and 1:00. I'm having 2 datetimepicker in starttime i've …

Member Avatar for Jx_Man
0
1K
Member Avatar for lfrazier

Hello Everyone! I just joined the community. I need to let you know up front that I am not a programmer. I am starting the journey by learning VB.NET. I downloaded MS Visual Basic Express 2008. I need to do some straight forward apps such as collecting user input to …

Member Avatar for Jx_Man
0
101
Member Avatar for rsk_beckon

Dear All:?: I am currently converting projects in vb 6.0 to VB.Net 2003.I completed the migration but while try to run the appln.it shows that nearly 8 errors all pertain to .resx file. The error is: resource transformation for file filename.resx failed.Invalid Resx input I googled this error and microsoft …

0
56
Member Avatar for Pgmer

Hai all, in my appliction Im writing functionality to find keywords entered by user if keyword found i need to return the 10 words before keyword and 10 words after keywords, Im able to find the keywords using Instr method.. Im not getting how to get 10 words Before and …

Member Avatar for Pgmer
0
200

The End.