20,284 Topics
| |
Hi all, I would like to be able to read data from a text file, be able to edit it and save the new edits to that file over writing the old ones. [CODE] Dim FILE_NAME As String = "C:\cat4\text.txt" Dim TextLine As String If System.IO.File.Exists(FILE_NAME) = True Then Dim … | |
how do i use the setfocus method in vb.net and also how do i use keyascii=13 on keypress event of textbox? i want to have a textbox that when enter key is pressed, the focus shifts to another textbox. | |
I am attempting to use a sql query to update a record using the following: cmd.CommandText = "UPDATE ScannerData Set DateReceived = " & Date.Now & " WHERE ScanNumber = " + TheReaderData.Text + "" I receive a parse error at the Date.Now portion of the statement. Is there a … | |
Hi frnds, I want to run Multiple Skype .I have used the foll. code. But its not working. Ca somebody help me in getting out where I M wrong [b]Steps-[/b] [code] 1. right click on the desktop, select new/text document 2. name it Skype2.bat 3. right click skype2.bat, select /edit … | |
I am able to read the data from the application event logs but when i try the security i get an error Requested registry access is not allowed. {"Cannot open log security on machine .. Windows has not provided an error code."} {"A required privilege is not held by the … | |
Hello I am trying to create a combo box that would display data from a dataset, and also a 'Please Select' as the first item. I have written the following code which derives from a combo box and it works fine in visual studio 2003 but in 2008 would not … | |
How can create HTML Reports (like Crystal Report) in VB.net 2005 ?? | |
Hi, I have recently been experimenting with the world of custom controls but have found it increasingly hard to make exactly what i want. The idea is to have a control which i am able to apply css to, so it has the desired look and inside of it will … | |
Dear all, I have created an SQL Server 2005 Express database using the database explorer of VB.Net 2005, and selected to copy the database to the application folder. I can successfully connect and update the tables using Visual Basic ready tools (such as datagrid). But when I try to connect … | |
I'm following a course on vb.net and have visual studio 2008 from my school (msdn program) Unfortunately I'm having serious problems: apparently I can't use a lot of the common references. Eg.: If I try to use My.Computer.... the IDE does not recognise this. Same thing for System.Data... He gives … | |
I have a big table contain a mobile numbers, I need to count each mobile number, how many time it was entered to my table? | |
Could anyone tell me how to programmatically list the filenames of all open office files (winword.doc files, excel.xls files) ? | |
Hi all, I am just trying to get the information i collect from the pc's hostname and pass it into a db. All the db passwords, location etc are correct but i am getting nothing. [CODE]Imports System Imports Microsoft.Win32 Imports System.Data Imports System.Data.SqlClient Public Class Form1 Private Sub DB() 'Your … | |
hi guys , im a little stuck im doing my courses in university on software enginering and i have to make a program with (1 button , 1 listbox) now when you press the button the listbox has to display all the files on the C:\ drive but i have … | |
hi, how can i add a button to delete/edit a row in gridview which takes its data from database ? thanks | |
Hi Friends, I am trying to Call a exe or DLL from sql server trigger using xp_cmdshell. Trigger is for an external application and for inserting a record. exe is executed successfully but trigger is not completed succefully and my external application is also not complted and it sows some … | |
hello, i am using .net 1.1,vb ,i have 2 web applications.one is installed in client side server which is currently working offline(intranet)..other is at my side which is online website.frequently i have to give master data to client .So using httprequest and xml , i am giving him data.I have … | |
Hi, I have 2 tables: Payment (PaymentId, Date, Description, Amount, PaymentMethodId) PaymentMethod (PaymentMethodId, Description) The first table contains details of any Payments that we receive and is displayed in the datagridview. The second is a lookup table which lists the methods of payment (ie. cash, cheque, credit card) and should … | |
Good Morning Friends I Am Using VB.net,I am doing code for search button & it's working for textboxes but not for combobox,accualy when it get any value so it shows on textbox by using textbox1.text=ds.tables(0).rows(0).item(0) & it shows but when i use combobox.text =ds.tables(0).rows(0).item(0) it doesn't show any value but … | |
I want to change the text of second column of listview to bold, & secondly, I want to change the backcolor of row,when the user clicks on that row. When we run the form first time,text of second column is bold.But when the user clicks on the row,backcolor is not … | |
Hi all I wanna use MySQL with VB.net I used before MySQL with PHP. I am not sure how to use it with VB.net Some instruction will be helpful. Thanks advance. | |
Hello, I have a problem when adding a comboBox Cell to grdView I Attached The Error Message, please have a time to view it And Here Is Some Parts Of The Code: ' Start ... dim colComboBox As New DataGridViewComboBoxColumn Sub Form_Load() configureColComboBox() fillGrid() bindComboBoxColumn("company_id",colComboBox) End Sub Sub confingureColComboBox() with … | |
Hi All, First time poster, so please go easy on me! I am taking a VB.net class at Cleveland State and I have run into some trouble. I am working on a project that requires the user to input test scores via a text box and button into a list … | |
Hi all, Is there a function in vb.net to get how many times string1 is exist in string2? I had search google and all I found is long code such as this one ( i did not test it) [URL="http://www.freevbcode.com/ShowCode.Asp?ID=1025"]http://www.freevbcode.com/ShowCode.Asp?ID=1025[/URL] Is there better way? | |
Hi, I new here and currently learning as much programming languages as needed. To start with the simplest programming language, VB. I'm kind of having problems with producing an animation that uses the FOR Loop statement and the System.Threading.Thread.Sleep () command. I've placed two objects (rectangles) together and would like … | |
Hi all I made a program who open excel for adding files in excel. I am asking you can for example 15 users uploading that single file ? Thanks advance | |
I am building an application in which sends an outside server data, it then shoots back data which pertains to what I sent. The problem that I am having is that the maximum amount of bytes tha will come back is 8001. The program works fine as long as the … | |
Thanks in advance i created my own toolbar from user control option i design and add all button ADD,EDIT,DELETE,LOOKUP,CLOSE and build this class and drag on my form now i want to use click event of every button but there is only one click event Public Class Form1 Private Sub … | |
Mozilla Thunderbird offers a very handy "Copy Link Location" option which copies a http-link from an email to the clipboard. For some reason Outlook (XP/2002) does not have this feature. When I right-click a link in the email, I have to select "View Source", open the email's source (HTML) to … | |
I am a student with a project that as to do with online money transaction and the main aim is to create a secure website that can tract fraud transaction and a means of securing every bit of the website information secure from being hacked. The base of this project … |
The End.