20,284 Topics
| |
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 | |
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 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 … | |
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 … |
The End.