20,899 Topics

Member Avatar for
Member Avatar for surekhavk

For i = 1 To ListBox1.Items.Count - 1 cstr1 = ListBox1.Text strqry1 = "insert into trans(pid) values('" & cstr1 & "')" MessageBox.Show(strqry1) If ListBox1.GetSelected(i) = True Then cmd.CommandText = strqry1 cmd.ExecuteNonQuery() End If Next MessageBox.Show("Records added") the above code is for inserting multiple records frm listbox to table but ony …

Member Avatar for Jx_Man
0
94
Member Avatar for coolest_avi007

i want to create subdirectory on the server.But unable to create there. ---------------------------------------------------------------------------------------------------------------------------------------------------- Shared Sub main2(ByVal zipdir, ByVal systemname) 'FTP creadentials' Dim servertemp As String = "ftp://hydhtc25116" Dim username As String = "hydhtc25116\root" Dim password As String = "infy@123" Dim host As String = servertemp 'Renaming the zip file as …

0
61
Member Avatar for peanutong

i am using ozeki sms server to send/receive SMS. currently, when i receive SMSes, they will be inserted into this messagein table (microsoft sql server) altogether. however, i wish to implement it this way: user A sends message to #1: hello [TO REPLY: user A <SPACE> <MESSAGE>] #1 replies user …

Member Avatar for Salem
0
74
Member Avatar for esmond

Hi programmers.. I would like to know how to masking our phone number identity when we're about to send sms through PC in an SMS gateway project. I'm a begineer, doing my last project , it will help me so much if anyone could tell me how to do it..^^ …

0
86
Member Avatar for scrypt3r

Is it possible to retrive weather data for a postcode in the uk? does any one know any code to do this?

0
46
Member Avatar for chicita

Hi, I would like to know if it is possible to use SQL Server reporting services in vb.net 2005 as my application is not web-based so I cannot use ASP.net. I have searched the internet for tutorials but I can't find anything that describes how to use vb.net instead of …

Member Avatar for waynespangler
0
44
Member Avatar for scrypt3r

I recently searched google for a code snippet for creating a ftp uploader and i found this code-> [code]Dim ftp As New Chilkat.Ftp2() Dim success As Boolean ' Any string unlocks the component for the 1st 30-days. success = ftp.UnlockComponent("Anything for 30-day trial") If (success <> true) Then MsgBox(ftp.LastErrorText) Exit …

Member Avatar for scrypt3r
0
202
Member Avatar for manishmn1987

[url]http://www.microsoft.com/downloads/d...DisplayLang=en[/url] u have passed me this link to have a program that is used to control the serial port. But.. this program doesn't works on vb.net 2005 version.. there are 4 errors. can u solve this problem..... and tell me, which file to be executed? and how?

Member Avatar for manishmn1987
0
87
Member Avatar for altamesegause

I have a vb applicaton that I'm doing some reverse engineering to fix an error that a task is scheduled to run everyday, which runs fine! The error is a System.applicationexception. In the error message it displays the location where the file is located, in the C:\document and setting\...etc folder, …

0
55
Member Avatar for Maxine

Hi guys, Thanks for the effort you've made in answering my last post and I hope you'll help me out again. I did develop a program in vb6 and vb.net and lost the source code. However I did compile the two programs one in vb6 and the other vb.net and …

Member Avatar for Maxine
0
102
Member Avatar for pclarkeo

Hi there. I just joined this forum today. I've been working in a software company developing in vb for the last 4 years. We're moving into vb.net shortly. I hope I can help with any info I have in my head box and hope that people out there can help …

Member Avatar for sittas87
0
26
Member Avatar for Budz_delz2008

I'm creating a project right now which is entitle Agenda Management System. I want to log in to server with a flexible connection. I was able to code my server connection but my other forms which contain the saving, updating and deleting command was only working to the computer which …

0
43
Member Avatar for Alps4evr

hi All! I am developing a wesite for generating reports in vb.net. I m stuck with the graphical reports. can any one give me code for displaying the reports in graphical pattern

0
41
Member Avatar for harry_b

Hi i am trying to write a program in vb.net that will display text sequentially one word at a time in the centre of the screen. I have managed to split file into words but i am just stuck here lacking knowledge how to program the rest. I would appreciate …

Member Avatar for harry_b
0
194
Member Avatar for raul15791

Hi, I'm new in Visual Basic. Here's a few questions: 1. What is the difference between VB and VB.net 2. Any good ebook you guys recommend for VB and VB.net?? (I've learned Perl, C++ and Java) 3. If I want to learn VB.net do i need to learn ASP.net first? …

Member Avatar for sendoshin
1
2K
Member Avatar for begum

i have written a code for storing the data in MS Access 2003,but i didn't see the data in the database,can anyone help me plz.

0
46
Member Avatar for ViRiPuFF

Hi I'm using MS Visual Basic 2005 Express Edition and need to open an Excel File. I'm using the following code [code] Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim xlTemp As Excel.Application xlTemp = New Excel.Application xlTemp.Workbooks.Open("C:\Documents and Settings\TAP\Desktop\Post\Test.xls") End Sub …

Member Avatar for bruce2424
1
497
Member Avatar for M V Mack

I am exporting data to excel but inserting rows is very slow about 2 seconds per row, the line of code I used sucsessfully in VS 2003 was "oSheet.Rows(oRow + 1).Insert()". I am now using VS 2008 to excell 2007 and as well as the previous code I have tried …

Member Avatar for M V Mack
0
155
Member Avatar for joannmallow

Hi, Is it possible to have gridview records being deleted after a specific period of time automatically? I'm doing a project that requires login fuction & when the user login, login history will be saved. And I want my program to be like if 2 weeks later & the same …

0
34
Member Avatar for friendship.ani

hi, I open a Existing excel sheet and do something and then want to close this excel sheet and open a new excel sheet and work on it. Code:manip.vb OpenFileDialog1.Filter = "Excel files (*.xls)|*.xls" If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then ExcelDoc = New ExcelEx(OpenFileDialog1.FileName) Else Exit Sub End If ExcelDoc.close() GC.Collect() …

0
66
Member Avatar for friendship.ani

hi, I open a Existing excel sheet and do something and then want to close this excel sheet and open a new excel sheet and work on it. Code:manip.vb OpenFileDialog1.Filter = "Excel files (*.xls)|*.xls" If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then ExcelDoc = New ExcelEx(OpenFileDialog1.FileName) Else Exit Sub End If ExcelDoc.close() GC.Collect() …

0
40
Member Avatar for joannmallow

Hi, I would like to ask if I have a gridview. And I want the records to be deleted after 20 records automatically & all the 20 records will be gone after I've added in the 21st record in. How do I do so? Thanks a lot.

Member Avatar for joannmallow
0
54
Member Avatar for Water-Orb

[TEX]Hi everyone!!! I'm new to programming in vb.net and have just created my first game. I need help in being able to use midi files in it but having trouble because I always get an exception error of some sort. Is there something that needs to be done in my …

Member Avatar for cellus205
0
104
Member Avatar for ntredame

I am getting errors when trying to compile the following code. [CODE]Public Class frmMyFirst Private Sub frmMyFirst_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click Dim strName As String strName = InputBox("Enter your name and click OK.") lblHello.Text = "Hello " & strName & "." End Sub Private Sub …

Member Avatar for selvaganapathy
0
122
Member Avatar for belac

Hey Guys, I'm sort of new to coding in .net and I want to write a Sudoku assister for practice. I would like to display values that are still available for each box that does not have an entered number. One way to do this would be to have 81 …

Member Avatar for belac
0
97
Member Avatar for Saddi
0
58
Member Avatar for ypdev

Hi All - I would like to update extensionAttributeX of a user account based on Excel sheet. Any idea how to use the SELECT command with INNER JOIN option or other technique ? Thanks...

0
62
Member Avatar for Traicey

Guys Im not sure If I should post this in this forum but anyways If it shouldnt be here please pardon me I have a problem here, I have to design and develop a software for Clothing company which sells clothes, either use account, cash, credit exchange, returns and so …

Member Avatar for mike_g
0
112
Member Avatar for darlo23288

Hi, i juz wanted to know how to write this following codings in app.config. In ASP.Net in web.config: [Code]<configuration> <appSettings> <add key = "stu" value = "database = Gred; trusted_connection = yes; server = (local)"> </appSettings> </configuration>[/COde] N in codings part: [COde]Imports System.Data.SqlConnection Dim con As New SqlConnection (ConfigurationSetting.AppSettings("stu"))[/COde] Now …

0
57
Member Avatar for aks87

hi...im trying to summarize a number of excel workbooks into a single workbook for analysis. I am having problems with selecting specific cells. The select statement is not working. Is there anyway by which cells from different excel workbooks can be merged into a single workbook?

0
49
Member Avatar for freshface001

hi to all ! i have create one project in .net(c#,asp,vb.net) from windows os. can i exccute this project in mac os?

Member Avatar for linux
0
164
Member Avatar for wzb

Hi, This is one great article. Actually the best I have seen yet. I just have one issue if I may raise it here. I am not sure whether it should be on a spearate thread but if this is not the correct place please move it to wherever you …

0
50
Member Avatar for kavithabhaskar

I have the code for transferring data from the datagridview to the excel spreadhseet.. my datagridview has colored data in it and I want the excel spreadsheet also to have the colored data. i get the error "property access must assign to the property or use its value vb.net error" …

Member Avatar for kavithabhaskar
0
155
Member Avatar for scrypt3r

im trying to upload a file [code]My.Computer.Network.UploadFile("C:\hello.txt", "http://www.google.co.uk/", "", "", True, 1000, FileIO.UICancelOption.DoNothing)[/code] and i get a 501 Not Implemented error does this mean the upload address is not allowed? if so does anyone know any websites were you are allowed to upload files

0
55
Member Avatar for CatchItBaby

How to open multiple sites by using vb.net When we click on a button multiple sites are open in Mozilla or internet explore in tab ....... i have tried this System.Diagnostics.Process.start(webiste name) but it open only one site at a time.......if we write this line two time on click event …

Member Avatar for selvaganapathy
0
88
Member Avatar for scrypt3r

Ive made a ping program to tell me when my friend is online [code]Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick 'The code for person1 If My.Computer.Network.Ping("***ipaddress***", 1000) Then Label2.Text = "Online" Else Label2.Text = "Offline" End If 'the code for person2 If My.Computer.Network.Ping("***ipaddress***", 1000) Then …

0
35
Member Avatar for scrypt3r

Does anyone know if you can use the My.Computer.Network.UploadFile to upload a text file to a folder on another persons computer?

0
64
Member Avatar for kavithabhaskar

I am trying to open an excel spreadsheet using vb.net. The data has to be fetched from a datagridview.. the datagridview has colored data in it and i want it to appear colored on excel spreadsheet too.. How do i get it colored ? [CODE] Private Sub Button4_Click(ByVal sender As …

0
74
Member Avatar for zakshurst

Hi I am looking fro some real world examples of Agile project in particular MSF 4.0 for development methodology combined with Scrums for management. Background Currently our company uses the water fall model, but new developments I believe are better suited to Agile. To this end I am trailing out …

Member Avatar for sarehu
0
130
Member Avatar for Anticipation

Hi! I'm writing an application in VB.NET for drawing. The problem is, that when I try to draw in freehand, it allows me to draw one thing, then when I lift my mouse and go to draw another thing, i get an Out of Memory Exception. Any help would really …

Member Avatar for Anticipation
0
144
Member Avatar for tuse

Hi all! I am trying to connect to a remote MySQL database. This database is located on my LAN at the address 192.168.1.2. I am using MySQL Connector/ODBC 3.51 (MyODBC 3.51) for the connection. The connection string that I am using is the following- Driver={MySQL ODBC 3.51 Driver};Server=192.168.1.2;Database=mydb;User=root; Password=;Option=3; The …

Member Avatar for tuse
0
97
Member Avatar for tanha

Hi. I am using Visual Studio 2008, and Sql Server 2000, and I have the following code: [CODE] 'Load connection module connection() cmd = con.CreateCommand cmd.CommandText = "SELECT * FROM tblUser WHERE username = 'xxx' " da.SelectCommand = cmd da.Fill(ds, "tblUser") dt = ds.Tables("tblUser") MsgBox(dt.Rows.Count) [/CODE] I don't know why …

Member Avatar for anoopkh
0
7K
Member Avatar for Yogesh Sharma

Suppose mine textfile contains the foll. records-- Sunday, July 13, 20086:29:55 PM^^1^^ritu Sunday, July 13, 20086:29:55 PM^^2^^ritu Sunday, July 13, 20086:29:55 PM^^3^^ritu Sunday, July 13, 20086:29:55 PM^^4^^ritu Sunday, July 13, 20086:29:55 PM^^5^^ritu Ion Form_Load,I want that in Combobox only date is picked. My code is as follows- Private Sub Form1_Load(ByVal …

Member Avatar for anoopkh
0
100
Member Avatar for san_gwapo19

can someone please help me in making a bank simulation program in vb.net does somebody know any links where in i can see sample bank simulation programs???

0
59
Member Avatar for DaveWalsh1984

Ok, first of all this is the first time I've used the forums on this site cos only recently joined. I've been studying computing at college for about 5 years and graduated from Sunderland Uni in 2006. Throughout the time I was at college the programming languages we were studying …

Member Avatar for kb.net
0
343
Member Avatar for mahesh20081984

hello friends, can anybody gave a snippet for reading data from my sound card (ie linein, microphone ......) i am using soundmax integrated audio controler(analog systems) . i am not experianced in Direct sound so the code using mm api with in the os is more welcome.

0
79
Member Avatar for ns33

Hi, I am using FileUploadCotrol to offer browse and to get FileBytes from client side. I use this store the content as base64 string in database. I am trying to store the original file date also in the database. So far I have not found a way to retrieve the …

0
47
Member Avatar for johnwaz

I've gotten a share setup by using this: [CODE=vbnet] Dim objWMI As Object = GetObject("winmgmts:\\localhost\root\cimv2") Dim objShare As Object = objWMI.Get("Win32_Share") intRC = objShare.Create(strPath, strName & "$", intType, intMaxAllowed, strDescr) '$ added to share name to make share "hidden" [/CODE] But, the share from above allows users to read and …

0
56
Member Avatar for DotNetDiver

I am very new to VB.NET What is a good desk reference book for applying VB.NET to AutoCAD 2008?

0
36
Member Avatar for gouki2005

I have a class named Account so I have a question. In the declarations of a new instance Dim Newaccount as Account -----but I can declare this like.. Dim Newaccount As Account = New Account which are the differences between both declarations?? are the same or not? excuse me english... …

Member Avatar for manal
0
121

The End.