20,899 Topics
![]() | |
Before in VB 6.0 my way of changing the properties of an object is <pre> TextBox1.Text="Hello"</pre> could someone help me please! Thanks in advance | |
okay i have a simple program that has a class of objects some textboxes etc. What i do is enter information in and it saves an object to a text file. Now i open a new project and want to use the text file that was previously created and read … | |
Hello and thank you for taking time to read my question. I have been charged with the task of creating a scoreboard for use by one of our local teams, the problem is that I am still very new to visual basic (I am using Visual Basic Express Edition). I … ![]() | |
i created one web form the form contain two label box and text box in the form one button is placed i click the button the page redirect to next page window.location.href="fdfgd.com"; but i wll send textbox value and label box value in the corresponding redirect page.. pl help me... | |
hi i m using sql ad vb.net for my project can somebody plz send me the code of last button | |
Hey all, Just wondering is it possible to have a drop down cell in a datagrid? and if so how the hell do i do it :) Thanks | |
Hi all.. Can anyone provide me with the code convertor tool...ie.the tool which converts the vb.net code to C# code and vice versa... It would be better if the tool is an .exe.. Some one help in this regard as early as possible... Regards, Balagurunathan s | |
Hi guys, i am new to the VB and i need help please ;) Here's my problem: I am required to find out the properties and codes of a box moving. I'm given directional arrows,a "random" button and a "start"button. When i click the start button, the box moves in … | |
Ok, here's what I have so far. The notation on line 2 explains what I'm trying to do. [code] Public Class Form1 Dim RunningTime As Integer = My.Computer.FileSystem.ReadAllText("C:\data.dat") 'need if/then to start countdown if value in data.dat is numeric, pause timer if value is PAUSE, and resume timer if value … | |
hello, Could you please help me with the code for how to format a word document by inserting a page border using vb.NEt coding. I have already created the document using vb.Net but now need to insert a page border and a line at the bottom can you please help … | |
Dim objNetwork Dim objExcel Dim objWorkBook Set objExcel = CreateObject("EXCEL.APPLICATION") objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() objworkbook.ActiveSheet.Range("A1").value = "DisplayComputername" Set objNetwork = CreateObject("WScript.NetWork") Dim strComputer strComputer = objNetwork.ComputerName Msg strComputer Set objNetwork = Nothing | |
I am accessing MS Outlook Folders through VB.NET console application through Command Line Arguments.The mails are displayed in HTML table format. I am displaying all mails once at a time.I want to display it as page like first 10 items at once and rest 10 after clicking the link button … | |
I am trying to show info at the bottom of my data grid I get error saying object reference not set to an instance of an object Here is my code [B]Imports System.data Imports System.data.OleDb Imports System.Configuration Partial Class supplier Inherits System.Web.UI.Page Dim ConnString As String = ConfigurationManager.AppSettings("ConnString") Dim dbPath … | |
i need to pass w variable from one form to other forms how? | |
Gidday I have a single Array of items (total number of items in array would be variable) that i want to display in a table like format i.e. [code=html]<table> <tr> <td>ArrayVar[0]</td> <td>ArrayVar[1]</</td> </tr> <tr> <td>ArrayVar[2]</</td> <td>ArrayVar[3]</</td>[/code] etc... or [code=html]<div style="float:left">ArrayVar[0]</div> <div style="float:left">ArrayVar[1]</div>[/code] etc... How can I generate this in VB.net … | |
i have a data grid in my form.i add a new column in the last of the data grid .But i want to add the command button on the data grid column which i newly added. | |
[B]there is unclosed literal string line 7 position 219[/B] I Get This Msg When i Gonna to Add DataSource To Report ![]() | |
hey all. I have self taught myself VB.net and VB6 but want to expand my knowledge. Can anyone reference any good intermediate Books for VB6 And/Or VB.net? | |
hi.. i've created a table named :Survey [code]CREATE TABLE [dbo].[Survey] ( [CustomerID] [int] NOT NULL , [SurveyID] [int] IDENTITY (1, 1) NOT NULL , [SurveyTitle] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [SurveyDescription] [varchar] (300) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [DateCreated] AS (getdate()) , [coverletter] [varchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL … | |
I am writing a front-end application using visual basic in Visual Studio 2005 Express. I already have a connection to my database (Access 2003), but I need to retrieve and manipulate that information. I found the syntax in c, but I can't seem to find it for visual basic. Does … | |
when right clicked on the form it should show the main menu how can i code this | |
hi..i'm doing my final year project on creating Questionnaires template. i have problem with viewing my OptionLIst. I have 2 dataset..all i want to do is to preview all my Question & Answer..i can view them, but i need to create textboxes or checkboxes besides the OptionList.. [code] Private Sub … | |
i want to connect to a sql server db using a sql login from VB.NET. the problem is that i cannot fill my dataset when i login using the sql login. However, the code works perfectly well from a windows login. ALSO i can login well using the sql server … | |
i want to connect to a sql server running on another xp computer. i have made the sql connection, sql data adapter (using Data controls, not connecting manually from code). i can fill the data adapter from the design view by right clicking on the adapter, Fill dataset and i … | |
Hi! I'm a newbie with VB.NET and I'm so close to finished an internet explorer of my own and have come to the following problems: Whenever i type a URL into the combobox and hit "Go", i have a text box that fetches that URL. Everytime I enter a new … | |
How do i reverse the order of a combobox. I'm currently loading cboItems.items.add (reader.readline) from a .txt document using streamreader. After the items are loaded into the Combobox, i want to reverse their order from Bottom to Top. Is that possible?... | |
Hi, this is my first post on this thread. I have a datagrid with a checkbox. I followed the one on msdna2 site using a tablestyle etc. However, i want to do update using all the ones the user has checked. I can do this for one single checked item … | |
[COLOR=darkblue]I have a datagrid in my webform with two columns namely empno and empname. The column empname is a hyperlink column. When the page loads both the columns are displaying data from the emp table. There are totally 5 records in the emptable. So five rows are getting displayed in … | |
:pretty: Hi! My name is Marzena. I am from South Africa. I have been programming in VB.net for past 3 years. I did enjoy it very much, but lately I started to study C++ and Delphi. I love those languages. Unfortunately I am still "green". I am a big fan … | |
Hi, In VB.NET I have Two tables Table1 = OrderNum, Stockcode, QtyNeeded And Date Table2 = Stockcode, QtyProduced And Date I need to get the sum of QtyNeeded and the sum of QtyProduced so that i can see the differance They are grouped by Stockcode and Date e.g. Stockcode | … | |
I am trying to enter data into a datagrid and I get this message No value given for one or more required parameters. Can anyone see what is wrong. Here is the code Imports System.data Imports System.data.OleDb Imports System.Configuration Partial Class supplier Inherits System.Web.UI.Page Dim ConnString As String = ConfigurationManager.AppSettings("ConnString") … | |
actually i'm new in programming and i have a problem with my assignment... in the assignment, i have to validate the input from the textbox the input have to contain "SO" and folowed by the 3 to 5 numbers and i really don't know how to code it....... plissss someone … | |
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 … | |
[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 … | |
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. | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 | |
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] … | |
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.:@ | |
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 … | |
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 … | |
[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 = … | |
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 … | |
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() = _ … | |
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 | |
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 … | |
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 … |
The End.