132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Traps

I'm making a website and of course want to incorporate memberships and logins, etc and while I understand the theoretical application of salting and hashing a user-inputted password to save the encrypted pass in my database, I'm not sure on the approach... What I would do is get the hashCode …

Software Development java
Member Avatar for Traps
0
105
Member Avatar for luislupe

I programmed some functions that use a dynamic array of [CODE=c] double ** array [/CODE]. But know, I want to test the results with a small array of 5 x 5 elements and use this array in the functions I coded. My problem is that I can find no way …

Software Development c
Member Avatar for luislupe
0
250
Member Avatar for TreeBranches

My program begins by opening a dictionary file, the first line of which contains the number of words in the dictionary. If I print the words immediately after scanning them into the arrays, they appear fine, but if I later examine a previous entry, I can see it has been …

Software Development c
Member Avatar for TreeBranches
0
219
Member Avatar for ringo_tech

hi there, i have this server code that send the received message from one client to all the other clients, including the one how send the message [CODE]public class Chat extends Thread{ static LinkedList<PrintStream> sll; Socket cs; PrintStream ps; public Chat(Socket cs){ this.cs=cs; try{ ps=new PrintStream(cs.getOutputStream()); sll.add(ps); this.start(); } catch …

Software Development client-server java
Member Avatar for NormR1
0
163
Member Avatar for dinesh17

I am writing a simple DHCP server application that gets ip from a server at boot up ! i wrote a shell script to run the java program that obtains ip from server on another machine... The problem is when i have obtained the ip i store it in a …

Software Development shell-scripting
Member Avatar for JeoSaurus
0
185
Member Avatar for vedro-compota

Hello everyone)) Guys please tell me - is there any way to create thread in lunux , which will not executed itself (at all) - until will get SIGCONT signal? I can't thread self stopping after creation , because in this case - we cann't be sure that the thread …

Software Development c multithreading
Member Avatar for vedro-compota
0
391
Member Avatar for radu_brasov

When the code below is executed if sometimes it performs a "TAB" sometimes does nothing and sometimes gets my PC hung so I have to do CTR-ALT-DEL & Cancel which moves the execution of the program to the next line ("End IF"). Any idea what is missing to make it …

Software Development vb.net
Member Avatar for radu_brasov
0
611
Member Avatar for bernardz26

Good Day!. Im, a new programmer. I want that the value of my textbox6 in form1 will add to the value of the textbox6 in form2. can anyone help me. :(

Software Development vb.net
Member Avatar for Mitja Bonca
0
110
Member Avatar for Syrne

Hello! I was given the task to finish writing the definitions of the Treeset class methods. I'm currently at the [B]headSet[/B] and [B]tailSet[/B] functions and quite stumped. Here's what they look like currently, with no logic: [CODE]@Override public SortedSet<E> headSet(E before){ SortedSet<E> set = new SearchTreeSet<E>(); headSet(root, before, set); return …

Software Development java
Member Avatar for Syrne
0
386
Member Avatar for www.daniweb.com

How do you convert a System::String to const TCHAR*?

Software Development c++
Member Avatar for www.daniweb.com
0
217
Member Avatar for thiemebr

Hi, I'm new in asp and c# and I've being looking everywhere on how to dynamically create multiple html tables based on a user input: e.g.: user enter 3 in a text box and right below 3 tables are created with other text boxes for more user input. Thanks

Software Development c c# c++ html-css
Member Avatar for thiemebr
0
175
Member Avatar for aj9393

I can't figure out what the problem is or how to rewrite my code to fix it. Basically I'm trying to create an Adventure game heavily influenced by the game Zork. The game presents you with some options and then you input your choice. I'm trying to account for a …

Software Development python
Member Avatar for woooee
0
213
Member Avatar for SpokaneDude

This is my code: [CODE]//++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - (void)viewDidLoad { [super viewDidLoad]; NSString *indexPath = [NSBundle pathForResource:@"iHelp" ofType:@"html" inDirectory:nil]; [webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:indexPath]]]; [/CODE] The app is crashing because 'nil' for directory name is invalid (DUH!). So for an imbedded html file, what should go there?

Software Development html-css objective-c
0
91
Member Avatar for end3r

Hi, I have a problem with some resource files (i.e. .txt) which I have created in the project under let's say com/myapp/resources. I have a class created: com.myapp.util.MyClass which reference a file.txt located in resources folder: [CODE] MyClass.class.getResourceAsStream("../resources/file.txt"); [/CODE] The project is created in eclipse. After I export the project …

Software Development java
Member Avatar for end3r
0
313
Member Avatar for choboja621

Any tips on how to connect them? COmments are highly appreciated. Thanks!

Software Development java mssql mysql
Member Avatar for choboja621
0
79
Member Avatar for gogs85

How to print pdf file when i feel that file and save in some folder, when i save file, call automoatic that file to open in adobe reader?

Software Development file-system pdf
Member Avatar for gogs85
0
152
Member Avatar for richyb

Hello please can anyone help me with microsoft access. I work as a software support consultant for a medical software company and we have an sql server database with all the bugs etc but the website is awful. I have made myself a small access database with bugs that i …

Software Development microsoft microsoft-access
Member Avatar for richyb
0
193
Member Avatar for kris222

here's what i ve done so far can anyone please check for the error i made cause the output is wrong: .model small .stack 100h .data disp db "Enter Choice:$" disp1 db "a-IT22A",0ah,0dh,"$" disp2 db "b-IT22B",0ah,0dh,"$" disp3 db "c-IT22C",0ah,0dh,"$" disp4 db "Choose Behaviour Level:$" disp5 db "1-Excellent",0ah,0dh,"$" disp6 db "2-Normal",0ah,0dh,"$" …

Software Development assembly
Member Avatar for thines01
0
82
Member Avatar for choboja621

I'm not asking you to give me codes or what, I'm just asking for a little ideas thats all. :> My problem is, how to create a program of CPU Scheduling, particularly, Preemptive one, like SRT, Round Robin etc. How can I make them using VB.NET. Thanks in advance for …

Software Development vb.net
Member Avatar for Begginnerdev
0
94
Member Avatar for mangopearapples

Hey everyone, I'm trying to make a button have an image, it used to work but for some reason, now it doesn't. This is the error: [COLOR="Red"]Exception in thread "main" java.lang.NullPointerException at javax.swing.ImageIcon.<init>(Unknown Source) at Main.createImageIcon(Main.java:109) at Main.<init>(Main.java:82) at Main.main(Main.java:103) [/COLOR] I see that the error is the: [CODE]ImageIcon NewFileIcon …

Software Development gui image java
Member Avatar for Moraes V.A.
0
358
Member Avatar for sirlink99

I am wondering if there is a way to make a MySQL database using my java program without actually having a defined username for the admin. for example I would make a program that you could install on all computers in a network that connect to a newly made database …

Software Development java
Member Avatar for masijade
0
123
Member Avatar for ilovephil

As you can see this is my program.my problem is how to store strings in my program I can store only single character.. any one can help me? =( #include<stdio.h> #include<stdlib.h> #include<string.h> #define p printf #define s scanf struct node { char nbook; struct node *next; }; typedef struct node …

Software Development c
Member Avatar for Banfa
0
136
Member Avatar for dwiniers

Hello there need your expertise i got the run time error invalid use of null in line number 19. Thanks in advance [CODE]Private Sub Form_Load() Dim oRS As New classRecordset Set rsLibrary = oRS.CurrentRS(Books) Set rsTrans = oRS.CurrentRS(Reserved) With rsLibrary Combo1.Clear Dim i As Integer Dim st As String Dim …

Software Development visual-basic
Member Avatar for Jx_Man
0
480
Member Avatar for cyberdaemon

good day. i have a problem with my login from. i have my table under SQL server 2008. which is tbl_user,with a field of userid,username,password and category i created a simple login form but that's fine and working as a simple login.. my problem is that i want to add …

Software Development open-source vb.net
Member Avatar for Begginnerdev
0
2K
Member Avatar for IcyFire

Im trying to write a program that will scan both characters and numbers from a user then put the number into an array or call another function based on the user input. For example the user will type 'Insert 3' and this will call the function to put 3 into …

Software Development c
Member Avatar for IcyFire
0
182
Member Avatar for jumo1807

Hi, I am currently newbie in C++, I just learned it for around 2 weeks, My question is when I put the number, it shows if it's a prime number or not. The only problem when I put 2 and 3, it supposed to be prime numbers, but the fact …

Software Development c++ mathematics
Member Avatar for Lerner
0
135
Member Avatar for observ

Hi, I have an issue, with not being able to set the the correct header here is the operation from the WSDL: [CODE]- <wsdl:operation name="findRegistrationByID" parameterOrder="registrationID"> <wsdl:input message="impl:findRegistrationByIDRequest" name="findRegistrationByIDRequest" /> <wsdl:output message="impl:findRegistrationByIDResponse" name="findRegistrationByIDResponse" /> </wsdl:operation>[/CODE] This is also from WSDL: [CODE]- <wsdl:operation name="findRegistrationByID"> <wsdlsoap:operation soapAction="urn://url/findRegistrationByID" /> - <wsdl:input name="findRegistrationByIDRequest"> <wsdlsoap:body …

Software Development api http-protocol xml
Member Avatar for observ
0
1K
Member Avatar for CriticalError

Hi Guys. I got two combo boxes, one has numbers from 1-75 and the other one has all system fonts. I have a richtextbox as well. I basically want the user to be able to choose the font and font size from the combo box and then apply to the …

Software Development vb.net
Member Avatar for Jx_Man
0
850
Member Avatar for mayursharma

Hello everyone .. I am new to this excel reading !! Introduction: I have a link to a txt-file(or doc file) in excel file and i need to read a data present in the linked file. I can read normal text present in excel file.. Problem : but not able …

Software Development file-system java
Member Avatar for mayursharma
0
752
Member Avatar for skp03

Hello every body I am working on VS2010 C# windows application how can i search a particular file by name sample1.txt not only in one drive, how can i search a file in complete system please help me

Software Development
Member Avatar for thines01
0
317
Member Avatar for ilovephil

can i return a value using CHAR DATA TYPE? NOT INT? ex.int data; int value(ex.data) return data; how about this ex.char name; int(ex.name) return name; possible or not?

Software Development c
Member Avatar for ilovephil
0
86
Member Avatar for zachattack05

Greets again! I am working on a project and have some controls that I have created, and even some full namespaces that I think would be very useful to other projects I am working on and possibly future ones. I'm considering pulling the code for those namespaces/controls out of the …

Software Development
Member Avatar for zachattack05
0
136
Member Avatar for remya1000

I’m using VB.Net. I’m using DataGridView with ColumnType = DataGridViewTextBoxColumn. I have 3 columns. Column1, Column2, Column3. For example: [CODE] Column1 Column2 Column3 1 AA AAA 2 BB EDIT 3 CC CCC [/CODE] If column3’s value = “EDIT”, then I need to edit only that cell. Here for example: i …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
609
Member Avatar for choosechrist

i am using a listview on my admin form to see those who are logged in. so i have a table which captures users logging in and logging out. this table data is reflected onto this listview. but i want the listview to refresh itself as soon as the user …

Software Development listview vb.net
Member Avatar for M.Waqas Aslam
0
288
Member Avatar for dilse4sk

hi every one i am trying to get a total in vb.net. i have a booking form which has fields like cust_id,date,location and payment. what i want to do is to generate a report so that when administrator wants to see report of total sale of suppose for the month …

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
228
Member Avatar for ladybro

Hi folks, Right now I'm trying to learn about multidimensional arrays. I'm currently working on an assignment where I have to store data in said arrays. However, the input format is funky and surpasses my knowledge of how I can store it. The problem is generally along these lines. X …

Software Development java
Member Avatar for NormR1
0
188
Member Avatar for huskarit

Hi Everyone! I got two form. form 1 i ask the user a number of guest form 2 i ask each guest their name, their age i decide to make a loop throught form2 array base on the number of guest but then i got this error. NullReferenceException was unhandled …

Software Development vb.net
Member Avatar for thines01
0
128
Member Avatar for phorce

Hello I need some help, I'm trying to output something to a text file (.htm) which will then display the data that is being generated in the C# program.. Now the problem is, whenever I try to replace something, it doesn't work. Just replaces it with "System.Char[]" Here is the …

Software Development file-system
Member Avatar for thines01
0
128
Member Avatar for laalesh

Hi All, I want to pass few dynamic arguments to shell script. The number of arguments differ each time I call the script. I want to print the arguments using the for loop as below. But not working out. for (( i=1; i<=$#; i++ )) do echo $"($i)" done /bin/sh …

Software Development shell-scripting
Member Avatar for laalesh
0
84
Member Avatar for blondie.simon

Hi I'm trying to display the version number of my application on the screen using the code below. [CODE]Version = My.Application.Info.Version.ToString[/CODE] When ever this line of code runs Version always ends up being 1.0.0.0 but my publish version number is 1.0.0.33 Is the My.Application.Info.Version not the same as the publish …

Software Development vb.net
Member Avatar for Djoulz
0
8K
Member Avatar for karthiknv

Hi, I'm developing an application which needs information from an word document. Currently, i'm opening it in editable for getting information. But, Sometimes when the Document is already opened an unexpected window with a message--Doument is already opened for editing.do you want to open it in read-only mode-- is getting …

Software Development visual-basic
Member Avatar for kaktuz
0
1K
Member Avatar for zachattack05

So the question is, if I am instantiating a control for use on a form (or any object really) at what point is the object and it's properties/methods considered loaded into memory? The reason why I ask is because evidently when I instantiate my custom controls, but before adding them …

Software Development
Member Avatar for zachattack05
0
125
Member Avatar for RonKevin

Hello guys, Ron here...im going to start my IT lessons next year but I already started learning some basics in C++...actually, I tried making a Hangman game already but there's something wrong...My loop is incorrect...please help me...so here is my first ever code.. #include<iostream.h> #include<conio.h> #include<stdio.h> #include<math.h> void main() {char …

Software Development c++
Member Avatar for RonKevin
0
135
Member Avatar for james1on1

HI thanks for free info i would really like some help with c# i want some c# code which will check web browser control for a link which has at the start example: http://clickmefirst.com/random bull so it will check page untill it finds a link with http://clickmefirst then it will …

Software Development web-browser
Member Avatar for thines01
0
186
Member Avatar for jcAmats

Hi. Can somebody help me? I am trying to create a program that reads random line from a file and displays them. My problem is, it keeps repeating the same line after a few tries. i have 8 total lines from my file... this is my code so far... [CODE]public …

Software Development java
Member Avatar for jcAmats
0
594
Member Avatar for Srcee

I have two tables in my database - Category and Food. Food has idCategory. Category has id and idParentCategory. From them, I need to create a string which will look like this (or xml): <?xml version="1.0"> <tree id="0"> <item text="Category1"> <item text="Food1"/> <item text="Food2"/> </item> <item text="Category2"> <item text="Category1"> <item …

Software Development algorithm xml
Member Avatar for thines01
0
172
Member Avatar for poojavb

Hello Friends, I have one project in Java but the exe file cant show the system.out.println messages. I want to create a jar file in such a way that the error of file e.g. abc.java should be viewed when I click the jar file. is there any possible way....

Software Development file-system java
Member Avatar for poojavb
0
147
Member Avatar for bo0ga

How did you learn Java? I just watched the basic and intermediary video tutorials from thenewboston.com and I'm still not 100 percent. I've moved onto the android application development tutorials which deals with a lot of java, and I still don't totally understand it. It started off with a bunch …

Software Development android android-development gui java pdf
Member Avatar for stultuske
0
206
Member Avatar for Chuckleluck

Can someone give me some resources (books, online tutorials, etc.) on algorithms for 2D collision detection? I've searched a little, and all the ones I can find are for 3D collision detection. Thanks in advance. EDIT: Just to clarify, I know [I]how[/I] to do collision detection, just not efficiently.

Software Development c++
Member Avatar for raptr_dflo
0
303
Member Avatar for pepyrs

Hey guys I know it had been discussed so much but I still don't get it working. What I need is to filter a gridview by a few dropdown lists and the main idea is to "continue" filtering the gridview. I mean, when I select value from ddl1, then the …

Software Development asp.net
Member Avatar for robea
0
841

The End.