199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for The-noob

I can't quite seem to get my head around this, i can load numbers in and add to an array then sort via bubble-sort but i cant seem to manage it with words. Any examples or help would be nice!! I need to load the word list from file then …

Member Avatar for Reverend Jim
0
297
Member Avatar for Trle94

Can someone help me out writing hex string to file hex address from textbox? This is my current code: private void button1_Click(object sender, EventArgs e) { BinaryWriter wr = new BinaryWriter(File.OpenWrite(listBox1.SelectedItem.ToString())); for (int i = 0x83C410; i <= 0x83C417; i++) { wr.Write(textBox1.Text); } wr.Close(); } But it doesn't work after …

Member Avatar for JOSheaIV
0
197
Member Avatar for aseeman

Hi everybody, I have a file with some tags like html. *<instance id="bass.1000000" docsrc = "BNC/A0C"> <answer instance="bass.1000000" senseid="bass%fish"/> <context> Try it with grilled sea <head>bass</head> and fennel. </context> </instance>* I need to parse it and retrieve some information like id and senseid in answer tag. How can I do …

Member Avatar for JOSheaIV
0
297
Member Avatar for bensila4

hi, my name is Ben,am new to c++ and i have this assignment to do.am stuck please somebody help me out Frequency of letter pairs Write a program to count the occurrences of all letter pairs in a sample of text (like the first paragraph of the Constitution). Disregard differences …

Member Avatar for tinstaafl
0
111
Member Avatar for showman13

I asked this question 4 months ago, and while I did receive a few responses, I never really got what I needed resolved... What I was hoping to find is probably what diafol was talking about dusting off and taking another look at, and that is a PHP based script …

Member Avatar for iamthwee
0
273
Member Avatar for nadiam

hello. I have a page with two tables, .contact-names and .guest-list, and a drop down list. by default the tables are empty but shows message "please select an event" from the drop down list. when an event is selected .contact-names is loaded with names from database and .guest-list remains empty. …

Member Avatar for mattster
0
245
Member Avatar for Transcendent

I have created a function in mysql but when I call it using: SELECT myFunction(3); it says it does not exist. I checked my server and it is in there. I have also tried this also: INSERT INTO myTable(num, num2) VALUES (15, (SELECT myFunction(15))); Is this right and how do …

Member Avatar for jstfsklh211
0
211
Member Avatar for pamchie

hi. can someone give me a specific title for biometric voting system.. please, i badly need it :(

Member Avatar for pamchie
0
86
Member Avatar for psichoman5

Hi!, i need to convert the string of a function in binary. In this case, i need to convert the return of the function swap() into binary to compare it in Mensaje_codificado() but it doesn't work. This is my script: - Thanks! Binary function: def numero_binario(x): i = 0 b …

Member Avatar for Gribouillis
0
2K
Member Avatar for PinoyDev

Good day! I have problems running my union all query..It only executes the first select statement but the 2nd and 3rd union was not executed. My backend DB is MSAccess 2003.. If rs_dailySales.State = adStateOpen Then rs_dailySales.Close SQL = "SELECT SUM(NetAmount) AS totalCashSales FROM InvoiceMain WHERE InvoiceType='Cash' AND DateOInvoice=DateValue('" & …

Member Avatar for pritaeas
0
221
Member Avatar for amith_ami

hi..all i want to create a new page in the wordpress admin panel to manage orders with file uploading and message sending option. please help me to do this... tnx in advnc..

Member Avatar for pzuurveen
0
221
Member Avatar for kuchi

We have date "30-DEC-99" in oracle database but when our code reads that date is reading like "datetime.datetime(1899, 12, 30, 0, 0)", why the year 99 is reading like 1899 rather 1999? how do I fix this issue? please suggest.

Member Avatar for Lardmeister
0
182
Member Avatar for jKidz

Hi All, These days I'm busy with the PHP Photo Gallery Solution. In this system Admin can upload images and its' descriptions. When user point mouse on the image, tooltip will appear. That tooltip windows contain images' description. My problem is, Image Details are stored in `photos` table. And its' …

Member Avatar for rpv_sen
0
2K
Member Avatar for nadiam

hi guys. is there a plugin or jquery ui that i missed that would allow a user to resize width or height of image/element and rotate image/element? resize something other than .resizable() . i found [this](http://www.ajaxblender.com/howto-rotate-image-using-javascript-canvas.html) for rotation it uses canvad tag and DXImageTransform.Microsoft.BasicImage. is there any other? TIA!

Member Avatar for AleMonteiro
0
707
Member Avatar for Necrozze

So I have writen a program that takes a linkedlist and shuffles it randomly using mergesort algorithm. The problam I'm having now is that the original list loses elements after the shuffle, and after som checking with some outputs it seems that it always one of the extra lists who …

Member Avatar for Necrozze
0
815
Member Avatar for DragonMastur
Member Avatar for ma.da.7140

Hello..im a newbie in php, i'm curious about how to make a single file with multifunction, so i can call this file in another file. For example, i made a search function in "search.php". Then i want to call it in another file (more than one), to run a search …

Member Avatar for ma.da.7140
0
523
Member Avatar for giovannelapay

Hello there everyone!! i have created a succesful page that will update the profile of the students. It has the ability to edit the students profile and academic records. I have found out that the page is loaded so i decided to separate the two (student's profile and academic record). …

Member Avatar for cereal
0
463
Member Avatar for bpacheco1227

I need to load the contents of a text file (itemInfo.txt) into a list box, I am on the wrong track, can someone please help. [code=VB] Public Class MainForm Private path As String = "L:\Visual Basic\SequentialHW\" Private Sub MainForm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load itemListBox.Items.Clear() itemListBox.Items.Add(path …

Member Avatar for Cherrielane
0
2K
Member Avatar for Vincent_5

Im building a banking system. in my create_account it asks for account address and phone number as well as other questions. When I go to my Show account info (balance inquiry) I notice its not getting the right address as well as phone number. its showing "garbage". Im not sure …

Member Avatar for tinstaafl
0
385
Member Avatar for Santanu Das

When I want to create a database by through MySQL Workbench 6.1 CE the database always creates at "C:\ProgramData\MySQL\MySQL Server 5.6\data\". But I want to save it in my desired folder. How do I do that?

Member Avatar for Santanu Das
0
296
Member Avatar for Santanu Das

I use SQL Server2008 R2. From yesterday, I get a problem to open it. When I try to open it by Microsoft SQL Server Management Studio an error is occurring. And I also get the same error when I call it from vb.Net2010. I am attaching here the error picture. …

Member Avatar for Santanu Das
0
172
Member Avatar for cannon_1

I have built Boost from the website using ./bootstrap.sh ./b2 install [IMG]http://i.stack.imgur.com/VDrHd.jpg[/IMG] [IMG]http://i.stack.imgur.com/ZaBfk.jpg[/IMG] I think all are installed properly. I am trying to use Xcode to include the library of boost:thread.My code links to the header file properly with " #include "boost/thread.hpp"" commented, as seen from the following: [IMG]http://i.stack.imgur.com/XW1qE.jpg[/IMG] However, …

Member Avatar for mike_2000_17
0
364
Member Avatar for ashokkmr22

Need to set cache in browser using javascrip.If the internet is disconnected the web page is load by the same. Guide Me how will arrive this.

Member Avatar for AleMonteiro
0
72
Member Avatar for Marumarsu

Hello, i'm new to C and i have no idea why i'm constantly getting 2293532 as the output value of %d. Any help is appreciated, thanks! #include <stdio.h> #include <stdlib.h> int main(void) { int friends; printf("How many friends do you have? \n"); scanf(" %d", &friends); printf("You have %d friend%s", &friends, …

Member Avatar for rubberman
0
121
Member Avatar for hapiscrap

I am drawing image in GIMP and was wondering if the pixels can be moved without moving the whole layer, I just want to move a set of pixels lower on the layer.

Member Avatar for hericles
0
94
Member Avatar for nadiam

hi guys. i have this one page that is for graphical seating arrangement. u know like for say a wedding u assign who is seating where, what table is used, where is the table placed and stuff like that. right now i just have drop down list of the number …

Member Avatar for mc3330418
0
902
Member Avatar for jeffersonalomia

Ive save my image on the resources folder abd i want to load picture on picbox... i used this method image1.load(Application.startUpPath+ "\sub" & 1 &".png" my problem is that.. there is an error on my location What is the perfect way of constructing that statement

Member Avatar for Mr.M
0
149
Member Avatar for Mr.M

Hi Dw Is there anyone know how I can retrieve contacts from my cellphone connected via usb using vb.net? I want to be able to read and perhaps write back contacts to and from a cellphone. Any idea, book, reference, guide towards achieving this? Thank you.

Member Avatar for Mr.M
0
220
Member Avatar for BMutev

Hello guys, I've wrote a symbol table creator that uses hash function to determine the position of the symbol in the table and a linked list approach for the storing process in the table. And to the point. I've known myself for doing easy problems the hard way(and my teachers …

Member Avatar for NathanOliver
0
193
Member Avatar for suavedesign

Using jquey, I am making some elements on my site fade in and out. http://www.boneiolam.org/ns/ - The part I am referring to is on the grey background, under "services". How do I make the effect occur on only one instance of the element at a time? For example, when you …

Member Avatar for suavedesign
0
216
Member Avatar for Anirudh_1

I have two text files a.txt that contains data like abcd = 4.0 def =2.0 jkl= 8.0 and b.txt which has similar data abcd = 6.0 dfg = 2.0 jkl = 8.0 i want two compare and print the following points in a new text file 1.the names first, if …

Member Avatar for raicabogdan
0
305
Member Avatar for munchlaxxx

Hi, I was wondering if anyone could clarify what this question is asking for? *Write a program with a loop and indexed addressing that exchanges every pair of values in an array with an even number of elements. Therefore, item i will exchange with item i+1, and item i+2 will …

Member Avatar for munchlaxxx
0
930
Member Avatar for Tycellent

So i've decided to use SFML and i'm just trying to figure out its advantages and disadvantages...I've looked around and this is what i've got so far. Advantages: * Cross Platform * OO Design * Simple and fast (subjective) Disadvantages: * Quite new Any additional thoughts will again appreciated

Member Avatar for Sarkurd
0
684
Member Avatar for Jinxx

I have written a code that asks the user a name (ex.candy) and a number then it stores it in a stuff.txt file like so: " candy 20 candy 40 decorations 70 costumes 40 candy 60 " When reading from that stuff.txt file, how can I add the running total …

Member Avatar for tinstaafl
0
810
Member Avatar for zachattack05

Good morning! I was wondering if anyone could send me in the correct direction to locate documentation on how the Windows Sensor and Location Platform gets its data so that I can have a Windows service that will respond to GPS requests (without actual GPS hardware)? I'd like to have …

Member Avatar for zachattack05
0
190
Member Avatar for shilu2

'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' Runtime Version:4.0.30319.17929 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '------------------------------------------------------------------------------ Option Strict Off Option Explicit On Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.ReportSource Imports CrystalDecisions.Shared Imports …

Member Avatar for Santanu Das
0
1K
Member Avatar for SimonIoa

I have developed a script so that users can upload audio files (mp3). The problem is that you can't tell when the uploading has finished and so the user may submit the form. The load status that i have developed keeps showing the loader image without stopping. I want help …

Member Avatar for SimonIoa
0
160
Member Avatar for SimonIoa

I am getting this on my error log Cannot serve directory /home/ro265852/public_html/uploads/photos/: No matching DirectoryIndex (index.html.var,index.htm,index.html,index.shtml,index.xhtml,index.wml,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.js,index.jp,index.php4,index.php3,index.php,index.phtml,default.htm,default.html,home.htm,index.php5,Default.html,Default.htm,home.html) found, and server-generated directory index forbidden by Options directive does anyone tell me what it means?

Member Avatar for SimonIoa
0
458
Member Avatar for Pavan_6

Dear Geeks, I have a situation that I am trying to figure out how to automate on excel or write a program in python. i have a csv file like this: > team1 team2 win > hawks celtics 1 > hawks knicks 1 > hawks 76ers 0 > hawks lakers …

Member Avatar for J.C. SolvoTerra
0
199
Member Avatar for nitin1

Today, I faced very weird problem. I have 2 classes say class A and B. Both have one .h and .cpp files. 4 files(A.cpp,B.cpp,A.h,B.h). A class is base class of B and we are using instance of B in class A. It was saying "not a type" error while compiling. …

Member Avatar for NathanOliver
0
363
Member Avatar for moaz.amin.37

i write a code of multithreading in which arise an race condition code is below class Race1{ public void show(String s){ try{ System.out.print("["+s); Thread.sleep(1000); }catch(InterruptedException e){ e.printStackTrace(); } System.out.println("]"); } } class Checking implements Runnable{ Race1 ob=new Race1(); String s; public Checking(String s){ this.s=s; } public void run(){ synchronized(ob){ ob.show(s); …

Member Avatar for vantrendin
0
247
Member Avatar for cambalinho

i'm very confused and the others forums make me more confused :( i'm using string, so i need convert string to WCHAR*: const size_t len = filename.length() + 1; wchar_t wcstring[len]; swprintf(wcstring, len, L"%s", filename.c_str()); Gdiplus::Image img2(wcstring); the img2 read the file normaly, but i'm creating another Image variable in …

Member Avatar for JasonHippy
0
444
Member Avatar for acrocephalus

Hello! I'm quite new with PHP and javascript, so apologize me if this is an easy question.I have a form with a dropdown box and a GO button, used to select documents (from the dropdown box) and navigate to them (GO button). What I would like to do is to …

Member Avatar for hericles
0
127
Member Avatar for shilu2

I am trying to show data on datagridview but error occurs Form1.vb code is as below Imports System.Data Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.String Imports System.Configuration Imports System.ComponentModel Public Class Form1 Dim con As SqlConnection Dim cmd As SqlCommand Dim dr As SqlDataReader Dim da As SqlDataAdapter Public …

Member Avatar for shilu2
0
503
Member Avatar for xuexue

Hi! I am doing the programming on my computer and it works fine-the program, the database itself, inserting to the database is also working fine. But when I publish it and install the program on another computer. It crashes and does not execute the `INSERT` command. Here is my code. …

Member Avatar for xuexue
0
311
Member Avatar for xuexue

So here's the error in the Event Viewer. Application crashes when inserting data to the database. DAtabase: AS/400 iSeries DB2 Faulting application name: 242-CEWE.exe, version: 1.0.0.0, time stamp: 0x542a2ac6 Faulting module name: MSVCR80.dll, version: 8.0.50727.6195, time stamp: 0x4dcddbf3 Exception code: 0xc000000d Fault offset: 0x00022b5c Faulting process id: 0x12ec Faulting application …

Member Avatar for xuexue
0
199
Member Avatar for IT_Techno

hi I have create windows application using visual Studio 2010, every things goes will, but I have problem with display crystal reports in arabic language. on my pc every things working and showing reports very will in arabic language, but when i create setup project and .exe file then install …

Member Avatar for IT_Techno
0
370
Member Avatar for joshl_1995

Hello Community, I was wondering what I would use, first off I'm running something by my self so do I use us or me? (Example contact us or contact me). Do I just use us to just pretend that there is more than one person running the service?

Member Avatar for joshl_1995
0
266
Member Avatar for ashokkmr22

How to maintain a heavy weight data in the MYSQL DB?For Fetching a value takes more time.

Member Avatar for veedeoo
0
121

The End.