Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: coospaa
  • Content: Threads
  • Order by date
  1. coospaa

    Is there a c# equivalent version of the java applet?

    Hi, I wanted to build a browser add-on (like Java Applet) in a web app that can read data from USB, is there such thing in .NET world where I can use c# as the programming language? Thanks in advance!
  2. coospaa

    create a view with a bit column

    Hi, I have a table A with one decimal-typed column Score. Now I want to create a view with A.Score and an additional bit-type column as follows: 1 - if the score is ranked as top 20% high score; 0 - otherwise. I tried to create a view as: select A.score, IsTop20Perc(A.score) from A; with...
  3. coospaa

    How to auto-expand the content when converting <table> to <div>

    I was trying to convert a <table> to <div> but I met a problem that the 3rd column (<div>) didn't expand to full height. Could you please help? Here's the table: <table cellpadding=0 cellspacing=0 width="800px"> <tr> <td style="background:url(images/mid_left.png)...
  4. coospaa

    IE7.0.5730.13 vs IE7.0.5730.13IC

    These two IE7 versions seem to render button & select tags differently (just like different themes). I get the info from this link (http://support.microsoft.com/kb/969393/) that IC stands for Internet Content Provider. But im confused at what is the possible thing that leads to the IC version to...
  5. coospaa

    IE8 Height issue

    I have a page displaying fine in IE7 but not in IE8. It seems that "height:100%" isn't working. Does anyone know about this? #Content { clear:both; height:100%; background-color:#10509E; margin:0; padding:0; border:0px; } Thanks!!
  6. coospaa

    asp:Wizard hide step

    I have a asp:wizard control (3 steps) which will be used for 2 different web app. In App1, I want to show step 1 and step 3 (hide step 2); In App2, I want to show all the steps. Now I wrote the code in wizard_load event to control the show/hide of steps. But the problem is that when I hide...
  7. coospaa

    Pass in parameter to open a new window

    I'm build a .aspx page which has a textbox and a button on it. When I click the button, I want to open a new window with the text in the textbox as parameter(query string). What I did is RegisterJavaScipt() in the Page_Load, and add a OnTextChanged of the textbox as follows: protected void...
  8. coospaa

    RecordSet(&quot;ColumnName&quot;) is an int?

    Hi, I was reading some VB code in a .asp file. Here's the code" SQL = "SELECT somedata as somedata FROM XTab ORDER BY somedata ASC" set rs = OBJdbConnection.execute(SQL) if rs.eof then ' do something else xxx = rs("somedata") Can anybody tell me what is the xxx value? Is it a int...
  9. coospaa

    How to get a LinkButton inside a nested DataList?

    I have a page with 3-layers of menu: Main, Sub, and SubSub. When a menu is clicked, the page will be redirected to something like ...somepage.aspx?mid=1&sid=2&ssid=3. Now the problem is: when a sub-sub menu is clicked, I need to change the 'CssClass' property of the LinkButton inside.(according...
  10. coospaa

    Buttons in Safari

    I noticed that Safari will render <input type="submit"/> into MAC style, even i put 'class' property inside it. How to aviod this prob? Thanks in advance.
  11. coospaa

    Two right-click menus on one page?

    I was asked to build two right-click menus on one page. That is if the left portion of the page (say width=100) is right-clicked, it shows one menu; and if the rest portion of the page is right-clicked, it shows another menu. How should I do it? The page is full of DIVs so i cannot get any ID...
  12. coospaa

    how to build browser-save site?

    I found Safari browser would turn all my asp:button into its mac style. Can anyone tell me how to fix it so the web interface will look exactly the same in IE and Safari? Does anyone know how to build browser-save website? What kind of controls are save when rended by different browsers? Any...
  13. coospaa

    [Error] Specified cast is not valid.

    I wrote a class representing Product Model <ProductInfo.cs>, in which it contains this line in the constructor: ... this._unitPrice = (values[6]==DBNull.Value)?0:(float)values[6]; // *** ... Then, i wrote this piece of code: Product bll = new Product(); // get the Business Logic Layer...
  14. coospaa

    ExceptionInInitializerError

    Dear all, I'm using Fop-0.20.5 to generate pdf here. Inside Fop, it calls some methods defined in jai_core.jar and jai_codec.jar. At first, the application gave me NOClassDefFoundError. It was located at org.apache.fop.image.JAIImage.loadImage(JAIImage.java:97). So I added jai_core.jar and...
  15. coospaa

    ExceptionInInitializerError

    Hi, I'm using Fop-0.20.5 to generate pdf here. Inside Fop, it calls some methods defined in jai_core.jar and jai_codec.jar. At first, the application gave me NOClassDefFoundError. It was located at org.apache.fop.image.JAIImage.loadImage(JAIImage.java:97). So I added jai_core.jar and...
  16. coospaa

    Error using servlet for external-graphic

    Hi all, I'm trying to use a servlet to generate a dynamic image and am seeing the following error: [ERROR] Error while creating area : No ImageReader for this type of image (http://dappsn01.asianconnect.com/tnltptca/cmm/ImgServlet) The relevant FO source is: <fo:external-graphic...
  17. coospaa

    How do you usually define constants with a package?

    The only solution I can find is to define an &quot;Constants Interface&quot; like this: interface Constants { static final public int SUCCESS=1; static final public int FIAL=0; ... ... } Then, every class in the package using these constants has to implement this interface. An...

Part and Inventory Search

Back
Top