22 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Niloofar24

Hello. When we want to insert a vlue into a table in sqlite, we use this line, right? cursor.execute('INSERT INTO colors Values ("red", "blue")') As we can see above, we want to insert 2 words and we type them as when we are typing whole the codes. But i want …

Member Avatar for vegaseat
0
5K
Member Avatar for Niloofar24

Hello everybody. I need a quick help. I have a problem with running my python file code. I use Linux. I had a file with the name "app3.py" file on the Desktop; then i removed ".py" from the end of the name of the file; so now i have "app3" …

Member Avatar for Gribouillis
0
433
Member Avatar for Labdabeta

Hello, I have a USB key on which I do all of my programming. It is formatted as an NTFS drive with 32 gigabytes of space. On this drive I have large C::B projects which contain both windows and linux executables. When I try to run the linux executables it …

Member Avatar for mike_2000_17
0
1K
Member Avatar for ashwinshenoy

Hi All, I have just completed my project in VB 2008 express edition. Now I want the project to be converted to .EXE so that I can deploy it on other computer / laptop. Could any one please help.... Regards, Ashwin

Member Avatar for joshl_1995
0
2K
Member Avatar for CaffeineCoder

OK, so I've been Googling this as well as looking for previous posts. I have a .NET site that has some classic ASP still in it (who knows why or who did that). On the old server, the ASP would execute normally. On the new server, however, the ASP code …

Member Avatar for CaffeineCoder
0
293
Member Avatar for diafol

While extending a mysqli class, I ran into an issue with binding parameters. I've read that db names and table names should not be used as parameters, but while I was pondering this statement... SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = '$dbname' I thought, as the db name is a …

Member Avatar for diafol
2
287
Member Avatar for NajwaMY

while (rs.next()) { System.out.println("Name: "+rs.getString(1)+"\n"); System.out.println("Age: "+rs.getInt(2)+"\n"); System.out.println("Address: "+rs.getString(3)+"\n"); } I just don't understand what is the meaning og getString(1)

Member Avatar for 1stDAN
0
204
Member Avatar for akhilchandranms
Member Avatar for JamesCherrill
0
302
Member Avatar for amvx86

Hey what's up everyone? I have a script here that works when i execute it from command line, and when I double-click it. Now, there is something interesting going on here. 1) When the program is executed by process.start it does not load (even when called from cmd.exe /c ...) …

0
190
Member Avatar for tinabina22

My php code will not execute and I'm not sure why. Below is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Before.html </title> <meta name="Generator" content="Alleycode HTML Editor" /> <meta name="Description" content="Your description here..." /> <meta name="Keywords" content="Your keywords here..." /> </head> Before #1, Test …

Member Avatar for amith_ami
0
245
Member Avatar for diafol

Hi All. Have been messing around with PDO for a while, but have come across a bit of a quandry. I like the prepare - execute method for fetching data, but I needed to check if an update query actually did update or not. Now not having mysql_affected_rows() to hand, …

Member Avatar for diafol
0
1K
Member Avatar for Matth963

Can someone tell me what's the difference between Instruction Cycle and Fetch&Execute Cycle? Thanks

Member Avatar for sheikhali449
0
163
Member Avatar for vmars

I'll try to start over again: Windows7, Python3.2.. When I click on a *.py file it starts up the python.exe interpreter in interactive mode. What I want it to do, is to RUN the *.py file. Please, how can I accomplish this. A *.py file is associated with python.exe . …

Member Avatar for vmars
0
2K
Member Avatar for suhaildawood

I am having some trouble with this code. I want have an onclick function on a div and I want to call this function. Only the 'if' section of the code works. If the #about opacity is anything other than 0.47, it still executes the 'if' code, but not the …

Member Avatar for suhaildawood
0
1K
Member Avatar for Lemony Lime

I've done some searching, and it seems a few people have asked similar questions, but none of them were quite what I was looking for. I need to be able to read lines of code from a .txt file, and then execute them in Java. Or, if that's impossible, would …

Member Avatar for NormR1
0
3K
Member Avatar for Neversleepin

hi, i try to run java program with ProcessBuilder but it works only with .exe file and with .jar or .java i use netbeans 6.9 why please? [CODE]import java.io.*; public class Mani { public static void main(String args[]) throws IOException, InterruptedException { try { Process p=Runtime.getRuntime().exec("javaw -jar D:\\NetBeansProjects\\GetIPAddress\\dist\\GetIPAddress.jar"); } catch(IOException …

Member Avatar for mKorbel
0
1K
Member Avatar for sketchiii

I figured out how to use time in C since the last time I asked a question here. :cool: My new dilemma is that I was wondering if its possible to save user input in a C program so that when the program is closed and executed again it will …

Member Avatar for sketchiii
0
187
Member Avatar for LadyRelm2

So I'm new to python, although not terribly new to programming. I am going through some tutorials, but am having some trouble. I am trying to execute a program from the python shell (using Python 3.1). Right now, I have the >>> prompt. I can't seem to get any program …

Member Avatar for snippsat
0
1K
Member Avatar for network18

Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed.

Member Avatar for jan.cajthaml
0
3K
Member Avatar for camerondane

I am running a form that pulls data from multiple mysql tables. However whenever the php/mysql code is in the html form tags it will not read the php/mysql nor will it read any php for exampl echo "here";. I have done this several times before so I imagine it …

Member Avatar for camerondane
0
193
Member Avatar for magnumsv

Hello, I am trying to execute two external programs at once. Here's my code: [CODE]#include<iostream> using namespace std; int main() { system("cd \\ && cd Program Files\\Skype\\Phone && Skype.exe"); cout<<"Skype launched \n"; system("cd \\ && cd Program Files\\MAXA Notifier for Skype && SkypeNotifier.exe "); cout<<"MAXA launched \n"; system("pause"); return 0; …

Member Avatar for packetpirate
0
157
Member Avatar for vs.vaidyanathan

if not exists (select * from sysobjects where name='amrreconAccountsTB') begin execute "create amrreconAccountsTB(acct_id char(2048) NULL)" end; Message from server 'NOCTREPI04' (Msg 156, Severity 15, State 2): error near the keyword 'end'. Can someone please help me and tell me what is the syntax error here?

0
106

The End.