20,285 Topics
![]() | |
Is there anyway to carry one combo box from one form to another without the use of loops? I'm trying to figure out if it would be easier to represent a comb box in a new form, or if it would be easier to show it in a print preview … | |
hi,i need some help on vs 2005 form,i have 1button,1textbox,1datagridview.i want to make a search button with it to search for student id..any help pls...i use ms access..example i type 12-200705-0005 on the textbox,then i click search button,then the data with student id will show at datagridview...thanks.. :S | |
can anyone tell me how to convert this code to vb.net it's vb6.0 code and gives error in vb.net [CODE] Dim a As Integer Dim b As Boolean Do While Not b And a < cmbcust.ListCount If UCase(Left(cmbcust.List(a), Len(txtname.Text))) = UCase(txtname.Text) Then cmbcust.ListIndex = a b = True End If … | |
![]() | I converted a program from vb6 to vb.net, I used a propertybag to clone my recordsets and after I would filter them to navigate threw my data and then show the result in a gridview, but I have a problem in vb.net with my filter. In vb6 the program would … ![]() |
sup all. Im having a major problem with vb.net. im making a program that reads the source code from the webbrowser1 and if it contains these words "You Won!" then all my timers stop and a msgbox comes up and says "You Won!" but when the website actually does say … | |
By default all the buttons that would show in a Binding Navigator (before any buttons are clicked) are just ADD, EDIT, DELETE and REFRESH buttons. But the Binding Navigator on my form shows the SAVE button also (before any other buttons are clicked). I do not want this and how … | |
Hi everyone, I got prob with my proj that is reading data from Mifare Card using Contactless Card Reader (ACR120U). for the connection its successful but need to press cmdButton to grab a data from Mifare card. So if anyone got idea how to grab data automaticly such as flash/touch … | |
I have been sent an xsd file to use as a model for generating an XML file. I have used the XSD.exe utility to create a typed class. I have populated this class with the data required but now I am looking for a way to turn this data into … | |
Hi, I am having the same problem [I]<<mod edit: [URL="http://www.daniweb.com/forums/post228229.html#post228229"]as this[/URL] >>[/I] when i update my record in Access Database. It is successfully updated the record in the database. but the dataset in my project is still not updated. I am using vb 2005 to develop the application. Any one … | |
Hi, I am writing a program that has a listbox which is bound to a dataset. When I click a button (e.g. delete) the item is deleted from the database ok using an SQL query but is still shown in the listbox. How do I get the listbox to refresh/update … | |
I am using vs.net 2008 vb and mysql I am using datasets alot in this application, however I am having a few small snags I am running into. I created a login system that works quite well, but I need using the db or settings or a variable keep the … | |
Hi.I am very new to the vb.net programming. Now I am trying to connect the database that is sql server 2005 to the vb.net code so that I can add the data to my database, which is already in the sql server and retrieve the required data from the database. … | |
[CODE]Private Sub btnBill_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBill.Click item = txtItem.Text duration = txtduration.Text Dim fmtstr As String = "{0, -15} {1, 17:c2}" '----------------------------------------------------------------------------------------------- lstResult2.Items.Add(" Receipt from Eddie's Equipment Rental") Select Case item.ToUpper & duration.ToUpper Case "1", "h" lstResult2.Items.Add(String.Format(fmtstr, "Rug cleaner", 16)) Case "2", "h" lstResult2.Items.Add(String.Format(fmtstr, … | |
HI, Please can anyone know the advantage and disadvantage of Dot net?.if anyone know,please post the reply immediately.....thanks in advance | |
Am using vb.net 08 and i have a datagridview with 3 columns. The first column has a button as the columntype with the name "UserName". Now, i want if the user clicks only on the UserName which is the first column, but not the entire row, it should display the … | |
how to replace file when file is open in vb.net using c#.net anybody knows please tellme | |
hi, I was wondering if anyone could point me in the right direction here!! I have a program that reads in lottery results from the past 6 months (from the national lottery site) from a text file 31-Mar-2010,29,18,38,44,14,43,13,3,GUINEVERE 27-Mar-2010,32,38,11,15,42,6,24,2,GUINEVERE 24-Mar-2010,3,49,28,5,23,42,41,4,GUINEVERE and stores it in an array (n-1,6) where n is … | |
i want to know how to save the check box if its set on true to a data base can some one plz help me? | |
Okay, guys, I've been at this for hours and what is surely a simply answer has eluded me! :P Here's my situation: It's a list of computer systems, basically, that the user can purchase. I need to read this file, line-by-line, into an array. Let's call this array csvline(). The … | |
hello everybody.. im creating an antivirus software with vb.net 2008 and there im scanning for viruses and put them in a listbox so we can delete them after scanning. the problem is im searching the viruses from the name and the extensions which are already exists till now. so if … | |
I have written the code and I am new to working with classes. If someone could point me in the right direction I think I can figure it out. I looked at MSDN and learned this much, so maybe I didn't get the right understanding but I thought I would … | |
hi all! am havin a problem in loading sorting items in a listbox. what i want is after i load a text file into a listbox the items are compared by the last number and sorted in descending order. any help will be appreciated. thanx in advance | |
Just had a quick question about this problem I am experiencing I am getting this error saying "the call to the server.CreateObject falied while cheking permissions. Access is denied to this object".I get this error every time I create a new DLL after compiling my VB6 code and drop it … | |
Actually these are Some of Interviews Questions that i have to answer in an interview. I have got Some Confusion :-/ in My answers that why posting here .. So that Any Genius Can Answer these Question Correctly 1) Which of the following are true about Extension methods? 1) They … | |
I have this code [code] Public Class Form1 Private connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data source=c:/testn.mdb" Dim conn As New System.Data.OleDb.OleDbConnection(connectionstring) Dim cmd As New System.Data.OleDb.OleDbCommand Private ssql As String Dim dr As System.Data.OleDb.OleDbDataAdapter Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click conn = New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;data source=c:\nikhil\testn.mdb") … | |
Hello All, At this time I am using VBScript to drive files thru a printer driver. Each file has to be ran at all the different preferences the drivers can offer. (papersize, dpi, simplex/duplex, etc.). I am developing a VB application and I want to drive the files with the … | |
Well i made another thread but with a different problem but i fix it. but i know how to make textbox allowed chars but is possible with web browsers ? like if f1 - f12 is pressed then nothing happen like nothing have been touch. is possible ? if so … | |
hi... i am currently developing a reservation system which has a map locator using visual studio 2008.. the scenario was this, when the user click in any of the amenities available and a transaction was completed, the color would change. I was able to change it but if you check … | |
Hi everyone, I am currently working on a small drawing application and I wanted to know if it was possible to insert a paint application inside a form,like vertically dividing the form into two. On one side you have some literature and on the other side you have the application. … | |
Ok im making a tool for a game like always and im having a little problem. This tool is to prevent users to know the site so they can't steal or copy the files. i prefer not to tell what game it is. But when they are in game there … | |
[b]Split from - [url]http://www.daniweb.com/forums/thread142379.html[/url] [/b] Hi George, Can you explain it in detail please the coding etc. I 've got the same problem and i'm stuck. Thanks alot | |
I am looping through a list of DateTime variables and have got the .ToUniversalTime variable. I want to find out from the list which is the closest one approaching Now.ToUniversalTime but am having difficulty trying to work it out I had it looping through like this but this isn't much … | |
Dear Friends, I use the following: MySQL Server 5.1 MySQL Workbench 5.2 OSS I have a strange problem. I have a backup of my MySQL database with MySQL Workbench 5.2 I use MySQL Workbench 5.2 for importing MySQL database. That's works fine, see Annex. Then i go to SQL Development, … | |
hello every one when I'm Updating a table in access it gives syntax error in update statement can any one help how to sole this problem[CODE] vbstr = "UPDATE EmpMaster SET Name= '" & UCase(txtname.Text) & "',Address='" & Trim(UCase(txtadd.Text)) & "',TeleNo='" & txttel.Text & "',MobileNo='" & txtmob.Text & "',E-mail='" & … | |
I am having trouble connecting to a sql database. I have vb.net and it came with vs 03. I have doen a varity of simple programs with vb. I have recently added a server with sql 08 and connected with a workgroup. When I use vs to put a sql … | |
am developing software using sql database. i want an sql statement that can enable me retrieve data which for example has same surname,save them in an array or dataset and navigate through them. | |
Hi, I am extracting data from datagridview to Excel. But for columns with so many numbers Excel turns the format to 6,45646E+11 Is there a way that I can prevent this. I tried to use worksheets but I could not even save the data by using that. Here is my … | |
Sir, I am using front end as a VB.net 2005 and I am a beginner in this language. I am creating Desktop application and using controls TAB controls 1st tab control is Contact in contact I am using one text box, two button and one datagrid while I am using … | |
I am developing a software using vb.net and sql server as database.It takes name of my computer as a connection string.when i load this software on other computers it searches the name of my system.how can i define a connection string that automatically takes the name of system on which … | |
Hi,Using Vb net (2005) in Win Forms, in my app. I have many Win Forms one off them is "SetupOption" this need to be shown at least once at the first time I run the app and never ever after unless I need to change some settings,. then my question: … | |
Hi, I'm writing my first application in VB and need some help with my Access database. I have 2 problems; the first one is the most important, the second I would just be very grateful for any help/advice. Firstly, I need help updating a record from my database. I have … | |
can somebody give me code that retrieve data from from same column which have same name e.g surname,store it in dataset and then navigate through it on form using odbc. | |
I am trying to create a telephone word generator that ask for seven digit number in a textbox and displays every possible seven letter word combination corresponding to that number when user clicks generate words button. My generate click button is not working once click [code] Public Numbers(7, 3) As … | |
Hi Is it possible to capture a mouse click anywhere on a form (both on the form itself and on any control) without putting code in each control? I want to reset a timer/timeout when the user hits a key (which I have working no problem w/ a combo of … | |
We are trying to modify a program to control a usb relay device. Essentially what the program originally does is give you a series of check boxes that you check to make the relay fire. We tried to modify the code so that the box is checked after 5 seconds … | |
Hello, I am trying to access my website and display the .mp3 files in a certain directory. Through this, i want to have windows media player play the selected file. Either through list box, or combo box. I have tried many different ways. Please help. How in the world am … | |
ok i have a unit project and am really stumped. i want to make a really good, working program and it has to be in vb.net, and it has to be a console application (the "Module - Sub Main() - End Sub - End Module" kind of program). it needs … | |
Well i got my codes so Checkbox and Textbox to read ini but i cant find how to make ListBox read ini like each line in the ini is 1 item on the listbox i have the api calls thingy and other stuff, but if you have a code or … |
The End.