199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for leegeorg07

Hi, I'm trying to find an open source project to strect myself with, I have looked on bitbucket and couldnt find anything, any suggestions? Thanks in advance.

Member Avatar for leegeorg07
0
116
Member Avatar for BzzBee

I am using same login information for three sites at different hosting servers. I am using same database for three of them but i just want if i am login at one site and then move to second site then my i should be already loged in. how can i …

Member Avatar for kireol
0
116
Member Avatar for jlego

I'm trying to do a delete on two tables at once. sucessfully does it with update, [code] UPDATE table1 INNER JOIN table2 ON table2.table1_id = table1.ID SET table1.whatever = Whatever, table2.whateveer = Whatever [/code] is there a way to do this with the DELETE function [code] DELETE table1 INNER JOIN …

Member Avatar for jlego
0
96
Member Avatar for diafol

Hi folks, I know this ain't php, but seemed the best place to put it for now. Am trying to mod_rewrite the following: http://www.nu.wetwork.org.uk/index.php?adran=first&tud=second to http://www.nu.wetwork.org.uk/first/second/ I'm a complete idiot when it comes to regex/apache, so any advice would be welcome. I have already managed to place 2 rules which: …

Member Avatar for diafol
0
341
Member Avatar for mahela007

How can I make windows execute a python script when a flash drive is plugged into the computer? Is there a way to do this with python or do I have to use windows?

Member Avatar for mahela007
0
12K
Member Avatar for rooboy69

Hi guys, new to site - and fairly new to C#. So be gently. I have an xml file containing the following: [CODE] <?xml version="1.0" encoding="utf-8" ?> <Arm> <Arm1> <Name> Flies </Name> <Weight> 18 </Weight> <Reps> 12 </Reps> </Arm1> </Arm> [/CODE] The xml contains more that just the one Arm …

Member Avatar for sknake
0
469
Member Avatar for Karthika_g

Hi, I have a dll created using C++, which i want to use in my C# prgm. How should i convert it. Also I have header files, how can i use them in my C# prgm. Can anyone guide me or provide some good materials. Thanks...

Member Avatar for sknake
0
150
Member Avatar for rgpii

I am attempting to program a doubly linked list template. My program is setup with the class node defined in a header file,the list itself in a header file and finally the main in a separate cpp file which calls the list header. The list header calls the node header. …

Member Avatar for Agni
0
118
Member Avatar for dskumar_85

hai friend's i am having a table in that i have the field like ( id , name , date),in that i stored id name date e123 raj 12/08/2009 e123 raj 12/10/2009 e123 raj 12/12/2009 e124 ram 12/08/2009 like this while fetching the select id ,name,date from tablename where id="@id" …

Member Avatar for mail2saion
0
77
Member Avatar for shabeg

Hi, I am new in List<string> ,Memory leak,.net, I can i manage memory for List<string> e.g. [CODE]List<string> list=new List<string>(); list.Add("a"); list.Add("b"); list.Add("c"); list.Add("d"); list.Add("e"); list.Clear(); [/CODE] in above example ,will List.Clear() release memory for list or items. Thanks and Regards Shabab Begym

Member Avatar for sknake
0
1K
Member Avatar for xzero_x

Write a program that will correct a C++ program that has errors in which operator, << or >>, it uses with cin and cout. The program replaces each (incorrect) occurrence of cin<< With the corrected version cin>> And each (incorrect) occurrence of cout>> With the corrected version cout<< For an …

Member Avatar for SgtMe
0
320
Member Avatar for Abdel_eid

Dear All; i would like to ask how to divide data among pages like what yahoo mails did when you read your mails for example the first page contains 10 mails when you press next page , the you go to page 2 which contains another 10 mails , i …

Member Avatar for Abdel_eid
0
264
Member Avatar for dre-logics

I use visual basic 8.0 en MySQL. I have a connection witho my MySQL database "test" with Myconn. I have two table's : Rental Articlenr Articledis Articlerent 100 beerclass 15 200 wineclass 10 Stock Articlenr Articledis stock 200 Wineclass 25 So far i have this : [code]Dim con As New …

Member Avatar for dre-logics
0
333
Member Avatar for NargalaX

Hey, I am using a messenging system to do math, and I am in need of help for my string splitting. What I need it to do, is basically see if there is a '/' '*' '+' or '-' and split it from that charectar, and ALSO split it in …

Member Avatar for farooqaaa
0
169
Member Avatar for rehber344

hi everyone ı am a new begıner . why and when do we have to use "None" for example if x. is None: or at the definatıons def lookfor(a, b=None): return a, b why and where are we usıng None.whats the aım to use that and my other questıon ıs …

Member Avatar for hondros
0
127
Member Avatar for daudiam

I know that ++a is faster than a++ because a++ has to first store the previous value of a at some temporary location and then increment a and then return the saved value, whereas ++a simply increments a and returns the pointer to the incremented value. Since, both a++ and …

Member Avatar for nezachem
0
637
Member Avatar for vishalonne

Hi Every Body I learn lots of thing from here. Now I put my hands in ASP.Net. I am creating a web site now I stuck at a point where I want to display the result in sorted order. Actually I have a facility to add new schedule for class …

Member Avatar for vishalonne
0
98
Member Avatar for tqmd1

Dear Experts I use following codes to display image from sql server. On this line of codes [CODE]Dim ms As New IO.MemoryStream(CType(row("user_img"), Byte()))[/CODE] this error messages appears [CODE]Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'.[/CODE] How to get rid of this error message. This message appears because image …

Member Avatar for sknake
0
722
Member Avatar for crackerjacker

well, basicly i just want to detect when the left mouse button goes from being DOWN (clicked) to UP(unclicked). and this will be hapening externaly, like, i may be clicking Freecell, not the VB form. I alredy have some code [CODE]Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) …

Member Avatar for selvaganapathy
0
750
Member Avatar for moonw3ll

My question is: If i'm the customer, how can i edit the quantity shown on the overview so that i can afford to pay the totalprice(if i've ordered too much) and delete some on the overview if i want to delete it(really short on money). And if i'm the owner …

Member Avatar for moonw3ll
0
253
Member Avatar for futhonguy

Hi, I stuck on this query for quite a while. will appreciate if someone can help me to look at this query and correct me where i had done wrongly. [CODE]$val_d = $_GET['val_d']; $sql = "SELECT * FROM device"; $sql .="WHERE device_num LIKE '%$val_d%' ";[/CODE] the error message prompted was: …

Member Avatar for futhonguy
0
108
Member Avatar for nmuthu_samy

Hi all, I want to validate the text box in gridview for date format. how can I do this. Thanks in Advance

Member Avatar for nmuthu_samy
0
82
Member Avatar for princesspretear

Hi all. I am required to make a program appear a registration form upon the insertion of a USB device. And this registration form is supposed to appear once, when the USB device is inserted for the first time. I am told that I am supposed to make a Windows …

Member Avatar for sknake
0
587
Member Avatar for cabsjonel

hi folks merry christmas to all of you it is month of sharing and loving but folks i have A big problem On function i dont know how to call a functions on vb can you help me or give me some example program hoping for your kindness god bless …

Member Avatar for phpbeginners
0
97
Member Avatar for JAVIER SOTELO

Hi, I'm locking for a control to create cab or zip files. Sombody know about it? I have used the cabinet filem but I'm expecting a situation: the control after extract a number of files is inestable and send a error of automatization.

Member Avatar for phpbeginners
0
97
Member Avatar for daveoffy

I am working on getting a string into this function but there are already to many arguments. [CODE] char interface[10]; if (!(in = popen("iwlist %s scan","r"))) /*Need interface string here */ { /*to be added */ } [/CODE] I tried to add ",interface" after "r" but it said to many …

Member Avatar for daveoffy
0
161
Member Avatar for forneamax

Hi guys. Can a variable be used outside the try block? [CODE]string responseString; char response; Console.WriteLine("1. If you would like to ... press A"); Console.WriteLine("2. If you would like to ... press B"); Console.WriteLine("3. If you would like to ... press C\n"); responseString = Console.ReadLine(); try { response = Convert.ToChar(responseString); …

Member Avatar for forneamax
0
6K
Member Avatar for jagan605

i recently started typing the code for the program to convert a binary number to its decimal form and i got stuck when my compiler reported this error. this is what i have typed till now. [CODE]#include<iostream> using namespace std; #include<math.h> main() { int n,s=0,k=0,a,b,c; cout<<"\n\n\tPROGRAM TO CONVERT BINARY TO …

Member Avatar for jagan605
0
199
Member Avatar for naziatarannum

Hi All, I'm a newbie. I need to know if we can write a script that tracks the number of times an xls file was downloaded in a day. I tried searching many books & websites, but of no use. Kindly show me the way.. Please.. Thanks

Member Avatar for serpiko
0
333
Member Avatar for Excizted

Heyloo ^_^ I've stumbled upon this code :D [CODE]#define VERSION_MAJOR 1 #define VERSION_MINOR 1 #define VERSION_PATCH 2 #define VERSION ((VERSION_MAJOR << 16) | (VERSION_MINOR << 8) | VERSION_PATCH)[/CODE] I've been searching for some time now, unable to understand what << 16 and << 8 does, and why. I converted VERSION …

Member Avatar for Excizted
0
149
Member Avatar for emir_gradacac

Hi, I would like to ask is it possible for pygame to respond on a key press immediately? I am trying to make a drumming simulation and the response comes after 1-2 seconds. The code is: [CODE]import pygame, sys from pygame import * pygame.mixer.init() pygame.init() #Loading sounds... snare = pygame.mixer.Sound('Snare.wav') …

Member Avatar for Lardmeister
0
426
Member Avatar for jakethesnake86

I'm completely new to java and am trying to get some experience with programming java applets that can be opened from a browser. I was able to successfully open a simple "hello world" applet from a browser using the below javascript: [CODE]<script src="http://www.java.com/js/deployJava.js"></script> <script> var attributes = { code:'HelloWorld.class'} ; …

Member Avatar for jakethesnake86
0
700
Member Avatar for chiko987

Hello, i have a function that starts searching for all files that match the given file name and Recursively traverses itself into sub directories and does the same thing and when a file is found i should output its path starting from the first directory that was given to the …

Member Avatar for death_oclock
0
139
Member Avatar for dasatti

Hi, I want to print many post cards with the click of a buttons with contents and addresses comming from the database using PHP. Can anybody have some ideo how to do that. My concerns is how can I print a number of post cards with any user interaction. Thanks

Member Avatar for dasatti
0
132
Member Avatar for tigrum

Hello, I am currenty using MySQL 5.1 community server and trying to import the data of the comma delimited text file into the table using python 2.6 scripts. I have installed Mysqldb 1.2.2. follwoing is my script: [CODE] import MySQLdb, csv, sys conn = MySQLdb.connect (host = "localhost",user = "usr", …

Member Avatar for octav1
0
4K
Member Avatar for SoulMazer

Okay, well I have to say I am completely stumped where to go from here. I am writing a media player and I am currently working on song indexing. I have figured out how to extract the song name and its complete path using os.walk(); however, I have no idea …

Member Avatar for SoulMazer
0
112
Member Avatar for doraemon79

Hi boys, I am working for a job interview and I was writing a nice piece of cod in c++, partially copied and pasted. This is supposed to work but now i am obliged to use dev-c++ last version for windows, usually I just use gcc on linux and I …

Member Avatar for doraemon79
0
2K
Member Avatar for borntowin_786

Hello I am pasting my code.this code is used for data collection purpose.But i m getting an error in this.Can anybody help me? [CODE]<?php ini_set('max_execution_time','510000'); ini_set('memory_limit','2056M'); require_once 'Classes/PHPExcel.php'; require_once 'Classes/PHPExcel/IOFactory.php'; //$zipcode=35212; //$sleep_time=1; //Generating sleep time random-wise $sleep_time = rand(1,15); $result_array=array(); $number=2; $objReader = PHPExcel_IOFactory::createReader('Excel2007'); $objReader->setReadDataOnly(true); $objPHPExcel = $objReader->load("C:\Documents and Settings\Tushar.Chavan.DC\Desktop\sunlight\US_ZIP_CODES.xlsx"); …

Member Avatar for chrishea
0
135
Member Avatar for countercoder

I get the error 'orphaned case'. So here's the problem: [IMG]http://img385.imageshack.us/img385/6424/errorqg4.png[/img] Here's my case 218 and the case before it, can you help? [code] case 192: // Use an item on an object junk = inStream.readSignedWordBigEndianA(); int UsedOnObjectID = inStream.readUnsignedWordBigEndian(); int UsedOnY = inStream.readSignedWordBigEndianA(); int ItemSlot = (inStream.readSignedWordBigEndianA() - 128); …

Member Avatar for lieni
0
2K
Member Avatar for LaSalle5067

Is there a way in C# to get a value that is normally passed in the url string into the variable while debugging?? Normally this is the string... [url]http://server/foldertest/Page.aspx?sel=ss[/url] But when using "start debugging" I have the url without the form variable that is passed from another server but need …

Member Avatar for sknake
0
116
Member Avatar for Lolalola

How do I know what the process owner, who released it? Using Process funktion, and don't using WMI. [CODE]Process[] list = Process.GetProcesses();foreach (Process pr in list) { Process process = Process.GetProcessById(pr.Id); process. ??? }[/CODE]

Member Avatar for Lolalola
0
581
Member Avatar for naren7
Member Avatar for sknake
0
121
Member Avatar for marky-b

I have a vbscript that uses a WScript.Shell instance and .Run("ffmpeg.exe -params",,True) to fire off a ffmpeg video conversion. When the conversion is complete, the cmd.exe window stays open at a typical prompt, and i was curious if it is possible to auto-close that child cmd window when it's done …

Member Avatar for marky-b
0
97
Member Avatar for dw8081

Hi, i want to know if asp can detect connection to MySQL Server. i have hosting (not dedicated server) but sometimes my website have error like this : "[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on '<MySQL SERVER place>' (10061) can someone help me for some asp code to redirect …

Member Avatar for hielo
0
233
Member Avatar for chat2learn

helle everybody, I want to hide the url in the status bar. Once the url is surfed, I want to show a message not the url itself. I know that it should be done using Javascript but I don't how know. can anyone of you help me please ?

Member Avatar for p.loading1
0
97
Member Avatar for jmorhous

Greetings, On reflection I have decided I was unclear in my last post so I thought I should have another go at it. I have written an external script, located in validateform.js, that validates the information on a form. I have a second external script, date.js, that validated dates. I …

Member Avatar for almostbob
0
99
Member Avatar for johndoe444

Hi, I am trying to implement some distributed algorithm (minimum spanning tree) where each node is represented by a process running in a different machine. Each edge represented by a client server communication channel. Suppose host0 is connected to host1, host2 and host5. I create 1 server sockets in each …

Member Avatar for nezachem
0
180
Member Avatar for bluem1

There has to be an easy answer for this, I hope! I basically need the grandchildren of the below xml tree to show up in a vb.net gridview. I have the data getting pulled but all values are getting put into a single cell. Here is the xml tree. [CODE]<?xml …

Member Avatar for sinnerFA
0
261
Member Avatar for jrw89

I have the following in "home.html": [CODE=html]<html> <head> <script type="text/javascript" src="sandbox.js"></script> </head> <body onload="compatibilityCheck();"> <div id="content"> <p>You need to enable JavaScript to use this site</p> </div> .....[/CODE] where "sandbox.js" is: [CODE=javascript]function compatibilityCheck() { var compatibilityCheck = new compatibilityCheck; compatibilityCheck.browser; compatibilityCheck.cookies; } var compatibilityCheck { browser : function() { switch(navigator.appName) { …

Member Avatar for jrw89
0
127
Member Avatar for emmas4impact

my task is to create a gui for a list of cars, bus,bicycle etc. and the program should be able to add and remove to the car in store. so i wrote this code below using netbeans IDE. [CODE]package vehicleregister; import java.awt.*; import java.awt.event.*; public class VehicleRegister extends Frame implements …

Member Avatar for emmas4impact
0
234

The End.