20,285 Topics

Member Avatar for
Member Avatar for nikki23

This is what I have so far. I need to retrieve data and show in a grid view supplier ID supplier name and a command field to click more details that will include more detailed info. I am have problems on how to get the rows. i need to retrieve …

0
64
Member Avatar for PB99

[COLOR=green][COLOR=black]The following code example show some perculiar behavior. I have a Form with a listbox with "ContextMenu1" assigned to it. When I click in the Listbox, the ContextMenu is displayed. After I make a menuItem selection in the ContextMenu the event handing routine assigns the selected MenuItems properties to the …

0
26
Member Avatar for vrushalinz1

HI , i m using System.Windows.Forms.ListView control. i want to set the text in the subItems to bold at run time. How do i acchieve this :!: Thanks in advance.

Member Avatar for Shodin
0
210
Member Avatar for furjaw

Visual Basic 2005 How do I go about adding a column to an SQL database. Everytime I did it in the past it was a disaster and I literally had to start all over again from square one. I would go into Dataset Designer to add the column then I …

Member Avatar for jamello
0
129
Member Avatar for karan_21584

in vb.net, how to check whether the attribute is existing or not... that is.......... i have an xml file and the content is as..... <xs:element name="name" type="xs:string" minOccurs="0"/> <xs:element name="sample"> my coding line is : "ans=xmlnode(k).Attributes.Item(1).Value" when reading the above coding, the error "object reference not set to an istance …

0
57
Member Avatar for anuragNet

[COLOR=#000000] [/COLOR] [COLOR=#000000]Hi,[/COLOR] [COLOR=#000000] I have an excel file,having lot or micros, connecting to database, doing some complex calculation..inshot that excel file is itself an application.[/COLOR] [COLOR=#000000] Now I want to open that excel in VB.net form, on button click. I prefer to open that excel in vb.net form itself …

Member Avatar for anuragNet
0
742
Member Avatar for zaid

Hi, Iwant to excute select procedure SELECT Location, name, marks FROM ins WHERE (column1 = ' " & textbox1.text & "') column1=ID # i allready did the databinding to text box's what should I write in the butten I tried DsIns.Clear() OleDbDataAdapter1.Fill(DsIns) Ins is my dataset name all of my …

Member Avatar for anuragNet
0
87
Member Avatar for xmen_xwk

i have a binary file ,i dont know how to open it in my application, i need coding for it. can someone tell??? [URL]http://www.badongo.com/file/2807504[/URL] click to download the file

Member Avatar for mhovidz
0
105
Member Avatar for karan_21584

hi, i m trying to read the xml file which contain two database table values..... when i m doing this, the 1st table value has read. but the second table value cannot be fetched.... [B][U]my code is :[/U][/B] [COLOR=#0000ff]Dim[/COLOR][COLOR=#000000] xmldoc [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] XmlDocument[/COLOR] [COLOR=#0000ff]Dim[/COLOR] xmlschfile [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR]xmlschfile = [COLOR=#800000]"D:\woxml\wodet_sch.xml" [/COLOR][COLOR=#0000ff]Dim[/COLOR] …

0
90
Member Avatar for jonthegamer

Hi, for some reason the build of my project the code and form is screwed up. I tried under build clicking build project. This keeps happening to be on both .net and 2005 and on 2 different computers. And help would be very greatful.:@

Member Avatar for jonthegamer
0
115
Member Avatar for shy_wani

hi.. i wanna ask...how can i add controls such as RadioButton @ CheckBoxes @ TextBox into panel? i need to view my OptionList based on my QuestionType [code] Dim sql As SqlCommand=("SELECT Question.QuestionTypeID,AnswerList.OptionID,AnswerList.OptionList FROM QUESTION, AnswerList WHERE AnswerList.SurveyID = 83 AND AnswerList.QuestionNum=1",MyConn) Dim readQ As SqlDataReader = sql.ExecuteReader() While readQ.Read …

Member Avatar for shy_wani
0
97
Member Avatar for ssharish2005

Hi, Is there any way that we could read a graphics image data through a winsock lib or socket library. Or how do we go ahead on reading a grahhics Data. When i try to read a graphics from my server it just return >>| or smething but it should …

0
59
Member Avatar for rickvidallon

[B]Q&A VB.NET and Truncated Email - 2 Examples [/B] [URL]http://65.36.227.70/actmailer/[/URL] We have a scheduled task which runs every 5mins and sends pending email campaign. The script has been written in VB.NET and following is the code which actually sends the mail: set mailer = createobject("cdo.message") mailer.subject = this_subject mailer.from = …

0
83
Member Avatar for quiptro

Hi, I have created a stored procedure that would insert new records in one of my database tables. I have tested the procedure in SQL Server 2005 and it works all right. What I want to do next is to connect the stored procedure to my form in VB.Net so …

Member Avatar for quiptro
0
663
Member Avatar for mstester

Hey all, I need a bit of help, Im trying to write some simple code that will search through a directory say "C:\Windows\" for any .exe's heres my code for just searching a directory, However it does not search Subfolders [code] If Directory.Exists(File_Path) Then Dim new_files As String() = _ …

Member Avatar for mstester
0
108
Member Avatar for shaebie

hi guys, absolutely no idea where to start and im sure its a really easy thing to do. i just want to use a button to print the current form to the computer's default printer. thanks

Member Avatar for hollystyles
0
91
Member Avatar for shy_wani

what is wrong with my code? [code] Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MyConnection.Open() Dim strSQL As String = "SELECT * FROM Question WHERE SurveyID=83 Order By QuestionNum" Dim cnCommand1 As SqlCommand = New SqlCommand(strSQL, MyConnection) Dim Rdr As SqlDataReader = cnCommand1.ExecuteReader() 'execute reader …

Member Avatar for hollystyles
0
337
Member Avatar for hoosier23

I'm having trouble reversing a string. Me thinks I've stared at this too long. [CODE] Private Sub btnReverse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReverse.Click Dim strOrgText As String Dim strRevText As String Dim array As Array strOrgText = Me.txtTheString.Text array = strOrgText.ToCharArray() strRevText = array.Reverse 'Here is …

Member Avatar for mhovidz
0
209
Member Avatar for mhovidz

Good day! I have a problem in changing a properties of a control in class module. I want to put it in a function so that every now and then I can call it. Could anyone help me how to change it! Thanks in advance!

Member Avatar for mhovidz
0
80
Member Avatar for ksa

Hi, I'm currently trying to make a simple picture Puzzle Game ,but i have some questions. I hope I found the answers here . First, How I can separate a picture into small pieces? Second, I want the user drag and drop the parts of the picture into the playing …

Member Avatar for ksa
0
110
Member Avatar for shy_wani

hi.. i have draft.aspx at first time view, i want the draft.aspx to take value QuestionNum in the database...so, at first time viewing, the draft.aspx shows QuestionNum.text=1 i have a button - "Next". i want user to click the button and they will be redirected to the draft.aspx displaying the …

0
67
Member Avatar for yaya_star

i use thsi code for timer , but it shows the messagebox 50 times.. i just need the mesage box to be showed once only [COLOR=#008000]Dim conn As New OleDbConnection [/COLOR][COLOR=#008000]Dim dap As OleDbDataReader [/COLOR][COLOR=#008000]Dim cmdb As New OleDbCommand [/COLOR][COLOR=#008000]conn.ConnectionString = Provider=Microsoft.JET.OLEDB.4.0;DATA SOURCE= c:\ApptDB.mdb" [/COLOR][COLOR=#008000] conn.Open() [/COLOR][COLOR=#008000]cmdb.Connection = conn [/COLOR][COLOR=#008000]cmdb.CommandText …

Member Avatar for yaya_star
0
110
Member Avatar for Fritzeh

Hi, I'm trying to create a text to speech application with the ability to play, pause, resume , stop rewind and fast forward sections of text. Also play selected. The first problem is, I want to make one button handle play, pause and resume. I attempted using a case: [COLOR=#0000ff]Private[/COLOR][COLOR=#0000ff]Sub[/COLOR][COLOR=#000000] …

0
93
Member Avatar for heliumgas

Good night I would like to know how i can do to insert in a table of mysql some itens that i select in a Checkedlistbox. But the Checkedlistbox as very itens. [code] Private Sub btnguardar3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnguardar3.Click Dim data_adapter As Odbc.OdbcDataAdapter Dim …

Member Avatar for iamthwee
0
198
Member Avatar for karan_21584

hai, i have created a webservice file and made "web reference". in that i want to edit the .wsdl file and want to change the IP address....can anyone post me the coding? i want to put the wsdl file into an dataset and want to edit it...help me plz...its very …

Member Avatar for karan_21584
0
313
Member Avatar for ezbie

My options in my combobox are added from my mdb database... what I need is for each time my form, or program for that matter loads is to have the selected option default to the option that was last selected. So essentially, I need my combo box to "remember" which …

Member Avatar for iamthwee
0
816
Member Avatar for shy_wani

hi.. is anyone knows..how to add controls dynamically in a page according to user input? at page 1, user will define their data (OptionList) and its data representation style(eg checkbox,listbox,radiobutton or whatsoever) for each question..then when user click submit, all data sets by user in Page 1 will be previewed …

Member Avatar for iamthwee
0
92
Member Avatar for Ravi Singhal

Hi everyone I want to insert flexgrid control in vb.net. But there is no such tool to add it. See I dont want to add datagrid bcoz it dosenot allow to take input from user. I need MSFlexgrid just like in VB6. can anybody help me. Thanks in advance

Member Avatar for iamthwee
0
132
Member Avatar for bhawna

i hav problem in my login form.form contains username & password.user will input & form has to compare these from oracle table. can ny1 send me code for this.

Member Avatar for iamthwee
0
76
Member Avatar for karan_21584

while we adding web reference in vb.net three files will be added (.disco & .discomap & .wsdl) . how to change this .disco file's, IP address value PROGRAMMATICALLY??? help me plz....thanks in advance

0
72
Member Avatar for yaya_star

lstUsers.Clear() lstUsers.View = View.Details lstUsers.Activation = ItemActivation.TwoClick lstUsers.Columns.Add([COLOR=#800000]"First Name"[/COLOR], 100, HorizontalAlignment.Center) lstUsers.Columns.Add([COLOR=#800000]"Last Name"[/COLOR], 100, HorizontalAlignment.Center) lstUsers.Columns.Add([COLOR=#800000]"Email"[/COLOR], 100, HorizontalAlignment.Center) lstUsers.Columns.Add([COLOR=#800000]"Job Title"[/COLOR], 100, HorizontalAlignment.Center) lstUsers.Columns.Add([COLOR=#800000]"Mobile No"[/COLOR], 100, HorizontalAlignment.Center) [COLOR=#008000]'lstUsers.Columns.Add("People Involved", 100, HorizontalAlignment.Center) [/COLOR][COLOR=#0000ff]Dim[/COLOR] cnn [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] OleDbConnection [COLOR=#0000ff]Dim[/COLOR] da [COLOR=#0000ff]As[/COLOR] OleDbDataReader [COLOR=#0000ff]Dim[/COLOR] cmd1 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] OleDbCommand cnn.ConnectionString = [COLOR=#800000]"Provider=Microsoft.JET.OLEDB.4.0;DATA SOURCE=c:\ApptDB.mdb" [/COLOR]cnn.Open() cmd1.Connection …

Member Avatar for Ravi Singhal
0
77
Member Avatar for shy_wani

hi.. i have problem...which i don;t know how to perform this action.. i have a page...named "preview.aspx". this page should preview all the Question with their Answer List example of Question: What is the temperature of boiling water? example of Answer : 100 degrees Celcius, 120 degrees Celsius, 80 degrees, …

Member Avatar for Ravi Singhal
0
141
Member Avatar for shaebie

hey guys, im sure this is a really easy thing to do but, im currently trying to make a form that basically you enter numbers into three text boxes and it pumps and the sum in a label. I've got this working fine except for decimal places. using code" label.text …

Member Avatar for hollystyles
0
94
Member Avatar for palsonjj

Helllo , how to create a Monthly wise Data report in VB? data base MSAccess... can any1 help me plzzzzzzzzzz....

Member Avatar for Ancient Dragon
0
46
Member Avatar for xmen_xwk

hi there, can someone tell where can i get Borlard Delphi to Vb.net converter?:cool:

0
60
Member Avatar for karan_21584

hay, i want to edit the .disco .discomap .wsdl web.config files in vb.net which is added when we using "add web reference" in webservice.............. this proceesss is to be done by sort of codings....... the major work is to search the IP addresses and to change it ...help me plzzzzz...thanks …

0
67
Member Avatar for yaya_star

Hi all,how r u? i am trying to send email from my priject, i write the following code [code] [COLOR=#0000ff]Dim[/COLOR] myMail [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] MailMessage() myMail.From = [COLOR=#800000]"from@microsoft.com" [/COLOR]myMail.To = [COLOR=#800000]"to@microsoft.com" [/COLOR]myMail.Subject = [COLOR=#800000]"UtilMailMessage001" [/COLOR]myMail.Priority = MailPriority.Low myMail.BodyFormat = MailFormat.Html myMail.Body = [COLOR=#800000]"<html><body>UtilMailMessage001 - success</body></html>" [/COLOR][COLOR=#008000]' Dim myAttachment As New MailAttachment("c:\attach1.txt", …

Member Avatar for ManicCW
0
86
Member Avatar for Eddi8

[COLOR=blue]Hello everyone…. [/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue]Can someone help me? Please.[/COLOR] [COLOR=blue] [/COLOR] [COLOR=blue]I have got a form with listview connecting access database.[/COLOR] [COLOR=blue]Some how I have managed to call the data to the form. As you can see the code below. It will open all the data to listview. And …

0
184
Member Avatar for rianjyothi

I needed code for dynamically selecting the TopN/Sort Group Expert in crystal report. I am using VB.net and SQL. My report has its data coming from a stored procedure written. This will be of great help as i needed to give the option for my top sales report.

Member Avatar for GrandVizier
0
145
Member Avatar for rickvidallon

[COLOR=#000000]We have a scheduled task which runs every 5mins and sends pending email campaign. The scipt has been written in VB and following is the code which actually sends the mail:[/COLOR] [COLOR=#000000]set mailer = createobject("cdo.message") mailer.subject = this_subject mailer.from = "name<[/COLOR][EMAIL="member@americancongressfortruth.com"][U][COLOR=#0000ff]email address[/COLOR][/U][/EMAIL][COLOR=#000000]>" [/COLOR][URL="http://mailer.to/"][U][COLOR=#0000ff] mailer.to[/COLOR][/U][/URL][COLOR=#000000] = this_to mailer.htmlbody = this_body mailer.send …

Member Avatar for hollystyles
0
111
Member Avatar for karan_21584

hey, here i have a question. i want to select a directory path alone... For example, by using "openfiledialog" control, we can select the file path (eg., d:\sample\dest.txt). But i want to select only the path (eg., d:\sample\).... can anyone help me ? thanks in advance...........

Member Avatar for karan_21584
0
348
Member Avatar for yaya_star

i have this code with no error , but when i open the email there is nothing in it, why? [COLOR=#0000ff]Dim[/COLOR] m [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] MailMessage([COLOR=#800000]"ayh@hotmail.com"[/COLOR], [COLOR=#800000]"cuosh@hotmail.com"[/COLOR], [COLOR=#800000]"hi"[/COLOR], [COLOR=#800000]"hiiii"[/COLOR]) [COLOR=#0000ff]Dim[/COLOR] s [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] SmtpClient([COLOR=#800000]"mx2.hotmail.com"[/COLOR]) [COLOR=#0000ff]Try [/COLOR]s.Send(m) MessageBox.Show([COLOR=#800000]"ok"[/COLOR]) [COLOR=#0000ff]Catch[/COLOR] ex [COLOR=#0000ff]As[/COLOR] Exception MessageBox.Show(ex.ToString) [COLOR=#0000ff]End[/COLOR] [COLOR=#0000ff]Try [/COLOR]

0
69
Member Avatar for kdee

Hi! I have both combo boxes and datagridview on the same form. Combos are not inside the datagrid. They are outside On the top of datagrid aligned in a horizontal line. Each combo is aligned with its own column from datagridview. But... When I resize (to the right) let's say …

Member Avatar for Methos
0
123
Member Avatar for jameswoodhouse

I'm very new to [URL="http://www.daniweb.com/techtalkforums/post343678.html#"]VB[/URL] this is my first attempt at a project. basically i want a simple [URL="http://www.daniweb.com/techtalkforums/post343678.html#"]program[/URL] that will display a famous singers surname in a text box, then ask the user to input the singers first name in another box. The system must then check the answer …

Member Avatar for hollystyles
0
138
Member Avatar for wavalker

Can anyone help me in integreation of vb.net and Autocad. i want to read autocad's digrame's dimentions through vb.net or vb 6.0.it emergency

Member Avatar for wavalker
0
116
Member Avatar for sk8ndestroy14

Yay! I made my first program. It's the quadratic formula for the console. What should I try to make next? Oh yeah, and when it opens the console thingamajig it always closes on its own as soon as the module ends. This makes it where I can't see the last …

0
73
Member Avatar for ezbie

I am looking for a simple way to get data from an excel sheet and place it into a combobox (the excel data to be the default selection and the remaining options coming from my mdb database) and then update the cell data once it has been changed on my …

0
57
Member Avatar for quiptro

Hi, I have a database with 15 tables and couple of queries created in SQL Server 2005 and I am making a form/interface for the database in Visual Basic .NET. I managed to connect the tables by using the BindingSource / DataGridView controls. However I cannot find the queries in …

Member Avatar for quiptro
0
99
Member Avatar for marijana

HELLo !! pls, i need help i have a VB.net application developed in MS Development Enviroment 2003 v.71.3088, with crystal reports in it, developed with Crystal Decisions for Visual Studio.net. so, reports are coded in the application, and deployed as part of the code , like this; Dim report As …

Member Avatar for cybeh
0
279
Member Avatar for DanielWuVB

Help ?? I self studied VB .NET throught a book (apress - Building Client/Server Application with VB .NET : An Example - driven Approch) by Jeff Levinson. when I coded in the example from the book and ran the program and I got this error message "An unhandled exception of …

Member Avatar for DanielWuVB
0
189

The End.