199,114 Archived Topics
Remove Filter ![]() | |
![]() | 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. ![]() |
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 … | |
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 … | |
![]() | 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: … ![]() |
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? | |
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 … | |
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... | |
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. … | |
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" … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) … | |
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 … | |
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: … | |
Hi all, I want to validate the text box in gridview for date format. how can I do this. Thanks in Advance | |
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 … | |
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 … | |
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. | |
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 … | |
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); … | |
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 … | |
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 | |
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 … | |
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') … | |
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'} ; … | |
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 … | |
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 | |
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", … | |
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 … | |
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 … | |
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"); … | |
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); … | |
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 … | |
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] | |
how to resize the textbox control with runtime events in c# using c# winforms | |
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 … | |
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 … | |
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 ? | |
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 … | |
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 … | |
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 … | |
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) { … | |
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 … |
The End.