|
I am hoping someone could point me in the right direction - even if it's just telling me what to search for (keep coming up empty-handed)...
My end goal is this:
enter url
get that url's html code
parse that code
insert into any type of database
I would like to search for a specific string, then save the data following it to a variable (or right to the db)
This is an example of the code I would be dealing with:
<code>
<!-- Data -->
<table bgcolor="#00427B" border="0" cellpadding="0" cellspacing="1" ALIGN="CENTER" WIDTH="95%">
<tr><td>
<table bgcolor="#FFF8DC" border="0" cellpadding="2" cellspacing="1" width="100%"><tr><td width="100%">
<CENTER>Extract Date: <B>01/07/2006</B><br /></CENTER><CENTER><H3>* * * Business Information * * *</H3>XYZ Company Name<br />1234 The Address<br />The City, ST, zipcode<br />Business Phone Number: (000) 999-1234<br /><br />Entity: <B>Sole Ownership</B><br />Issue Date: <B>05/11/1990</B> Expire Date: <B>05/31/2009</B></CENTER><H3><CENTER>* * * License Status * * *</CENTER></H3>This license is current and active. <B>All information below should be reviewed.</B><H3><CENTER>* * * Classifications * * *</CENTER></H3><CENTER><TABLE BORDER=1><TR><TH id=Class>Class</TH><TH id=Desc>Description</TH></TR><TR><TD headers=Class><B>B</B></TD><TD headers=Desc><a href=http://www.cslb.ca.gov/LICENSING/CLASSIFICATIONS.ASP#BUILDING>GENERAL BUILDING CONTRACTOR</A></TD></TR></TABLE></CENTER><H3><CENTER>* * * Bonding Information * * *</CENTER></H3><CENTER><B>CONTRACTOR'S BOND: </B>This license filed Contractor's Bond number <B>999999</B> in the amount of <B>$50,000</B> with the bonding company <br /><B><a href=INS+Detail.asp?Action=INSDETIC&Code=G00>COMPANY</A>.</B><br />Effective Date: <B>01/01/2000 </B><br /><br /><B><a href=Contractor+Bonding+History.asp>Contractor's Bonding History</A></B></CENTER><H3><CENTER>* * * Workers Compensation Information * * *</CENTER></H3><CENTER>This license has workers compensation insurance with the <br /><B><a href=INS+Detail.asp?Action=INSDETWC&Code=000>STATE COMPENSATION INSURANCE FUND</A></B><br />Policy Number: <B>000-9999999</B> Effective Date: <B>11/16/2004</B> Expire Date: <B>11/16/2009</B><br /><br /><B><a href=WC+History.asp>Workers Compensation History</A></B></CENTER><CENTER></CENTER><br /><br />
</table>
</td></tr>
</table>
</code>
I know it's a lot to ask - but any pointers on what to search for for such a thing?
Thanks!
|
|
|
|
|
hi every one,
How to use the List View control in a doc/view application?
I need a vb.net or vb6 code for create a list & print.
for ex..
you mean it a list viewer
--|---|---|---|---|---|---|---|---|---|
--|---|---|---|---|---|---|---|---|---|
--|---|---|---|---|---|---|---|---|---|
--|---|---|---|---|---|---|---|---|---|
--|---|---|---|---|---|---|---|---|---|
each cell fill text,
How to layout & print & edit
thz
kamal.
|
|
|
|
|
|
Hi all;
I have written an application using Visual Basic 6.0 on a Windows XP Professional PC. The project contains a total of ten forms. When I compiled the project for distribution I noticed when I ran the program it didn't appear on the Windows taskbar like all running applications nornally do.
Normally, when you press F5 in the VB IDE you will see the default icon for the project on the taskbar and the name of the project you are running. And when compiled for distribution the applicatiomn will show up on the Windows Taskbar when started.
So my question is: How do I set up the VB IDE so that when I compile my projecyts they will show up on the Windows Taskbar?
Thank you,
Quecumber256
|
|
|
|
|
The question really should be, what did you do to STOP IT from appearing on the TaskBar?
AFAIR, there is no setting in a VB6 Windows App to turn this off. You actually have to do it in code, or.....did you pick the right project type when you started the project?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
To double check myself I created a new project as a Standard EXE. I added the Startup modual and the Splash and logon screens. When I run the program it should show it next to the Visual basic application that is currently running. It still will not show the application on the taskbar.
I hope this helps clarify the problem.
Quecumber256
|
|
|
|
|
I think your problem is somewhere in your Startup module or Splash screen. Usually, a splash screen sets itself up so that the app doesn't appear in the taskbar until the main form is dispalyed.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I added the main form into the project I created to double check myself with. It still will not shop the application on the taskbar. The Login and Splash screen are both set to NOT show the form on the Task window. The Main form is set to show the form on the taskbar. When I minimize the main form it doesn't minimize to the Taskbar it, it minimizes onto the desktop.
Thank you,
Quecumber256
|
|
|
|
|
It minimizes to the DESKTOP? Do you have some window manager or dual monitor manager installed?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
The project is a standard EXE containing ten forms. It is being developed on a Windows XP Professional PC with only one flat screen monitor. The OS doesn't seem to recongnize it as a single exe application.
Quecumber256
|
|
|
|
|
I still say your code is doing something to screw itself up. It's not the OS that's messing up.
Create a empty Standard .EXE project, with just a single form and no code. Run it and see if the same problem comes up.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave,
You are correct is was screwed up code. Another Vb guy sent me a message during the reading I found out that if you set open a form with the vbModal option the Form will not be placed in the taskbar.
So I going to have to remove the vbModal option from most of my forms.
Quecumber256
|
|
|
|
|
You're launching all your forms Modal? This isn't standard practice, so that's why it never occured to me. You'd only do this for dialog boxes and other utility forms you want to have the focus in your application until the dialog is closed.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
how could i transfer data from database to a table in the form by using asp.net
|
|
|
|
|
pandapatin wrote: how could i transfer data from database to a table in the form by using asp.net
There are two parts to this. What part are you interested in: the getting the data out the database part or the displaying information in a table part? (Strictly speaking, ASP.NET only deals with the display part, it has no classes for database access as that is the responsibility of ADO.NET)
Here are some resources that will help:
* DataRepeater controls in ASP.NET[^]
* Deciding when to use the DataGrid, DataList or Repeater controls[^]
* Repeater Class[^]
* Server-side ASP.NET Data Binding, part 1[^] and part 2[^]
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
can anyonw tell me where i can get some interview questions on c#, ASP.net and VB.Net?
|
|
|
|
|
Easy, Google[^] for 'em.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi.
How we can change the header text of the columns which r bounded from the databse
AS I donot want to show the the datafield name on the headre text of the columns in datagrid
e.g.
Dept_Code
Instead of this i want to display it as
Department Code
Hema Chaudhry
|
|
|
|
|
You could do it in your SQL SELECT statement:
SELECT Dept_Code AS [Department Code] FROM table
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Yes this can be a very good option
Thanks a Bunch
Hema Chaudhry
|
|
|
|
|
hi friends.....
help me.. i want an exe file to autoplay cd. that exe file - create in vb6?
thz
kamal
|
|
|
|
|
Windows has this built in already. What are you really trying to do? More specifications of your app would help.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi Dave Kreskowiak
thank you for your reply
I mean that the cd autoplay a exe file on it, that exe made with VB does not work without install VB. How can i make exe file without framework (Support files) For example many programs on a CD. That cd autoplay exe which made with me ask what program you are going to install.
Thank you
Kamal
|
|
|
|
|
Write your .EXE in C++.
There are projects out there that can compile a .NET Framework Managed code-based app (like C# and VB.NET) into an native .EXE with that the required runtime support. They cost $,$$$ and have their limitations and restrictions.
I don't ever recommend using them...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi Guy's,
Can any one Help me i want to highlight perticuler text from sentance using the vb script. for examlpe :
When Ever the form load it will give me the greeting
'Hi Sasmi' (in which 'Sasmi' should be Hilighted).
Sasmi
|
|
|
|