Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
document
- Page 1
Re: How to open an Excel Document in VB.NET
Programming
Software Development
1 Month Ago
by Pelorus_1
A Microsoft Excel
document
can be opened in VB.NET using the Microsoft.Office.Interop.Excel library. Using Workbooks.Open(), open the workbook, and then display the Excel window. Reference the Excel COM object in your project.
Re: How to open an Excel Document in VB.NET
Programming
Software Development
1 Month Ago
by JamesMichaelm
I see it's been a while since you posted, but I'm curious if anyone here has tried using the Open XML SDK instead of Interop or OleDb for reading Excel files. I found it faster and doesn't require Excel to be installed, though it can be more complex for writing. Wondering how others handle big Excel files or ones with tricky formatting?
Re: How to open an Excel Document in VB.NET
Programming
Software Development
1 Month Ago
by PitSterw
I've worked on something similar and found that using Microsoft.Office.Interop.Excel lets you open the file and loop through cells easily.
Re: Cannot run exe from asp.net
Programming
Web Development
1 Month Ago
by lennyli
> Are you sure IIS is configured to allow running external scripts? The
document
folder and asp file has security permission set to ALL rights for 'everyone'. In IIS, under handler mappings for .asp files, under request restriction/access, script was chosen (not execute) for feature permissions, all 'read' 'script' 'execute' are chosen
document.write to new window and into a 3 column table! Help Please!
Programming
Web Development
20 Years Ago
by LowelG
…=600,status,menubar,scrollbars,resizable,titlebar"); newWin.
document
.write("Team Roster" + "<….p12.value + "<br>"); newWin.
document
.write(" " + "<br>"…show the close button in the new window*/ newWin.
document
.close; } function allowReset() { return window.confirm("…
Re: document.write to new window and into a 3 column table! Help Please!
Programming
Web Development
20 Years Ago
by LowelG
… to pass the information from the form to the new
document
, but can't get it to seperate into appropriate columns…
document.formname.submit is passing null value in IE 11 after sometime
Programming
Web Development
10 Years Ago
by murali2489
…CiViewBeanKeys.SPB_VIEW_NAME_RETRO_STATUS%>";
document
.f1.submit(); } function submit_restartRetro() {
document
.f1.<%=CiViewBeanKeys.JSP_ACTION_NAME… = "<%=CiViewBeanKeys.SPB_VIEW_NAME_RETRO_STATUS%>";
document
.f1.submit(); } function resetInUsedBy() { var …
document.getElementById not working in IE. Why?
Programming
Web Development
15 Years Ago
by edDev
…("Microsoft") != -1) { winW =
document
.body.offsetWidth; winH =
document
.body.offsetHeight; } } var dimW = winW-50;… h1 = dimH.toString(); if(
document
.getElementById("vidEmbed") != null) {
document
.getElementById("vidEmbed").src =…
Re: document.getElementById not working in IE. Why?
Programming
Web Development
15 Years Ago
by Troy III
…navigator.appName.indexOf("Microsoft") != -1) { winW =
document
.body.offsetWidth; winH =
document
.body.offsetHeight; } } var dimW = winW-50; var dimH … "Welcome_1.wmv";[/COLOR] [COLOR="Green"]
document
.getElementById("Player").url = "Welcome_1.wmv";[/…
document.getElementById code help
Programming
Web Development
14 Years Ago
by grunge man
…=
document
.getElementById('idtwo'); if (
document
.getElementById('idone') = true) {
document
.getElementById('idone') =b;
document
.getElementById('idtwo') =false; } if (
document
.getElementById('idtwo') = true then
document
.getElementById('idtwo') =a {
document
…
Document.cookie not working!
Programming
Web Development
13 Years Ago
by jakx12
… = window.getSelection(); } else if (
document
.getSelection) { SelText =
document
.getSelection(); } else if (
document
.selection) { SelText =
document
.selection.createRange().text; } return SelText; }
document
.onkeydown = function(e) { if…
Re: document.getElementById code help
Programming
Web Development
14 Years Ago
by grunge man
…;> function taystersOnclickFunction() { paragraphTextTwo =
document
.getElementById('idtwo').innerHTML; paragraphTextOne =
document
.getElementById('idone').innerHTML;
document
.getElementById('idone').innerHTML = paragraphTextTwo;
document
.getElementById('idtwo').innerHTML = paragraphTextOne; } <…
Re: document.getElementById not working in IE. Why?
Programming
Web Development
15 Years Ago
by almostbob
…lt;!--// function setplay(thisfile,ww,hh) {
document
.getElementById("MediaPlayer1").src=thisfile;
document
.getElementById("MediaPlayer1").style.width=ww…;
document
.getElementById("MediaPlayer1").style.height=hh…
Re: document.getElementById not working in IE. Why?
Programming
Web Development
15 Years Ago
by Airshow
…lt;!--// function setplay(thisfile,ww,hh) {
document
.getElementById("MediaPlayer1").src=thisfile;
document
.getElementById("MediaPlayer1").style.width=ww…+'px';
document
.getElementById("MediaPlayer1").style…
Re: document.getElementById code help
Programming
Web Development
14 Years Ago
by scrappedcola
… Taywin provided. Your entire problem lies in your use of
document
.getElementById. This function is intended to select a DOM element… directly elements such as the way you attempt here [CODE]
document
.getElementById('idone') =b;[/CODE]. To achieve a cloning of the…
Re: document.getElementById code help
Programming
Web Development
14 Years Ago
by Taywin
…;text/javascript"> function swapItTo(obj, id) { var el =
document
.getElementById(id) obj.innerHTML = el.innerHTML } </script> <…;text/javascript"> function swapItTo(obj, id) { var el =
document
.getElementById(id) obj.innerHTML = el.innerHTML } </script> <…
document.write not outputing
Programming
Web Development
12 Years Ago
by ChargrO
…[DirectionSelect.selectedIndex].text; var VerbSelect =
document
.getElementById('Verb') var Verb = VerbSelect.…options[VerbSelect.selectedIndex].text; var DirectionRhymeSelect =
document
.getElementById('DirectionRhyme') var DirectionRhyme = DirectionRhymeSelect.…
Re: document.getElementById code help
Programming
Web Development
14 Years Ago
by Taywin
…;text/javascript"> function swapItTo(obj, id) { var el =
document
.getElementById(id) obj.innerHTML = el.innerHTML } </script> <…
Document is undefined
Programming
Web Development
14 Years Ago
by SgtMe
… Host', which gives me an error saying that '
document
' is undefined. I tried putting it directly into … text, just the background image). From my understanding, '
document
' means like the web-page or window (or something!)…right direction? Here is the script (runs fine until "
document
.write()") [CODE]var months = new Array(); months[1…
Re: document.getElementById...problem
Programming
Web Development
15 Years Ago
by essential
… obj = function() { var oC2TD = ((
document
.getElementById ) ?
document
.getElementById("mydiv") :
document
.all.mydiv ); // Assuming that this the table…( input ); oC2TD.appendChild( hold ); alert(((
document
.getElementById ) ?
document
.getElementById("select" + x ) :
document
.all["select" + x ]).id );…
Re: document.getElementById not working in IE. Why?
Programming
Web Development
15 Years Ago
by Airshow
…(.....)[/ICODE] to replace %sW, %sH, %sURL with appropriate values and
document
.getElementById("video").innerHTML = .... to poke this HTML into…
Re: document.write() question
Programming
Web Development
16 Years Ago
by digital-ether
…html. In the html I want to be able to
document
.write() a variable from that function above. Is this …declared inside of it, I want to be able to
document
.write() it somewhere else in my html. Thanks in…// reference the DOM node you want to manipulate var div =
document
.getElementById('target'); // user the non-standard innerHTML property to change…
document.getElementById("pr_book") is null error
Programming
Web Development
14 Years Ago
by pranalid
…("books", "0"); function load_viewport() { var viewportDiv =
document
.getElementById("viewport"); var identifier = '<?php echo $var…
Re: document.write does not work in my ajax page
Programming
Web Development
13 Years Ago
by Airshow
…event has fired (or thereabouts) will cause the whole
document
(doctype, head, body - EVERYTHING) to be overwritten… as you have seen. For this reason,
document
.write() is not the right approach to modifying… a rendered
document
. Use DOM methods instead - eg. [LIST] [*][ICODE]
document
.createElement()[/ICODE], [*][ICODE]…
Document.write written to a specific place
Programming
Web Development
12 Years Ago
by Dani
… incredibly bad practice, most advertising servers still use
document
.write. It's terrible because placing `<script…and nothing is outputted. I tried overwriting the
document
.write function which is eerily easy to do in…https://github.com/iamnoah/writeCapture/tree/writeCapture2 to capture
document
.write and solve the problem. Unfortuantely, I …
Re: document.write not outputing
Programming
Web Development
12 Years Ago
by IIM
… be "bodytype". for (var i=0; i <
document
.LimGenerator.bodytype.length; i++)//there is no element with name… bodytype { if (
document
.LimGenerator.bodytype[i].checked) { var body_val =
document
.LimGenerator.bodytype[i].value; } } The best way…
document.getelementByID()
Programming
Web Development
9 Years Ago
by hell hansen
…which change the name of input field is this one:
document
.getElementById('#visafees').addEventListener('change', function (evt) { var …type = this.selectedOptions[0].value; console.dir(this);
document
.getElementById('#amountdue').setAttribute('name', type); }); so the problem here…
document.getElementById return null IE but fine in Edge and firefox
Programming
Web Development
5 Years Ago
by vish_1
…Part value'); return false; var ddlArray= new Array(); var ddl =
document
.getElementById('listparts'); for (i = 0; i < ddl.options.… part Entered please enter Unique Part'); return false;
document
.fform1.submit();
document
.getElementById("loading").style.display="inline";
Re: Document.writeln??
Digital Media
UI / UX Design
17 Years Ago
by MattEvans
…the browsers, so you're advised not to use
document
.write( ) after the page has been loaded …( i.e. button click ->
document
.write or similar is a no-go ). I …doesn't work is because only with a
document
.write executed as the page loads can the … the body element, but the behaviour of
document
.write isn't defined after the loading phase…
Re: Document.write written to a specific place
Programming
Web Development
12 Years Ago
by Airshow
… any dynamically created `<script>` with a `
document
.write(...)` expression of its own could blitz the entire…
document
(the DOM and all javascript members) and leave …before or after `window.load` fires (or possibly before `
document
.readyState` reaches 'complete'). If any one browser dosn't …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC