i have sqlCE DataBase, i have Tdate field (datetime)
i notice that his format is: MM/DD/YYYY
in my C# program i work with date in: DD/MM/YYYY format.
how i can insert to my sqlCE data base my C# format ?
Can't find a generic topic about this but what do you guys recommend for an application that creates a simple installer? Just need something that places it into an appropriate folder in Program Files, adds shortcuts to the StartMenu.
My professor recommend Superpimp but that seems like overkill. :P
Thanks SO!
I am familiar with the Netbeans IDE, but I want to know about people's experience with using Netbeans as a development platform (i.e. using its prebuilt modules for fast gui development). I have a program that I want to write, and I am thinking about using this platform.
Is there a way to allow an HTML file to open an application on the local computer and send that application arguments?
We have an application that allows a user to set a link to an external application. We also provide a summary page in HTML (they usually interact with the application from outside the browser) with the link in HTML as well. We can get applications to launch if the program exists, but cant seem to send arguments through the HTML link.
Is this even possible?
When hovering over a data point in Chaco, I would like a small text box to appear, with the text I desire. Also, when I click on a data point (or close enough), I would like my program to take a certain action. I have seen relevant parts of the Chaco documentation, but implementing them has proved difficult. Any help would be appreciated.
Thanks.
Hello All,
I am trying to parse formula in C# language like
"5*3 + 2"
"(3*4 - 2)/5"
Is it possible to do in C# or scripts like VBScript, JavaScript (which will be called in c# program).
Thanks a lot!.
I have this program that should execute a piece of code base on the tab that is selected. How do I do it?
I've tried:
if tabcontrol1.tabcount=1 then
'Execute this code'
else if tabcontrol1.tabcount=2 then
'execute this code
end if
-But doesn't work, what's the proper way of doing it?
void display(int a)
{
printf("\n%d",a);
if(--a)
display(a);
printf("\n%d",a);
}
main()
{
display(4);
}
Please explain the above program. i can't understand.what is the output.ya sir i got oupt like this 4 3 2 1 0 1 2 3 how is it sir
Lots of developers I know were self taught programmers including me.
I was wondering how much of the developer community learned programming by taking a course in school or by experimenting, asking questions on forums, reading online articles, and just making it up as you go along? Post whether you were self taught or took classes, what language you program in, and anything else that may be interesting.
P.S. Books count as self taught.
I'm looking for a virtual webcam driver to use in a .NET project, this project will be GPL, and have no idea how many installations there will be
The idea is that the application is using the webcam without locking the device.
Found a couple of programs that do the job, but either in application and/or too expensive:
* http://www.softservice.org/products_camsplitter.html (9.99$/installation)
* splitcamera.com (program, no SDK available)
All idea's are welcome
My program crashed when I added the option -fstack-check and -fstack-protector. __stack_chk_fail is called in the back trace.
So how could I know where the problem is ? What does -fstack-check really check ?
The information about gcc seems too huge to find out the answer.
The topic of algorithms class today was reimplementing data structures, specifically ArrayList in Java. The fact that you can customize a structure for in various ways definitely got me interested, particularly with variations of add() & iterator.remove() methods.
But is reimplementing and customizing a data structure something that is of more interest to the academics vs the real-world programmers? Has anyone reimplemented their own version of a data structure in a commercial application/program, and why did you pick that route over your particular language's implementation?
Hi i have watched this tutorial from Roman Dedenis
Alternativa 3D: Import and object animation DAE (Collada 3D Object)
From:
http://romaindedenis.over-blog.com/article-alternativa-3d-importer-objet-et-animation-dae-objet-3d-collada-66067921.html
Im have implemented the program on flash and it's working fine on my computer. Then i exported it on my Android mobile device (Nexus One) using adobe AIR for Android but the animation doesn't appear on my mobile:
Below i show screenshots of how it looks like on my pc and on my mobile.
Printscreen from PC
Printscreen from Android Phone device
Hello
We have 2 languages which are (informally) semantically equivalent but syntactically different. One is xml and another is script based. How can I go about formally proving that both languages are in fact equivalent. Script approach is just a convenient way to write a same program that would be tedious to write in xml.
Thanks
Ketan
The challenge
The shortest code by character count that will output the numeric equivalent of an Excel column string.
For example, the A column is 1, B is 2, so on and so forth. Once you hit Z, the next column becomes AA, then AB and so on.
Test cases:
A: 1
B: 2
AD: 30
ABC: 731
WTF: 16074
ROFL: 326676
Code count includes input/output (i.e full program).
Hi,
I have create a socket with CFSocket.
My program is correct but now i wanna close the socket (client side).
There is a istruction?
Thanks and sorry for my English XP
My code:
CFSocketRef s;
s = CFSocketCreate(
NULL,
PF_INET,
SOCK_STREAM,
IPPROTO_TCP,
kCFSocketDataCallBack,
AcceptDataCallback,
&context);
...
CFSocketConnectToAddress(s, address, 0);
...
//here i wanna close the socket
I'm trying to develop an application similar to ASTassistant, and in the article the author says that he included "the source code with the binaries." After downloading the ZIP folder, however, I've found no source. The program is written in REAL Basic, which I don't know anything about. Do I need to purchase REAL Basic to view ASTassistant's source code, or is it somewhere I haven't looked?
Thanks
I have following setup, but when I put 1024 and replace all 512 with 1024, then eclipse won't start at all. How can I have more than 512M memory for my eclipse JVM?
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
com.springsource.sts.ide
--launcher.XXMaxPermSize
512M
-vm
C:\Program Files (x86)\Java\jdk1.6.0_18\bin\javaw
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx512m
-XX:MaxPermSize=512m
void execute(int &x,int y=100)
{
x=x+y;
cout<
will the following program work in spite of not assigning a default value to the x(formal parameters in the fuction prototype).
My friend build a web service in java
I build one in .net
I want them to implement the same interface
then in my program change the web.config to point to one or the other.
In my mind this would be done by implementing the same interface. Not sure how it would actually be done...
Hi,
I'm using g:datePicker name="date1" id="date1" value="${program?.startDate}"
In controller when used params.date1 it is showing value as "struct" and unable to save date in my database.
How can we parse date in to one param like eg: 2010-10-10 11:11:11 using datePicker ?
thanks in advance
srinath
Hi ,
i am very new to xml and c++.
i want to validate xml against xsd using c++ api.can any one gimme any tutorial link? or sample program.i don want to do using msxml as its works in windows and visual studio.
i tried to use xerces and libxml but i have failed.now i am trying using tinyxml.
please help me to validate xml against xml schema using c++(not vc++,should work in cross platform)
regards,
manu
I want to write programming which will connect to a network for some second then disconnect from it and it should be that much fast that other application should not fill it is disconnected so on which layer should i program i know how to disconnect and connect to the network so any suggestion ......
thanks in advance....