199,112 Archived Topics
Remove Filter ![]() | |
The below bit of code is running very very slowly. I cant see why this should be but there seems to be almost a second delay when I'm using f8 to run through the code bit by bit when I get to the end if...any clues? [code] Sub firstResponse() Dim … | |
Hello, I'm making a networked client/server program (with a reverse connection, i.e. server connects to the client). I'm wanting to take a screenshot(server side) and transfer this file over to the client so that it can be saved. Now before I go any further, the code I'm about to disclose … | |
Hi All, Im trying to write an app where im running a command from command prompt (which works perfectly) and it writes to a log file. Now I would like to have a text box tail the log file while the command is being processed. Since adding the tail code … | |
Newbie here! I am trying to make a simple python program that when called from the command line, would search all the .txt files in a given directory for a given string inside the files by typing something like this > python mygrep.py ":" "C:\" Also, i want to specifically … | |
[CODE] public delegate void myDel();//declare delegate static void Main(string[] args) { myDel Del; Thread myThread; program2 myOb = new program2(); Del = new myDel(myOb.helloMethod); myThread = new Thread(new ThreadStart(Del)); myThread.Start(); for (int i=0;i<100000;i++)//main thread { Console.WriteLine(i); } } } class program2 { public void helloMethod() { for (int i = … | |
hi, i just want to know if there are codes : 1. that will create list box? please give me sample codes. 2. that will hide the helpful link when you click HOME for example; i just want to appear first the login before the others ![]() | |
hi can't figure out what's wrong with my code. I'm trying to create a frame without a titlebar but still movable. When I run it, I can't drag the frame. hope you can help as soon as possible thanks a lot! cheers! here's my code: [CODE] import wx class MyFrame(wx.Frame): … | |
Hi, I am working on a multiple layer encryption program for my school IT project. Right now the message runs through a Caesar cipher (which the user can select the shift of), it reverses the message and then it reverses the bits of each character, making various symbols come out. … | |
I just started learning C and trying to run the following code (given in the book I am using) in Code::Blocks 10.05 compiler for windows. "error: too many arguments to function add_two_numbers ()" [CODE]#include <stdio.h> int main() { int var1, var2; int add_two_numbers (); var1 = 1; var2 = 53; … | |
hi, i have an application that feeds data into a table of a database - table name is XTABLE716C6DC3. now i need a stored procedure that takes and calculates data from that dable anytime the table is changed and store the results in a certain format into a new table … | |
Hi, I would like to know the significance of lua methods beginning with an underscore.. for example __init().. Thanks !! | |
I have a pretty basic knowledge of most concepts in C++ save some issues that I have surrounding polymorphism, and I just love the way it feels. But I have my first AS level computing lesson tomorrow, and it will be in Object Pascal. Will this actually be helpful, with … | |
I wrote c program that outputs all permutations of a word to a txt file. ate aet tae tea eat eta I also have a txt file of all the words in the dictionary. I would like to take the first entry in permutations.txt and search dictionary.txt to see if … | |
Hey guys complete noob/novice here, Looking to join multiple tables identical in structure. It's meant for a search box in my school project. [COLOR="Red"]If I have table 1 and table 2 identical in structure, when the user searches for "keyword" it will search through both table 1 and table 2 … ![]() | |
Hi all, Im starting to program in java with sql. The problem im having is that when im trying to complete a combo box with data from a table in sql i get this error: [U]"null error in cargarComboProvincias()"[/U] when i run the program, and i cant find the error … | |
I am having trouble returning things from this function. Below is the function. [CODE] function switchframeAQUA(v) { if (v == "0") { document.getElementById("picframe").src = "/frames/cod-liver-oil_pic.html"; document.getElementById("blurbframe").src = "/frames/cod-liver-oil_blurb.html"; } else if (v == "1") { document.getElementById("picframe").src = "/frames/fish-oil_pic.html"; document.getElementById("blurbframe").src = "/frames/fish-oil_blurb.html"; } else if (v == "2") { } else … | |
In the S.D.L tutorial that I'm following, a pointer is declared at the start of the program, of type SDL_Surface, and assigned NULL. This is later assigned to TTF_RenderText_Solid(arguments...). Does this mean that SDL_Surface is the base class from which TTF_RenderText_Solid is derived? - I read something about SDL_Surface being … | |
Hi, I am currently trying to plan the Explorer layout for adding some GIF images. I am able to query the height and width of the explorer using JS, below commands: [B]HEIGHT:[/B] [CODE]$height = '<script type="text/javascript"> if (window.innerHeight) //if browser supports window.innerWidth document.write(window.innerHeight) else if (document.all) //else if browser supports … | |
I have to write an application which uses the Vigenere cipher with the Italian alphabet (only 21 characters, excluded J,K,W,X,Y). After a day of trying this is the code that I wrote [CODE] #include "vigenere.h" #include <string> using namespace std; Vigenere::Vigenere(string str){ key = str; key = StringToUpper(key); for(int cnt … | |
Using Visual Studio 2008, I have a form with a datagridview. I want to use a button called BTNDelete and I need help on deleting the selected row from the datagrid then update the datatable. | |
Hi I am wondering how to point to a relative file that would be the same on all computers. How would I go about this. Many Thanks | |
Hi! I am currently building a "social" website where people can send messages to eachother. When they are on their profile page they have this menu, one of the items are "Inbox". This is where the user can send personal messages to other users by typing the other users name, … | |
Here is my code so far and i`m editing it and adding some code, is there some one might tell me that this is the right way of coding list in permutation. This program is not yet complete. [CODE]package man; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; public class … | |
I am still somewhat new to Java programming and I have been given an assignment that asks to read names from a file and print them out that start with a letter lexicographically less than or equal to M followed by all of the names that start with a letter … | |
Hi, I cant get my around this.. I want to store some config details in config.php like so.. [CODE] $conf['audio'] = "play"; $conf['email'] = "send"; .. .. .. [/CODE] how can i use a form to edit the variables by writing to the file. The form will have the option … ![]() | |
I've got a variable which contains a string which can contain html. I'm trying to find a way to check the string if it contains a <img>-tag, and if so..validate that it has a valid file.exstension. (jpg | png | gif). If an img tag is located and HAS a … ![]() | |
How do I download transactions info from Paypal using VB.NET I want to create an app which when i press a button. It downloads each new Paypal transaction to a textfile. I would like information like purchase item name, item description. And price to be added to textfile. Does anyone … | |
Hi, i need some help with a directive called ASSUME, and i have to write a program that display a string but i can't use .code nor code and i have no idea of how can i make it work. Besides i can't find information about ASSUME. Please someone help … | |
I am not getting how to display stored database in MLM format? I have attached problem and desired answer images Database fields are : id new_id, name I want to display all members under member 1 all or one of that may be having member under itself. | |
Ok I have all the framework done. Programs I want it to do all linked up in another program Done. A c++ program to write to boot sector DONE. All I need now is a simple (less than a gig of text:) way to start the other program from the … | |
OK, first off let me say that I know that javascript is a client side language and that php is a server side language. I've read that you can't assign javascript variables to php variables too. But I'm still absolutely stumped as to WHY my code below doesn't work. Perhaps … | |
Before I get started with this question I would like to point out that this is a small app I am creating to not only learn more C++ coding but also to choose who drives the fifth day in my carpool group for college. I am creating an application in … | |
I was looking for an easy way to define variables for random monster encounters in my game. I'm not sure how to define some without typing out 1000+ lines of code for like 25 monsters. What I was wondering if there was a way to make a config file, or … | |
Im still trying to work this one out but what i would like to do is send an email if an alert is present. but not resend the email on every page refresh where the alert is still present. so i was thinking of using something like $_SESSION['sent_time'] to record … | |
I am new for struts framework. using eclipse i want to create small web application with struts2 framework. All struts lib jar files(common-logging,freemarker,ognl,struts2-core,xwork-core) i have included web-inf lib directory. And exactly i have followed this [URL="http://viralpatel.net/blogs/2009/12/tutorial-create-struts-2-application-eclipse-example.html"]link [/URL]procedure to practice. but i am getting HTTP status 404 error. please give me … | |
Hi Friends, I am working on php from builder, where user can add text-box, text-area, chekbox, radio-button etc field using jQuery. Now i am ready with html code of form. Next step is to save each attributes(i.e. name, optionstags, label, title, tooltip, class etc) in mysql database. How can i … | |
This one has me stumped. I feel like it is something really simple, but I can't figure it out. I have a combobox that is triggering the population of some checkboxes depending on the user mode. For some reason, when I put a MsgBox() at the beginning of the function, … | |
Hey everyone, I've never used eclipse or java, and I have an assignment that is expected to use the XML encoding/decoding functionality. I've searched google a bit, but can't really find a good example. Does anyone have a link to some snippets or something that I could go by? | |
Good day everyone.. I'm very very new to javascript, i found this tutorial i was reading and it said to insert the below javascript code to a HTML document between the <body> </body> tags. The code is : <script language=“JavaScript”> <!- - document.writeln(“Hello, welcome to my page.” ); //--> </script> … | |
frieds i just want the calculation for dividing money equally for all distributors.the first level distributor will get half of the amount and remaining distributors will divide it equally. i want this calculation in php.. can anyone help me | |
Hi There, I have a datagrid table with 5 columns and as many rows as the user enters. Is there a simple way to export the contents of the table to a CSV file? The columns are named; a,b,c,d and e Im using VB 2005. Mant Thanks Alex | |
On my site when a link is clicked, the adress bar in the browser shows this URL: [CODE] http://www.enkelt-webdesign.dk/index.php?sid=1&titel=FORSIDE [/CODE] I would lke the URL to appear like this: [B][url]http://www.enkelt-webdesign.dk/Forside[/url][/B] I have this code in my .htacess file which is not working as it is: [CODE] <ifModule mod_rewrite.c> RewriteEngine on … | |
hi me is new in web development field.. plz any body told me about the script with the help of which i send image in my email....!! | |
i have a project which am half way done but on compling ma code it shows errors i need help to clean it on login it should display a new JFrame with three labels and five buttons with actions when the book id is entered it should retrive the book(bkbtn) … | |
hi ihave many files like File.txt anotherfile.txt Log.txt . Etc... And i want to rename these files into something like this File1.txt File2.txt File3.txt . Etc So how can i do this in c# Thank you for your help | |
Hi Everyone, I am writing a program in VBA (within Access 2010) that grabs a specific .txt file, split up the fields as per given specification and imports the values in to an Access table. So far, I can open the file and see what the program is seeing and … | |
I have one index.php file that is on abc.com server. Here in index file i have frameset and src of that is : 'http://www.xyz.com/login.php' All my php files are on xyz.com. What i am having problem is when user open url : abc.com And they get login page. they are … | |
Hello All, I wand Firefox to remember my password when i login in phpmyadmin. But Firefox doesn't ask me to 'Remember password'. When i inspect phpmyadmin form using developer tool, i done see any trick. Secondly i also want in my website coding that when user log in Firefox don't … | |
Hi Pals, I am using filezilla and i heard that it causes virus attacks on my website. I am also not saving password in site manager rather using quick connect. From some days m using core FTP. What do you guys think. What is secure way? Regards, Vibha | |
how can i conver ascii code to string. for example i want to conver 65 to "A". |
The End.