20,284 Topics

Member Avatar for
Member Avatar for praveendesilva

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 …

Member Avatar for jabijohn
0
77
Member Avatar for IBGhost

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

Member Avatar for IBGhost
0
91
Member Avatar for bhavna_816

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 …

Member Avatar for veerendranath_d
0
220
Member Avatar for nikki23

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 …

Member Avatar for kapil.goyal
0
368
Member Avatar for yaya_star
Member Avatar for waynespangler
0
129
Member Avatar for stumaca

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 …

Member Avatar for f1 fan
0
223
Member Avatar for PawanNepal

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.

0
46
Member Avatar for eyad212

[B]there is unclosed literal string line 7 position 219[/B] I Get This Msg When i Gonna to Add DataSource To Report

Member Avatar for iamthwee
0
82
Member Avatar for shy_wani

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 …

Member Avatar for Sawe
0
115
Member Avatar for rwagnes

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 …

Member Avatar for manal
0
70
Member Avatar for sachincool

when right clicked on the form it should show the main menu how can i code this

Member Avatar for waynespangler
0
95
Member Avatar for shy_wani

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 …

0
60
Member Avatar for Sawe

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 …

Member Avatar for Sawe
-1
96
Member Avatar for ScatterMap

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 …

Member Avatar for manal
0
190
Member Avatar for ScatterMap

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?...

Member Avatar for hollystyles
0
279
Member Avatar for snipered

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 …

Member Avatar for snipered
0
96
Member Avatar for ptaylor965

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 | …

Member Avatar for hollystyles
0
103
Member Avatar for nikki23

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") …

0
60
Member Avatar for Albert88

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 …

Member Avatar for Albert88
0
71
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
25
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
202
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
127
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
55
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
732
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
84
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
102
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
87
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
113
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
95

The End.