132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rtr18

Hi! I'm using Inno Setup to create setup file for my application. Inno Setup is based on Delphi Script. I searched for Inno Setup forums and I could not create an user account with any of them. That's why I've decided to post here. While installing I've to check the …

Software Development delphi pascal
Member Avatar for Duoas
0
148
Member Avatar for pi_lord12

Hey guys, I'm working on a project to use Huffman trees to compress a text file into binary. For instance, based on the frequency of the characters in a string like "aardvark", a - 3 r - 2 d - 1 v - 1 k - 1, compression using a …

Software Development api google-api java
Member Avatar for pi_lord12
0
221
Member Avatar for sirlink99

How would I go about using swing components and graphics in the same program. Whenever I seem to add a swing component my graphics disappear. Please help. Thanks. My main Class [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class ResistorColorCodeProgram implements MouseMotionListener, MouseListener, KeyListener{ public ResistorColorCodeProgram (){ JFrame resistorCCFrame …

Software Development java java-swing
Member Avatar for mKorbel
0
204
Member Avatar for RogerInHawaii

I'm writing a C# program that makes use of the webBrowser control. Generally I've been successful in using it but have encountered a problem I can't figure out. I intercept the DocumentCompleted event from my webBrowser control. During the processing of that event I create an additional webBrowser control and …

Software Development
Member Avatar for RogerInHawaii
0
268
Member Avatar for can_surmeli

Hi. I've a BST created for an address book application for my term project. When inserting into the BST, I insert items sorted by their first names in ascending order. The thing is that the user should be able to display the BST in the ascending form of last names …

Software Development c data-structure programming-construct
Member Avatar for TrustyTony
0
718
Member Avatar for pareshverma91

The problem is that I want login to a remote pc using ssh through a python script. I don't want to use any ssh-keys (rsa keys,dsa keys etc.) nor do I want to use some extra module not incorporated in python standard libraries (telnet etc I guessed it is used …

Software Development python
Member Avatar for itergosum
0
15K
Member Avatar for visom

Hi everyone. My code is used to calculate fractions and display them as "3/4 + 3/4 = 3/2" and such. I having some trouble with the the code segment [CODE] calculate.setadd(); calculate.setsub(); calculate.setmult(); calculate.setdiv();[/CODE] There's a red line under the close parenthesis saying "too few arguments in function to call". …

Software Development c++
Member Avatar for visom
0
294
Member Avatar for virusisfound

I am working in sql server2005 and c# I have five database in my project and I want to display one table from each database in one datagridview. How can i do it.

Software Development display
Member Avatar for virusisfound
0
173
Member Avatar for jkrueger

Hi, I got the cxfreeze working on the Mac OS X 10.6.7 and the distilled Python script runs fine on that Mac Book. Now I'm getting reports from Mac user clients that it doesn't work for them. It is a simple script that only calls from the Mac it's terminal. …

Software Development os-x python
Member Avatar for jkrueger
0
379
Member Avatar for eman 22

is there a method in c++ to find the length of string*?

Software Development c++
Member Avatar for mrnutty
0
103
Member Avatar for ekailan

Is it possible to use file to increase the memory available. for example: if we ahve code need 1 GB RAM to be work is it possible to run it in a system with 512MB RAM and use a file to allocate the rest of the memory needed.

Software Development c++
Member Avatar for predator78
0
114
Member Avatar for jay_el_em

I've been teaching myself programming in c#, until such time that I actually save up the money to do some courses. Inbetween learning, I do some fun stuff. Now I decided to do a 'Word Mole' type game in WinForms. The biggest problem I have is where to store the …

Software Development
Member Avatar for jay_el_em
0
102
Member Avatar for can_surmeli

Hi all. As a part of my project I need to get the address book information saved in a .txt file into a Binary Search Tree. The info in the address book is stored like the following: First Name, Last Name, Date of Birth, E-mail, Phone, Address, City, Zipcode So …

Software Development c data-structure programming-construct
Member Avatar for can_surmeli
0
2K
Member Avatar for winecoding

I am implementing an applet module which receiving an object sent from a servlet. The following is used to setup connection. [CODE]private URLConnection getServletConnection(String hostName) throws MalformedURLException, IOException { URL urlServlet = new URL(hostName); URLConnection con = urlServlet.openConnection(); con.setDoInput(true); con.setDoOutput(true); con.setUseCaches(false); con.setRequestProperty("Content-Type","application/x-java-serialized-object"); return con; } [/CODE] The following is the …

Software Development file-system java xml
Member Avatar for NormR1
0
164
Member Avatar for ScubaSam

Hey everyone can I get some help please. I read through a few threads with the same problem as me but i can't seem to get the answer i'm looking for. I'm doing a school project and I need to save a Access DataBase that I have created in C#! …

Software Development c# microsoft-access oop
Member Avatar for kplcjl
0
807
Member Avatar for Sonia11

I have written this code using templates which works very perfectly well. I am a beginner in using templates, so I really want someone to check if its written in a correct format. Because when I am deleting template<elemType> from the beginning of each function and main, the code is …

Software Development c++
Member Avatar for mrnutty
0
310
Member Avatar for kelvin30588

i am working on a database application project and i need to put some user authorization where it will change the visibility of button based on the role. so i save all related form name in the database then i retrieve all the form name from the database into my …

Software Development gui vb.net
Member Avatar for Mitja Bonca
0
311
Member Avatar for brynFlew

I have made a very simple dice game, How can i output the results of the dice using this format. Thanks for your time. [CODE] ========== | 0 | | | | 0 | ========== ========== | 0 0 | | 0 0 | | 0 0 | ========== [/CODE] …

Software Development python
Member Avatar for Schol-R-LEA
0
323
Member Avatar for BLUEC0RE

Hey guys, I hate asking this but unfortunetly, Google does not know how to interpret "|" and probably assumes its an OR command or something :P . The line goes as follows (source found [URL="http://pysnippet.blogspot.com/2009/11/fuse-filesystem-in-userspace-part-1.html"]http://pysnippet.blogspot.com/2009/11/fuse-filesystem-in-userspace-part-1.html[/URL] here): [CODE]st.st_mode = stat.S_IFDIR | 0755[/CODE] I know it's doing something about the mode being …

Software Development python
Member Avatar for BLUEC0RE
0
153
Member Avatar for JakeA

hi! i have the code for saving a gridview as an html file using a savefiledialog. i want to save it to a specific path (without using the savefiledialog)... how can i do that? here's my code: Collapse [CODE] SaveFileDialog dialog = new SaveFileDialog(); dialog.DefaultExt = "*.html"; dialog.Filter = "WORD …

Software Development file-stream
Member Avatar for darkagn
0
536
Member Avatar for rayden150

I get this python error: unindent does not match any outer indentation level, and a red bar appears where "RIGHT HERE RED" is.., keep in mind that this is just a fraction of the entire program but i dont know where the spacing error occurs... pleeeaaase i beg you and …

Software Development python
Member Avatar for vegaseat
0
167
Member Avatar for s.w.a

hello, please i make a code that i want it to work as follows: the user input 3 value and after an inspection(that i am not put it now, i want to try it now so i make the condition, if k%2==0)the input is be either spoof or valed,at the …

Software Development java
Member Avatar for s.w.a
0
199
Member Avatar for monogana

hi all, i am writting an interface with dotnet framework 3.5, i am using a tabControl with a TabPage that contains content bigger then the tab. autoScroll is enabled and works, the problem is that while scrolling the contents of the tabPage dont refresh/Update so i cant tell where im …

Software Development asp.net
Member Avatar for monogana
0
260
Member Avatar for Sturdy

Hi masters, I try to write and read file into txt file but i dont know how to do it. Anyone know how to achieve this? Please help me. any help will appreciated much. Best Regards

Software Development visual-basic
Member Avatar for Jx_Man
0
292
Member Avatar for xanawa

i want a regex pattern that accepts from 3 to 6 digits.. and only A,M or G at the end eg: 1234G

Software Development regex
Member Avatar for samueal
0
109
Member Avatar for telkomek

I put this code to button_event: [CODE]01 On Error GoTo ErrT 02 If mValidateControl.Validate(txtKode0, txtKode0.Text <> "") = True Then 03 MsgBox "Kode Bahasa belum diisi" 04 Else 05 Rs.MoveFirst 06 If Not (Rs.EOF = True And Rs.EOF = True) Then 07 While Not Rs.EOF 08 If Rs("kdBhs") = txtKode0.Text …

Software Development visual-basic
Member Avatar for Jx_Man
0
205
Member Avatar for adarshcu

[CODE]import java.util.regex.Matcher; import java.util.regex.Pattern; public class RegexTest { public static void main(String[] args) { String regex = "([a-zA-Z'-]*[ ]*)*"; Pattern p = Pattern.compile(regex); String input = "Adarsh has been testing this issue for a very long time now!#!"; Matcher m = p.matcher(input); System.out.println("Called"); if(m.matches()) System.out.println("Matched"); else System.out.println("Not Matched"); if(input.matches(regex)) System.out.println("Matched"); …

Software Development java regex
Member Avatar for thekashyap
0
185
Member Avatar for ladydivine

How to display the field in text box using combo box. When the user click the combo box, two fields will be displayed, the first field will be displayed in 1st text box1 and 2nd field in text box2. These are my codes. Can you help me how? Dim cmdoff …

Software Development display visual-basic
Member Avatar for Jx_Man
0
401
Member Avatar for jenny666

hello...im new to visual studio 2008 How do i compile C in visual studio 2008? i have read this thread "[URL="http://www.daniweb.com/software-development/cpp/threads/16256"]Compiling C[/URL]" and its says to do this... ------------- Go to View Menu select Solution Explorer or CTRL+ ALT +L Then Select The project that your are developing and right …

Software Development c visual-studio
Member Avatar for jenny666
0
382
Member Avatar for lianpiau

I want make the installer for free try 30 days. after 30days disable the function of program. so I'm want to get user install date + 30days to get expire day. When user key in license key, then can use program. As a result, how can I get the install …

Software Development
Member Avatar for lianpiau
0
273
Member Avatar for deeejay1054

hello all. i have endured hell for the last 2 days trying to get the scores from this program being a user quiz to make it add up the scores and keep a rolling total to be presented as a total score at then end of the quiz, but i'm …

Software Development c c# c++
Member Avatar for breath2k
0
94
Member Avatar for virendra_sharma

HI , i need code for to insert , update and for to delete record in excel in asp.net using c#. i am able to add data in excel but having problem while deleting . :( can anyone plz help me. your help will appriciated.:)

Software Development
Member Avatar for abelLazm
0
103
Member Avatar for Jazerix

Hey So i got a Webbrowse (wb_MainBrowser) and a button. for the webbrowser i got a code that looks like this: [CODE] private void wb_MainBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { if (wb_MainBrowser.Url.ToString() == "http://www.google.dk/") { MessageBox.Show("HEY"); } } [/CODE] and i got a button that goes [CODE] private void btn_Start_Click(object sender, …

Software Development
Member Avatar for Jazerix
0
220
Member Avatar for novice20

Hi all, Here is a part of my code: [CODE]#-- if the ports are mapped properly if(map_dict1[int(MIO_outports1[i])] == int(Exp_map_inport[i]) ): flag = 1 elif(map_dict2[int(MIO_outports1[i])] == int(Exp_map_inport[i])): flag = 1 else: flag = 0 [/CODE] But I am not able to navigate to the 'elif' part. I am getting : [CODE] …

Software Development python
Member Avatar for TrustyTony
0
277
Member Avatar for anandunics

Hi All, Recently i have developed a new XSL file in altova XMLSpy , and the XSL version is 2.0. When i tried the Transformation , in different environemt(without using XMLSpy), i am thrown with below error. ERROR: 'Syntax error in 'descendant::element()'.' FATAL ERROR: 'Could not compile stylesheet' javax.xml.transform.TransformerConfigurationException: Could …

Software Development apache html-css xml
Member Avatar for anandunics
0
245
Member Avatar for niths

hi all, I am having a string. Now i need to get the last word in that string. suppose string text = "Hello.. how are you"; Now i need to get 'you' from that string. can anyone help me.. Thank you.

Software Development
Member Avatar for niths
0
140
Member Avatar for gulbano

Hey all, I have an assignment which has a part in which i have to reverse a given string. Can any one tell me any code snippets which will reverse the string automatically or refer any built-in function. Thanks in advance

Software Development
Member Avatar for abelLazm
0
112
Member Avatar for rpstata

Dear All, I am running C programs on DEV-C++. Its 32-bits compiler like MS visual.. Kindly go through the following program. Program: [code] #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <math.h> main() { char ch; unsigned char u_ch; int i; unsigned u_i; short int s; unsigned short u_s; long l; …

Software Development c
Member Avatar for raptr_dflo
0
116
Member Avatar for rockerjhr

Ok so i have to create a program that computes the convex hull of a bunch of random points but i have no idea where to start i mean i know how the program is supposed to work since you can just easily look up the pseudo code but i …

Software Development c
Member Avatar for raptr_dflo
0
232
Member Avatar for potchi

Hi! I have a batch file (potchi.bat) that contains the lines ... set maxHeap = 2048 set initialHeap = 512 set mydir=%cd% ... and I want to pass these values to a jython script (myScript.py) such that fullpath = '%cd%/myApp.war' AdminApp.installInteractive(fullpath, -contextroot myApp) AdminTask.setJVMMaxHeapSize('[-serverName myServer -nodeName myNode -maximumHeapSize %maxHeap%]') AdminTask.setJVMInitialHeapSize('[-serverName …

Software Development python
Member Avatar for potchi
0
1K
Member Avatar for cool0329

hi guy just started python, i have a text here and want wo find the number of each letters, and sort the number from the most frequent to the least frequent. hope you guys can hepe me here is the text, just some random letters, acbbmnhctrgnmmxfnfbmqrhnchfwcqwtacvtfhmecttvfcnvphchmpgdmebjdcqwhdfnfrcawhdfrkanahtcjaqxahpkmqdardfcnhcqwjmprdcttvfpkdftwaqbmnfhdcqhdarcrhdfzmnwrzfnfrkmsfqhdfjkcrrfwhdnmpxdhdfzcttcqwrhmmwpkmqcqmkfqgmpqhnjnmcwzahdeaftwrmqfahdfndcqwhdfgahjdcwfqhanftjlcqardfwqmhclfrhaxfmeahzcrhmvfrffqhdfwcnsqfrrcqwhdfbarhdcwlcqardfwzahdahemnahzcrcgtfcngmtwzaqhfnwcjzahdrqmzpkmqhdfxnmpqwxmmwdfclfqrcawrgnmmxfgtcrkaqxdar

Software Development python
Member Avatar for raptr_dflo
0
432
Member Avatar for bhagvad301

hi, I made one dll and use it in my project, when i debug my project it show the dll code and its class and method. I dont want show that dll code. Please tell me the solution.

Software Development
Member Avatar for abelLazm
0
80
Member Avatar for stereomatching

something like [code] class base { public : virtual void draw() const = 0; virtual void area() const = 0; }; class rectangle : public base { public : virtual void draw() const {std::cout<<"rectangel\n";} virtual void area() const {std::cout<<"rect area\n";} }; class triangle : public base { public : void …

Software Development c++
Member Avatar for thekashyap
0
162
Member Avatar for vincezed

Hi all the treeview i am creating here works very well but i tried so many ways to add tag to the child nodes but i could not... can any one tell me how to add tag to the nodes... that are created from the database... I could add tag …

Software Development assembly open-source
Member Avatar for vincezed
0
2K
Member Avatar for denmarkstan

please its time for me to specialize on dotnet. i want to buy dotnet training vidoes on c#,vb.net and asp.net, possibilly sql. where do i go to. i mean which is the best courseware for this. Help me please.

Software Development
Member Avatar for abelLazm
0
116
Member Avatar for TrustyTony

This is hopefully example of properly tested code snippet (fingers crossed).

Software Development mathematics python
Member Avatar for raptr_dflo
0
1K
Member Avatar for kiracho

write a python program , which takes one argument ,which is a word( as a string), and returns "true" if the word contains alternating vowels and consonants(i.e a consonant , followed by a vowel , followed by a consonant ....). Then write a short piece of code to read the …

Software Development python
Member Avatar for vegaseat
0
315
Member Avatar for kerek2

Hi All's, I'm currently doing my project to check my server status with ping option. but i got problem to check either the network is plugged or unplugged...I need this checking automaticly using timer...here what i have done....to ping the server is success but when pulgged back the network...error come …

Software Development vb.net
Member Avatar for kerek2
0
152
Member Avatar for predator78

Hi from what I have seen this should be correct but compiler is complaining. [CODE] #include <iostream> #include <string> using namespace std; // player class class Player{ int *position; string name; public: Player(); ~Player(); void set_name(){ cout << "enter name: "; getline(cin,name); cout << "name is now: " << name …

Software Development c++
Member Avatar for predator78
0
99
Member Avatar for triple_A

Hello all. I am making my first hello world program in C, and I have already run into issues. [CODE]#include <stdio.h> int main() { printf( "Hello World\n" ); getchar(); return 0; } [/CODE] I am getting two errors when I try to run this. C:\Users\Wiseguy\Documents\CodeBlocks\firstproject\firstproject.c|4|multiple definition of `main'| and obj\Debug\main.o:C:\Users\Wiseguy\Documents\CodeBlocks\firstproject\main.c|5|first …

Software Development c
Member Avatar for sergent
0
106

The End.