Anyone Know How To Make A Hotspot? Like In Html?
i want to have a area on a form that will work like a button but look like the form background. kinda like hotspots in html. is there a way to do this?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Make Hotspot (Rectangle) On Image
Hi-
How can I make hotspot of a specific part of an image like rectangle or circle. How can I make that rectangular portion clickable?
I am quite in Graphics, So if you have any example code that might be helpful.
Thanks in advance
How Do I Make A HTTP (POST) Call To DLL To Make HTML?
In some applications you see a HTML page in the Web-browser call a DLL
instead of a .asp page.
The result is HTML presented in the browser.
I have seen this working for stand-alone apps as well (Internet Explorer
does the same)
== Questions
1) How does this work?
2) How do I set up the VB code inside the DLL to recieve and handle the
HTTP-call?
3) Is there any sample code available showing me the basics? (A VB project,
or "whitepapers")
4) Dou you recommend .NET or VB 6.0?
== Why?
I want create a small desktop application using HTML-pages to present data
and to present forms.
Via POST, data should be stored via the DLL into a database
== What for?
Applications to be distributed to desktops using Win 98, WinXP and Win2000
Thanks in advance.
Peter
Create A Hotspot
Hello
i need to create a custom area to user hold a clic and this are need to be identified using X,Y coodinates and a text (observations)
i need to sabe n coordinates and texts in a database.
do you know a component (ctl or ocx) to do this?
Thanks
Hotspot Control?
Hey all,
I'm wondering if there's a way to create a control on a form that resembles a hotspot in a browser window? I would like to have the end users just click on the spot in a *.gif to initiate an action. I suppose I could do it with some type of button but it would obscure parts of the *.gif and look really crappy too.
Thanks mucho.
6 pro
Create Lotus Hyperlink/hotspot
Does anyone know how to create a hyperlink in a lotus email richtextitem body that displays short text instead of the long URL in Access VBA?
i.e. ... to click HERE .... where the word HERE opens a web page.
Here is the code I'm using so far that sends the email with the URL text that Lotus automatically converts to the Link.
Set MailDoc = Maildb.CREATEDOCUMENT
MailDoc.Form = "Memo"
MailDoc.sendto = recipient
MailDoc.Subject = Subject
MailDoc.SAVEMESSAGEONSEND = saveit
Dim NotesRtf As Object
Set NotesRtf = MailDoc.CREATERICHTEXTITEM("body")
NotesRtf.APPENDTEXT (bodytext)
Can You Make An HTML Front-end In VB?
I want to make an user-interface in HTML where I can use Dreamweaver and such softwares to beautify my front-end in VB. Please guide me as to how is this possible from my VB application?
Make Html Pages
hi, is there a way to make a vb application to make html (.htm) pages from some values in text boxes like one text box does the text to be displayer and one has some title and so on?
Make Difficult HTML Report
He everyone,
Currently I'm trying to make a stock control application for my company. There is some stock that is counted every day. From this stock I want to make a report to see how much is missing each day. I made a form on which the user can select a from and to date. In a dbf file is the stock data, it contains count date, counted article number and the number of articles counted.
I want to sort the report on article, but I can't figure out how I can create such a report. it should look like:
Article number 1
day1 : number of articles
day 2: number of articles : difference day 1 and day 2
day 3: number of articles : difference day 2 and day 3
article number 2
day1 : number of articles
day 2: number of articles : difference day 1 and day 2
day 3: number of articles : difference day 2 and day 3
etc.
So far I've only code to open the connection with the dbf file and the begin of the report:
Dim sqlstring As String
Open App.Path & "Stock.html" For Output As #1
Print #1, "<head>"
Print #1, "<title>Stock</title>"
Print #1, "</head>"
Call SMSPath 'This gets the correct path for the dbf file
Set cnn = New ADODB.Connection
cnn.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Extended Properties=;DSN=Visual FoxPro Tables;UID=;SourceDB=" & SMSPath & ";SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine; "
cnn.Open
Dim rs As ADODB.Recordset.
Set rs = New ADODB.Recordset
sqlstring = "Select * From Stock"
rs.Open sqlstring, cnn, adOpenForwardOnly, adLockReadOnly
Can anyone help me getting started with the report?
Thank in advance.
Rob
Does Anyone Know How To Make A Good HTML Editor
Does anyone in here know how to make a good html editor i would prefer it be in vb .net language but i could rea arrange it if it were in vb6 or something like that. i really need an html editor for a program i am writing so any help you could give me at all would be great!
Thanks!
How To Make Changes To Html Before The Page Displays.
hi all,
I want to make a program that hides certain elements from a downloaded web page.
I would use SHDocVw to detect any open Internet explorer windows, something like:
For Each Web In IE
If TypeOf Doc Is HTMLDocument Then
......
End If
Next
Then I would like to 'intercept' the html code before the page is displayed.
I though of using:
Doc.designMode = "On"
and then make changes to the html, and turn designmode off again.
Is this the correct way to realize this?
Any ideas and help more then welcome.
Thanks
Kris
How Can I Make An HTML File Using Textbox Info?
The way I have it now it puts " on the top and " on the bottom of my file. This is my code. It get's input from textboxes and puts that inside a table in a HTML page. I know my problem is that it is saving it as a string so it puts " " around it. How can I get around this?
Dim x As Integer
Dim web1data As String
Dim web2data As String
Dim web3data As String
Dim web4data As String
Dim web5data As String
Open "specials.html" For Output As #1
Open "specials.txt" For Output As #4
Open "webpage/web1.txt" For Input As #2
Open "webpage/web2.txt" For Input As #3
Open "webpage/web4.txt" For Input As #5
Open "webpage/web5.txt" For Input As #6
Do While Not EOF(2)
Input #2, web1data
TextBox1.Text = TextBox1.Text + web1data
Loop
Close #2
TextBox1.Text = TextBox1.Text + " " + Text1.Text
Do While Not EOF(3)
Input #3, web2data
TextBox1.Text = TextBox1.Text + web2data
Loop
Close #3
For x = 0 To 6
TextBox1.Text = TextBox1.Text + "<tr><td width=75% height=20><b><font size=4>"
TextBox1.Text = TextBox1.Text + Text(x).Text + "</font></b></td><td width=25% height=20><b><font size=4>"
TextBox1.Text = TextBox1.Text + Price(x).Text + "</font></b></td></tr>"
Next x
Do While Not EOF(5)
Input #5, web4data
TextBox1.Text = TextBox1.Text + web4data
Loop
Close #5
Do While Not EOF(6)
Input #6, web5data
TextBox1.Text = TextBox1.Text + web5data
Loop
Close #6
Write #4, TextBox1.Text
Write #1, TextBox1.Text
Close #4
Close #1
End Sub
How To Make OCX Like Real Control In HTML <form>?
Please I need a bit of help. I`m trying to create a OCX control which loads in a web page (in MSIE). The problem is that I can`t make it work exactly as control like <input type...> controls in HTML <form>.
If somebody knows the Microsoft date/time control- it can be used this way:
Code:
<form method=post action="http://www.mydomain.com/info.php">
<object id="calEndDate" style="left: 0px; width: 150px; top: 0px; height: 22px" name="date"
classid=clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1 width="150" height="22" codebase="http://activex.microsoft.com/controls/vb6/MSCOMCT2.CAB"></object>
</form>
and on the server side I receive a variable named date which contains the value of the OCX control without any additional JavaScript! Thats what I`m trying to create using VB6.
The OCX source I use is like:
Code:
Public Property Get value() As String
value = Text1.Text
End Property
Public Property Let value(val As String)
Text1.Text = val
End Property
and JavaScript receive the value of my control, but submitting the form do not send this value to the server! Whats the sicret?
Thanks in advance...
BAba...
How Can I Download HTML Document With ITC And Make It A MSHTML.HTMLDocument Object?
MSDN says that HMTL DOM document object (MSHTML.HMTLDcument) can be created from document loaded in Webbrowser ctr or IE automation object.
But ITC getchunk returns string or byte array, so this doesn't work:
VB Code:
Private Sub Inet1_StateChanged(ByVal State As Integer)Dim docHTML As New MSHTML.HTMLDocumentIf State = 12 Then Set docHTML = Inet1.GetChunk(0, icByteArray) 'this doesn`t work Set docHTML = Inet1.GetChunk(0, icString) 'this ofcourse also doesn`t workEnd IfEnd Sub
Do really the only solution is save string (or barray) to file (.html), then open it with Webbrowser (or IE) and only then create object (MSHTML.HMTLDcument) from it? Thats an ugly and slow workaraound!
Any ideas welcomed!
How To Make Vb Combo Box Behave Like Html Combo Box <RESOLVED> Thanks
an html drop down code looks like this:
<select size="1" name="patient_id">
<option selected value="1">patient A</option>
<option value="2">patient B</option>
</select>
in vb, a combo box looks like this:
cmbPatients.AddItem "patient A'
cmbPatients.AddItem "patient B'
my problem is i would like the names of the patients to be displayed in the combo box but when a user selects an option, the value of the option would be the patient's id. from what i've learned so far in vb, when a user selects an option, the value of the option is the same as that of the cmbPatients.Text
is there anyway i can do this? please help me and thank u in advance!!!!
Edited by - shibby1011ph on 7/19/2003 4:37:27 PM
How To Shade Between Cells In HTML, I Am Creating Report In Html From Vb6 ! Attached
Hi,
I need a help in shading between cells in my report which i prepar in HTML. Here with this post i attached my project in a Zip file, the database is also in the same Directory. You can open and run the project named Scheduler.vbp inside the Folder Sheduler. It will work. The path for database is already assigned.
1. Run the Project, in the main Form u can see the "Forecast Shutdown" Button & Click it. U will see the Form where i generate report. Just click the report button to see the report in the Internet Explorer, because all values are given default.
2. What i require is, the final look of my html report will be as similar to the scd.bmp in Sheduler Folder. You can see the shade starts from middle of one cell & ends in the middle of the next cell.
I populated data from table and the work is completed except the shade similar to the scd.bmp
3. Now i am changing the background color only. But i need to shade as it is in the scd.bmp.
The shade is given based on 3 fields, you see the Field name in the Report heading.
1. T&I ETS as per OSPAS (Shade should start from this date)
2. D-OFF STRM (Adding this value to StartDate the shade should end)
I posted this question in some Forums, i get some replies, but i am not able to solve the issue.
the link follows
http://www.htmlforums.com/showthread...172#post432172
http://www.siteexperts.com/forums/vi...=17282&start=4
http://www.siteexperts.com/forums/vi...d=18336&Sort=0
http://forum.java.sun.com/thread.jsp...004753#4004753
It will be much helpful if i get help & solved this, bcause my contract ends (Dec 15th).
Instead of giving ideas, it wouldl be better if you given me the solution by modifiying the code. Because i got some suggestions and i tried them & it didn't work out & some suggestions i can't use and see because of not having proper knowledge in the specified area. The project is also there. So it will be more helpful if u give me the solution. Hope the one who works with web development & Vb6 can give me a solution.
Thankyou,
Chock.
Three Objects For HTML Via VB 6 (Inet, WebBrowser && HTML) GET META && InnerText
Dear Fellows,
I have few issues in the HTML.
WebBrowser (control):
I am using the WebBrowser component to receive the HTML of web pages, but:
The InnerHTML returning INSIDE the <BODY> (the body tag not includes).
The OuterHTML returning from the <BODY>.
Inet (control):
Or else I am using the Inet component to retrieve the HTML and it dose get it all (with the meta).
I have browse the Inet object to get the InnerText, I haven’t found.
I NEED TO GET THE META OBJECT.
I NEED TO GET THE InnerText.
I don’t want to mix with the two objects in order to receive both (Meta & InnerText)
I have started to develop a function that will CONVERT the HTML to TEXT.
I am sure that it dose exist out there.
I AM LOOKING FOR THIS OBJECT (that can be one help)
Note: the conversion of the html should get the html with the tags and the “&”marks (& = “&” or > = “>” etc…) [I don’t know the official naming for them].
Some web pages have redirect when you type one address in the address bar and you get the second one as a result, I need the object to get it too.
Main Question:
1. how do I get (which object) all the HTML, within it the Title & META and the InnerText of a web page.
I need that object to get me the redirect of URL.
Best regards & thank your 4 using VbCity,
Isaac
HTML Interaction With VB6 Apps And HTML Embedding With Custom Names.
Part 1: HTML Interaction
Visit this MSDN Article on. Very necessary that you know this!!!
Registering an Application to a URL Protocol
Create a new Standard EXE VB6 project and Add the Microsoft Internet Controls component from the Components menu.
Now draw a WebBrowser control on the form.
In the properties window, change the LinkMode of the Form to 1-Source and let the LinkTopic be as it is.
Open the Code View for Form 1 and in the LinkExecute event handler for Form1, add the following code:
Code:WebBrowser1.Navigate2(Mid$(CmdStr,6,Len(CmdStr) - 5))
Now, compile the program into Say... Project1.exe in C:
As said in the MSDN Article, let us now register our application to a URL Protocol. To do this I will customise the Example shown there
[HKEY_CLASSES_ROOT]
[note]
(Default) = "URL:Note Protocol"
URL Protocol = ""
[shell]
[open]
[command]
(Default)= "c:Project1.exe"
[DDEEXEC]
(Default)= "%1"
[Application]
(Default)= "Project1"
[Topic]
(Default)= "Form1"
Now, open IE and type the following (assumption: a sample HTML file in "C:" called "test.htm")
note:C: est.htm
And Viola! Your app opens with the page displayed in the WebBrowser control.
Now, try adding a hyperlink into the sample html file with a "href=note:C: est2.htm" and see what happens.
-------------------------------------------------------------------------------------------------------------
Part 2: Embedding Custom HTML resources in programs and accessing using res protocol
Now, to embed a HTML into a VB6 program, Use Resource Editor AddIn in VB6 to add a resource file to your app. Add a custom resource say a HTML file. It is added to the ResEdit as 101.
Now right click and say properties. Now change the Type to HTML and Id to
say...index.htm.
Save the file and compile the project. Now open IE and type res://[path ()
and name of the compiled file]/HTML/index.htm.
You will see the file. Same way embed a GIF or JPG and try the same
technique, even script and css files. It should work.
These two techniques will help you embed HTML resources in programs and make them talk to your application. I am still not sure as to how to add forms in HTML to post data to the app. Anyone here can be brainy to figure out that! Also, please do post possible usefulness of these techniques. I can suggest developing apps like MS Money 2000, Outlook Express, etc...
If you have further questions or any problems. Please mail me at mark23tx@lycos.com
Comparing A Webpage (html) And A Local Html File
hello, for a little project i am doing, i am searching for a small programm or routine that does the following.
every X Minutes do a compare of an existing html page from internet with a local html file stored on my hd.
if the html on internet has changed, do an event.
if the html on the internet and on my local hd is the same, do nothign and continue comparing in X Minutes again
can anyone help me please?
i tried to search the forum and code it myself, but i am a newbee..
thanks for your help
Printing HTML To File NOT As HTML. (See Inside)
OK, I am writing a program that recognises forum markup and converts it to HTML. For the specific forum I am writing it for, HTML goes unrecognised. I've finished the markup conversion code, but stumbled across the fact that putting HTML in the simulated "Post Area" and hitting Preview will actually cause that to be working HTML. Here's what I mean broken down a little.
<font color=red>Example.</font>
This posted on the forum will show: <font color=red>Example.</font>
But on my program it will show: Example.
I've pretty much figured out how to fix this, since if I convert...
<font color=red>Example.</font>
TO
<font color=red>hahaha</font>
It will show up as text just fine. However, here's where the problem is. I need an easier way to track any instance of html used and convert it. I could manually replace all pieces of HTML like above, but that would mean masses and masses of code, and I'd never manage to nail every single piece of HTML around. Surely there is an easier way to do this? Help would be much appreciated.
Put Raw Text As Html Into A Html Template And Send
I have html templates saved as txt files. I need to be able to insert text into the template, the text is to come from a text box. The send part is easy but I cant think of an better way to do this. I do not want to have to write html over and over again. I know how the text should be formatted -as an <ul></ul>-. But I cant think the best way of doing it.
Can someone help?
HTML Help Workshop: Html Files Without Images
Hi,
I've done many html page with text and image.
Then I've created an help guidi with "HTML Help Workshop".
The matter is that I've an help file with text but Without images.
Why the compiler doesn't save images to the final file?
As a result of compile run is:
Compiling c:LavoriSCGuida.chm
Compile time: 0 minutes, 1 second
17 Topics
32 Local links
0 Internet links
0 Graphics <--- why is this zero?
Created c:LavoriSCGuida.chm, 10,595 bytes
Compression increased file by 10,279 bytes.
thanx in advance
Open... Close... <HTML> ... </HTML>
Hello! I am making a program that's similar to an online forum. There is an option to turn on and off GigABoard markup (GigABoard is the program). But the thing is, someone opens a tag by typing [BOLD], how would I make sure that they close the tag they opened [/BOLD]?
There are many tags. What is the best way to go about ensuring that they close ANY tag that they open so that the rest of the thread isn't bold or italic etc...
This is a big issue, I hope there is a way around it.
Thanks! </[img]images/icons/smile.gif[/img]>
<font color=red>ALPHANUMERIC</font color=red>
HTML Help Workshop: Html Without Images
Hi,
I've done many html page with text and image.
Then I've created an help guidi with "HTML Help Workshop".
The matter is that I've an help file with text but Without images.
Why the compiler doesn't save images to the final file?
As a result of compile run is:
Compiling c:LavoriSCGuida.chm
Compile time: 0 minutes, 1 second
17 Topics
32 Local links
0 Internet links
0 Graphics <--- why this is zero?
Created c:LavoriSCGuida.chm, 10,595 bytes
Compression increased file by 10,279 bytes.
thanx in advance
Shaded Cell In Html Not Visible In Html Page And Not Visible In Preview && Report
Hi,
here with i have attached my htm page, i am creating this from VB i am shading some cells through vb,
Code:If intTableDataCell = intShadeTableCellNumber Then
OutStream.Write ("<td bgcolor=black> </td>")
Else
OutStream.WriteLine ("<td> </td>")
End If
i given black, grey, yellow etc, i am able to see this in the page which i create and its fine, but when i see in the Print Preview - the cell is displaying but the shade is not shown. kindly reply me how to solve this.
thankyou,
Chock.
Struggling To Make First Object - Make Class Property = To Combo Box On Form
I have an attachment that I would like someone to take a look at.
If you extract to C: it should create a folder named TEST with the Visual Basic code and a .mdb database.
Basically I've created a Class1 module and would like to make its Name property equal to whatever the Combo1's text comes up as (combo box) on Form1. At the end of the Form Load, it has a message box but it comes up blank. I'm pretty sure that I've got my Property Get sub commands correct in the class.
Depending on the default user initials that come up (gvntUser) then there are certain options allowed based on their profile. Some would be in a read-only category and only certain command buttons would be visible. An example of this is in the Class1 class. Class1.ReadOnly would store the property of true or false.
This of course is first of all based on the initial collection of pulling from orderentry.mdb database and then basing it on the Form1.Combo1.Text field as the Key. But I perceive something is not allowing this to happen as the Form is loaded...
This is just a test program that I'm learning through
On my real program, I have numerous combo boxes - some for salespeople, and some for types of orders.
Any suggestions is much appreciated. Thanks in advance for all of your replies.
How Can I Make A Program That Will Make It So That Windows Recognises A File-type?
can any1 help? i am making a program which uses *.pli files, and i want my system to recognise them instead of showing them up with the white icon with the windows system. I no i can do it by going into the folder options (I have windows 98 btw) but can u get vb to do it 4 u in a program? (This program is going to be distributed among lots of people who all use windows, but not necessarily windows 98, i dunno if that makes any diff.)
thanks
How To Make Clicking Anywhere Make A List Invisible
I'm writing a program with a lot of frame objects, text boxes, button, and all sorts of gizmos, all available to the user at any time.
One funciton that I'm trying to implement is a menu system that pops up when the user clicks a button (much like the start menu in windows, but with different items in them). I have it implemented using a set of listboxes that appear/disappear when different elements on the menu are selected, and that's working great.
The problem that I am having, is that I want the menu to disapear if the user clicks anywhere on the screen other than on the list box (that I'm using for menus). I've tried the form_click event, but that doesn't work if there's frames/text boxes/etc on the form on top of the backround. For some reason the lostfocus event doesn't always trigger when I click off of the list box (onto the form, or other frame object or whatever), although it does work when clicking into a text box or something.
Anyway, I've been plugging at this for a long time. Any help would be GREATLY appreciated.
-tom
How Do I Make My Program Make A Back Up Of The Registry?
How to I make my program to make a back up of the registry under the name I want it and in a folder I ask for it to go to??
for ex. You click on a button and it starts making a back up of the registry.
Thanks for your help again.
How Can I Make A Macro That Will Make VB6 Press A Key.
I recently learned how to make VB macro leftclick using the mouse.
I was wondering what is the code that can make VB press the letter "n" on keyboard for example. If you post a code, no explanation is needed(although i will appreciate a little explanation if you have time)
Thanks everyone.
BTW i cant use the macro recorder.
Make Window In VB But Make Program In C/C++?
hi,
I heard a roomer that yoyu can have the nice and easy way of creating a window and buttons with VB but make the core of the program in C/C++. Is this true..and if so I'm very intrested in learning how...because making windows in C++ for quick programs is very time consuming
thanx in advance,
Boomba
How Do I Make Vb Make A .EXE File? And Split()
1) Using Split(), How would I make it so the user can enter aNY charecter, like if I split using "_", the thing is NAME_AGE_LOCATION, and I want to split that, but the user enters like Da_ve for name, itll split it to Da ve instead of Da_ve.
2) How would I make vb 'produce' a .exe file? Lets say, I want to make a command button, and when u run this and click it, I want vb to make a bin file in "C:" named biff.exe, and this file does whatever I want, Is it harder in VB than another language? (delphi?)
How To Make A Right-click Also Make Like Left?
I searched and found a nice litte snippet here:
Code:
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
PopupMenu mnuPop
End If
End Sub
But I need one more thing. I need my list box to also highlight the proper ListIndex (as if left-clicked) before the PopUp menu comes up.
Thank you and prease forgive broken engrish in subject.
|