199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for scrypt3r

I Recently Tried To get An App To copy itself To startup folder [CODE] My.Computer.Filesystem.Copyfile(application.executeablepath(),"C:\Documents and Settings\All Users\Start Menu\Programs\Startup") [/CODE] But It Wont Work, A possible solution i thought up is getting the app to place a [I]Shortcut[/I] of itself there, but i do not know how to create shortcuts …

Member Avatar for Teme64
0
99
Member Avatar for suvirj

Hi, I am kinda new to java netbeans...i have downloaded some java code which is n implementation of the algorithms in the book AI:A Modern Approach. After extraction, the folder has bin, build, doc and src folders which hold various .class and .java files. Now my problem is that i …

Member Avatar for peter_budo
0
129
Member Avatar for ma3hd

Hello , i have an .js file to fetch title and description from another site have utf8 charset and my site also have utf8 charset it fetch english character well but arabic or turki character it appear such that ????????? ???? ???????? .js content [CODE] function request_videoinfo() { if (!fetch_object('videourl').value) …

Member Avatar for ~s.o.s~
0
132
Member Avatar for spokie

hey Guys I'm was wondering whether anyone can help me, i have finished with the development of my PHP enabled website and i was wondering whether you guys can advise me on testing strategies that i can undertake?? Please me!

Member Avatar for sikka_varun
0
73
Member Avatar for scrypt3r

Hello in the ping app i am using this code [CODE] try Dim ping As New System.Net.NetworkInformation.Ping Return ping.Send(hostNameOrAddress,5000,300).RoundtripTime Catch ex As Exception MsgBox("Computer Ping Could Not Be Called") End Try [/CODE] but my app will not accept 300 as a amount of bytes, Help!

Member Avatar for scrypt3r
0
166
Member Avatar for designingamy

Hello everyone! I am new to JavaScript and have been using PHP, but needed to use a dynamic form for information about County/State. Here is part of the code (keep in mind I did all 50 states this way-that's well over 3000 counties): [code] <script language="JavaScript" type="text/javascript"> <!-- //first combo …

Member Avatar for designingamy
0
186
Member Avatar for shobiat

[code=vb.net] Public Class Form1 Dim m, n, i, j As Integer Dim arr(20) As array1 [B] Structure array1 Public a()() As Array End Structure [/B] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.Enabled = True Button2.Enabled = True Button3.Enabled = True Button4.Enabled = True End …

Member Avatar for Teme64
0
137
Member Avatar for jworld2

wxpython question: I am looking for a way to select just a line of text out of many lines of text by just clicking anywhere on the line of text, like what is shown in the attachment. Let's say I have a TextCtrl with lines of text. How would I …

Member Avatar for jworld2
0
118
Member Avatar for IMtheBESTatJAVA

I've been given a project in which I have to find the highest and lowest possible product using 3 2-digit numbers without repeating any numbers. For example, the algorithm for the highest would be: 7n * 8n * 9n where the n's would be 4, 5, or 6. The algorithm …

Member Avatar for verruckt24
0
298
Member Avatar for squarkman

Happy Holidays! I have a one field form. Upon submission with the submit button, I wish to drive this field value into my SQL database table called MEMBERS and field called NAMES, thus adding a new record. Can this be done with an OnSubmit() call to a function, in the …

Member Avatar for Aamit
0
378
Member Avatar for karthi_selva

hi, i am doing a project in C#. i have not much knowledge in C#. i displayed items in listview with icon format. task is:::when i click the right and left button on icon, i like to show some data to user. ( ex in desktop we use right click …

Member Avatar for karthi_selva
0
117
Member Avatar for Dell XPS

today i was trying to make an alarm for my Pocket pc so that i can select the sound of the alarm and set it as one of my mp3 files... but in vb .net for pda i realised there is no FileDialog ready to use... any ideas... i need …

Member Avatar for Dell XPS
0
199
Member Avatar for Undermine

[B]header[/B] [ICODE] class DeckOfCards { public: DeckOfCards(); void Shuffle(); void deal(); void hand(); private: int deck[4][13]; int numcard; int row; int col; }; [/ICODE] [B]main[/B] [ICODE] #include "dc.h" using namespace std; int main() { DeckOfCards DeckCards; DeckCards.Shuffle(); DeckCards.deal(); DeckCards.hand(); return 0; } [/ICODE] [ICODE]#include <iostream> using std::cout; using std::cin; using …

Member Avatar for mrboolf
0
110
Member Avatar for Manutebecker

After reading up on them in terms of class hierarchy, they seem to just be almost like comments, to remind you that all classes use this sort of function

Member Avatar for ddanbe
0
261
Member Avatar for Zermoth
Member Avatar for Zermoth
0
118
Member Avatar for darkyere

some code ive been using whit out any problems suddenly wont work.. Whats the really weird parts is when its a random number it got no problems lodaing the image. But when its i := i +1 item := listview1.Items; form2.image1.Picture.LoadFromFile(item.Caption); {here it chrashes] it crashes whit an error called …

Member Avatar for LizR
0
166
Member Avatar for elitedragoon

This is the problem, when I run it, there are no errors. However when I check the reportfile, I end up with the wrong numbers from the calculations. The calculator: [CODE]void AddDetailToAccumulators(float *totfedtax, float *totssitax, float *totstatetax,float *totrate, float *totreg, float *totovt, float *totgross,float *totpay,float *totdeferred, float gross, float federaltax, …

Member Avatar for Luckychap
0
147
Member Avatar for pocnib

I am trying to insert a date into a mysql table field using [CODE] <?php $date=date(Y-m-d); mysql_query("INSERT INTO table VALUES('$date')"); ?> [/CODE] but when I open up mysql and run SELECT * FROM table; it returns a date value of 0000-00-00 instead of the current date at time of insert. …

Member Avatar for danishbacker
0
140
Member Avatar for jaasaria

hi guyzz... i have a problem in my combobox listindex searching. when i open my comp, the combobox working very well that when i type the first letter it automatically autocomplete the data in the combobox, but after an hour or restarting my pc.. it doesnt work any more... i …

Member Avatar for jaasaria
0
95
Member Avatar for danishbacker

Is it possible to update the AUTO_INCREMENT value who's attributes are primary key, not null, auto increment and also an INT type The thing is I need to synchronize the 'image_id' to access images sequentially and if one row is deleted the sequence is destroyed Help me! [code] <?php include('db_conexn.php'); …

Member Avatar for danishbacker
0
254
Member Avatar for jinuyasha

Hello, first time poster here. So if I come off as asking something so hastily and quickly my bad, but currently I'm creating a clock class on DrJava. This is what I have so far. [code] clock.java import java.util.*; import java.text.*; public class Clock {private int hours; private int minutes; …

Member Avatar for VernonDozier
0
830
Member Avatar for it2051229

I'm creating 50 picture boxes where all of them has a constant width and height of 50 and on run time, i randomly place them in random locations on the form but the problem is some picture boxes overlaps with each other... any idea on how to randomly place the …

Member Avatar for LizR
0
137
Member Avatar for ariesL

Hi Everyone, can someone help me on this, i cant figure out how to 'correctly sort' an already 'sorted' listbox in VB6, with alphanumeric items [LIST]listbox when the Sort property set to TRUE have these values[/LIST] [INDENT] data0 data1 data10 data19 data2 data22 data3 data31 [/INDENT] [LIST] i need to …

Member Avatar for ariesL
0
332
Member Avatar for shadowrun

i understand what this stuped question, but how deactivate "windows just in time debugger"?

Member Avatar for ddanbe
0
86
Member Avatar for rakeshkn123

Hello friends Iam KNR i require code fopr adding check boxes in the database can u please help me Thanks in advance Bye KNR

Member Avatar for rakeshkn123
0
72
Member Avatar for serkan sendur

let say i have authors.a and books.a, authors.a is dependent to books.a and books.a is dependent to authors.a, can i compile them together? as a c# programmer it doesnt seem possible to me, for example you are adding a project called B as a reference to one of your project …

Member Avatar for Murtan
0
104
Member Avatar for 83apple

Problem: I installed an sms script at earthbane.com/sms. the script sends the sms as it should but when it gets to my cellphone the from sections says [email]atmail@server1.earthbane.com[/email]. Is there anyway that I can change this so that it says something other than [email]atmail@server1.earthbane.com[/email]. I appreciate any help you can …

Member Avatar for 83apple
0
68
Member Avatar for bl@ck_d3ath-v2

hi every body i am new user plz help me.plz send me the code of date converter or upload cpp file if user enter any date(date may be in past and may be in future) and ask us to tell the day at that date which user enter,by using date …

Member Avatar for Salem
0
403
Member Avatar for veledrom

Hi, I have downloaded Drupal but i have some questions. 1. I have read the installation but didn't get it. I need help to install it. I run WIN XP with WAMP server. 2. Can i use it in my local compuer with WAMP for test purposes. I just need …

Member Avatar for sikka_varun
0
161
Member Avatar for kevin07

I am working on an homework assignment and i have got the first half done now i am stuck on the last part. This is what i need to complete now. # Add further attributes to the Account class (account's name, belong to which department, responsible person's name, title, phone …

Member Avatar for kevin07
0
80
Member Avatar for pocku

I'm working on a quick sort algorithm using recursion but it's throwing a stackOverflowError. Here is the code: [CODE] public static void quicksort(int [] A){ quickSortRec(A, 0, A.length-1); } public static void quickSortRec(int [] A, int p, int r){ if (p < r){ int q = Partition(A, p, r); quickSortRec(A, …

Member Avatar for neilcoffey
0
195
Member Avatar for frencheneesz

I have recently created a parser generator named the Lithium Parser Generator (LiPG). I also wrote a pretty readable documentation for it. I was wondering if anyone could give me some feedback - especially if you have experience with other parser generators like Bison/Flex, etc. The Doc:[url]http://www.uweb.ucsb.edu/~frencheneesz/LiPG/LiPG%20Documentation.html[/url] Thanks

Member Avatar for Rashakil Fol
0
165
Member Avatar for Superstar288

sorry to bother all of you again but i was just wondering if i can use the same arraylist more than 1 time. this is for my project i have to create a gui for a pet store and a pet can be either a : mammal,reptile,fish or bird. so …

Member Avatar for stephen84s
0
182
Member Avatar for mikewalsh89

Hi, Am a beginner in python. Wrote this program based on the doomsday algorithm to calculate what day of the week corresponds to an inputted date.... at the moment idle rejects the program citing'march4 is not defined'.(line 23) Am i not clearly defining it there?? Please help!! Program text: #Doomsday …

Member Avatar for sillyboy
0
186
Member Avatar for shadwickman

Hi, I was wondering what was wrong with the following code. It creates a [i]vector <int>[/i] and assigns it the values 0 - 51. Then it shuffles these values and prints it to the screen. When I compile it, I get no errors, but when it runs, it throws an …

Member Avatar for shadwickman
0
115
Member Avatar for jeevsmyd

Hii Everyone... I used to be an active member of this community... but because of studies i wasnt able to keep in touch with you guys.. Am an amateur programmer,and i need your help... I have written a programme to find nCr[n combination r] nCr=n!/(n-r)! I want the compiler to …

Member Avatar for StuXYZ
0
120
Member Avatar for Tyster

Hi Folks, I am encountering what I think is a simple problem but I haven't been able to solve it. I am trying to parse a simple XML file and I keep getting the following exception... Exception in thread "main" javax.xml.transform.TransformerException: A location step was expected following the '/' or …

Member Avatar for quuba
0
1K
Member Avatar for tomtetlaw
Member Avatar for tomtetlaw
0
48
Member Avatar for sid78669

I sometimes wish they would have kept some features from c++ in C#. Anyways, I was trying to try an old c/c++ trick: [CODE]#define SUM 1[/CODE] but it does not work in c#. Anybody know how to declare symbols in c#?

Member Avatar for sid78669
0
106
Member Avatar for freelancelote

This's got probably an easy answer but it's been puzzling me a few hours already. The code below declares a string object and fills it character by character. I can print every single character (line 16) but I can't print the string as a whole (line 19). Could anybody tell …

Member Avatar for Narue
0
149
Member Avatar for sid78669

In c++, when we create an array using dynamic memory allocation, we are able to destroy it later on using: [CODE]delete [] array;[/CODE] is the same thing possible in c#? If i create an array in C#, then how do i delete it when i don't need it?

Member Avatar for sid78669
0
5K
Member Avatar for Passiongamer25

I need some help with my program. The program is supposed to read ID#'s for students as well as grades from a file called "grades.txt" After the program reads the the file it displays a menu as follows: 1. Publish(publish contents of file to output file called "report.txt"); 2. Search(program …

Member Avatar for ddanbe
0
651
Member Avatar for gunsmith2112

can someone please give me a hand in adding arrays to my game here is what i have. [CODE]#include <iostream> #include <string> #include <time.h> #include <cstdlib> using namespace std; void initMessages() { const char* END_OF_ARRAY = "end_of_array"; const int YES_MSG = 0; const int NO_MSG = 1; } char* getMessage(const …

Member Avatar for mrboolf
0
143
Member Avatar for c++noobie

I'm trying to create an template of an array class that encapsulates an array of a given type with several methods that are useful but nonstandard to regular c++ arrays. I have created a link struct to contain elements of the array and pointers to both the next and previous …

Member Avatar for c++noobie
0
187
Member Avatar for Whilliam

This is a cursor-based implementation of list inserting at the end. In the program below, the output the program will show me is the last element of my input. It is suppose to show all elements from the first input to the last. Also, after two inputs, when inserting, it …

Member Avatar for Whilliam
0
232
Member Avatar for lmastex

Hey guys. Just a question. Is it possible to use a stack class and a link list class in the same program so for example if I decide to create a list (using the link list class) and then from this list take the odd numbers and put in a …

Member Avatar for Freaky_Chris
0
106
Member Avatar for anbuninja

Hey Im having my final this week and its going to be on loops. Anyone got any good website on loops?

Member Avatar for Freaky_Chris
0
105
Member Avatar for veledrom

Hi, How do i check if any of these checkboxs are selected. If nothing is selected then invalidate the form. Javascript thanks [code] <input type="checkbox" name="MYcheckbox[]" value="0"> <input type="checkbox" name="MYcheckbox[]" value="1"> <input type="checkbox" name="MYcheckbox[]" value="2"> <input type="checkbox" name="MYcheckbox[]" value="3"> [/code]

Member Avatar for brechtjah
0
159
Member Avatar for singhraghav

i need some help here....i am taking input as name and i want to count the alphabets in the string as integers....e.g. if the in out is cab i have to output 3+1+2 = 5 i have been able to ad d up the strings..but if my input starts with …

Member Avatar for Freaky_Chris
0
112
Member Avatar for ademsaykin

I am studying a Software Engineering Degree Course in London.I am very keen to learn C++ One of my Units named Programming Methodology and we have been given a coursework during xmas holiday. I have been trying to sort it out by using internet sources but I am struggling. Our …

Member Avatar for VernonDozier
0
125

The End.