Search Results

Showing results 1 to 40 of 75
Search took 0.02 seconds.
Search: Posts Made By: Sailor_Jerry
Forum: MySQL Jul 14th, 2009
Replies: 3
Views: 675
Posted By Sailor_Jerry
To do this you must call select last_insert_id(); after each insert statement, to get the last auto_increment id.
Forum: MySQL Jul 14th, 2009
Replies: 3
Views: 675
Posted By Sailor_Jerry
Thanks for the reply. But I need to know how to get the last auto_increment id of my phone and company table, to be able to insert a row into my companyphone table.
Forum: MySQL Jul 10th, 2009
Replies: 3
Views: 675
Posted By Sailor_Jerry
I have 3 tables. Company, phone, companyPhone.

The company table has an auto_increment companyID primaryKey
The phone table has an auto_increment phoneID primaryKey
The companyPhone table row...
Forum: C# Jun 2nd, 2009
Replies: 11
Views: 846
Posted By Sailor_Jerry
I would if I could. I did not start the thread. Gangadhar619 started this one.
Forum: C# Jun 2nd, 2009
Replies: 11
Views: 846
Posted By Sailor_Jerry
Works perfectly now, thanks again.
Forum: C# Jun 2nd, 2009
Replies: 11
Views: 846
Posted By Sailor_Jerry
Great that worked! That brings up another issue now. In my Login.cs and my CRMMain.cs file I added the following


private void frmLogin_FormClosed(object sender, FormClosedEventArgs e)
{
...
Forum: C# Jun 2nd, 2009
Replies: 11
Views: 846
Posted By Sailor_Jerry
I have a similar issue. I have modified my call to Application.run in the program.cs file, so that it is not responsible for the thread.

frmLogin login = new frmLogin();
login.Show();...
Forum: C# Dec 23rd, 2008
Replies: 11
Views: 4,682
Posted By Sailor_Jerry
I have a similar issue, but my users are not actually starting the program. There is a shortcut to the program in the windows startup folder. After a few days of running the program will have...
Forum: Network Security Feb 18th, 2008
Replies: 2
Views: 1,234
Posted By Sailor_Jerry
Thanks for the advice. I reformatted the drives last week and haven't had any complaints.
Forum: Network Security Feb 7th, 2008
Replies: 2
Views: 1,234
Posted By Sailor_Jerry
Someone gained access to two of my clients computers systems this week. On both systems some shady ebay and paypal transactions took place.

the computers have PC Anywhere installed and vnc and...
Forum: JavaScript / DHTML / AJAX Apr 24th, 2007
Replies: 6
Views: 4,662
Posted By Sailor_Jerry
There are a few things you can try here.

When trouble shooting I like to change the background of the element to lime or something. Then it's easier to see the positioning of the element.

If...
Forum: PHP Apr 23rd, 2007
Replies: 2
Views: 7,632
Posted By Sailor_Jerry
Thanks whizz..

Finally got this working. The issues had nothing to do with UserMailer.php.

I Needed to make some changes in LocalSettings.php in my wiki dir. Mainly adding the path to pear in...
Forum: JavaScript / DHTML / AJAX Apr 23rd, 2007
Replies: 6
Views: 4,662
Posted By Sailor_Jerry
try newOpt.className = 'GoRight';
Forum: JavaScript / DHTML / AJAX Apr 20th, 2007
Replies: 6
Views: 4,662
Posted By Sailor_Jerry
after this:
newOpt.text = <%=Value%> ;
you can then check the innerHTML of newOpt var.
Will the <%=Value%> always be in string format?
If not you can use isNaN() which will return true if passed...
Forum: PHP Apr 20th, 2007
Replies: 2
Views: 7,632
Posted By Sailor_Jerry
I have apache in this dir C:\Program Files\Apache Software Foundation\Apache2.2\
and
Mail.php and PEAR.php are in this dir C:\php\PEAR\pear
When I add the files to the dir the log file is...
Forum: PHP Apr 12th, 2007
Replies: 2
Views: 5,491
Posted By Sailor_Jerry
I am in in the process of adding mediawiki to a sever that already has Apache and php installed.
Forum: JavaScript / DHTML / AJAX Apr 6th, 2007
Replies: 0
Views: 8,086
Posted By Sailor_Jerry
Is there a javascript function that will reload a dom element if given the element id?

I am using javascript to update a divs innerHTML with the location of an image.

Cut of the javascript code...
Forum: JavaScript / DHTML / AJAX Dec 11th, 2006
Replies: 1
Views: 16,852
Posted By Sailor_Jerry
Got this to work.
Step 1. Get the offsetTop amount of the element you want to scroll to.
Step 2. Set this equal to the scrollTop size of the container, in my case a div.

...
Forum: JavaScript / DHTML / AJAX Dec 11th, 2006
Replies: 1
Views: 16,852
Posted By Sailor_Jerry
I am using Ajax to load the content of a div element. I have a call back function that I want to use to scroll to the appropriate element, after the data has been loaded.
I also have the id of...
Forum: HTML and CSS Oct 23rd, 2006
Replies: 4
Views: 7,589
Posted By Sailor_Jerry
I get this script error “Invalid argument” when using appendChild(). When in Microsoft Visual Studio Debugger I see “htmlfile: Invalid argument”, and the line it blows up on is t.appendChild(n);
...
Forum: JavaScript / DHTML / AJAX Aug 27th, 2006
Replies: 3
Views: 2,693
Posted By Sailor_Jerry
Here is a quick test with the scipt in the body. If you remove defer from the script tag and run the html, you will get a script error.


<html>
<head>
<style>#TestDefer{display:none;}</style>...
Forum: JavaScript / DHTML / AJAX Aug 27th, 2006
Replies: 3
Views: 2,693
Posted By Sailor_Jerry
Try adding the "defer" attribute to the end of your script tags.
i.e.(<script type='"text/javascript" defer>your javascript</script>

With this attribute, the code inside the script tags will only...
Forum: JavaScript / DHTML / AJAX Aug 27th, 2006
Replies: 1
Views: 1,463
Posted By Sailor_Jerry
Your getting that error because that property does not exist on the XML document.

You must first parse the document before you can access the DOM. Once you do this your code should work.
...
Forum: JavaScript / DHTML / AJAX Aug 24th, 2006
Replies: 1
Views: 8,745
Posted By Sailor_Jerry
No the function will not execute. If you want that to run the script you will need to call a function after your response to "eval" the script for you.

Your new function will need to find and...
Forum: HTML and CSS Aug 24th, 2006
Replies: 1
Views: 1,239
Posted By Sailor_Jerry
Your not doing anything wrong.

Netscape does not support media screen in version 4. Support begins at 6.0

View the table here for more details....
Forum: HTML and CSS Aug 24th, 2006
Replies: 9
Views: 1,872
Posted By Sailor_Jerry
Basically I wanted to do the reverse of body.selector{overflow:-moz-scrollbars-none;}.

So If .selector is on the page, apply this style to the body.

I don’t think you can do it, since you would...
Forum: HTML and CSS Aug 24th, 2006
Replies: 9
Views: 1,872
Posted By Sailor_Jerry
I want to match my own class selector and then modify the body.


//This does not work but to give you idea of what i am trying to do.
.selector body {overflow:-moz-scrollbars-none;}


Do I...
Forum: Java Aug 23rd, 2006
Replies: 4
Views: 4,108
Posted By Sailor_Jerry
I am using IBM Websphere, and from here i can just click Run As java application, and the program runs inside websphere. But i want to run the program outside IDE.

I created a jar file and...
Forum: Java Aug 13th, 2006
Replies: 1
Views: 1,015
Posted By Sailor_Jerry
Done. Used http://javaalmanac.com/egs/java.io/GetFiles.html
Forum: Java Aug 12th, 2006
Replies: 1
Views: 1,015
Posted By Sailor_Jerry
Can this be done with java.io?
Thanks, sj
Forum: JavaScript / DHTML / AJAX Aug 12th, 2006
Replies: 2
Views: 2,291
Posted By Sailor_Jerry
This would work in ie.

document.styleSheets[i].rules[i].style.styleFloat


rules being the line number were the actually style in question needs to be updated. rules will give you the selector...
Forum: HTML and CSS Aug 11th, 2006
Replies: 1
Views: 2,231
Posted By Sailor_Jerry
You could write a program that does this. I'm sure the C++, or JAVA guys can help.

Use java.io to open the files
Then search for the </body></html> tags.
if the search is successful move to...
Forum: JavaScript / DHTML / AJAX Aug 11th, 2006
Replies: 8
Views: 22,049
Posted By Sailor_Jerry
Thanks really good stuff.

The issues is that, I only need to set the div to the height of the window, if the content of the div requires the div too expand.

Right now the default height of...
Forum: JavaScript / DHTML / AJAX Aug 11th, 2006
Replies: 8
Views: 22,049
Posted By Sailor_Jerry
Is there a way using javascript to grab the height of a div.

The issues is that when I render my html page I have a div with a set size. It only takes up about half of the screen.
When the...
Forum: HTML and CSS Aug 8th, 2006
Replies: 1
Views: 4,205
Posted By Sailor_Jerry
Got it working.

<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html...
Forum: HTML and CSS Aug 8th, 2006
Replies: 1
Views: 4,205
Posted By Sailor_Jerry
I have two html files.

FirefoxBug.html

<html>
<body>
<div style=background-color:red;>
<iframe src="/iframe.html"></iframe>
</div>
</body>
Forum: HTML and CSS Aug 1st, 2006
Replies: 9
Views: 1,872
Posted By Sailor_Jerry
Thanks for the info!!

Since !important is ignored by IE, the height declarations in the second style is just a hack to get firefox to behave.
Essentially firefox will ignore the second height,...
Forum: HTML and CSS Aug 1st, 2006
Replies: 3
Views: 5,591
Posted By Sailor_Jerry
For firefox i think you could can use "-moz-scrollbars-none" for the overflow property
Forum: HTML and CSS Aug 1st, 2006
Replies: 9
Views: 1,872
Posted By Sailor_Jerry
I have two css classes. ".test1 and .test2"
Can anyone explain what this code is doing?


.test1{height: 100%; clear: both; border: 1px solid #999;}
.test1, .test1 .test2{height: 100%...
Forum: Java Jun 16th, 2006
Replies: 3
Views: 2,055
Posted By Sailor_Jerry
ahh thanks. I didn't have the "new" keyword
Showing results 1 to 40 of 75

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC