Hello every one I am trying to add color in c# code with color code
for eg ..
ListTreeView.Background = "#FFE7EFF2";
but this will give me error ;
so what can I do tell me ..
Thanks....
Hello folks,
I have a really short question: Is it possible to communicate/use USB devices on Android OS? I assume it might be tablet device.
Lest say i want to connect some sort of USB card scanner to android tablet. Will it work? Do i need to write drivers by myself?
Thanks.
Hello
I am trying to find out for auto run application's while plug in my USB pen drive .so is there any way that while i plug in the USB Pen drive it automatically open myappilication.exe while already there in USB root file.Instead of showing the option for running i want directly it will run the exe file .
Hello All,
I am new to programming and I just jumped in to Django and I need a bit of help. I downloaded the generic reviews model off of Google code and I have no clue how to implement it. Can anyone pass along some guidance on how to make this work with a 5 star ratings system? I would appreciate it. Thanks.
Hello,
The standard representation of constant e as the sum of the infinite series is very inefficient for computation, because of many division operations. So are there any alternative ways to compute the constant efficiently?
Thanks!
Hello!
I'm trying to modify and set alert templates on a SP (working on a copy of alerttemplates.xml), but I'd like to deploy them just on some specific sites, not the whole farm. Is this possible? I'm using SharePoint 2010 RTM.
Thanks
Hello everyone,
I'm working on "describe table" output to show a list of fields and their types, i want my primary keys to be at top of the list..
I think there's no way to sort describe's results using SQL (something like 'order by') rather than sorting it in PHP.
what do you think guys ?
thanks
Hello every one,i would like to know if we have any class in qt which can zip a folder or file.i used qprocess to compress,it got compressed but i am unable to uncompress it using normal zip tool.can anyone let me know how can we compress a folder/file using qt api classes
Hello,
I am using two xib one without tab bar and another with tab bar controller.
In starting i load the xib without tab bar-navigation bar then flow are working.But if i load a xib with tab bar Controller -navigation bar then our all view slide bellow and half tab bar are not showing. So Please give some code how to use tab bar controller while pushing from another Xib
Thanks
Ritesh Kumar
Hello
I've a text editor in my application. I want to programatically set the input language for the text editor alone without affecting other controls.
Any ideas?
Regards
NLV
Hello everyone
I know there is no public api to read 3g/wifi bandswitch.
But I wonder how this app can do this?
http://itunes.apple.com/ca/app/download-meter-for-wi-fi-gprs/id327227530?mt=8
Thanks
interdev
Hello.
I have a problem validating data on view that is not strongly typed. I'm updating data from 3 different models on that view, and I have validation methods that work on them, but I don't know how to display the validation message.
Where should I put validation messages (on strongly typed views I put them in ModelState, I presume that does not make sense in this case), and how should I display them (I doubt that I will be able to use "validationmessagefor", maybe "validationmessage" somehow)?
Hello! I use the UIImagePickerController class to display the Camera Roll contents. I have a second thread that saves an image to the Camera Roll. When the images has finished saving, it does not appear in the Camera Roll that’s open. Is there a way to force the Camera Roll to refresh? (Other than dismissing and displaying it again.)
Hello everyone!
I have to make an on-screen keyboard using JAVA on linux.
the problem is it has to work on the most languages.
for start, i need to et the current locale, that's clear, but after that, is there any way of getting the keyboard layout and maping of that locale?
i searched for hours, but couldn't find a thing, so i really hope you can help me.
Thanks in advance, Adam!
Hello,
I recently generate two versions of Java classes generated by JAXB. So I get two packages :
V1_0 and V2_0
I notice that I have only one ObjectFactory generated. The problem is that this ObjectFactory is specific to a version (here it's specific to my version v1_0).
So the question is : Could I configure JAXB to allow to make one ObjectFactory for each version ?
Thanks a lot.
In MainWindow the commandbinding works fine.
In UserControl1 it doesnt work. Note the datacontext is set correctly as is evidenced by the content of the button which is the result of a binding.
I am not trying to bind the command in the usercontrol to a command in mainwindow or any other such trickery. I am just trying to replicate what I did in MainWindow in UserControl1.
// MainWindow xaml
<StackPanel>
<Button Content="Click Here" Command="{Binding ClickHereCommand}" Height="25" Width="90"></Button>
<local:UserControl1></local:UserControl1>
</StackPanel>
// MainWindow
public partial class MainWindow : Window
{
public static RoutedCommand ClickHereCommand { get; set; }
public MainWindow()
{
InitializeComponent();
this.DataContext = this;
ClickHereCommand = new RoutedCommand();
CommandBindings.Add(new CommandBinding(ClickHereCommand, ClickHereExecuted));
}
public void ClickHereExecuted(object sender, ExecutedRoutedEventArgs e)
{
System.Windows.MessageBox.Show("hello");
}
}
// UserControl1 xaml
<UserControl x:Class="CommandBindingTest.UserControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300" x:Name="root">
<Grid DataContext="{Binding ElementName=root}" >
<Button Content="{Binding ButtonContent}" Command="{Binding ClickHereCommand}" Height="25" Width="90"></Button>
</Grid>
</UserControl>
// UserControl1
public partial class UserControl1 : UserControl, INotifyPropertyChanged
{
private string _ButtonContent;
public string ButtonContent
{
get { return _ButtonContent; }
set
{
if (_ButtonContent != value)
{
_ButtonContent = value;
OnPropertyChanged("ButtonContent");
}
}
}
public static RoutedCommand ClickHereCommand { get; set; }
public UserControl1()
{
InitializeComponent();
ClickHereCommand = new RoutedCommand();
CommandBindings.Add(new CommandBinding(ClickHereCommand, ClickHereExecuted));
ButtonContent = "Click Here";
}
public void ClickHereExecuted(object sender, ExecutedRoutedEventArgs e)
{
System.Windows.MessageBox.Show("hello from UserControl1");
}
#region INotifyPropertyChanged Members
public event PropertyChangedEventHandler PropertyChanged;
public void OnPropertyChanged(string name)
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(name));
}
}
#endregion
}
Hello all,
I have some records like this:
ID Personel_Code Time
--- ------------- ------
1 0011 05:50
3 0011 20:12
4 0012 00:50
I want to have the sum of times for each person. in this example I want to have the result like this :
Personel_Code Time
------------- -----
0011 26:02
0012 00:50
Thank you.
Hello, I am trying to read a XML document with C#, I am doing it this way:
XmlDocument myData = new XmlDocument();
myData.Load("datafile.xml");
anyway, I sometimes get comments when reading XmlNode.ChildNodes. Is there a way to avoid that? I know that you can avoid reading comments if you use XmlReader, but then, how to get the XmlDocument out of a XmlReader?
Thank you
Tommaso
Hello all ,
URL u=new URL("telnet://route-server.exodus.net");
This line is generating :
java.net.MalformedURLException: unknown protocol: telnet
And i encounter similar problems with other URLs that begin with "news://"
These are URLs extracted from ODP , so i dont understand why such exceptions arise..
Hello,
What is the fastest VC++ compiler possible. I want to compile VC++ version of LZMA. I did compile it using Visual Studio .NET, but it is not fast enough for my job. In addition, I need to change the Compiler settings in order to make it as fast as possible. I would appreciate if you introduce me a fast compiler and/or some information about its settings.
Thanks in advance,
Shadi.
Hello
I just got approved to Wordpress' plugin-repository. Howvere, they gave me access, but I have no idea about how to use it. Could someone explain me patiently, how can I use this repository to post my plugin?
I'm using Windows.
Martti laine
Hello all!
I´m developing a Book Trading System...
The user will input your Book to trading...
I already have a table tblBook with "all" existing books ...
So the user will select one book from that list and fill the book´s CONDITIONS and Edition...
So, what is a good Database design to tha case?
tblBook = All books
tblUserBook = All User Books
And making tblUserBook to inheritance tblBook?
Thanks
Hello All,
Do anyone know how I can draw a transparent circle on a CALayer just like using CGContextClearRect to draw a transparent rectangle? My requirements is that I need to draw a mask on a picture, in some cases, I need to erase it, but CGContextClearRect only allow to draw a rectangle, I wonder if there is another way to do the same thing and draw a tranparent circle.
Regards,
Anto
Are you an iPhone/iPad/Android programmer with a designer soul? If so we would like to hear from you.
Drop us your best work/portfolio and than we talk.
[email protected]
Cheers
T