A TreeNode class has
Text Name Tag
I need to assign more values to a TreeNode class like float1, float2, ... float6.
How can I do this??? pls help.
Thx,
Caslav
pthread_t thread1;
pthread_create(&thread1,NULL,.......,NULL);
// Here I want to attach a thread to a member function of class
How can I pass the member function of a class in the above code.
I am using the Logging Application Block (of Microsoft Enterprise Library 5.0) to log exceptions in the Event Viewer that occur in my WPF XBAP application.
However, exceptions are only being logged if the application is run on my machine (the machine it was built on). Any other machine it doesn't log anything.
I've tried to find a reason why this might be occurring - I've tried setting requirePermission to false - but to no avail.
Anyone any ideas on why this might be happening?
I'm using VisualAssistX for some refactoring tasks in VC++2008.
When I autorename a class, I want the filename to also be updated automatically. Any addon that does that?
(Yes, I do only put one class per cpp/h pair)
there are two classes
public class Account
{
public Acconut()
{
//constructor
}
}
public class SavingsAccount extends Account
{
}
while doing the inheritance i have got an error message "cannont find symbol Symbol: constructor Account()" what might be the error in my code...??
Wav files support different encodings, including mp3. Is there a C/C++ library that would produce mp3-encoded wav files from uncompressed wav? If not, what would be the best place to start to implement one?
I'd like to communicate with a USB device under Windows and Java but I can't find a good library to do so. I don't want the user to have to install any extra hardware or device drivers to make this work. That is, I want to be able to interact with USB just like other Windows applications do.
I am familiar with jUSB and JSR 80 but both seem to be dead projects (at least for Windows).
Hi,
I want to exclude a particular method of a class from java compilation.
For eg:
class Test {
public void printdouble(){}
public void printint(){}
}
Depending upon some properties, I want to exclude printdouble method during compilation.
NOTE: I'm using ant script for java compilation
Thanks in Advance
Soman
Hello Frierndz u r very helping.............
plz help me as i am doing my project
where i have to search the user input from all the text files of hard disk in c++
i am not able to do so....
plz help what i have to do.
which library will be helpful for me to pick text files directory from hard drive
i m using visual studio C++
Hi ,
Am not worked on extream level of oops in my projects ,
So i have little doubts ,
In which situation should i use abstract method or classes ,
Basically i know about abstract class definition and flow,
I got details from this URL
Doubt is which situation should i use abstract class and methods ,
Welcome,
It it possible to select all checkboxes / uncheck all checkboxes what have class "xxx" ?
I can't use "name" and "ID" because there are generated dynamical via PHP and i don't know their name.
So maybye i can add class "xxx" for these what i wan't control ?
Is is possible ?
Or, if not possible.
Maybye i can select all / unselect what are inside table with id "selectall" ?
Regards
Hello, I have task to get static method using reflection like this :
myType.GetMethod("MyMethod",BindingFlags.Static | BindingFlags.Public | BindingFlags.InvokeMethod);
In case if class contains MyMethod all works correctly, but in case if parent class contains MyMethod I receive null :(. How can I call static method from the parent using reflection like code that I describe above?
Thanks.
Rails: url_for to be available in a isolated class that must be instanced:
class ProfilePresenter < ActionController::Base
attr_reader :profile
def initialize(profile)
super
@a = url_for(:controller => 'profiles', :action => 'view', :profile_url => 'dd')
@a
@profile = profile
end
end
How to make the url_for work?
i tried to extend the ActionController::Base and the ActionView::Base and i cant :s
I want to have each instance of some class have a unique integer identifier based on the order that I create them, starting with (say) 0. In Java, I could do this with a static class variable. I know I can emulate the same sort of behavior with Python, but what would be the most 'Pythonic' way to do this?
Thanks
I follow this rule but some of my colleagues disagree with it and argue that if a class is smaller it can be left in the same file with other class(es).
Another argument I hear all the time is "Even Microsoft don't do this, so why should we?"
What's the general consensus on this? Are there cases where this should be avoided?
When i export WebProject (Struts Portlet) as war from RAD 7.5 it creates war, but that war file does not have my Class files. ie. Action Classes, Actionforms, validations, etc. none of the .java files class added in war. what is the issue. urgent
<area shape="poly" coords="63,10,64,38,89,37,91,10" class={"strokeColor:'0000ff',strokeWidth:5, fillColor:'ff0000',fillOpacity:0.6}" href="#" id="x1">
There is a imagemap in my html and I want to dynamicly add a new configuration "alwaysOn:true" to the class attribute.
$("#x1").click(function(){alert(8);})
I am newbea I can add click listener to it but cannot figure out how to add config option
How can I do that with jquery?
I am going to have different classes for a character that a user play. Like "Mage, Warrior" etc.
I am thinking of a method like have some CharacterBase class (abstract?) and then I have a child class which is like WarriorClass or something like that.
I think the approach is called Factory pattern or something like that. Anyone got a clue of what I'm trying to achieve here, and are there perhaps any better way to do this?
I am storing an object in session state (using local session state server), class def is:
[Serializable]
public class ExtendedOAuth2Parameters : OAuth2Parameters
but the service is still reporting:
Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted.
[SerializationException: Type 'Google.GData.Client.OAuth2Parameters' in Assembly 'Google.GData.Client, Version=2.1.0.0, Culture=neutral, PublicKeyToken=04a59ca9b0273830' is not marked as serializable.]
How to get around it?
After I clean a project in eclipse I don't see the class files generated in the output folder "bin" although there's no build error, what can I do to make it regenerate the class files?
thanks
Hey all,
I currently use iLog Elixir calendar component, and I am not entirely happy. It is buggy, support sucks and I can't play around with the source.
Does anybody know of a good, well maintain flex library project which has a decent calendar / date chooser component?
Thanks,
Sri
Here's what I' trying to do:
Currently I am using this to create an array of all elements matching the class name of '.cookie'. Right now I am getting the text value of that element, which is not what I need:
var getAllCookies = $('.cookie').text();
var cookiesArray = jQuery.makeArray(getAllCookies);
alert(cookiesArray[0]);
What I need is to find all elements of a certain class (.cookie), get that elements ID value and store that ID value inside of array.
I feel like I must just be unable to find it. Is there any reason that the c++ pow function does not implement the "power" function for anything except floats and doubles?
I know the implementation is trivial, I just feel like I'm doing work that should be in a standard library. A robust power function (ie handles overflow in some consistent, explicit way) is not fun to write.
Hi All
Just wondering if there are any POP3 libraries for C# that can be used for free in commercial applications (I will give full credit to the POP Library makers, ofcourse)?
Thank you
Is it possible in Visual Studio 2008, either with or without Resharper, to re-order methods in a class file to match the order of methods in an associated interface file? What about the opposite (re-ordering the interface to match the implementing class)?