I filled the SCWCD form , so I just want to know what are the content of this exam and which books should i refer for good study and is this exam is valuable for future purpose?
How can I define a function - say, def polyToString(poly) - to return a string containing the polynomial poly in standard form?
For example: the polynomial represented by [-1, 2, -3, 4, -5] would be returned as:
"-5x**4 + 4x**3 -3x**2 + 2x**1 - 1x**0"
def polyToString(poly):
standard_form=''
n=len(poly) - 1
while n >=0:
if poly[n]>=0:
if n==len(poly)-1:
standard_form= standard_form + ' '+ str(poly[n]) + 'x**%d'%n
else:
standard_form= standard_form + ' + '+str(poly[n]) + 'x**%d'%n
else:
standard_form= standard_form + ' - ' + str(abs(poly[n])) + 'x**' + str(n)
n=n-1
return standard_form
Hi All,
Does everyone know how to create custom button in the excel that display simple window form in csharp language?
For example:
A button called "Show" in the excel toolbar that show messagebox pop up.
Hi everbody,
I need to make a web system using asp.net mvc, jquery and web standards
for a customer with a style like Windows Vista/Seven.
Can anybody indicate me a link to do this with CSS ? I search on the web but i didn't find it =/
I'd like to have interface elements like "window", "menu", "buttons", "form controls", etc...
If anyone could help me, I appreciate.
thanks!
[]'s
I'm using Tomcat 6.0, and I want to know how can I configure Tomcat's server.xml file to connect to mysql database, and enable form based authentication in java.
I'm currently using mysql 5.1, and I've already downloaded mysql connector jar file, and put in lib directory of Tomcat.
I have both a text_field and a text_area in Rails, and I want to disable the browser's auto-complete. Setting the attribute in either the text_field, text_area, or in the form itself, doesn't seem to make the browser stop trying to auto-complete. This is for Firefox 3.6.3 on OS X. Maybe it's more a browser issue than a RoR issue.
Thanks!
hi everybody,
I've a form with some radio button like this:
<input type="radio" name="leva" value="a"><input type="radio" name="leva" value="b">
with ajax post method I receive value of the radio.
The question is how can I set correct radio value to checked?
thanks in advance
ciao
h.
I have ListBox in my application with Ten items, user can see five items at time.
Sometimes I'm selecting items from code and setting focus.
Selecting an item and focusing work perfectly when items are visible on Form, but for other non-visible items, I'm unable to set the focus (NOTE: after selecting it is visible to user).
Can anyone help me please?
hi,
I have some C# form application.I'm using some central data base which is developed on SQLServer2005.According to my application there are several user levels such as admin,reception,...
problem
There is a requirement that if someone has changed the database(eg: add new record/delete record) that will be noticed admin and higher level of user.
What will be the way that should I follow to achieve this task!
Thank in advance!
I'm planning on using Apache torque as my object-relational mapper (ORM), and I was wondering if anybody has any suggestions around what framework to use for presentation layer with torque. maybe Spring?
I don't know if this helps, but my application is basically going to be bunch of forms to input data and based on that data, I'll generate reports in form of a graph or chart.
my developer is saying that it is not possible to rewrite url form
example.com/name/name/?lang=english to
example.com/en/name/name/
is it possible to do or not?
if yes, how should it be done?
if not, what could be the reasons?
we have windows based hosting from maddogdomains (godaddy)
When adding WHERE-clause parameters in a DataSource, you can specify an existing form control (textbox, dropdown, etc) by selecting "Source: Control" and then picking the "ControlID" from the next dropdown.
Can a user-control be configured to appear in the Controls list?
I have a cck field that needs to allow a different number of values depending on the role of the currently logged in user.
I'd like to find where the "number of values" data is stored for a cck field so that it can be dynamically changed when the node edit form is displayed.
If I have a UIScrollView set up in the view via the Interface Builder, how do I get a reference to it in the ViewController implementation? I want to programmatically add labels to the scroll view.
For example, in C# if you have a textbox declared in the UI/form, you can access it by simply using the ID declared for that textbox. It doesn't seem this simple in objective c.
Thanks
Kevin
While looking at the syntax-case section in R6RS, I saw the keyword make-variable-transformer, described as an identifier macro. The example given is very minimal, and I am not groking why it is necessary, or what use-cases require it. Finding additional examples of its use is also proving difficult. Presumably it makes some form of syntax transformation possible, or more elegant?
I have a windows form application that when it starts needs to see if the user has Excel installed on the computer and if not display a message informing user that part of functionality will be disabled.
Is their an easy way to perform this check?
Working in Visual Studio 2008 with VB.Net
Hi, I have a PHP form (mortgage app) that is about 400 fields, traffic on the site will be low.
What is the ideal Session size for 400 fields going into a MySQL db?
In PHP.ini what do I set?
Anything I should set that I am missing?
-Jason
If you go to "Control Panel\Hardware and Sound\Devices and Printers" in Windows 7 (and i assume vista) you will see some nice pretty pictures of printers.
See image below
Is it possible to get access to these images through .net?
For example to display them on a windows form?
Is there a way to do reasonable test on InfoPath (web) applications with a SharePoint workflow behind? (There seems to be not much sence in testing, whether the rules in the form are performed correctly by the FormService.)
Hello,
I need a form width a checkbox "Don't show this again" for my winform,
but how can i make this so when my Form1 loads it checks the state of the checkbox using the getsettings option?
How can is save the checkbox state to the registery? and how do i get the state?
If Form2.Checkbox.checked = Getsettings() Then
Form2.showdialog
Else
Goto Skip
End IF
Skip:
I have a Browser and I want to display history & favorites of user on webbrowser on button_Click event. Can I accomplish this by using treeview in my form? if not what other way i can use. Data about History and Favorites is stored in SQL server database.
Thanks,
Ani
I'm loading custom user controls into my form using reflection.
I would like all my user controls to have a "Start" and "End" method so they should all be like:
public interface IStartEnd
{
void Start();
void End();
}
public class AnotherControl : UserControl, IStartEnd
{
public void Start()
{ }
public void End()
{ }
}
I would like an interface to load through reflection, but the following obviously wont work as an interface cannot inherit a class:
public interface IMyUserControls : UserControl, IInit, IDispose
{
}
I'm using VS 2008, I have a very simple page that has a bunch of uniquely named controls. When I try to view it in design mode I get the following error:
Error Rendering Control - Label12
An unhanded exception has occurred.
Multiple controls with the same ID 'Label1' were found. FindControl requires that controls have unique IDs
I've checked the HTML and the designer file and I can only see one control called Label1. What might be causing this?
Also, here is the aspx markup I'm having trouble with?
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CoachingAppearanceReport.aspx.vb"
Inherits="AcademyPro.CoachingAppearanceReport" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div id="appearanceDetail" class="Left CriteriaContainer">
<asp:Label ID="Label1" runat="server" Text="Appearance Type" AssociatedControlID="ddlAppearanceType" />
<asp:DropDownList ID="ddlAppearanceType" runat="server" CssClass="AppType" OnDataBound="ddlAppearanceType_DataBound"
DataSourceID="odsAppearanceType" DataTextField="AppearanceType" DataValueField="AppearanceTypeCode">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="rfvAppearanceType" runat="server"
ControlToValidate="ddlAppearanceType" InitialValue="" Text="*"
ErrorMessage="The appearance type must be selected" />
<asp:Label ID="lblAppearanceType" runat="server" />
<br />
<div class="SubSettings">
<asp:Label ID="Label12" runat="server" Text="Subbed for" AssociatedControlID="ddlSubbedFor" />
<asp:DropDownList ID="ddlSubbedFor" runat="server" OnDataBound="ddlSubbedFor_DataBound"
DataSourceID="odsPlayersInAgeGroup" DataTextField="PlayerName" DataValueField="PlayerID">
</asp:DropDownList>
<asp:Label ID="lblSubbedFor" runat="server" />
<br />
<asp:Label ID="Label13" runat="server" Text="Mins" AssociatedControlID="txtSubMins" />
<asp:TextBox ID="txtSubMins" runat="server" MaxLength="3" CssClass="TinyWidth" />
<asp:Label ID="lblSubMins" runat="server" />
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>
Hi I have an web application where in I have 4 fields in the form, like streetname,nearest street,zip,state and country.Based on this I need to show the location of this address in the google maps.I have to implement this functionality for GoogleMaps/Bing/ and Yahoo maps.
Can someone point to correct api's for these.This is my first implementation of maps,so need some inputs.Appreciate if someone can point me to right direction.