modify

Use class method from another class

Hello there! Iam trying to use a method in class, from another class. namespace Crystal.Utilities { public class Logging { public static void Log() { //dostuff Crystal.MainForm.general_log_add_item("Hello World"); } } } namespace Crystal { public partial class MainForm : Form { ...

SybaseDB , change the default value of an existing column in a table.

I have a table called "downloads" with a few thousand rows. I just added a column called is_completed using the following command: ALTER TABLE downloads ADD is_completed BIT default 1 NOT NULL Now I would like to change the default value for is_completed to 0 - I tried this command to no avail: ALTER TABLE downloads MODIFY is_complet...

Modify controls out of MainThread (Need some theory confirmation from pros)

Hello all! I have a winform with a form called MainForm. I have a static class called ObjMgr. In ObjMg, I have several other static classes, values, but Its not important now. In the ObjMgr class, I also have a static void Pulse() method, that I populate my other static classes in the ObjMgr. This pulse method have to run very often, l...

c++ array to vector issue

Hi, Im trying to copy an array to a vector, however, when the data is copied to the vector its different from that of the original array. int arraySize = 640000; std::vector<unsigned char> vector_buffer; unsigned char buffer[arraySize]; populateArray(&buffer); for(int i = 0; i < arraySize; i++) cout << buffer[i]; // this pri...

Problem with iTunes and change a resource file on an app without compile again with xcode

Hi, I have a scenario to fill for a client: he want to have an ad-hoc app, were he can change a file (in this case an .xml file) when he want, without using xcode (because they dont have any mac). I created this file, but when I change something inside, copy to itunes again and I try to install, it says that the resources has been modifi...

jQuery: Modify the structure of an input.

Hi to all, i have wrote today because i need some help with a simple function in jquery for modify the structure of an input [reCaptcha] and hide the image showed. The code of the page(s) that contains the reCaptcha plugin is: http://pastebin.com/Qahph2ZB Is possible to make this in Jquery? BEFORE -----------------------------------...

CKEditor change names and tags in Formatting drop down

Hello! Where from can I edit the names and tags inserted when selecting an option from the Formatting drop-down in CKEDitor? Thank you. ...

How can we modify data that is in a shelve?

I have opened a shelve using the following code: #!/usr/bin/python import shelve #Module:Shelve is imported to achieve persistence Accounts = 0 Victor = {'Name':'Victor Hughes','Email':'[email protected]','Deposit':65000,'Accno':'SA456178','Acctype':'Savings'} Beverly = {'Name':'Beverly Dsilva','Email':'[email protected]...

modification of xml file in java

I have a dialog box that the user inserts various data through gui controls, and this information is saved as an xml file (implemented in java). The information stored in the xml file is configuration information for the application. I can manually modify the xml configuration file, but I also want to provide this capability through a UI...