Problem solved:
It turned out that in fact these "*.xls" files are copied from the HTML files that have Chr(160) instead of standard spaces...
Now the program work fine.
User Profile
Collapse
-
Extract/convert string from XLS
Here is my code:
...Code:Option Explicit On Option Strict Off Imports System.IO Imports System.Text Public Class Form1 Public moApp As Object Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Try moApp = CreateObject("Excel.Application") moApp.Visible = False Catch -
How to display canvas element of HTML5 in WebBrowser?
How to display canvas element of HTML5 in Visual Basic .net 2010 webbrowser (I try in framework 2 and 4, WebBrowser version 2 and 4)? It seems that VS2010 not support new version of HTML. In Microsoft Web Browser - "AxWebBrows er" didn't work too. Any idea to make this thing work?
Thank in advance. -
In the meantime I resolve the question by myself:
...Code:Imports System.IO.File Imports System.IO Imports System.Text Public Class Form1 Dim HTML01 As String = (CurDir() & "\10.html") Dim HTML02 As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.DocumentText = System.IO.File.ReadAllText(HTML01)Leave a comment:
-
When I include ASP script into HTML page, is it necessary server like IIS and apache or I can just run into web browser without making the web server?Leave a comment:
-
How to replace single line in text withot saving the file?
I need to open some HTML file, then replace exact line of text with another, and then WITHOUT SAVING THE FILE (WriteAllLines( HTML01, lines)) to display in WebBrowser. My code in private sub of replacing the line is next:
...Code:Dim lines() As String = System.IO.File.ReadAllLines(HTML01) lines(7) = "editovan HTML" WriteAllLines(HTML01, lines) 'without this line, just in RAM memory -
The true is that I just started with ASP. I was thinking that regular "*.asp" file can opened just going into your browser's "file" menu and selecting "open file", didn't know that the asp script has to be executed by a web server.
I like in ASP - FSO (File System Object), with this you can open and writhe something in "*.txt" file or create txt file and much more. TXT files is appropriate for...Leave a comment:
-
How to get ASP pages to work?
On the adress: http://www.w3schools.c om/asp/showasp.asp?fil ename=demo_intr o
is demo of ASP source:
----------------------------------------------------------
<html>
<body>
<%
response.write( "My first ASP script!")
%>
</body>
</html>
----------------------------------------------------------
and output... -
Thanks Guido, in the meantime I found resolved problem on net, but no good as your! Thanks!Leave a comment:
-
Buttons stay down?
How can do in Visual Basic next:
When press some button, he stay pressed down!
For Example I want to draw several buttons and when press one, this one goes down and the othre one who's down goes up...
No activity results to display
Show More
Leave a comment: