how can we extract system time in vb and do calculation ie. adding or subtracing time then store change time in oracle database table in earlier format .
Is it possible to change the unit for Paint.setTextSize()? As far as I know, it's pixel but I like to set the text size in DIP for multiple screen support.
Thanks
I use Microsoft Visual SourceSafe for version control. I like that change this approach and use a newer software for this work, now I want to know that what are the differences between these three application? Which one is better?
Are these solutions integrated with visual studio?
I'm interested in improving security of my TurboGears 2.2 application so that when user changes his password, it logs him out from all sessions and he must login again. When user changes password on browser 1, he must relogin on browser 2, too. Experiments show that this is not the case, especially if browser 2 had "remember me" enabled.
It's standard quickstarted app using repoze.who. It seems maybe I need to change AuthTktCookiePlugin, but don't see a way to do it without much rewiring.
Consider the following code:
class Base
{
void f() { }
};
class Derived: public Base
{
public:
};
What can you change in the derived class, such that you can perform the following:
Derived d;
d.f();
If the member is declared as public in the base class, adding a using declaration for Base::f in the derived class public section would've fix the problem. But if it is declared as private in the base class, this doesn't seem to work.
I want to change the page, I'm not sure if it is possible with JavaScript, so I tried with HTML, and it failed.
if (text=="home") {'<meta http-equiv="REFRESH" content="1;url=index.php">'; return;}
Any ideas on how to do this?
I tried PropertyChangeListener with property set to "width", "Width", "size" and "Size".
PropertyChangeListener widthChangeListener = new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
//code
}
};
streamsComboBox.addPropertyChangeListener("width", widthChangeListener);
projectsComboBox.addPropertyChangeListener("width", widthChangeListener);
vobsComboBox.addPropertyChangeListener("width", widthChangeListener);
Nothing works - the handler method is never fired.
What should I do to handle JComboBox's size change? Where does the property name come from anyway?
We're using Hudson on an SVN repository that hosts a number of projects. One of these projects takes a long time to build, even if no files were changed. Right now Hudson's "Poll SVN" detects that the subversion repository has changed and will try to build the project, even if that change was in a different project.
Is there a way to set up "Poll SCM" to only respond to changes in a certain branch?
Hi all, please help me close Blackberry map programmatically from my application.
I first call BB map and pass a map argument and it display seem smoothly, but in the second, when I change my map argument, BB map doesn't respond with the new argument, it keeps the old. I think I must close it before pass the new argument but don't know how to do that.
Thank you.
There's a field with type of varchar. It actually stores a float point string.
Like 2.0 , 12.0 , 34.5 , 67.50 ...
What I need is a update statement that remove the ending zeros of fields like 2.0 , 12.0 , change them to their integer representation , that is 2 , 12 ...,and leave 3.45 , 67.50 unchanged . How should I do this ? I am using oracle 10.
hi,
I've added some php flags in my htaccess in order to change some php
config settings
as I dont have access to the .ini file
I'm wondering what effect that has on my website load speed,
is it slower?
thanks
Basically I have some class objects, each with three properties. Once one class object is selected in the ComboBox, the corresponding properties shows on three textboxs. I am trying to add one save button. I can change the value of the properties. Once the save button is clicked, all the class ojects with three corresponding properties are saved in the registry. Save setting for later use
It seems Registing tryKey.SetValue Method can not save an object directly?
Hi!
Is it possible to require user name and password for a web service without changing the code for existing web service?
Adding a DLL and configuration would be OK, but I rather not change the web service.
I am looking for some algorithm/library to get functionality like microsoft project caters for scheduling tasks dates as if we change any task date then its parent, predecessors and successors dates get effected.
is there any help i can get... in any way..
Thanks,
We have been using Google collections in the production for several months. We would like to start using guava for additional functions. However, I'm afraid to bring guava into our product stack b/c some developers may start to use 'beta' classes.
We have various unit-tests in our code but at this point, I prefer not to include 'beta' class b/c it is subject to change in the future.
Is there any easy way to do detect if the project includes any 'beta' guava classes?
I am playing with matplotlib - I have a bar chart, and I want to highlight the bar which user clicks. I have a callback that goes through a rect collection (the one I got from self.axis.bar(...)) and finds out which one was clicked (looking at the coordinates). At this point I want to call something to change the colour of the current bar. Is it possible? How do I do that?
I have a navigationController-based app. I want to change the title of the back button for the root view controller. I have tried the following code in the rootViewController's viewDidLoad method, but no success:
self.navigationItem.backBarButtonItem.title = @"Back";
Any ideas?
Hi,
I have noticed that autocomplete is not working in some of java files in Eclipse.
Also, the files where autocomplete is not working, display a hollow "J" as the icon for the Java file. The files where autocomplete is working, icon for java file is a filled "J"
I am wondering if someone can point out what went wrong all of suddent, why the change in icons and why autocomplete and syntax highlighting is turned-off in the files with a hollow "J" icon?
Thanks.
I need to Alter the CODE section of an iphone app from a CODE CAVE at runtime.. but the section is protected and i get a kernel exception, can i change the protection flags somehow?
Getting the following error when trying to open a word document with macros to fill in the form fields:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\11.0\Word\Security\AccessVBOM.
The user opening the word document does not have admin rights and the AccessVBOM flag is either not available or set to zero.
I can set the flag for the HKCU (Current user) programmaticallybut cannot change setting for inunder HKLM .
Please advise how can we enable the trust for the VBA project programmatically.
Thx
Kumar
Hi,
I create a combo box using PyGTK:
fileAttrCombo = gtk.ComboBox();
I want to attach a signal handler for this combo box. This signal handler handles when user change selection in the combo box.
What is be the best approach to do this ?
Hi,
I wonder about dynamically changing of class name in .NET application. For example WindowsForms10.SysTreeView32.app.0.19fd5c7. The last string "19fd5c7" would change, but I don't know what makes it changing. Is it the version, the GUI modification, environment, OS or what?
Thanks.
hi i have property named.
public bool ShowLabels{get; set;}
and one toolbar menu button to set/unset ShowLabels value
i wants that when value of ShowLabels property changed it also change the check state of menu item button. how i can do this
Hi is it possible to change the direction of column header values ?
By default header valules displayed in horizontal direction only. But I want to show the values in vertical direction. Is it possible?
I tried from the last 3 days. But no where I got any good results.
Thanks in advance
When I use the default java locale on my linux machine it comes out with the US locale settings, where do I change this so that it comes out with the correct locale?