Solved

text not added

Posted on 2006-07-15
3
188 Views
Last Modified: 2010-04-23
hello,
can someone please tell me why this is not working?

  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        MainWebBrowser.Document.DomDocument.Forms("Form").All("MusicText").Value = TextBox1
    End Sub

and I have this in my TextBox1
background-color:#e2ebfd;
background-attachment: fixed;
background-position:top center;
background-repeat:yes-repeat;
border-color:000000;
<tr align="center">A1</tr>
border-width:5px ;
border-style: solid;
0
Comment
Question by:aplelois
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Expert Comment

by:Nandakumar Sakthivel
ID: 17113899
Hi,
The problem is not stated clearly
Can check this way("TextBox1.Text")
   MainWebBrowser.Document.DomDocument.Forms("Form").All("MusicText").Value = TextBox1.Text



Thanks,
Nanda
0
 

Author Comment

by:aplelois
ID: 17113907
I mean is working but is pasting this in ("MusicText")

System.Windows.Forms.TextBox, Text: background-color:#e2ebfd;
background-at...
0
 
LVL 6

Accepted Solution

by:
manch earned 500 total points
ID: 17114245

u have not written TextBox1.Text u have to write the property name with it
probably there is the problem:

so ur new staements will be like :

MainWebBrowser.Document.DomDocument.Forms("Form").All("MusicText").Value = TextBox1.Text

0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question