|
hi i am want to know how can i convert a mime type file which is a picute may be format in .jpeg, .png, ,gif etc.
i got this from mobile programming i got xml and mime file how i restore picture in original format.
|
|
|
|
|
I'm making a simple html page with an external .js file that will write the navigation to a page. My problem is that for some reason the page will not call the function in the external file from the page.
Here is my .js file:
function WriteMenu(selectedNav)
{
document.writeln('<table id="NavigationTable">');
document.writeln('<tr>');
document.writeln(GetNavItem('Home', 'index.html', selectedNav == 'home'));
document.writeln(GetNavItem('History', 'history.html', selectedNav == 'history'));
document.writeln(GetNavItem('Castes', 'castes.html', selectedNav == 'castes'));
document.writeln(GetNavItem('Map', 'Library/Images/map.gif', selectedNav == 'map'));
document.writeln(GetNavItem('Rules', 'rules.html', selectedNav == 'rules'));
document.writeln(GetNavItem('Resources', 'resources.html', selectedNav == 'resources'));
document.writeln('<tr>');
document.writeln('</table>');
}
function GetNavItem(text, url, isSelected)
{
var navItem;
if (isSelected)
{
navItem = '<td class="selected"><a href="' + url + '">' + url + '<a></td>';
}
else
{
navItem = '<td><a href="' + url + '">' + url + '<a></td>';
}
return navItem;
}
Here are the answers to obvious questions.
Here is my header:
<script language="Javascript" type="text/javascript" src="Library/JS/Menu.js" />
Here is where I am trying to call the function. This is inside the body tags for the page.
<script type="text/javascript">
WriteMenu('home');
</script>
I even tried adding an alert to the function and I get nothing. Why won't it call the functions?
Broken Bokken
You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod
The story of your fighting is a poem of two words: YOU SUCK.
|
|
|
|
|
Don't ask me why, but try replacing
</blockquote>
with
<blockquote class="FQ"><script language="Javascript" type="text/javascript" src="Library/JS/Menu.js">
|
|
|
|
|
How Do i do that
XHtml + CSS page
C# code to connect database
database is in oracle
now I have created all html work field word all is done
now I am also looking at C# code to connect it
i also have a oracle database ready
how do i do it?
please help
|
|
|
|
|
Well, first step is throw away your HTML, you need to replace it with server controls. Second is to buy a book and do some work for yourself. Then when you have specific questions, the third step is to ask in the right forum.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Well I am very confused
I know C# / oracle
but question is how to make all things together
Html i dont care I will throw it away
well it is full functional page not including the connection
the thing make me confuse is how to use C # code
i am not asking for each and every code
i need idea to create something that is out of my imagination
still thanks for your help
btw what is Microsoft mvp
|
|
|
|
|
Adi25233 wrote: the thing make me confuse is how to use C # code
Adi25233 wrote: I know C# / oracle
????
I'd suggest downloading the Web Developer Express Edition, using the designer to lay out a page and a data source, and see how you go. I really can't tell you how to use C# or write a website in a forum post.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
out of interest, did you give me a 1 because
a - you didn't like my answer or
b - you thought that 1 was how to say the answer was good ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi,
I am new to this forum and fairly a beginner in programming.
I was hoping someone here could help me with the following.
I would like to have a webcrawler to search multiple search engine databases.
Ideally like to do what this page does http://www.findchips.com but have the ability to modify the search string (to websites I want) and come back with specific results from the queried page.
Can anyone help?
Thanks in advance
Daren
|
|
|
|
|
That's not a webcrawler. A webcrawler wanders the web. This thing does specific searches, and has specific code to parse the result. They do not search search engine databases, they ask the search engine to do that, and examine the result.
I'd recommend starting with something simpler, most people who try to start with an ambitious project, end up giving up.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi Christian,
I do not understand what you mean by start with something simpler?
This is what I want it to do.
I just want to know if there are any projects or progams than I can use to accomplish this.
Thanks
Daren
|
|
|
|
|
dsaroop wrote: I do not understand what you mean by start with something simpler?
Lemme break it down for you:
You're asking for help juggling five bowling balls
CG's suggesting you start with one. Or maybe a softball.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Yep - that about sums it up. I used to read a gaming forum and every week some kid would post 'anyone want to join my team ? I bought a C++ book and I'm gonna write the world's best 3D engine.'
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Ha!
When i was a kid, i spent a lot of time trying to drum up support for my awesome game engine...
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
ROTFL !!! You must be the one that turned out OK
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Are you implying there was something wrong with my engine? 'Cause, it was totally all those other slackers who volunteered and then didn't get it done... ;P
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
I have gone as far as building an "array" with several engines in Javascript.
I want something "neat and clean" as the example I provided. Where the returned results show on the same seach page at the bottom.
The tool is out there, I just figured someone here might have advise on how to get it.
Thanks
Daren
|
|
|
|
|
dsaroop wrote: The tool is out there, I just figured someone here might have advise on how to get it.
:shrug:
You might as well start here: http://drupal.org/project/opensearch_aggregator[^]
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Thank you Shog!
I will look into this.
Daren
|
|
|
|
|
|
Good luck with that. MS put a lot of time and money into making their site spiffy, and you want a free control that does the same thing, when it's only been out a few weeks ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
It was only a question
Freshman
|
|
|
|
|
That link gives me a 500 (server) error. A rather nice one, with text and some sort of search box in like twelve different languages, but nothing about text editors.
If you're just looking for a rich text editor, try a Google search - there are lots of them. For instance: TinyMCE[^]
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Nice reply.
Thank you very much.
Freshman
|
|
|
|
|
I am new to .net programming, so please pardon any mistakes I make. On my page have gridview1 and inside the edit template of the gridview1 have texbox8. When the user clicks on the edit button the textox8 should automatically populate current machine date. I am not sure how to access the texbox8 inside the gridview and display the current date.
Following is the part of the code:
<asp:gridview id="GVOpenNCMR" runat="server" allowpaging="True" xmlns:asp="#unknown">
AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
DataSourceID="SqlDataSource1" Height="369px" Width="482px"
Font-Names="Arial" Font-Size="8pt" ForeColor="#333333" GridLines="None"
PageSize="30"
<asp:templatefield headertext="Closed Date" sortexpression="ClosedDate" mode="hold"> <EditItemTemplate>
<asp:TextBox ID="TextBox4" runat="server" Height="15px"
Text='<%# Bind("ClosedDate", "{0 }") %>' Width="60px"
ontextchanged="TextBox4_TextChanged"></asp:TextBox>
<cc1:CalendarExtender ID="TextBox4_CalendarExtender" runat="server"
Enabled="True" TargetControlID="TextBox4">
</cc1:CalendarExtender>
/EditItemTemplate
Here is the code in my .vb file:
Protected Sub TextBox4_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)
For Each row In GVOpenNCMR.Rows
Dim textBoxText As = (CType(row.FindControl("TextBox4"), TextBox)).Text
Next
Not sure where to put the code for the textbox to populate system date. Anyhelp would be appreciated. Thanks.
|
|
|
|