|
Combine a program with a picture?? I don't understand what you're tyring to do here.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I meant, after doing the program, i want to compine it with picture, so, when i open the picture, the progem works
|
|
|
|
|
Well, you could do something along the lines of a PKUnzip self-extrator, where the .ZIP file is appended to the end of the .EXE unzip code. The resulting file will not be usable as an image file though. It will have an .EXE extension since it's an executable with data attached to the end of it. You will NOT be able to save any changes back to the file though, since the .EXE file will be locked when you launch it.
Other than that, if you want to save any changes to the image, the file MUST be seperate from the .EXE editing it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
can not i make it .jpg for example
|
|
|
|
|
No you can't. If you attach ANY code to the image file, you'll invalidate the image data and it won't be loadable in any application.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
last question, os there any command to change the extension of a file
|
|
|
|
|
File.Move will rename a file. All you have to do is supply it with the original name and the new name. Unfortunately, you can't change the name of a file if it's open, like an .EXE while it's running.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
how can i make a tabcontrol tab to come in focus if it is not in focus.
plz help
i mean if i click at button if the tab is not in focus & some other
tab of the same tabcontrol is in focus how should i bing a particular tabcontrol panel in focus.
Plz code me out help in vb.net
-- modified at 10:00 Sunday 8th January, 2008
|
|
|
|
|
hi guyz whats up, need some help on topic subjected .
i want to search for a string within another string
e.g.<link rel="alternate" type="application/rss+xml" title="Mt RSS Feed" href="smsbysan.8m.com" >i want to get the title string & the href string.
|
|
|
|
|
|
Delete this post please...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Who'd have thought - the stupidest person on CP is in the VB forum ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
And Christian gets the bonus points for reducing the title so it doesn't cause my browser to create horizontal scrollbars... Oh, no! The OP's post already did that.
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
|
|
|
|
|
Yeah, I figured it was a lost cause to replace the subject line, since the OP was already causing the scroll bars.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
how coulc i compared password entered by user with the one already existing in the database?
|
|
|
|
|
Well, there's always ==. Personally, I think it's a good move to MD5 both, and then compare the result, but that's another story. Either way, I have to say, this is a pretty inane question. If it means what it says, you should really go and learn some REAL basic stuff before doing anything that requires a password ( i.e. that needs to be secure ).
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
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
|
|
|
|