20,285 Topics

Member Avatar for
Member Avatar for BluePaper

For my computing project last year I created a simple booking system in Access 2003 with a little bit of VBA to enhance it a little. However this year I need to improve it. One of the main problems I found with my booking system is that double bookings can …

Member Avatar for BluePaper
0
430
Member Avatar for allopiloping

dear guys... i have a code but it runs so slowly i would it to make it fast...can u help me?? what should i do??? [code] Var2 = 0.1 For y = 0 To jlhPro - 1 Do Var1 = Var2 For z = 0 To thn - 1 kata …

Member Avatar for dadelsen
0
156
Member Avatar for mfahmy2008

I have a text file contains non delimited data (Each row consists from 16 fields and has a 131 byte) I used this code to load it's data into datagrid(I have visual basic 2005) The program work fine Now I want load this datagrid into access database I try to …

0
83
Member Avatar for CornerAnalyst

I need to be able to perform the creation of HTML controls (i.e. Tables, form controls) from inside of a DLL in vb.Net I have searched Goggle far and wide for what Import statement references the HTML objects. Imports System.Web doesn't do it. I would like to do something like: …

Member Avatar for CornerAnalyst
0
115
Member Avatar for herbally

Ok, I fill my dataset in the form_load event, and the datagrid loads up with the data fine. I can search it and update/add members. When another machine on the network adds a member (haven't even tested an update yet) it sends a message to the machine in question telling …

0
45
Member Avatar for virendra_sw

Hi, We have developed one small project in vs2005 (VB .Net). In all Operating System we successfully able to launch the exe except windows server 2003. In windows server 2003 it is giving error like this "the application has failed to start because the application configuration is incorrect. Reinstalling the …

0
60
Member Avatar for mfahmy2008

I have a text file contains non delimited data (Each row consists from 16 fields and has a 131 byte) I used this code to load it's data into datagrid(I have visual basic 2005) The program work fine Now I want load this datagrid into access database I try to …

0
85
Member Avatar for bunary2k

i have 2 tables : 1.Ms_Menu Menu_Id,Menu_Name 001 | Menu1 002 | Menu2 003 | Menu3 2.Tbl_User User_Id,User_Name,Menu_Id User1 |Name1 |001 User1 |Name2 |002 User2 |Name2 |002 i want to joined 2 tables using UNION(or other way if works is fine->left/right join) my coding : [code=sql] SELECT User_Id,User_Name,Menu_Id,'' Menu_Name FROM …

Member Avatar for debasisdas
0
118
Member Avatar for Aigini

In an interface there are 5 tabs (Tab 1 to Tab 5). Each tab has a Binding Navigator to Add, Delete, Save, Edit items. For Tab 2 (subcategory for tab 1), the Delete button in the Binding Navigator has the following code. Tab 3 is the subcategory for tab 2, …

0
66
Member Avatar for Aigini

An interface has a few tabs on it. (Tab 1 to Tab5). Tab 1 is labeled Item Category Level 1 and the following tabs are named accordingly. Tab 2 is Item Category Level 2, Tab 3 is Item Category Level 3 and so it goes. Item category level 2 has …

0
57
Member Avatar for witternb

Hello Everyone, I am very new to VB and currently using VB Express 2008 to create a simple program. However, I am running into a syntax error on my update code. I have done some research on the web but cannot find a common thread. I am hoping some of …

Member Avatar for witternb
0
146
Member Avatar for dan_e6

hey guys. here is a scenario: i have a form named frm1 and a variable in it [CODE] private x as integer = 0[/CODE] and another form called frm2 that needs to be able to make a local copy of "x" from frm1 and any changes made to "x" on …

Member Avatar for Jx_Man
0
190
Member Avatar for Aigini

Part of my code for an Update/Save button in a Binding Navigator is as below : [B]dsInventory.inv_itemsubcategory.Addinv_itemsubcategoryRow(Trim(CatCodeTextBox1.Text), CatItemDescTextBox1.Text)[/B] When I move my mouse to that line of code, there is a message that says : Overload resolution failed because no accesible 'Addinv_itemsubcategoryRow' accepts this number of arguments. Why is this …

Member Avatar for Jx_Man
0
94
Member Avatar for dhanashreegd

Dim strSql As String strSql = " Select * from quazatoknitting where yarn_recchno= '" & txtchno.Text & "'" Dim strSql1 As String 'strSql1 = " Select rec_qty from recfromknitting where yarn_recchno= '" & txtchno.Text & "'" Dim da As New SqlDataAdapter(strSql + strSql1, objconnection) Dim dt As New DataTable da.Fill(dt) …

Member Avatar for Jx_Man
0
81
Member Avatar for eng.N

hello, I need to register a new Employee's Car , In my database , there are two tables ( Car_info , Emp_Info ) and I created a relation between them : (Car_info table) Column [B]Car_no [/B]As [B]Primary Key [/B] and (Emp_info table) Column [B] Car_no [/B]As [B]Foreign Key [/B]. [COLOR="Green"]This …

Member Avatar for eng.N
0
89
Member Avatar for Pgmer

Hi all Im loading list box with availabel datetime formats . but it is loading all the date time formats twice... here is my code: Dim dateTime As DateTime = New _ DateTime(Now.Year, Now.Month, Now.Day, Now.Hour, _ Now.Minute, Now.Second) Dim d() As String = Nothing d = dateTime.GetDateTimeFormats() lstdateandtime.Items.AddRange(d) how …

Member Avatar for Pgmer
0
169
Member Avatar for eparse

Hi all, I am facing some error on the database: I declare a field in my database as VARCHAR(50), and i try to modify it to INTEGER(50), However i get this: ERROR 1264 (22003): Out of range value adjusted for column 'MP1T' at row 2 And the field with data …

Member Avatar for ericstenson
0
131
Member Avatar for fujilec

Em, how to convert a blank data to INTEGER? I use the code as shown below: [code] MP1T(hour, 0) = Convert.ToInt16(rs.Fields("MP1T").Value) [/code] but then the field MP1T is previously in VARCHAR format. It runs smoothly until it found out that the field is blank and cannot be converted. How can …

Member Avatar for selvaganapathy
0
170
Member Avatar for omotoyosi

Pls all, i want to search for data using two tables e.g search for date where location = nigeria and state = lagos. i want it to search for only student from nigeria and state from lagos. pls how will i go about it. expecting response soon

Member Avatar for Jx_Man
0
59
Member Avatar for dhanashreegd

I want to display multiple records from multiple table in datagrid Please help me, How I will use the datagrid in vb.net

Member Avatar for Jx_Man
0
92
Member Avatar for stoneferry

Hi, I'd like to know the easiest method, using VB (2005) of sending a local file to a remote location using any file transfer protocol in particular, FTP perhaps. Would like to know the quickest way of achieving this. Does anyone have any code, third-party code suggestions? Thanks Stoneferry PS: …

0
53
Member Avatar for Aigini

A form has several tabs on it. The tabs are Item Category Level 1, Item Category Level 2, Item Category Level 3, till Item Category Level 5 . Item Category Level 2 is the subcategory of Item Category Level 1, Item Category Level 3 is the subcategory for Item Category …

0
82
Member Avatar for herbally

I'm trying to add a row to my dataset using the following: [CODE] Dim foundRow As DataRow = DsMembers.Members.NewRow foundRow("FirstName") = scannedMember.FirstName foundRow("MiddleName") = scannedMember.MiddleName foundRow("LastName") = scannedMember.LastName foundRow("Address") = scannedMember.Address foundRow("City") = scannedMember.City foundRow("State") = scannedMember.State foundRow("Zip") = scannedMember.Zip foundRow("DOB") = scannedMember.DOB foundRow("TDL") = scannedMember.TDL foundRow("MemberID") = scannedMember.MemberID foundRow("DateJoined") …

Member Avatar for dadelsen
0
175
Member Avatar for prasadsatam

I want to display multiple tables record into datagrid (challan number wise). Please help me. how will i can use datagrid.

Member Avatar for Jx_Man
0
88
Member Avatar for Sawamura

Hi all... I got problem here.. I want to search how much a certain characters in words in text box. Please help me to solve this...

Member Avatar for Sawamura
0
256
Member Avatar for rechalg

Okay so I want to be able to click a button in Excel and have the sort dialogue box pop up. Everything I've read so far only explains how to automatically sort with a macro. I need a macro that just makes the box pop up for the data that …

0
47
Member Avatar for Naruse
Member Avatar for Jx_Man
0
236
Member Avatar for Vega_Knight

help me to make a factorial function. Please help. any help will appreciated much...

Member Avatar for Jx_Man
0
137
Member Avatar for x2per14

can any1 help me to connect my project to ms access database. i'm a newbie in vb.net. this is my code in vb6 to connect to the database can any1 help me to do it vb.net..hope sumbody can help me.. this is how i do it in vb 6 1. …

Member Avatar for Jx_Man
0
156
Member Avatar for Jade_me

Please help me i try to display all instances of SQL Server in a combobox. Any help is greatly appreciated.

Member Avatar for Jade_me
1
111
Member Avatar for ITKnight

does anyone know how to run any app that it write some vbscript or javascript or html from in vb???

Member Avatar for ITKnight
0
79
Member Avatar for Estella

[code]SearchString = "SELECT * FROM Breakdown WHERE BFrom = " & txtFrom.Text ' & " AND BTo = " & txtTo.Text Dim Con As New OleDbConnection(BCalc_ConnectionString) Dim Search As New OleDbCommand(SelectSearchString, Con)[/code] I want to stop users from being able to save a duplicate record in my Access database. I …

Member Avatar for Estella
0
189
Member Avatar for mnbcxz

I need to implement a search function button to my project where you click an input button which asks you to input a ID number then displays the details of that record in a form. Thanks.

Member Avatar for mnbcxz
0
137
Member Avatar for yajakin

Each time I start debugging my application in VB.net, I encounter this error. I couldn't go through the application any further. "The application failed to initialize properly (0xc0000005). Click on OK to terminate the application." :sad: What seems to be the problem?

Member Avatar for Jx_Man
0
90
Member Avatar for eparse

How can i actually detect the time as shown below? If the user select the data from the database between 2008/06/05 12:00:00 and 2008/06/06 12:00:00 and the database type is varchar? I can select that particular data out, but i need to further categorize it according to hours, like this: …

Member Avatar for eparse
0
103
Member Avatar for blue_moon

This is my vB.NET assignment and i have no idea what it requires. I have not done this practical before b'cause the lecturer has not taught us about the joining the SQL in VB.NET and I'm seriously dont know how to do this......so i need help and pls do help …

Member Avatar for Jx_Man
0
102
Member Avatar for cjoememphis

Hey, I'm looking for someone to design a really simple VB program for me. It's for a psychology project I am trying to complete, but it has been taking me forever to develop since I have ben having to learn VB from scratch on my own. I am willing to …

0
52
Member Avatar for JimmyW

I'm trying to load a registry hive (C:\Users\test\NtUser.dat) but I get error 1314. This is something to do with permissions. I'm using RegLoadKey. I converted this [url]http://support.microsoft.com/kb/297060[/url] example to vb.net, but as I said I get the error 1314 on RegLoadKey part. The other apis to change the permissions all …

Member Avatar for Maike13
0
905
Member Avatar for FastCat

My first vb.net post...:) What I've got: On a form, I have 'Add New Tab' button, a 'Select Picture' button and a TabControl. On the first Tab I have a textbox1and a picturebox1, when the user uses the 'Select picture' button (which calls opentdialog) I load the picture into the …

Member Avatar for FastCat
0
2K
Member Avatar for sonia sardana

Hey frnds, I create DLL as follows- Public Class Class1 Public Function add(ByVal x As Integer, ByVal y As Integer) add = x + y End Function End Class [b] Calling DLL[/b] Imports ClassLibrary1 Module Module1 Sub Main() Dim sum As Integer Dim obj As New Class1 sum = obj.add(10, …

0
58
Member Avatar for h5nguye

Hi experts, I want to manipulate a line of string in a text file and save the text file as another name. For example: text file name: 110.txt text file contains a string of number: 110 I want to search for that string "110" and increment +1 to 111 and …

0
48
Member Avatar for ganeshk

Hai All, i have just completed a course in learning VB.net and would like to do a small project using VB.net. It would be of great help if anyone could suggest a project. -Ganesh

Member Avatar for hollystyles
0
219
Member Avatar for qwq123

Plz help required, Can somebody give me the code in vb.net to compare two text files and display the difference between them.

0
42
Member Avatar for november_pooh

Get Specific data from datagrid. i mean when i select row on datagrid, program will return value in that row. Any Help will appreciated. thx

Member Avatar for Jx_Man
0
123
Member Avatar for JeffN00B

I have a headache over this one. what i am trying to do is take the text from a multi-line textbox and put it into one line so i can put that into a file for another program to read one line at a time. is there some way to …

Member Avatar for dadelsen
0
236
Member Avatar for Sawamura

i found my file in vb 4/5 and i want to convert them into vb.net. How i can convert my vb project in vb version 4 / 5 to vb.net? or i must to use convertion tools?

Member Avatar for Sawamura
1
113
Member Avatar for tirso

hi to all, pleas bear with me co'z I am a newbie with this environment. I have a microsoft access database and I already have tableadapter. I have already a forms that the operator input the name with the text box then searh with my database. After it successfully searched …

0
56
Member Avatar for preethi_ga
Member Avatar for raghuknath

Hello all in daniweb, I am a newbie here. I am very happy to have joined a community that devotes a good part of its time and resources to software and associated activities. This is a nice platform for an aspirant in the computer industry to know and get known; …

Member Avatar for Jx_Man
0
115
Member Avatar for Tkd Kid 007

Hi, I wonder if anyone could help me, I am just starting out in the world of VB.net and I have a couple of tasks that I am having a bit of trouble with. This will probably be very simple to all of you experienced users: see below: 1. Using …

Member Avatar for Tkd Kid 007
0
120

The End.