132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Krokcy

Im creating a banking system for a university assignment. Basically I have been struggling with encrypting user data. Its a first year assignment (in a 3 year bachelor) please bear this in mind when commenting x))) [CODE] //The constructor sets the global veriable key to a user defined value. //The …

Software Development encryption java
Member Avatar for stultuske
0
154
Member Avatar for C0ding

Hello everyone, I've been having this problem for years: "Compile error: Procedure too large" I asked this question in few places, Expert-Exchange was one, but nobody never came out with an answer, now here i am again, hoping to find a solution for this issue or problem in my project. …

Software Development visual-basic
Member Avatar for C0ding
0
559
Member Avatar for Kitson

Hi Guys, I'm really struggling getting to grips with C++ I need to read a .txt file which contains something similar to this: [CODE]Eng.Speed Torque 1000.0, 34.55 3800.0, 46.58 6600.0, 47.44 9400.0, 48.75 12200.0, 39.79 15000.0, 24.61[/CODE] I'm trying to: .Open a file named torque1.txt .extract the data .I want …

Software Development c++ file-system
Member Avatar for WaltP
0
848
Member Avatar for crazymidget01

I am trying to read in a file that holds an unknown number of x and y coordinates that are to be later plotted into a 2-D array. Does the file have to be read through twice? Once to determine size of the array needed to plot all coordinates, then …

Software Development file-system java
Member Avatar for NormR1
0
225
Member Avatar for gameover9

I am trying to write a program to browse to a WSP file and then run the STSADM to make it easier to add solutions to our sharepoint site. The STSADMN is located in c:\program files\common files\microsoft shared\web server extensions\14\bin\stsadmn.exe. [CODE]stsadm -o addsolution -filename "filename that was selected"[/CODE] This currently …

Software Development sharepoint web-server
Member Avatar for gameover9
0
178
Member Avatar for icekid5

HI:) i have tried for several hours to make my textbox accept negative numbers but i couldn't solve the problem so i'm hoping u can help me with this.I got here an example of my code: private void textBox76_KeyPress(object sender, KeyPressEventArgs e) { e.Handled = !char.IsDigit(e.KeyChar) && !char.IsControl(e.KeyChar); textBox76.MaxLength = …

Software Development
Member Avatar for icekid5
0
2K
Member Avatar for falconpunch

So I was assigned the task of displaying all numbers divisible by two, five, and every third number in a range which I'm sure you can see how I did that. However I am having trouble as I was asked to use while loops, and I would also like to …

Software Development display java
Member Avatar for Majestics
0
1K
Member Avatar for siqu

Hi all. I have this error and i cant figure out what is wrong here, i have tried to google and used a few methodes to c what is wrong but, naah, no luck. [I] pic 16f887 HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.81 Copyright (C) 2010 Microchip …

Software Development c
Member Avatar for siqu
0
461
Member Avatar for dilse4sk

hi every one. I would like to know how to save data without click on the floppy disk on binding navigator. IS there any coding which i can use under a button to do the same function as binding navigator.I just want to use button to save and delete data …

Software Development vb.net
Member Avatar for dilse4sk
0
122
Member Avatar for Farhan_B

[CODE]"UPDATE cg_security_user_right SET user_id, right_id ,enable_flag WHERE LastName= " & tuser.Text & " right_id = " & tright.Text & " enable_flag = " & CheckBox1.Enabled & ""[/CODE] How can i improve this code thanks in advance

Software Development vb.net
Member Avatar for cyberdaemon
0
363
Member Avatar for anakonda540

Hello all, i need to creates an automated form that detect the current destination path of the application setup wizard and copies a certain folder then asks where to save this folder so i can use it in a setup wizard. i hope that my question is clear and thanks …

Software Development vb.net visual-basic
Member Avatar for cyberdaemon
0
189
Member Avatar for emreozpalamutcu

Here is list of things I want to do: Display context menu strip only when mouse is over the item and right clicked on it, the code I have for that is this: [code]private void contextMenuStrip1_Opening(object sender, CancelEventArgs e) { if (listView1.SelectedItems.Count == 0) e.Cancel = true; } private void …

Software Development asp.net listview microsoft
0
113
Member Avatar for Sibuns

Hey! I have some trouble with drawing on picturebox in visual studio c#. I want do draw a line between 2 points that i get either with mouse clicks or with inserting coordinates manualy. So i have created 2 events, picterbox paint event where i made a pen and graphics, …

Software Development c c# c++ visual-studio
Member Avatar for Sibuns
0
2K
Member Avatar for kris222

.model small .stack 100h .code start: xor cx, cx mov ah, 1h @loop: int 21h cmp al, 0dh je @end push ax inc cx jmp @loop @end: mov ah, 2h dis: pop ax int 21h loop dis mov ah, 4ch int 21h end start

Software Development assembly
Member Avatar for thines01
0
117
Member Avatar for C0ding

Hi everyone, [U]Batch example: start /wait executable.exe[/U] I've been using this method with batch files, this time i would like to use something similar in Visual Basic 6, i tried to replace this method using Do While Loop, Do Until... Loop Statement, etc. but still can't find a better way …

Software Development visual-basic
Member Avatar for C0ding
0
184
Member Avatar for gunnerone

Hi I am trying to validate a URL in-putted by the user to check whether it is syntactically correct. [CODE] #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <regex.h> printf("Enter the website URL:\n"); fgets(str, 100, stdin); if (!strcmp(str, "\n")) { printf("Empty URL "); exit(2); } regex_t regex; …

Software Development c c# c++ regex
Member Avatar for Ancient Dragon
0
1K
Member Avatar for flywheeljack

I believe I may have already posted a much longer explanation of this , but its driving me spare!!! I have several pieces of code that click buttons thru sendmessage commands, all the code works fine in Windows 7! But I put the app on WindowsXP and only some of …

Software Development vb.net visual-studio
Member Avatar for Begginnerdev
0
151
Member Avatar for TIM_M_91

Hi there I was wondering if their is anyone who can convert this statement from 'INSERT' to 'UPDATE' as I cannot seem to do is. Code can be seen below: [CODE]public static void COUNT2( ) { try { ResultSet res = stmt.executeQuery("INSERT INTO TABLE2 (VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT) SELECT VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT FROM TABLE1" ); …

Software Development java microsoft-access
Member Avatar for StephNicolaou
0
793
Member Avatar for dennysimon

hello all I create simple software say it's name K.jar ,I place it on desktop I double click it , it run nicely.I close it. I install Nokia Suite (it available on net) When I double click my K.jar ,Nokia Suite run ,my K.jar doesn't run If I uninstalled Nokia …

Software Development java
Member Avatar for dennysimon
0
648
Member Avatar for Raim

I'm making an alarm clock whose form's backColor should change randomlly every 5 seconds. I am not sure as to how to do this. I'm using a timer so after the alarm clock's given time matches the current time, a song will be played. But I do not know how …

Software Development vb.net
Member Avatar for codeorder
0
154
Member Avatar for jahanruhi3@gmai

package com.batch; import java.sql.*; import java.text.SimpleDateFormat; import java.util.ArrayList; import DBConnection.DBConnect; public class Batch { @SuppressWarnings({ "unchecked", "rawtypes" }) public ArrayList BatchAction(String ik) { Connection conn = null; Statement st = null; ResultSet rs; ResultSet rs1; ArrayList al = new ArrayList(); conn = DBConnect.getConnection(); final SimpleDateFormat monthDayYearformatter = new SimpleDateFormat( "dd …

Software Development java
Member Avatar for stultuske
0
203
Member Avatar for timosoft

Hello, Am getting below error, the program cant seem to find some custom dll on my project when installed. in the setup and deployment i check only 'primary output source from myapp' Help please [code]System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not …

Software Development assembly vb.net
Member Avatar for timosoft
0
278
Member Avatar for jelly46

Hello Does anyone know how to disable the current link in a breadcrumb trail. All that i know in XSLT has failed Please help here is the XSLT code: [code] <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" omit-xml-declaration="yes" /> <!-- Variable to determine if the current open page is displayed as a …

Software Development xml
Member Avatar for jelly46
0
217
Member Avatar for shean1488

Hi everybody. I have a question: My code produces only 1's. Does it show that processor can only do one task at a time or it is just simply becouse I made something wrong? [CODE]import java.lang.Thread; public class SleepThread implements Runnable{ public final int sleepTime = 1000; public String str …

Software Development java
Member Avatar for stultuske
0
138
Member Avatar for faithful4ever

I just have a quick question. Say I have a struct for the purpose of commenting in which it could be filled up or left blank depending on the user. Therefore, I need to dynamically allocate memory to the array comments. [CODE] typedef struct userComments { char comments; } name; …

Software Development c visual-studio
Member Avatar for zeroliken
0
133
Member Avatar for Suzie999

Have a situation with my code, where it appears the stringstream object is not being cleared. Here is my code, this code will set an interprocess shared variable, The code is simplified to illustrate my problem, and all other variables are there to aid in that, for instance, the ints …

Software Development c++
Member Avatar for Suzie999
0
260
Member Avatar for DesignGhosts

Hi there, I am trying to apply a Manifest file to my delphi application so that it can run with administrative permissions, I have been following [URL="http://delphi.about.com/od/delphitips2009/qt/delphi-vista-registry-run-on-startup.htm"]this Tutorial[/URL] part Faking UAC Rights - How to Request Execution Level. I have got to step 6 where I start getting problems, I …

Software Development assembly delphi file-system ide pascal qt
Member Avatar for DesignGhosts
0
2K
Member Avatar for Pravinrasal

I have stored an array in database field name "[B]exp_values[/B]" like : [{"concentration":"30","answers":60},{"concentration":"30","answers":60},{"concentration":"30","answers":60}] and I want to retrieve from database I am using spring and I created pojo(bean) class like [CODE]public class ExperimentParameterBean { private String username; private String[] exp_values; public String getUsername() { return username; } public void setUsername(String …

Software Development java
Member Avatar for Pravinrasal
0
164
Member Avatar for madhukesh

i want to do some projects in c++ ,which topic is easy to do project please give some suggestion

Software Development c++
Member Avatar for zeroliken
0
54
Member Avatar for lordsurya08

I am writing a game in which I need to draw text onto the screen. As I understand it there are two main ways to do this using Graphics2D - using GlyphVector and using drawString(). Of the two I prefer the previous because it allows me to define text as …

Software Development java java-swing
Member Avatar for jackbauer24
0
215
Member Avatar for Arpssss

I have a Hash Table like, HashTable ht = { (1, 1), (2, 1), (3, 1) } Now, I implement it like, Integer foo = Integer(1) and declare hash table like, HashTable ht = { (foo, foo), (2, foo), (3, foo) } Now, as per I understood from [URL="http://www.kdgregory.com/index.php?page=java.refobj"]this[/URL], it …

Software Development java
Member Avatar for JamesCherrill
0
189
Member Avatar for jayadan

How to convert these inputs as regular natural numbers 1) 0x000F 2) 0x2222 and similar inputs likes this. Guys i want the coding part and also the simple manual regular calculation part too. Thnks in advance.

Software Development java
Member Avatar for JamesCherrill
0
133
Member Avatar for Perlie

Hi! I'm working on a Perl code since two weeks without found anything so, I'm asking for your help. I have two files: The first is like this: [CODE] 141374_at AttA 141559_at sec5 141691_at spz 141930_at imd [/CODE] These datas were selected before according to a criteria. And the second …

Software Development perl
Member Avatar for Perlie
0
167
Member Avatar for TIM_M_91

Hi guys I have a loop that increases my setsize to 1100 which works fine. My question is is it possiable for when I click my button the loop executes then if I click the button again it does not execute the loop and carry's on with the rest of …

Software Development java
Member Avatar for stultuske
0
98
Member Avatar for saneeha.nust

The following code line is working fine... XmlNode sslNode = appHostNode.SelectSingleNode("sites/site[@name = 'www.wow.com']/ftpServer/security/ssl"); Now I want to pass a variable instead of 'www.wow.com'... please guide how can I do it....

Software Development xml
Member Avatar for saneeha.nust
0
65
Member Avatar for izeko

Can any one tell me why i would need i GUID in my project. I see it is in the properties of my project under Application/Assembly information. Do i need to make sure this is unique for every project i create. I usually use one project as my starting point …

Software Development assembly
Member Avatar for dwarvenassassin
0
78
Member Avatar for dburris

Hello, I am attempting to call a method from a click event on a form and not having much luck. public void xbuttonValidateUPC_Click(object sender, EventArgs e) {//Validate UPC Button Click UPC_JDB UPC1 = new UPC_JDB("123"); string temp = (xtextBoxValidate.Text); UPC1.ValidateUPC(temp); xtextBoxValidateAnswer.Text = temp; }//end Validate UPC Button Click Program is …

Software Development
Member Avatar for dwarvenassassin
0
166
Member Avatar for bmichael89

I have been working on this all day can someone please tell me what I am doing wrong. using System; public class ArrayManagement { public static void Main(string[] args) { int[] myArray; myArray = new int[7]; myArray = fillArray(); int sum, avg; arrayMath(myArray, out sum, out avg); displayArray(myArray); } public …

Software Development c c# c++
Member Avatar for thines01
0
133
Member Avatar for pseudorandom21

Is there some trick to networking between LAN machines? I want a client/server system on the network but I haven't a slightest about the IP. I'd like to avoid dropped packets, so from my limited knowledge I'd go with TCP. Etc. How do I locate another machine via IP on …

Software Development client-server
Member Avatar for BobS0327
0
124
Member Avatar for vired

hello all! i need help regarding my C programming homework of the Conway's game of life. i have to make a C program that will read a textfile containing a 25x25 matrix of 'X' or 'blank space' and will print its content. This will serve as the initial generation and …

Software Development c
Member Avatar for zeroliken
0
950
Member Avatar for C0ding

Hello everyone, Is been a while since i've been trying to rename a file using the ren batch command, but for some reasons is not working for me. could some one please give me an idea on how to reanme a file with a batch file? Thanks in advance. This …

Software Development file-system shell-scripting
Member Avatar for C0ding
0
254
Member Avatar for ilearnz001

Looking To learn how to send data from a program to a webservers webpage. More specificly sending the data to <form> tag within a html file. Trying To Find out how to do this, code examples would be prime. Also Any Guides on connecting proxies -- who then connect to …

Software Development c++ html-css
Member Avatar for ilearnz001
0
235
Member Avatar for kiail

I have a credit card verification that is giving me a little bit of trouble. I can get the program to verify everything but Amex. I'm only needing to verify Discover, Visa, MC, and Amex. It simply tells me Amex cards are invalid. I've used a few different websites to …

Software Development pdf
Member Avatar for kiail
0
750
Member Avatar for RDane

Do anyone could tell me how to display the date from the sql to a jtable?

Software Development display java
Member Avatar for ztini
0
2K
Member Avatar for jasonw749

hi guys, first time posting here. so i have this menu for a game i am making and the image that i have for the menu background has text and things already loaded onto it. what would be the best way to have the text clickable? would it be to …

Software Development java
Member Avatar for jasonw749
0
178
Member Avatar for Robert955

hello, I work with XNA 4.0 and in my project I keep getting the OutOfMemoryException while the game runs perfect on my college computer which is much much worse than my own. I have 6gb of ram and a GTX 460 video card. I've tested the code on several other …

Software Development video-card
Member Avatar for pseudorandom21
0
91
Member Avatar for johanjvanr

Hi all I have to write code that ask the user to input a current (that will be split into two currents) and then the output from the code should display the two resulting currents given two input resistors. That part I can do but my problem is I have …

Software Development c++ ios
Member Avatar for johanjvanr
0
130
Member Avatar for triumphost

K so atm, I'm having problems understanding ENDIF and IFDEF preprocessor stuff.. I want to Use a specific method if a file is included.. If not, use a different method.. Since toupper is defined in CCType I tried to check if that file was included.. if it was, use toupper …

Software Development c++
Member Avatar for ravenous
0
95
Member Avatar for PixelatedKarma

I have a question, I have a working application. I am using a splitcontainer with multiple different Panels inside of it. When a user clicks a button the following code is executed: [CODE] this->panelnameA->Visible = true; this->panelnameB->Visible = false; this->panelnameC->Visible = false; [/CODE] Now my question is lets say an …

Software Development c c# c++
Member Avatar for PixelatedKarma
0
317
Member Avatar for FraidaL

I wrote this code for a homework problem. The question asks for the inputs to be an array representing a polynomial along with the degree of the polynomial and the value of x. Then it has to return the derivative of the polynomial. Until I ask the program to output …

Software Development c++ mathematics
Member Avatar for Lerner
0
3K

The End.