Hi Everyone, I need excel automation expert here.
I have chart with x-axis contains label: Jan,Feb,Mar,Apr
and y-axis contains label: 10,20,30,40.
Chart type is Bar.
Can anyone show me a csharp code how to change to Bar color to different color if the month is Mar?
I hope you guy understand my question since I can't put the image on stackoverflow.
thank you
Hi,
I have certain sound files and will like to develop an app which allows to set those sound files as ringtones.
Can someone let me know the way of implementing it? What are the API's that I need to use for this purpose?
Hope to get the reply soon.
Regards
Sunil
Is there nice tutorial of -how to create iphone 4.0 that support multitasking ?
meaning, create simple app in iphone 4.0 o.s that will continue working while in background and when return to forground i will see the right progress status.
hope im clear.
thanking in advance.
I don't have multiple threads or anything like that, and I thought select() was non-blocking, however, as I add more items to an array used as the IO object, and using select(), after about 1000~ items in the array (with some interaction on them).. the whole script exits with a deadlock / fatal error...
Hope any1 could help
Thank you so much!
I would like to know if something like below is possible ,
list<**MyObject**>.**removeAll**(list<**String**>)
I hope the context is understandable.
The list<MyObject : is a ArrayList<MyObject
The list<String : is a ArrayList<String
I know this can be achieved by overriding equals method in MyObject class. I would like to know if any other choice is prsent.
Thanks,Srinivas N
Hi,
Could someone provide an example of drawing graphics without a windows form? I have an app that doesn't have a console window or windows form, but i need to draw some basic graphics (lines and rectangles etc.)
Hope that makes sense.
Thanks in advance.. J
Hope I can explain this correctly.
I have a process, that outputs step by step messages (i.e., Processing item 1... Error in item 2 etc etc).
I want this to be outputted to the user during the process, and not at the end.
I pretty sure i need to do this with threading, but can't find a decent example.
Thanks in advanced.
I have the need to integrate some blob storage into an existing ASP.NET Mvc site
my hope is to be able to just add some references and then just do puts and gets
but I cannot find any simple example for how to do this (that hasn't been depricated to the point it no longer works)
I have tried using StorageClient but CreateCloudBlobClient() doesn't seem to work.
I'm about to develop my own browser inconsistency/bug compendium site but I'm wondering if I really need to - can we get a wiki of sites that do this already? I'm aware of a lot of them but I hope I'm not missing out on some major ones.
I wanted mine to be more intuitive and social-like for most people, powered by tags and screenshots and test-case pages.
Hello everyone
I notice that there some apps make iPhone become a remote mouse or udisk.
I guess it change iPhone into a usb device.
but I really hope to know the mechanism of these app.
Is there any sample code to help me to understand?
Thanks
interdev
Hi,
I have an SQL database table, I want to find everything in a table where the 'Room' says 'DISPOSED', Insert 'DISPOSED' into the 'Status' field and then delete the entry in 'Room'.
Basically moving the entry from one field to another (if the 'Room' field has 'DISPOSED' in it)
Hope this makes sense.
Thanks for any help.
Hello!
I have a PHP-variable called $go_Adress which contains the adress I need to get a map and a street view from. How do I do that? I have created an api-key but else I don't know how to do it!
Hope you can help.
I've seen quite a few examples of MVVM. I can see that the View should reference the ViewModel. I've seen recently an example of a ViewModel referencing a View, which seems wrong to me, as it would result in tighter coupling. Given that ViewModel is often described as an intermediary between the View and the Model, is there more to the ViewModel than a facade to domain objects? I hope I used the term "facade" correctly here.
I am using MPXJ library to access Microsoft Project file in .net. before proceeding with it i wanted to make sure either it is based on Microsoft Interop services or not.
i hope not :)
Hi everyone,
I wanted to know if anyone here knows how to import a 3D Object (i.e. Maya 3D Model) into Adobe Flex Application? I needed to create a simple Flex application which will allow me to rotate the 3D Object by dragging but I cannot seem to start doing it because I'm having a hard time trying to figure out how I can import my 3D model into Flex.
This is exactly what I wanted to do: 3D Object in Flex
I hope someone can help me. Thanks a lot :)
I am getting started with Postgresql, I converted a MS SQL DB but I cannot understand why
SELECT * FROM TABLE doens't work
while
SELECT * FROM "TABLE" does
Moreover from another machine, connecting to the same DB I can run
SELECT * FROM TABLE (without ")
It's a PG-newbie question, I hope you can help.
Is there a third party library to detect the use of a Java 1.5 library when compiling with a 1.5 compiler with -source 1.4 and -target 1.4? I could use a 1.4 rt.jar in the bootclasspath however I hope there is a better way. To be used, for example, to fail the compile/build if a newer library is used.
Here' my piece of code:
#include <stdio.h>
#include<stdlib.h>
struct student{
char *name;
};
int main()
{
struct student s;
s.name = malloc(sizeof(char *)); // I hope this is the right way...
printf("Name: ");
scanf("%[^\n]", s.name);
printf("You Entered: \n\n");
printf("%s\n", s.name);
free(s.name); // This will cause my code to break
}
All I know is that dynamic allocation on the 'heap' needs to be freed.
My question is, when I run the program, sometimes the code runs successfully. i.e.
./struct
Name: Thisis Myname
You Entered:
Thisis Myname
I tried reading this
I've concluded that I'm trying to double-free a piece of memory i.e. I'm trying to free a piece of memory that is already free? (hope I'm correct here. If Yes, what could be the Security Implications of a double-free?)
While it fails sometimes as its supposed to:
./struct
Name: CrazyFishMotorhead Rider
You Entered:
CrazyFishMotorhead Rider
*** glibc detected *** ./struct: free(): invalid next size (fast): 0x08adb008 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b161)[0xb7612161]
/lib/tls/i686/cmov/libc.so.6(+0x6c9b8)[0xb76139b8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb7616a9d]
./struct[0x8048533]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb75bdbd6]
./struct[0x8048441]
======= Memory map: ========
08048000-08049000 r-xp 00000000 08:01 288098 /root/struct
08049000-0804a000 r--p 00000000 08:01 288098 /root/struct
0804a000-0804b000 rw-p 00001000 08:01 288098 /root/struct
08adb000-08afc000 rw-p 00000000 00:00 0 [heap]
b7400000-b7421000 rw-p 00000000 00:00 0
b7421000-b7500000 ---p 00000000 00:00 0
b7575000-b7592000 r-xp 00000000 08:01 788956 /lib/libgcc_s.so.1
b7592000-b7593000 r--p 0001c000 08:01 788956 /lib/libgcc_s.so.1
b7593000-b7594000 rw-p 0001d000 08:01 788956 /lib/libgcc_s.so.1
b75a6000-b75a7000 rw-p 00000000 00:00 0
b75a7000-b76fa000 r-xp 00000000 08:01 920678 /lib/tls/i686/cmov/libc-2.11.1.so
b76fa000-b76fc000 r--p 00153000 08:01 920678 /lib/tls/i686/cmov/libc-2.11.1.so
b76fc000-b76fd000 rw-p 00155000 08:01 920678 /lib/tls/i686/cmov/libc-2.11.1.so
b76fd000-b7700000 rw-p 00000000 00:00 0
b7710000-b7714000 rw-p 00000000 00:00 0
b7714000-b7715000 r-xp 00000000 00:00 0 [vdso]
b7715000-b7730000 r-xp 00000000 08:01 788898 /lib/ld-2.11.1.so
b7730000-b7731000 r--p 0001a000 08:01 788898 /lib/ld-2.11.1.so
b7731000-b7732000 rw-p 0001b000 08:01 788898 /lib/ld-2.11.1.so
bffd5000-bfff6000 rw-p 00000000 00:00 0 [stack]
Aborted
So why is it that my code does work sometimes? i.e. the compiler is not able to detect at times that I'm trying to free an already freed memory.
Has it got to do something with my stack/heap size?
I am a student at University so my experience is limited, hence the question.
If someone says to you, here is a task to code, what are you looking at in order to choose the language or paradigm in which you will do it in?
Hope the question makes sense?
In the hope of fixing a bug of mine from another post i would like to know why apple writes this (for it's Elements example)
UIView *localContainerView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
self.containerView = localContainerView;
[localContainerView release];
instead of the simpler method:
containerView = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
?
As a side-project I'm trying to create an app that scans license plates from passing cars from my living-room window.
I have hooked up a high resolution camera to my system to capture (moving) images into my c# app. Now all I need is a way to interpret these images into something readable.
I´m thinking about some sort of OCR-solution that is fast/accurate enough for moving images.
Hope you can give me some direction!
I'm trying extract the nth + 1 and nth + 3 columns from a file.
This is what tried, which is a useful pseudo code:
for i in {1..100} ; do awk -F "," " { printf \"%3d, %12.3f, %12.3f\\n\", \$1, \$($i+1), \$($i+3) } " All_Runs.csv > Run-$i.csv
which, obviously doesn't work (but it seemed reasonable to hope).
How can I do this?
My question is based on another question. Instead of repeating a bunch of stuff, I hope it's okay that I refer you to that other question instead:
http://stackoverflow.com/questions/1203698/show-nssegmentedcontrol-menu-when-segment-clicked-despite-having-set-action/
My question is: How would the code within [self showGearMenu] look like, i.e. how would one actually use the popUpContextMenu:withEvent:forView method to accomplish what the poster of the other question wants?
I ask because it seems that the question was resolved for the poster, but he never shared with us how he actually popped up the menu :)
Hello i'm consfused using the Messenger class of MVVM Light.
I have a ProductsViewModel that can get initialized a number of times.
In the constructor of ProductsViewModel I have this code:
Messenger.Default.Register(this, n = MessageBox.Show(n.Test));
The problem is, if I have 2 instances of ProductsViewModel, then Messenger gets registered twice.
Is is bad to Register the Messenger in a constructor?
Hope this makes sense!