Hi,
I am reading the excel sheet as well as exporting the read excel. I want to set the Fill (backg color) color to header row of exported excel sheet.I am using C# +asp.net.
I have an input stream from a binary file. I want to create a bitset for the first 5 bits of the stream. Here is the code I have so far:
ifstream is;
is.open ("bin_file.out", ios::binary );
bitset<5> first_five_bits;
is >> first_five_bits; // always is set to default 00000
I have a table row that has the error message in it.
...
Now if someone forgets to enter text or bad text in a textbox, I want this form field to be set to visible.
Can I use a asp.net validator for this or?
I've putted a Description attribute on my property,but the Description property on the ModelMetada is null anyway.
[Description("sss")]
public int Id { get; set; }
BTW Is I've putted corect?
This is probably really easy for most of you. But I'm in need of a small snippet that looks up the current height of a div (the div has a dynamic height based on the content inside it)
and then set that value in the css class's min-height value.
Basically what this means is that I want this container to have it's min-height to be the exact same value as it's current height. This is probably a quick one :)
I want a TextView to have a rounded border. This can be done by using a drawable, specifying a shape in the drawable, and then using the drawable as the background of the TextView. android:background="@layout/border" Also shown here
However, my TextView already has a background color (which is gray) and thus I'm unable to use the above method to set a rounded border.
Is there any other method to do this which allows the background color of the TextView to remain gray and also surrounds it with a rounded border?
Hi,
In order for the user to control the volume , my android application has a menu consisting of a slider that provides int values from 0 to 10 , when dragged. After I obtain a value , I must set the volume to the corresponding value chosen by the user , and well , this is the part that I don't know to implement and I 'd like to find about it.
I am looking into a way of setting read access on a specific file for a web application (where all files read option is set to be false--unchecked in IIS) deployed with Wix. Is it a possible option at all or I am asking the question in a wrong way?
Thank you.
I have a PHP script that I don't want anyone to be able to run through their browser.
It sends emails and is called via curl by my server's cron, yet needs to be in the public www directory. What permissions or owner do I need to set the file to to allow only my server's curl to execute (or do I mean read) the file?
I'm on centos.
Thanks!
I am trying to assign a cell in excel for the user to type the printer name where they want the print out to go and then use that value in the
Application.ActivePrinter = (use the cell value)
Even though I have done the programming assigning a name to the cell and using it in a variable it is giving me an error.
I have set my variable as string, text, object and variant already and it's not working.
Do you know what code should I use to be able to do this?
How can I know if a datagridview has errorText on any of it's cells. I have a Save button which I want to enable only if all cell values are valid meaning that none of the cells have errorText set
hi friends,
I want to set auto lock my iphone/ipad/ipod screen programaticaly after some time delay. Can any one tell me how to do the same?
if any one is having any suggestion please let me know.
thanks in advance.
I have a domain class that can have a nullable one-to-many field. When using dynamic scaffolding, the view will insert a value from the foreign table (usually the first one in the list) even if i don't want to set this field.
I set the quotas both ways(though lpadmin and by editing printers.conf) and neither seem to work(i did restart the daemon) but print requests are still granted with no error.
What is wrong?(i am running ubuntu linux 9.04)
Hi All,
can anyone guide me how to set ASP.NET version for virtual directory in windows 7.
I am searching in IIS Manager, The UI of IIS Manager in Windows 7 is totally changed and I could not find it at all.
I am trying to set the Text property of a drop down list option like this:
<asp:ListItem Value="AB" Text='<%= Resources.Get("USA") %>'></asp:ListItem>
But it isn't working, instead the Text value is literally <%= Resources.Get("USA") %> and not the string "USA".
i.e. it is not being interpreted as code.
What is the problem?
Is it possible to use a subform's 'current' record set as the domain argument to DAvg() (etc.)?
Basically, I have a subform that displays a subset of records from a query. I would like to run DAvg() over this subset. This is how I've gotten around it:
=DAvg([FieldToAvg], [SubformQuery], "ChildField=Forms.MasterForm.MasterField And FieldToAvg > 0")
but what I actually want is something like:
=DAvg([FieldToAvg], [SubformCurrentlyDisplayedData], "FieldToAvg > 0")
Is this possible in Access 2007?
Hi guys,
I am making a Desktop Application using Netbeans 6.8. What I would like to do is to programmatically set the size of my Application so that it fills the entire screen. I have looked around and it seems to be quite a nasty problem.
I have been trying the code shown here, but it doesn't seem to be working.
Anyone has any idea on how I can solve it?
hi,
i am trying to improve the layout for my game. the problem is that while i can create a
good layout for one android phone, it doesn't work for another, ie the trackball for MyTouch
is on the right side (landscape mode), but for the MyCliq, the DPad is on the left side. is
there a way to programmatically set the layout based on which phone it is? thanks.
Hi..
Can any one tell me how to set the item to be selected forcefully..
I tried this after adding items to list row..
QModelIndex index = mylistview->currentIndex();
mylistview ->setCurrentIndex(index);
its not working.. index I am getting index (-1,-1)..
can any one help me on this
Thanks
How to set <textarea> height auto? <textarea> should take height according to content inside <textarea> on same page I have multiple <textarea> with different amount of content inside.
I'm just using <textarea> to show source code sample.
I have a question about using subqueries in an Update statement. My example:
UPDATE TRIPS
SET locations = city + ', ' FROM (select Distinct city
from poi
where poi.trip_guid = trips.guid)
Is it possible to refer to main table value (trips.guid) in subqueries?
When i try to use trips.guid I get the error:
"The multi-part identifier "trips.guid" could not be bound."
Im wonder how to set the language code inside a view (in django).
Im sending a HttpResponse that contains a python-date.strftime("%A") %A = The day (ex: Monday). But I want to get the day in swedish instead of english.
essentially, we want to keep a set of constants to be used across the rails app and javascript code. For example:
{A:3
B:4
C:5}
We try not to embed rails code in javascript, and we do not want 2 copies of constants.
Thanks!