20,284 Topics
| |
I am attempting to populate a listbox with data from a table and don't have the methods .dataValueField or .dataTextField or .DataBind in my selection menu. Can anybody help me understand why? ex. lstServices.DataValueField = "item#" | |
hi all, i create an application to sending email's. this is the code i used. Dim mailmsg As MailMessage SmtpMail.SmtpServer = "127.0.0.1" mailmsg = New MailMessage mailmsg.To = txtFrom.Text mailmsg.From = txtTo.Text mailmsg.Subject = "demo" mailmsg.Body = "Its a simple test" mailmsg.BodyFormat = MailFormat.Text SmtpMail.Send(mailmsg) But i got an error … | |
Hi All, i facing problem here, the following is my coding for move previouse recored. [COLOR=#008000]'Open connection [/COLOR]ConnCust = [COLOR=#0000ff]New[/COLOR] ADODB.Connection Cust_String = "Provider=Microsoft.JET.OLEDB.4.0;data source=\\AAA\ABC.mdb" ConnCust.Open(Cust_String) [COLOR=#008000]'Open recordset from Customer List [/COLOR]RstCust = [COLOR=#0000ff]New[/COLOR] ADODB.Recordset Last_SQL = "SELECT * FROM CustomerList WHERE CustomerID <= " & lblCustID.Text & " ORDER … | |
[COLOR=black]Hi All, My VB.NET program uses tabControl, which consists 8 tabPages, as the user interface. Basically, everything is done there, except when Excel file is opened. My program reads Excel file by the following function:[/COLOR] [COLOR=#101010]VB:[/COLOR] [CODE] Private Sub btnReadFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReadFile.Click excelApp … | |
Hi I have a problem when i create a menu programatically. I am trying to display all the items - 10 items in the fisrt column, then 10 more in the second column and so on. Right now is giving me all the items in one column only, and i … | |
I am rai sham from lahore and i am told to work on a project. i think this is a helping community. give me a project proposal and erd and i can help u in java,GIS,Networking and some other subjects. Please hurry up i am getting late | |
Ok i have this code to download some data [CODE] [COLOR=#00007f]Private[/COLOR] [COLOR=#00007f]Sub[/COLOR] Getfiles_Click([COLOR=#00007f]ByVal[/COLOR] sender [COLOR=#00007f]As[/COLOR] System.[COLOR=#00007f]Object[/COLOR], [COLOR=#00007f]ByVal[/COLOR] e [COLOR=#00007f]As[/COLOR] System.EventArgs) [COLOR=#00007f]Handles[/COLOR] Getfiles.Click Webbrowser.Navigate([COLOR=#00007f]New[/COLOR] System.Uri("http://mail.google.com/mail/feed/atom")) [COLOR=#00007f]Dim[/COLOR] Net [COLOR=#00007f]As[/COLOR] [COLOR=#00007f]New[/COLOR] System.Net.WebClient AtomFeed = System.Text.Encoding.ASCII.GetString(Net.DownloadData("http://mail.google.com/mail/feed/atom")) Atomfeedtext.Text = AtomFeed [COLOR=#00007f]End[/COLOR] [COLOR=#00007f]Sub[/COLOR] [/CODE] Every Time i run it i get a 401 Unauthorised Error I … | |
[COLOR=Lime]i have a error message which is :[/COLOR] [COLOR=Lime]An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication2.exe[/COLOR] [COLOR=Lime]Additional information: Object reference not set to an instance of an object.[/COLOR] [COLOR=RoyalBlue] and it has to do something between the [COLOR=Red]()[/COLOR] behind [COLOR=Red]kubus.show[/COLOR] for example[/COLOR] Dim kubus As Form2 Dim blok As … | |
Hello, I'm a web designer new to server-side programming who just joined this forum. I pieced together a custom Index Service search sample using files I got from a Microsoft Studio SDK. The search works great in IE, but the results don't display in Firefox or Safari. I can tell … | |
Hello, In vb.net 2003, I m using textbox to enter Phone no. How can i restrict the maximum length to get data is 10. Thanks in Advance | |
I manage pts in an HIV clinic. We keep a word file on each, and I use the comments and catagories tags in the directory listing to tell me who needs attention, revisits etc. The file name is the patient's name and unit number... Being able to copy the directory … | |
I have a program that I input all my daily data. After I input the data I wan to print the form. The code that I use to print only prints the data I inputed and none of my labels. What I want is it to print the Form the … | |
Hi all, This is my first post here. I appreciate any help you can give me. I am writing a solution that involves having a ConnectionManager application aside from the main application. I intend to have the ConnectionManager create sessions that wrap around the OleDbConnection that provides the connection to … | |
i was working on an application....(chat based program (server /client)) and i needed that when a particular string is recieved i can activate picturebox for 3 seconds and then disable it ( picturebox.visible= false) i have no idea on how to use timer control at all because i never felt … | |
I'm working on code that deletes a record in an Access database (Northwind). The delete works if the record isn't related, but doesn't if there are child records. I realize it's probably because the child records must be deleted before the parent record, but being new to ado.net, I'm not … | |
salam :) i need a good website or ebooks about network programming using winsocket | |
Problem: Write a program that prints the following diamond shape. You may use output statements that print a single asterisk (*), a single space or a single carriage return. Maximize your use of repetition (with nested For … Next statements) and minimize the number of output statements. * *** ***** … | |
I am a small business owner and I am trying to develope a way to keep track of my daily expenses and so on. What I have envisioned is a program that when it starts displays a screen that has you input a date, then a new screen will appear … | |
[COLOR=#0000ff]well thanks expert team it solve some of my prob but tell me how can i pick up reports on sql query basis bcz it works in sql but doesnt shows any result there would be a single command plz tell me that or if just ignore the sql query … | |
how to generate monthly basis reports and there sum plz give me complete code i know SQL query but how to use it in vb.net plz give complete refrence with code.....thanks | |
Hi all: Is there any one who can help me out coping up with VB.net basics?? i am a fresh stater of VB.net if some one there to help their efforts are appreciated. Thank you NN | |
hi there... i am currently doing a project. Still new with vb.net. i would like to know how to code vb.net in order to collect data from a excel database as well as linking to it. If anybody out there is free plz help me. | |
[COLOR=darkred]good morning[/COLOR] [COLOR=darkred][/COLOR] [COLOR=darkred]i wrote this code to write one column from adatabase to MS Word[/COLOR] [COLOR=darkred]the document opened but nothing written in it ....only new lines[/COLOR] [code][COLOR=#0000ff]Me[/COLOR].DsStaff1.Clear() [COLOR=#0000ff]Me[/COLOR].OleDbDataAdapter1.Fill([COLOR=#0000ff]Me[/COLOR].DsStaff1) [COLOR=#0000ff]Me[/COLOR].applicationWord.Visible = [COLOR=#0000ff]True [/COLOR][COLOR=#0000ff]Me[/COLOR].applicationWord.Activate() applicationWord.Documents.Add() [COLOR=#0000ff]Dim[/COLOR] parra [COLOR=#0000ff]As[/COLOR] Word.Paragraph [COLOR=#0000ff]Dim[/COLOR] r [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Integer[/COLOR] = 0 [COLOR=#0000ff]Dim[/COLOR] details [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR][COLOR=#0000ff]While[/COLOR] r … | |
Hey all, I'm working on a project that helps archive word documents, and tags them. I would like to embed a preview pane in my document that opens the .doc file with the default file viewer (Most likely word.) How is this done? I know of ways that you can … | |
:lol: need help!!! how can i change the value of an item of (Yes/No) datatype in a DB Using VB.NET?? assume that the column is named (a) | |
hi how can i create a splash screen using NB.Net ? it was easier using VB6 .:rolleyes: | |
Hi i'm trying to send an email using vb.net/html the problem comes when i have to use a hyperlink to send an email on the click of the button the mail does go to the reciepient. the problem is that on that mail there is a hyperlink <Rejected> that the … | |
thank you but I have this error now: 'EndOfStream' is not a member of 'System.IO.StreamReader'. I got this error even though I imported the System.IO.StreamReader sorry..Thank You for your time and effort | |
hello! I need to use this for loop to extract specific data from a text file. But it gives me an error message:syntax error.I hope you don't mind helping. Thank you for your time and effort. Below is my codes: OpenFileDialog1.ShowDialog() [COLOR=#0000ff]Dim[/COLOR] a [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR]TextBox2.Text = OpenFileDialog1.FileName a = … | |
The End.