473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

MSHTML library problem

ankyRichole
Hello All,
I am rendering HTML file using MSHTML library reference visual basic 6.0. I am setting values for input box using value property. My problem is, if the value has starting char. " ` "(acute / greve accent , key right above the Tab key) and has only single word, IE is invalidating the whole element and displays it as a text.
for eg. [HTML]<INPUT type= text value='abcd id=text1>[/HTML] . The reason i found is that, if we wrap the value between quotation mark (either " or ') it displays perfectly in to the input box.
Do anyone is knowig how to handle this. I want to wrap the value between quotes.

Thanks,
Anky
Jun 26 '08 #1
4 1450
jeffstl
432 Expert 256MB
I am not sure I completely understand the problem because I have not worked with that particular control in Vb 6.0

However have you tried a Replace for the ` ?

Replace(Expression, WhatToReplace, ReplaceWithWhat)
Jun 26 '08 #2
Jeffstl,
Thanks for the reply,
I tried replacing ` character with its value &#96, but now when i set that value thru MSHTML , & is being encoded in &amp; and rest of #96 remains as it is.
I have given MSHTML library reference in my VB application and using its functions to set the values to the fields.
Jun 27 '08 #3
jhardman
3,406 Expert 2GB
Just out of curiosity, why are you posting this in the ASP forum? Shouldn't this go in the VB forum?

Jared
Jul 1 '08 #4
jhardman
3,406 Expert 2GB
Hello All,
I am rendering HTML file using MSHTML....
according to HTML 4.0 standard, all values are supposed to be wrapped in quote marks, leaving out the quote marks is incorrect.

Jared
Jul 1 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
3
by: Zürcher See | last post by:
I've wrote an application that use internet explorer to download some html page, to get the document I use the Microsoft.mshtml library. mshtml.IHTMLDocument3...
3
by: Sharon | last post by:
Hi all I have a .net bundle (MSI installation package) that my client (.net user) will download to his computer threw the internet, The main problem is this package size! It's something between...
7
by: Robert May | last post by:
I have an application that uses the Ax web browser object. When I call the IHTMLElement.click() method on an input button (<input type="submit"> or <input type="button">), the click fires...
10
by: Hans Merkl | last post by:
Hi, I have written an pap with .NET 2.0 and c# that uses MSHTML. It works fine on my development machine but on machines I deploy it to I get the following exception when ever I call MSHTML. ...
4
by: Lars-Erik Aabech | last post by:
Hi! I've been walking in extacy since reading the article about test automation with IE in the latest MSDN mag. (http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/default.aspx) After a...
3
by: Pat Mac | last post by:
Ok, I'm stumped. I'm working with the axWebBrowser control and all of the samples talk about adding a reference to the MSHTML library. I have the ..dll in my \windows\system32 directory, but when...
1
by: bernhard schelling | last post by:
Hi, I'm using Visual C# Express and I'd like to build a project available from http://download.microsoft.com/download/f/2/7/f279e71e-efb0-4155-873d-5554a0608523/WSRP.exe Somehow the Refernce...
5
by: Jason | last post by:
Hi, I'm developing an HTML Editor Control using VB.Net 2003 for an application that used to use the DHTML Editor Control that is no longer supported. Well, it's been fun but I've hit a wall with...
1
by: zion | last post by:
My C# webservice uses the mshtml reference. On my local computer it works fine but on my host server I get the error: Parser Error Message: Could not load file or assembly 'Microsoft.mshtml,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.