132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sha11e

I've been playing around with c++ a bit, and made a "encrypt"-"decrypt" thing. Just basically taking the int value of the letters and adding x to them - becomming a new character/letter. This is the code where it asks the user for an input: [CODE] void decryptonise() { string text2; …

Software Development c++
Member Avatar for NathanOliver
0
659
Member Avatar for zawpai

Hi, Does anyone give me some suggestion? When I close the form, but some process is still running.I don't know how to handle this kind of situation. What I want to do is that stop all processes first and then close form automatically. [CODE]Private Sub Command1_Click() 'Do process 1 Call …

Software Development visual-basic
Member Avatar for zawpai
0
274
Member Avatar for drak0

Hello, this is my first post on DaniWeb so I hope you'll go easy on me ,and my english.I'm working on a implementation of the AES algorithm in python;my app is supposed to encrypt the contents of files, and it does, yet it is kind of slow.I've optimized the code …

Software Development algorithm encryption oop python
Member Avatar for drak0
0
635
Member Avatar for rEhSi_123

Hi Guys, Need a bit of advice, I developing a GUI of a system which was designed as a console application. With few options in visual studio like windows forms (VB.NET), MFC and wxwidgets am not sure as to what would be appropriate to use and plus I have very …

Software Development c++ gui visual-studio
Member Avatar for rEhSi_123
0
155
Member Avatar for dustbunny000

I keep getting this error: error: unable to find vcvarsall.bat What is vcvarsall.batand why do I need it? I'm new to programming. Please explain as simply as possible!! Thanks!

Software Development python
Member Avatar for Gribouillis
0
251
Member Avatar for fantasma

Greetings, I've got a working flex/bison parser that I would like to run from an exe file. However, I can't find the knowledge to achieve that. Do I need to create a C file, with an exec function to call the files? If so, what files do I call in …

Software Development c
Member Avatar for fantasma
0
313
Member Avatar for Troilk

Can anyone help me with external direct merge sorting? Here is my code [code=cpp] #include<iostream> #include<conio.h> #include<stdio.h> using namespace std; int GetKey(char infoLine[30]) //Getting sorting key { char temps[30]; strcpy(temps,infoLine); return atoi(strtok(temps," ")); //returns first number in a line } void DirectMerge(char fileName[20]) { FILE* FTS; //file wich will be …

Software Development algorithm c++ pascal
Member Avatar for nezachem
0
308
Member Avatar for apals

0 down vote favorite I am a programmer for winforms and asp.net. A new-comer to WPF application development. I wish to thank in advance for any help rendered to my query, I am working on a application for Banking. My job profile is to develop reusable usercontrols for the application. …

Software Development asp.net listview
Member Avatar for nmaillet
0
1K
Member Avatar for shadowscape

Hi im looking to create a structured string in c++ the structure would be simular to a guid or uuid but programatically without using the guid apis, could you help me acheive this Thanks, Nathaniel Blackburn

Software Development c++
Member Avatar for L7Sqr
0
1K
Member Avatar for king03

My program is having an error on the following lines w/ red font. It says invalid types 'int[int]' for array subscript... pls help I'm not sure how to solve this. [COLOR="Green"]*********This is actually how my program works********* Read in a line of text and output the number of words in …

Software Development c++
Member Avatar for Arbus
0
8K
Member Avatar for jon.kiparsky

For those of you who have noticed the missing JLS, here's a [URL="http://jls3.ru/j3TOC.html"]mirror [/URL]that I found (through Stack Overflow). I'd like very much to know where it's gone, if anyone has any good information...

Software Development java
Member Avatar for jon.kiparsky
0
100
Member Avatar for montjoile

Im trying to implement a btree. I don't have any error in compiling, but when I run my code I have some weird runtime error. It says something like: MALLOC c:3096: sYsmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size …

Software Development c++
Member Avatar for montjoile
0
366
Member Avatar for deva.v

Hi, I've created an application using VB.net windows application, but now i want to invoke it only from command prompt by giving inputs and outputs. How can i give inputs and get outputs to windows application in command-prompt. My windows application takes file as input and it process and makes …

Software Development vb.net
Member Avatar for codeorder
0
133
Member Avatar for moone009

I'm very new to programming and was wondering why I am receiving a warning. "Function Checkbox doesnt return a value on all code paths. A null reference exception could occur at runtime when the result is used" I then want to execute this function through button.click event: CheckBox.ExecuteNonQuery() [CODE]Function CheckBox() …

Software Development open-source sql vb.net
Member Avatar for Momerath
0
127
Member Avatar for Saidar

Hey everyone, I was wondering if someone could give me a push in the right direction. I'm trying to do Monte Carlo simulations on a certain statistical distribution. Monte carlo simulations requires hundreds and thousands of iterations to be run. The problem that I have is I need to save …

Software Development
Member Avatar for oredigger
0
136
Member Avatar for sudheer2250

Hi, How can i convert this xml file into target xml using xslt. I tried everything, but i am not able to put the subquestions inside the corresponding questions. Please help even the logic. INPUT XML: [CODE]<?xml version="1.0" encoding="UTF-8"?> <tables> <table> <tr> <tc> <data> This is the title of the …

Software Development xml
Member Avatar for xml_looser
0
343
Member Avatar for reza.adinata

Hi all, I am new in C programming, currently learning about linked list. I know that there is a lot of examples about linked list, but I decided to write my own code, to make me more understand. I managed to build a linked list, insert a new node after …

Software Development c linked-list
Member Avatar for reza.adinata
0
385
Member Avatar for bleedi

Hey, I'm working on a project where we have to stream files from a server app to clients. I have it all working nicely, but we have a special client type that cannot save files to HDD, not even temporarily. I can get the byte stream from server to this …

Member Avatar for CsharpChico
0
738
Member Avatar for Steve Mac

Hi everybody.. was wondering if it is possible for a person to set a specific height value for the detail section in crystal reports.I want the section to have 10 records and maintain a certain height.If the records are for example 2 or any number less than 10, the detailed …

Software Development vb.net
Member Avatar for Steve Mac
0
98
Member Avatar for rminator

Hallo, i have a Csv file,i would like to read ,convert it and than represent it with Datagrid the fonction who read my csv [CODE]public List<String[]> Parse_CSV(String File_Path) { List<string[]> Parse_Data = new List<string[]>(); try { using (StreamReader Read_File = new StreamReader(File_Path)) { string Line; string[] Row; while ((Line = …

Software Development
Member Avatar for rminator
0
809
Member Avatar for historymaker333

Hey, as a part of my semester project. I've made an application which is using the database from the data directory. But i wanted this application to be distributed and for others to be useing it on the same lan etc. So do i just have to change the connection …

Software Development c# sql
Member Avatar for Ken Peterson
0
543
Member Avatar for jtodd

Hey everyone. I have been playing around with this code and have been getting this error message: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 7 at java.lang.String.charAt(String.java:686) at PhoneNumber.main(PhoneNumber.java:37) Java Result: 1 BUILD SUCCESSFUL (total time: 8 seconds) I understand what the java.lang.StringIndexOutOfBoundsException means but I don;t …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for leo88

Hi, I am doing a window servise application using VB.net. I have faced problems with sql suery, as below: [CODE] Dim dt As New DataTable() SQLStr = "SELECT FautyScanTbl.Model, FautyScanTbl.Version, FautyScanTbl.WIP, FautyScanTbl.ScanNo, FautyScanTbl.LotSize, FautyScanTbl.SerialNo, FautyScanTbl.PIC," & _ "SerialNoTbl.SetWeight, SerialNoTbl.AccesWeight, SerialNoTbl.pdmid, ScannedPartNoTbl.ScannedTime " & _ "FROM FautyScanTbl LEFT OUTER JOIN " …

Software Development dataset sql vb.net
Member Avatar for sandeepparekh9
0
125
Member Avatar for Diwakar Gana

Dear All, Can anybody tell me how to autoincrement the Hexa decimal value. For Ex: I am having the value FF0B in Result array and want increment it to FF0C. Now Result array should contain two values.

Software Development perl
Member Avatar for Diwakar Gana
0
693
Member Avatar for Arjun_Sarankulu

I have a application which take data from CSV and dump to the respective table using SQLBULKCOPY I am using the same connection string for truncating data from the same table and while writing to server SqlBulkCopy bc = new SqlBulkCopy(connection_string1.ConnectionString, SqlBulkCopyOptions.TableLock); bc.WriteToServer(dt);//Its giving exception on this line I am …

Software Development
Member Avatar for Arjun_Sarankulu
0
305
Member Avatar for moone009

I have a list box where the user can add choices depending on what items they want active in the database but I cannot figure out how loop through this listbox to update the items. Any ideas? Visual Studio 2010 [CODE] Dim lstitem As String For i = 1 To …

Software Development vb.net visual-studio
Member Avatar for NETProgrammer
0
2K
Member Avatar for evil_iguana

Hi, I'm trying to write a maze program in MIPS and have almost all of it working except the recursion part. For some reason, it does not correctly move through the maze. In my code, the maze is fixed at 5x5. A 1 in the "maze" data indicates it's blocked. …

Software Development assembly
Member Avatar for GunnerInc
0
897
Member Avatar for Raim

I am trying to make the following program. SUM=1+1/2+1/3+1/4+1/5....1/n n should be input by the programmer. I thought that using [CODE]for[/CODE] would work, but it only gives me a series of 1+1 1+2 1+3,etc. What I wish to get is the series itself and the total addition of it. Any …

Software Development c++
Member Avatar for Raim
0
162
Member Avatar for highlite

I have an array that I want to be able to access in two separate methods and also in other files. To do this I have had to declare it as Static, can this be done another way? because I don't want to declare it as static This is an …

Software Development c++
Member Avatar for highlite
0
93
Member Avatar for revjim44

I've had one C# class two semesters ago, now as part of a UML/Object Oriented Analysis and Design class (with a programming prerequisite) I'm trying to take CRC cards and design specs and finalizing the code. However, between one C# class and one Java class, my syntax has all gone …

Software Development assembly
Member Avatar for Momerath
0
166
Member Avatar for sirlink99

I have a menu that I made, and the first time you select a program prom the menubar and click the launch button it launches the program, however when you select a different program, or to to the menu and reselect the same program then click launch it opens 2 …

Software Development java java-swing
Member Avatar for sirlink99
0
116
Member Avatar for mukthyar1255

Hi, Thank you,I have some doubt in python programming like 1)Difference in between module,library,package. 2)what is difference in between built in and keyword. Eg: None,True is Builtins not keywords. 3)what is the use of writing the code(to call main method) if __name__=__main__:main rather than simple mian call main() 4) can …

Software Development python
Member Avatar for Lardmeister
0
307
Member Avatar for Ertzel

I'm working on a Chat program using a server and clients. I have all of that working fine but now I'm trying to setup accounts for the server to use and I'm having problems with checking if the password entered on login matches the password for the account. When the …

Software Development c++ client-server
Member Avatar for Ertzel
0
147
Member Avatar for Edward472

I am writing a .Net application trying to automate keystrokes in a Thin Terminal called Persona. I can open the program and set my focus to it but what I need to do is click the connect button in the menu bar. I used Spy++ to look at the window …

Software Development c#
Member Avatar for oredigger
0
160
Member Avatar for spartanace

Hey guys for some reason my code displays in the applet viewer in jgrasp and in eclipse, but for some reason it wont display via an html file in any browser. Any Ideas? Thanks in advance. [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.applet.*; public class FamilyTreeTabbedPane extends JApplet implements …

Software Development audio java java-swing
Member Avatar for NormR1
0
540
Member Avatar for iamthwee

Not so long ago firstPerson started what was a series of competition questions for the users. It was fun so I was thinking of doing another. I've always kind of been interested in A.I so I thought that would be a good place to start.This is probably a more advanced …

Software Development c++ gui legal
Member Avatar for pseudorandom21
0
178
Member Avatar for sergent

I want to make a program, that will run every time I turn on the computer. Like Skype.. or Anti Virus programs. How would I do that?

Software Development c++
Member Avatar for kerp
0
132
Member Avatar for arsheena.alam

I have a button in grid view.I am not able to select the current row through that button.I have to enable SELECT before clicking that button. But I dont want to enable SELECT. Now I want to know is there any way to directly select the currentrow without enabling SELECT.

Software Development
Member Avatar for ddanbe
0
135
Member Avatar for skatamatic

So I wrote a little remote control client/server based app to turn off my roomates torrent client at night (to avoid having to go into his room). I could have done this with remote software such as teamviewer or VNC but I don't need all the functionality that they provide …

Member Avatar for butcher1012
0
418
Member Avatar for henrimontreal

I wrote this: [CODE] #include <stdlib.h> // system pause //#inlcude <ctype.h> // for toupper() #include <iostream> // input output #include <iomanip> // setw() #include <string> //#include <algorithm> //#include <iomanip> // for setw() and right-aligned //#include <math.h> // for pow() using namespace std; int main() { /* char alpha [26]; char …

Software Development algorithm c++
Member Avatar for mike_2000_17
0
159
Member Avatar for krosty4782

Hi. I want to make a program to download files from a remote host. So what i do is to send throw sockets all the binary information + a string used as end "mystyring". To check if i have to continue writing the buffer to the file i first convert …

Software Development pdf
Member Avatar for oredigger
0
194
Member Avatar for Seaboot

Please consider a beginner/intermediate question for which searching Google has provided me no results. I am attempting to write a program that compiles a script program into an assembly language module that I will then link to the main C++ program using Visual Studio. How is it possible for a …

Software Development assembly c++ visual-studio
Member Avatar for Seaboot
0
179
Member Avatar for whin_lopez

Hi please help me with this problem i really need it those kind hearted programmers out there please help me :) thanks

Software Development listview vb.net
Member Avatar for longstrd
0
3K
Member Avatar for Labdabeta

I am making a program and I want to be able to determine the refresh rate of the monitor somehow (to limit an fps cap). I am using windows API. Is there anyway to access this?

Software Development api c++ windows-api
Member Avatar for Labdabeta
0
961
Member Avatar for anurag.kyal

static void Main(string[] args) { string[,] fp = readFilePaths(); OleDbConnection con = new OleDbConnection(); OleDbDataAdapter da; DataSet ds = new DataSet(); con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Documents and Settings/kyalanur/Desktop/Nav tool/PCGDataManager.mdb;User ID=;Password=;"; string sq = "SELECT * FROM History"; con.Open(); da = new OleDbDataAdapter(sq, con); da.Fill(ds, "History"); for (int i = 0; i …

Software Development dataset microsoft-access open-source
Member Avatar for Momerath
0
580
Member Avatar for Freude

Hello everyone, I am trying to use gnuplot for visualization of data stored in a file which is dynamically changed during computations. My aim is visualization of data from this file every several seconds during computations. How can I refresh gnuplot output produced in the bash script (usually i call …

Software Development shell-scripting
Member Avatar for Freude
0
123
Member Avatar for saj_amo

Hi Guys, I have little problem to open any url link from my application i have placed a textbox and a button on the screen. what i want is any url which i write in the textbox and when i press the button automatically that url would open in the …

Software Development vb.net
Member Avatar for chriswelborn
0
936
Member Avatar for Slavrix

hi can someone give this a quick look over and tell me where im going wrong [CODE]#include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> void main() { struct Rainfall{ char city[20]; int month; int rainfall; }; Rainfall Rainfallarray[18]; int count=0; FILE * readfile; readfile=fopen("CityRain.txt","r"); if(readfile==NULL) { printf("CityRain.txt failed to open."); exit(1); } printf("CityRain.txt Opened\n"); …

Software Development c
Member Avatar for Slavrix
0
128
Member Avatar for mukthyar1255

hi, i am working on windows 7 platform,please tell me how to install and configure third party packages,to use that package in some other python program Thanks mukthyar

Software Development python
Member Avatar for snippsat
0
207
Member Avatar for PBoucher

Hello All, I am fairly new to Java programming (only a couple of months) and completely new to graphics in Java (couple days). Below is the relevent paintComonent function I wrote. Basically it draws a circuit based on a few member variables. This part works fine. The problem I am …

Software Development java java-swing
Member Avatar for PBoucher
0
364

The End.