brynFlew 15 Junior Poster in Training

Hello,

I am having trouble finding a good tutorial on how to install eclipse with aptana radrails on centos, when i try to install radrails in eclipse using the instructions givin here (aptana), i get these errors. Can someone point me in the right direction?

Thanks :)

An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.ant.core.source,3.2.200.v20100427
No repository found containing: osgi.bundle,org.eclipse.ant.launching,1.0.0.v20100427
No repository found containing: osgi.bundle,org.eclipse.ant.launching.source,1.0.0.v20100427
No repository found containing: osgi.bundle,org.eclipse.ant.ui,3.5.0.v20100427
No repository found containing: osgi.bundle,org.eclipse.ant.ui.source,3.5.0.v20100427
No repository found containing: osgi.bundle,org.eclipse.compare.core.source,3.5.100.I20100526-0800
No repository found containing: osgi.bundle,org.eclipse.compare.source,3.5.100.I20100526-0800
No repository found containing: osgi.bundle,org.eclipse.core.commands.source,3.6.0.I20100512-1500
No repository found containing: osgi.bundle,org.eclipse.core.contenttype.source,3.4.100.v20100505-1235
No repository found containing: osgi.bundle,org.eclipse.core.databinding.beans.source,1.2.100.I20100601-0800
No repository found containing: osgi.bundle,org.eclipse.core.databinding.observable.source,1.3.0.I20100601-0800
No repository found containing: osgi.bundle,org.eclipse.core.databinding.property.source,1.3.0.I20100601-0800
No repository found containing: osgi.bundle,org.eclipse.core.databinding.source,1.3.100.I20100601-0800
No repository found containing: osgi.bundle,org.eclipse.core.expressions.source,3.4.200.v20100505
No repository found containing: osgi.bundle,org.eclipse.core.externaltools.source,1.0.1.v20100831_r361
No repository found containing: osgi.bundle,org.eclipse.core.filebuffers.source,3.5.100.v20100520-0800
No repository found containing: osgi.bundle,org.eclipse.core.filesystem.source,1.3.1.R36x_v20100727-0745
No repository found containing: osgi.bundle,org.eclipse.core.jobs.source,3.5.1.R36x_v20100824
No repository found containing: osgi.bundle,org.eclipse.core.net.source,1.2.100.I20100511-0800
No repository found containing: osgi.bundle,org.eclipse.core.resources.source,3.6.0.R36x_v20100825-0600
No repository found containing: osgi.bundle,org.eclipse.core.runtime.compatibility.auth.source,3.2.200.v20100517
No repository found containing: osgi.bundle,org.eclipse.core.runtime.compatibility.registry.source,3.3.0.v20100520
No repository found containing: osgi.bundle,org.eclipse.core.runtime.compatibility.source,3.2.100.v20100505
No repository found containing: osgi.bundle,org.eclipse.core.runtime.source,3.6.0.v20100505
No repository found containing: osgi.bundle,org.eclipse.core.variables.source,3.2.400.v20100505
No repository found containing: osgi.bundle,org.eclipse.cvs.source,1.0.500.v20100414
No repository found containing: org.eclipse.update.feature,org.eclipse.cvs.source,1.2.0.v20100427-7B77FKt90GE5h0NCO35T7A01911
No repository found containing: osgi.bundle,org.eclipse.debug.core.source,3.6.0.v20100519
No repository found containing: osgi.bundle,org.eclipse.debug.ui.source,3.6.1.v20100901_r361
No repository found containing: osgi.bundle,org.eclipse.ecf.filetransfer.source,4.0.0.201110251336
No repository found containing: osgi.bundle,org.eclipse.ecf.identity.source,3.1.0.201110251336
No repository found containing: osgi.bundle,org.eclipse.ecf.provider.filetransfer.httpclient.source,4.0.0.201110251336
No repository found containing: osgi.bundle,org.eclipse.ecf.provider.filetransfer.httpclient.ssl.source,1.0.0.201110251336
No repository found containing: osgi.bundle,org.eclipse.ecf.provider.filetransfer.source,3.1.0.201110251336
No repository found containing: osgi.bundle,org.eclipse.ecf.provider.filetransfer.ssl.source,1.0.0.201110251336
No repository found containing: osgi.bundle,org.eclipse.ecf.source,3.1.0.201110251336
No repository found containing: osgi.bundle,org.eclipse.ecf.ssl.source,1.0.100.201110251336 …
brynFlew 15 Junior Poster in Training

http://www.blog.jugnoo.com for answers to your social media marketing questions

brynFlew 15 Junior Poster in Training

unplug computer hold power button for 30 seconds and reset cmos

Are you sure you bought the correct battery and installed it properly?

its also possible that you unplugged some other cables inside the PC. Does the computer at least start with the POST (power on self test)?

Explain "wont be able to start after replacing it" it detail.

brynFlew 15 Junior Poster in Training

take the battery out and try to boot without one, if that works make sure the battery is in correctly and test voltage. if it doesnt the problem could be something else.

brynFlew 15 Junior Poster in Training
brynFlew 15 Junior Poster in Training
brynFlew 15 Junior Poster in Training

all your answers are to consult an expert, isnt that why we post here? anyway watch this video http://mashable.com/2012/06/26/google-seo-tips/ will expain alot.

brynFlew 15 Junior Poster in Training

your type is wrong
type="ArrayList<BeanClass.User>" should be something like BeanClass.User and thats it, no<> or ArrayList

brynFlew 15 Junior Poster in Training

i have a good tutorial you could use
http://www.exampledepot.com/egs/javax.servlet.jsp/myform.jsp.html, might not be the best way but it is a way and i like the way it works

brynFlew 15 Junior Poster in Training

how about a javaBean or a global variable

<jsp:setProperty 
        name="beanInstanceName" 
        {   
            property= "*"   | 
            property="propertyName" [ param="parameterName" ]   | 
            property="propertyName" value="{string | <%= expression %>}" 
        } 
/>
brynFlew 15 Junior Poster in Training

replace the thermal compound

brynFlew 15 Junior Poster in Training

try to take the power cord out and hold power button for 30 seconds, or take out cmos battery and try to boot

brynFlew 15 Junior Poster in Training

id recommend a barebones kit for starters, and from that built up to something better

brynFlew 15 Junior Poster in Training

try to reset your cmos, unplug your computer and hold down the power button for 30 s, try to boot, or take out the cmos battery for awhile

brynFlew 15 Junior Poster in Training

i would try to take out the battery and reset your cmos, also check the voltage of the power adaptor, if tht doesnt work id take the drives out and back them up

brynFlew 15 Junior Poster in Training

yes they have php in them, thats fine and thank you for this will try out soon. appreciate it

brynFlew 15 Junior Poster in Training

Hello,

I have 3 boxes on my website one 20x20 one 42x42 and the main picture which is 120x120. Images that are over 1mb cause the web site to load very slowly and i don't want to restrict the user to have to make a custom profile picture they should be able to upload any picture and have it down scale in size automatically. Is this possible. Yahoo.com does exactly what i want, you can upload a 4mb picture and it downscales the size on pages to decrease loading time.

brynFlew 15 Junior Poster in Training

i am fixing a computer and backed up files on the drive then reinstalled the os, after the reinstall the harddrive started to make a clicking noise and wont boot, is this drive broken now? all i did was reinstall the os and take a few files off. am i going to have to tell the person their harddrive is toast?

Thanks


prety sure it is cant read using an sata to usb cant detetct in bios.

brynFlew 15 Junior Poster in Training

its basically like this guy shows,

http://www.youtube.com/watch?v=7qSwQ4c7kIo

you set up the layout of the report with the designer, set up the database connections, then their is some code you would put in a java class that when called would pass the params you want to crystal reports and crystal reports will generate a pdf or whatever with the data in the database using the parameters chosen.

brynFlew 15 Junior Poster in Training

i have read through that forum, i have done all those things + more including enabling trimming of files and storing paging files on a second drive(which becomes overwritten bad idea until the drive is clean i guess), Disable indexing, system restore, compressing system files for quick decompression and more space. He says disable paging files but from what i know windows 7 cant work properly if its paging files are too small or disabled and wont boot? and that's the problem i ran into i think them being overwritten by a second install caused windows to not boot.

http://lifehacker.com/5426041/understanding-the-windows-pagefile-and-why-you-shouldnt-disable-it

anyways thanks for the advice and if i come across anything useful ill post here


here is a really good video for anyone else wanting to optimize their ssd

http://www.youtube.com/watch?v=6LTqN9FVjm8

brynFlew 15 Junior Poster in Training

I have a 1.5 terabyte hdd with windows 7 loaded on it but recently got a ssd drive and installed that as the system drive. All worked fine for a few weeks, but i plugged my blue ray player in and i think what happened was the paging files were set to the d (secondary drive) and the drive letters got changed with the new hardware config. So when i booted it said it couldn't boot from the ssd. so after a few hours of retrying hardware configs(none worked and could not boot, maybe booting the second drive overwrote the paging files on disk 2?). I decided to reformat my ssd and re install my os. Does anyone know exactly what caused this or how to change the system drives from one drive to another so this doesn't happen again. It wasn't that bad because it was just the os and drivers on it but would like to know how to fix it for next time. All the sata drives are set as primary drives and my ssd is set as 1st boot device and hard drive 1. since then i have deleted my windows files from my secondary drive to stop it from booting. i have my blue ray in port 1: ssd port 2: 1.5 terabyte port 3: and port 4: 500gb.

so recap, how do i change my system drive and can you move the paging files of an os back to the other drive or repair them.

brynFlew 15 Junior Poster in Training

@ brynFlew
could you share some tutorials for this..

i don't have a tutorial easily available without searching around, i might be able to post some of my code later on if there isn't too much stuff in there that is really important.

brynFlew 15 Junior Poster in Training

you can do that with crystal reports and java export to different file formats and pdf layouts including csv for excel.

brynFlew 15 Junior Poster in Training

How to create reports in core java

like visual basic 6.0 report

you can use crystal reports like in visual basic with Java pretty easily

brynFlew 15 Junior Poster in Training

use this link http://www.exampledepot.com/egs/javax.servlet.jsp/myform.jsp.html

and instead of String in the java bean use int and instead of initializing the values to "" use 0 or an int number

for the form (instead of true/false use values) and at top of header make sure you set the properties

<jsp:setProperty name="form" property="*" />
<p style="text-align:center;">Yes<input type="radio" name="check" value="true"<jsp:getProperty name="form" property="check" />/>No<input type="radio" checked="true" name="check" value="false" <jsp:getProperty name="form" property="check" />/></p>
brynFlew 15 Junior Poster in Training

depending on how you want to validate it you could use simple JavaScript method or a Java bean.

JavaScript form validation: http://www.w3schools.com/js/js_form_validation.asp

Java bean form validation: http://www.exampledepot.com/egs/javax.servlet.jsp/myform.jsp.html

both ways are pretty easy to do, I would recommend the Java bean method.

brynFlew 15 Junior Poster in Training
'''
Created on 2011-05-20

@author: Bryn Flewelling
'''
# This is a random dice game.
import random
dice1 = 0
dice2 = 0
def dice_roller():
    print "Dice Roller" 
    print "==============="
    print "1) Enter 1 to roll a six-sided dice"
    
    sum = raw_input("> ")

    if sum == '1':
        dice1 = random.randrange(1, 7)
        dice2 = random.randrange(1, 7)
        print "The first 6-Sided Die Rolled", dice1
        print "The second 6-Sided Die Rolled", dice2
    if dice1 == 1:
        print "=========="
        print "|        |" 
        print "|   0    |"
        print "|        |"
        print "=========="     
    if dice1 == 2:
        print "=========="
        print "| 0      |" 
        print "|        |"
        print "|      0 |"
        print "=========="                                 
    if dice1 == 3:
        print "=========="
        print "| 0      |" 
        print "|   0    |"
        print "|      0 |"
        print "=========="       
    if dice1 == 4:
        print "=========="
        print "| 0    0 |" 
        print "|        |"
        print "| 0    0 |"
        print "=========="  
    if dice1 == 5:
        print "=========="
        print "| 0   0  |" 
        print "|   0    |"
        print "| 0   0  |"
        print "=========="      
    if dice1 == 6:
        print "=========="
        print "| 0    0 |" 
        print "| 0    0 |"
        print "| 0    0 |"
        print "=========="     
        
    if dice2 == 1:
        print "=========="
        print "|        |" 
        print "|   0    |"
        print "|        |"
        print "=========="     
    if dice2 == 2:
        print "=========="
        print "| 0      |" 
        print "|        |"
        print "|      0 |"
        print "=========="                                 
    if dice2 == 3:
        print "=========="
        print "| 0      |" 
        print "|   0    |"
        print "|      0 |"
        print "=========="       
    if dice2 == 4:
        print "=========="
        print "| 0    0 |" 
        print "|        |"
        print "| 0    0 |"
        print "=========="  
    if dice2 == 5:
        print "=========="
        print "| 0   0  |" 
        print "|   0    |"
        print "| 0   0  |"
        print "=========="      
    if dice2 == 6:
        print "=========="
        print "| 0    0 |" 
        print "| 0    0 |"
        print "| 0    0 |"
        print "=========="        
        
input = 'C'
while 1:
    if   input == 'Q': break
    elif input == 'C': dice_roller()
    input = raw_input("press c to continue or q to quit: ").upper()
brynFlew 15 Junior Poster in Training

I have made a very simple dice game,

How can i output the results of the dice using this format.

Thanks for your time.

==========
|  0     |
|        |
|    0   |
==========

==========
|  0  0  |
|  0  0  |
|  0  0  |
==========
# This is a random dice game.
import random
dice1 = 0
dice2 = 0
def dice_roller():
    print "Dice Roller" 
    print "==============="
    print "1) Enter 1 to roll a six-sided dice"
    
    sum = raw_input("> ")

    if sum == '1':
        dice1 = random.randrange(1, 7)
        dice2 = random.randrange(1, 7)
        print "The first 6-Sided Die Rolled", dice1
        print "=========="
        print "|        |" 
        print "|        |"
        print "|        |"
        print "=========="     
        print "The second 6-Sided Die Rolled", dice2
        print "=========="
        print "|        |" 
        print "|        |"
        print "|        |"
        print "==========" 
        
input = 'C'
while 1:
    if   input == 'Q': break
    elif input == 'C': dice_roller()
    input = raw_input("press c to continue or q to quit: ").upper()
brynFlew 15 Junior Poster in Training

is this possible?

brynFlew 15 Junior Poster in Training
brynFlew 15 Junior Poster in Training

is it possible to create a table inside a html dropdown ? sort of like this(doesnt work)

<select style="" name="test" id="test"  param=test>
	<option name="scrapCode" id="scrapCode" property="scrapCode" param="scrapCode" value="">
	<table>
<caption>Animal groups</caption>
<colgroup>
	<col span="3"/>
	<col class="alternative" />
</colgroup>
	<tr>
		<th>Apes</th>
		<th colspan="2">Cats</th>
		<th style="background: #ddf;">Dogs</th>
		<th>Lemurs</th>
	</tr>
	<tr>
		<td>Gorilla</td>
		<td>Tiger</td>
		<td>Cheetah</td>
		<td style="background: #ddf;">Grey Wolf</td>
		<td>Indri</td>
	</tr>
	<tr>
		<td>Orangutan</td>
		<td>Lion</td>
		<td>Puma</td>
		<td style="background: #ddf;">Cape hunting dog</td>
		<td>Sifaka</td>
	</tr>
	<tr>
		<td>Man</td>
		<td>Jaguar</td>
		<td>Serval</td>
		<td style="background: #ddf;">Very silly big long-long named dog woof</td>
		<td>Red ruffed lemur</td>
	</tr>
	<tr>
		<td>Chimpanzee</td>
		<td>Leopard</td>
		<td>Caracal</td>
		<td style="background: #ddf;">Red Fox</td>
		<td>Ring tailed lemur</td>
	</tr>
	<tr>
		<td>Bonobo</td>
		<td>Snow leopard</td>
		<td>Wild cat</td>
		<td style="background: #ddf;">Fennec</td>
		<td>Dwarf lemur</td>
	</tr>
</table>
	</option>	
</select>

Thanks.

brynFlew 15 Junior Poster in Training

Greetings,

I've created a link to make an .swf file pop up in a window. The window isn't actually a web page. It is simply linked to the .swf, making the title of the "page" the directory location of the file ie. "../../folder/folder/file.swf." Is it possible to name the popup swf, or do I need to embed each .swf into a page and make that page the popup?

when i get home ill try and post an example of some code i have that embeds swf files if you still need help.

brynFlew 15 Junior Poster in Training

Hello everyone,
I want to create a completely round <div> using only HTML / CSS, but without border-radius.
I don't want use background images, because I'll have probles resizing them and that's not cool.
Is there a better solution?

Thanks in advance!

You can use the tutorial found on this page

http://dev-tips.com/demo/css3_circles.html

they make divs with spans into circles or

html5

http://hubpages.com/hub/HTML5-Tutorial-Drawing-Circles-and-Arcs

hope it helps.

RoyalElite96 commented: That's awesome! Thank you very much. +1
brynFlew 15 Junior Poster in Training

If the look you're going for is what I've circled in the attached picture then here's the code you need to change <th rowspan="1.5"> on line 25 to <th rowspan="2"> and then change <td> on lines 26-34 to <td rowspan="2" > last thing is you need to add is:

<tr>
   <td height="whatever height you want here"></td>
</tr>

after the </tr> on line 35

hope this helps.

Exactly what i needed, Thank you i appreciate it alot.

brynFlew 15 Junior Poster in Training

Is it possible to create javaBeans dynamically instead of writing each get and set per jsp property, they generate themself?

brynFlew 15 Junior Poster in Training

is it possible to use a jsp page with a java bean to get values dynamically.
ie: the name is incremented each time but i need the gets and sets for each property to get their values and set them on the bean, can i do this dynamically? Thanks

<td><p class="dataCell"><input type="text" id="station" name="station" property="station" value="<% form.getStation(); %>" autofocus="true" style="width:100%;border-style:none;"/></p></td>

<td><p class="dataCell"><input type="text" id="station01" name="station01" property="station01" value="<% form.getStation(); %>" autofocus="true" style="width:100%;border-style:none;"/></p></td>

<td><p class="dataCell"><input type="text" id="station02" name="station02" property="station02" value="<% form.getStation(); %>" autofocus="true" style="width:100%;border-style:none;"/></p></td>


	/**
	 * Gets the station value.
	 * @return station, return station
	 */
	public String getStation() {
		return station;
	}

	/**
	 * Sets the station value.
	 */
	public void setStation(String station) {
		this.station = station.trim();
	}

	/**
	 * Gets the station value.
	 * @return station, return station
	 */
	public String getStation01() {
		return station;
	}

	/**
	 * Sets the station value.
	 */
	public void setStation01(String station) {
		this.station = station.trim();
	}
brynFlew 15 Junior Poster in Training

Hey brynFlew,

I'd be glad to help but I'm confused as to what you're trying to do. You say: but then you say

So do you want them merged or split?

must be split, thanks for your help

brynFlew 15 Junior Poster in Training

I have a table and need 2 rows merged horizontally, come somebody help me do this i seem to be having some difficulties. Here is my source and a screen attached. The green line in the image is where i want to split the cell. Thanks

<table id="dataTable" cellspacing="0" cellpadding="0" border="1" width="100%" style="text-align:center;">
<caption><span class="tableTitle"></span></caption>
<thead>
<%-- ~~titles~~ --%>
<tr>
	<th rowspan="3" colspan="1">---</th> 
	<th rowspan="3">Line</th> 
	<th rowspan="3">Work Area</th>  
    <th rowspan="3">Code</th>
    <th colspan="5" style="background-color:#E00000;width:30%;">Production</th>
    <th rowspan="3">Downtime Summary</th>
</tr>
<%-- ~~subtitles~~ --%>
<tr>
    <th colspan="1">PLN</th>
    <th colspan="1">ACT</th>
    <th colspan="1">VAR</th>
    <th colspan="1">D/T Mins</th>
    <th colspan="1">O/T Hrs</th>
</tr>
</thead>
<tbody>
<%-- ~~tableData~~ --%>
<tr>
    <th rowspan="1.5"><p class="sub0" style=""><input type="checkbox" id="line" name="chk" property="line" style="width:100%;border-style:none;"/></p></th>
    <td><p class="dataCell"><input type="text" id="line" name="line" property="line" value="<% form.getLine(); %>" autofocus="true" style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="workArea" name="workArea" property="workArea" value="<% form.getWorkArea(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell" colspan="2" rowspan="1"><input type="text" id="code" name="code" property="code" value="<% form.getCode(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="pln" name="pln" property="pln" value="<% form.getPln(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="act" name="act" property="act" value="<% form.getAct(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="var" name="var" property="var" value="<% form.getVar(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="downtime" name="downtime" property="downtime" value="<% form.getDowntime(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="overtime" name="overtime" property="overtime" value="<% form.getOvertime(); %>"style="width:100%;border-style:none;"/></p></td>
    <td><p class="dataCell"><input type="text" id="summary" name="summary" property="summary" value="<% form.getSummary(); %>"style="width:100%;border-style:none;"/></p></td>
</tr>
</tbody>
</table>
brynFlew 15 Junior Poster in Training

when you want to add a row, you can first save it in database using AJAX, if save is succesfull, then add the row on the html page.

You cannot see in the source, but javascript can see it. Or you should be able to see the added rows when you use inspect element function in browser developer tool such as firebug. I use google chrome develpoer tools, click "elements" and the click magnifier icon which is for inspecting elements and then I can click on the element in page and see its html code. Hard to explain but maybe you will understand.

Thanks for your reply

brynFlew 15 Junior Poster in Training
brynFlew 15 Junior Poster in Training

I have some code that adds and removes rows from html tables, the problem is that it does not save the rows if the page is submitted or refreshed. I also cannot see the added attributes in the source(how can i use them)what their ids and names are, so i can use their values in a java bean and store them in a oracle database. Thanks for your help.

<HTML>
<HEAD>
    <TITLE> Add/Remove dynamic rows in HTML table </TITLE>
    <SCRIPT language="javascript">
        function addRow(tableID) {
 
            var table = document.getElementById(tableID);
 
            var rowCount = table.rows.length;
            var row = table.insertRow(rowCount);
 
            var cell1 = row.insertCell(0);
            var element1 = document.createElement("input");
            element1.type = "checkbox";
            cell1.appendChild(element1);
 
            var cell2 = row.insertCell(1);
            cell2.innerHTML = rowCount + 1;
 
            var cell3 = row.insertCell(2);
            var element2 = document.createElement("input");
            element2.type = "text";
            cell3.appendChild(element2);
 
        }
 
        function deleteRow(tableID) {
            try {
            var table = document.getElementById(tableID);
            var rowCount = table.rows.length;
 
            for(var i=0; i<rowCount; i++) {
                var row = table.rows[i];
                var chkbox = row.cells[0].childNodes[0];
                if(null != chkbox && true == chkbox.checked) {
                    table.deleteRow(i);
                    rowCount--;
                    i--;
                }
 
            }
            }catch(e) {
                alert(e);
            }
        }
 
    </SCRIPT>
</HEAD>
<BODY>
 
    <INPUT type="button" value="Add Row" onclick="addRow('dataTable')" />
 
    <INPUT type="button" value="Delete Row" onclick="deleteRow('dataTable')" />
 
    <TABLE id="dataTable" width="350px" border="1">
        <TR>
            <TD><INPUT type="checkbox" name="chk"/></TD>
            <TD> 1 </TD>
            <TD> <INPUT type="text" /> </TD>
        </TR>
    </TABLE>
 
</BODY>
</HTML>
brynFlew 15 Junior Poster in Training

well i have gone back to vb 2008.....

brynFlew 15 Junior Poster in Training

Hi,

When you first open up a project written in VS 2008 inside VS 2010 it will normaly prompt you to upgrade the project. What this actually does is update the project (.vbproj) and solution .(sln) files to be compatible with VS 2010.

Did you tryed that?

from my first post...

Ive tried using vb 2010's convert wizard aswell as changing the .sln file manually.

the conversion wizard gives me an error saying the project (.vbproj) type is not supported by this installation.

C:\ISDAPPS\vb\Conveyor Program\testpda\Copy of testPDa_12_30_08_Original\testPDa\testPDa.vbproj : error  : The project file 'C:\ISDAPPS\vb\Conveyor Program\testpda\Copy of testPDa_12_30_08_Original\testPDa\testPDa.vbproj' cannot be opened.

The project type is not supported by this installation.

so i cannot convert the project because of this error. i tried manually. anyway to get rid of it?

brynFlew 15 Junior Poster in Training

>Does anybody know a solution to converting my 2008 project to 2010?

Do not change .sln file manually. Open VS2010 and then Select File + Open Project. VS2010 will show you a project convert wizard.

if you read my first post you will see that i did try that, but there are errors saying that the project is unsupported?

brynFlew 15 Junior Poster in Training

Hello, im trying to convert an old vb project from 2008 to 2010. Ive tried using vb 2010's convert wizard aswell as changing the .sln file manually. When i try to convert the project automatically using the wizard it gives me an error saying that the project type is not supported. Does anybody know a solution to converting my 2008 project to 2010?

Thank You.

brynFlew 15 Junior Poster in Training

Well, i figured all i had to do was pass a wildcard or a * into the report and it would select all the records.

peter_budo commented: Thank you for sharing solution +16
brynFlew 15 Junior Poster in Training

I am trying to pass multiple values to a crystal report using java and jsp pages. I can get it working using single values but I need to pass multiple values that are comma delimited or something along that line. I pass a toDate a fromDate and userName. I need multiple userNames to be able to filter though by all the user names(works with jsut one user right now). I guess im not sure how the default crystal reports prompt saves multiple variables because i cannot mimic it.

example: (user1, user2, user3) instead of just (user1).

Thanks for your time.

From the search.jsp page i get values and send them to eReport.jsp to generate the report

String fromDate = request.getParameter( "fromDate" );
session.setAttribute( "fromDate", fromDate );
String toDate = request.getParameter( "toDate" );
session.setAttribute( "toDate", toDate );
String userName = request.getParameter( "user" );

From search.jsp it sends the values to the eReport.rpt
which just prepares the variables for generation.

//gets session variables
String startDate = (String)session.getAttribute("fromDate");										 				
String endDate = (String)session.getAttribute("toDate");
String userName = (String)session.getAttribute("userName");			

missing code....


	// fromDate
	    ParameterField parFromDate = new ParameterField();  
	    parFromDate.setReportName("");
	    parFromDate.setName("fromDate");
		Values valsFromDate = new Values();
		ParameterFieldDiscreteValue valFromDate = new ParameterFieldDiscreteValue();  
		valFromDate.setValue(fromDate);
		//valFromDate.setValue("2011-1-1");
		valsFromDate.add(valFromDate);
		parFromDate.setCurrentValues(valsFromDate);
	    fields.add(parFromDate);
	    //out.println("parFromDate: " + parFromDate.toString()); 


etc for all variables...

Picture to show what i am trying to accomplish

brynFlew 15 Junior Poster in Training

I was able to configure the barcode scanners themselves to do this automatically by doing this. I used an ikon 8738.

Open up the Teklogix Scanners applet
Move to the Translations tabulation
Expand Case 1
Double-click No rule
Select Add barcode prefix/suffix
Click the Suffix edit box
Click [ Insert Key ]
Press the TAB key, then click [ OK ]

Press [ OK ] to save the new settings

Thanks for the help.

brynFlew 15 Junior Poster in Training

i didnt add all the code here just a sample of what im trying, also i edited it to call that so i didnt have to paste all my code so some is prob wrong. i tried this as well but it does the same thing basically and it seems the scanner inputs chars one at a time so when i use this code it puts one char then autotabs to next field and puts one char there and so on.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
  <script type="text/javascript">

    $(function () {

        $('#swipeCard').keyup(function () {

            if ($(this).val().length != "") {

                $('#workArea').focus();
            }

        });

    });
brynFlew 15 Junior Poster in Training

Hello, I have a barcode scanner and when a field is scanned it should autotab to the next field for population. I have tried this before but cannot seem to get it to work the way I would like. It should auto tab if the field in not null, i have tried this code but cannot seem to get it working unless it is using a fixed size. f3 works f2 doesn't Thanks.

function check2()
{
var work = document.getElementById("workArea"); 
var letters2 = document.inputData.workArea.value.length +1;
if ( letters2 == null )&&( letters2 == "")
{document.inputData.partNumber.focus()}
else
{document.inputData.workArea.focus()}
}

function check3()
{
var letters3 = document.inputData.partNumber.value.length +1;
if (letters3  <10)
{document.inputData.partNumber.focus()}
else
{document.inputData.quantity.focus()}
}
<%-- work area --%>
<p style="text-align:left;margin-top:-10px;">Part#:&nbsp;<input type="text" id="partNumber" name="partNumber" property="partNumber" onKeyUp="check2()" value='<%= form.getPartNumber() %>'/></p>