132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for manugm_1987

Hi Is it possible to obtain complete path name using mouse click i.e when i click on a file say file.txt on c:\ i shld get the result as c:\file.txt. Or say if i have opened the file and the file is my active window how to get the path …

Software Development api c++ file-system
Member Avatar for Ancient Dragon
0
152
Member Avatar for caut_baia

Hi.I have a piece of code that compiles without even a warning on the borland 5.5 compiler yet complains bitterly when compiling with g++.I've heard that g++ emits more portable code but shouldn't they both be standard compliant?From what i've read in the '98 standard book this should be legal …

Software Development c++ legal
Member Avatar for mike_2000_17
0
633
Member Avatar for jkrueger

Thought all of the following was handled and not: 1) python runs script which opens file and prints to screen OK 2) when cx_freeze distilled script is run it reports file to open is not there, when it is 3) the distilled script can be run from a term with …

Software Development python
Member Avatar for jkrueger
0
186
Member Avatar for sergent

Whats the difference between [CODE]using namespace NameSpaceName;[/CODE] and [CODE]namespace NameSpaceName;[/CODE] ?

Software Development c++
Member Avatar for mike_2000_17
0
135
Member Avatar for zaxahmed

Hello all! I am a completely new to programming in Java and I was recently given a tutorial in which I was supposed to create a 3x3 square grid. I am attaching a file as to give you a clear picture of what I must do. I have no idea …

Software Development java
Member Avatar for hfx642
0
393
Member Avatar for Kleiner

Hi. I am working on improvement of my program. Here is it's code. [CODE]import wx class bucky(wx.Frame): def __init__(self, parent, id): wx.Frame.__init__(self, parent, id, "Testing erea", size=(280,400)) panel = wx.Panel(self) food = wx.Button(panel,label='Food',pos=(10,10),size=(80,40)) drink= wx.Button(panel,label='Drink',pos=(100,10), size=(80,40)) self.Bind(wx.EVT_BUTTON, self.drink, drink) self.Bind(wx.EVT_BUTTON, self.food, food) def food(self, event): box = wx.TextEntryDialog(None, 'What is …

Software Development gui python
Member Avatar for darkmikey
0
693
Member Avatar for hennelh

A recent assignment involved using very large integer values. A formula and very large x values were given and we had to compute the value of f(x). The tutor suggested using long long values as the 0 < x < 10^18. The function F(x) = F(x/2) - x if x …

Software Development c++ ubuntu
Member Avatar for hennelh
0
4K
Member Avatar for teha_toshio

[CODE]1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 A * * * * * * * * * * * * * * * * * * * * B * * * * * * * * …

Software Development c++
Member Avatar for teha_toshio
0
174
Member Avatar for bklynman01

I have an application that allows the user to upload information from and Excel sheet. Since the user is more familiar with Excel, they prefer to do it this way. My software will close the workbook with [ICODE]Me.exApp.Workbooks.Close()[/ICODE], but if you have the task manager running, you can see the …

Software Development vb.net
Member Avatar for ShahanDev
0
141
Member Avatar for Hendo

Hello all! Okay, I have made a very small stand alone application used basically as a program launcher for a very specific purpose. The application will be run off of a thumb drive, and used several times a day, and on several different machines, for about a month. No internet …

Software Development
Member Avatar for Hendo
0
117
Member Avatar for Aviras

Hello everyone. I've been programming on a co-op RPG for quite some time now, but my networking side has seen some troubles. I'm using the lower level serverSocket-Socket way. Everything runs flawless within my own network, however connection over the internet is where the trouble is. I understand this is …

Member Avatar for Aviras
0
287
Member Avatar for anand01

Hai all, AM trying to connect java with database .I created class called data manager with several methods like setdburl(), getdnurl() ,etc.. i called the set functions inside another class and assign values. in set method i assigned LOCAL VARIABLE. when i call get url method it shows null value.. …

Software Development java
Member Avatar for anand01
0
145
Member Avatar for Majestics

How to keep look and feel of java program as classic windows style , even the style of the windows change to windows xp look, or aero look? I mean permenantly keeping classic look? Has any one has any idea? Thank you............... for any advice , help... :)

Software Development java
Member Avatar for Majestics
0
168
Member Avatar for saransh60

[code] class List(): def __init__(self,values=0): self.numb=values self.linker=self def add(self,values): self=self.linker self.numb=values self.linker=List() def show(self): while self!=self.linker: print self.numb self=self.linker [/code] In main call i want some thing like this [code] list1=List() list1.add(43) #i want to add numbers to liked list node like this list1.add(22) list1.add(938) list1.show()#Then retrieve it from the …

Software Development linked-list python
Member Avatar for jLocke
0
285
Member Avatar for coolzero

need help on this; I want to have the textbox4 to have the sum of columns based on their employee Id. I have this code but kept getting error. strsql = "SELECT emp_id, COUNT(acdcalls) FROM CMS WHERE emp_id= '" & TextBox1.Text & "'" oledbcon.Open() Dim cmd As New OleDbCommand(strsql, oledbcon) …

Software Development cms vb.net
Member Avatar for Naveen2961
0
2K
Member Avatar for sathya88

some commands working properly(notepad ,control(control panel))... but how to execute commands "dir" like that my code is ... [CODE] public class test1{ public static void main(String args[])throws Exception{ Runtime r= Runtime.getRuntime(); Process p1=r.exec("notepad");//working fine Process p2=r.exec("control");//working fine Process p3=r.exec("test1.java");//cannot run Process p4=r.exec("dir");// cannot run } } o/p: F:\studies\java\test>java test1 Exception …

Software Development java
Member Avatar for JamesCherrill
0
8K
Member Avatar for betny

[code=text]SET CLASSPATH_JARS=../../lib/log4j/log4j-1.2.14.jar SET BUILD_CLASS_DIR_IMPLEMENTATION=BUILD_LOCAL\implementation\build\classes SET RUN_CLASSPATH=%BUILD_CLASS_DIR_IMPLEMENTATION%;%CLASSPATH_JARS% SET CLASS_TO_RUN=chepsoft.micro.javadoc.workerapplication.WorkerApplication SET ARGUMENTS=Worker implementation by WorkerImpl ECHO CLASSPATH_JARS=%CLASSPATH_JARS% ECHO BUILD_CLASS_DIR_IMPLEMENTATION=%BUILD_CLASS_DIR_IMPLEMENTATION% ECHO RUN_CLASSPATH=%RUN_CLASSPATH% ECHO CLASS_TO_RUN=%CLASS_TO_RUN% java -classpath %RUN_CLASSPATH% %CLASS_TO_RUN% %ARGUMENTS% %1String name = "Bethuel", %2String workerType = "Monthly Employee", %3double salary = 22000d,[/code] if i want to pass the above variables from run.bat file …

Software Development java
Member Avatar for peter_budo
0
162
Member Avatar for lovelydan

i want to design a module to count each assets on a table so i can generate an aggregated data report of for each item. this is where i got stuck:Help! [CODE] Private Sub countAssets() Dim mydb As Database, MysetAssets As Recordset, MysetSoftware As Recordset Set mydb = DBEngine.Workspaces(0).Databases(0) '............................................................................ …

Software Development database-design visual-basic
Member Avatar for BitBlt
0
103
Member Avatar for fredw300

Hi, I am writing a program in C# where user uploads a .rtf file with some predefined bookmarks. Is it possible to insert text at the specified bookmarks through code and allow user to download the updated .rtf file? Thanks.

Software Development
Member Avatar for fredw300
0
447
Member Avatar for IndianaRonaldo

Hi, I made a program that lists all possible anagrams of a word.Now I'd like to include anagrams of subsets of letters in the word.I have the code for making the subsets also now.But i do not want merge them as a single code.So I'd like to know if there …

Software Development c++
Member Avatar for thines01
0
214
Member Avatar for omarized

Good day every one please I need help in coding this small easy program it just three text boxes and one button to save them this is my code [ICODE] Imports System.Data Imports System.Data.SqlClient Public Class Form1 Dim cmd As SqlCommand Dim con As SqlConnection Private Sub Button1_Click(ByVal sender As …

Software Development open-source vb.net
Member Avatar for Netcode
0
144
Member Avatar for mith_cool

Instance variable does mean you will get new value with every new object created of particular class rite? I tried it myself eg: [CODE]class simpleinstcheck { static int i; void incr() { System.out.println(i++); } public static void main(String args[]) { simpleinstcheck sc= new simpleinstcheck(); sc.incr(); simpleinstcheck sc1= new simpleinstcheck(); sc1.incr(); …

Software Development java
Member Avatar for JamesCherrill
0
177
Member Avatar for afaquemanzoor

hi every body, i have very confusion with interpretor in jva, why we use it

Software Development java
Member Avatar for JeffGrigg
0
113
Member Avatar for kindofsudden

First time poster here... My VB.NET program compacts and repairs my DB, but somewhere in the process unsets the database password. No problem, just reset it through VB, right? Ummm... not sure how to go about that task. So I either need to know how to compact it without losing …

Software Development microsoft-access vb.net
Member Avatar for kindofsudden
0
301
Member Avatar for king03

hi there guys I need help how do I make my check box a single click one? I have to double click my checkbox in order to select a particular item but I want to just click once. Any ideas how?

Software Development
Member Avatar for king03
0
100
Member Avatar for danbrainy

designing an inventory system and i want to generate crystal reports from sql queries. Actually want to generate monthly and yearly reports from the daily sales reports i have populated. someone please help me.

Software Development sql vb.net
Member Avatar for debasisdas
0
159
Member Avatar for bhagawatshinde

Hi, How to restrict user to copy and paste datagridview data to word or anywhere. How i can do this. Thanks in Advance........................

Software Development
Member Avatar for bhagawatshinde
0
75
Member Avatar for Jake.20

Guys need help.. I have button that adds element in array and displays the item that is added in array in the listview, And also i have button that deletes it but it's not working. Here's the code: [CODE]Private Sub btnRemove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRemove.Click …

Software Development listview vb.net
Member Avatar for vikramrandhawa
0
243
Member Avatar for judithSampathwa

hi, i am creatnig an windows desktop application. and in the main form i have a menu stript. what i want to do is attached one user control to eacn menu stript. each user control has a different design. how can i do this??? any tutorial

Software Development asp.net c#
Member Avatar for nick.crane
0
214
Member Avatar for justin96b

so here is my code -- whenever i try to compile it says SYNTAX error [CODE] #include <stdio.h> long FindMaximum(long* numbers, int count) { long max = numbers[0]; int i; for(i = 0; i< count; i++) { if (numbers[i] > max) { max = numbers[i]; } } return max; } …

Software Development c
Member Avatar for Nick Evan
0
150
Member Avatar for pauj

which is the best GUI tool on windows platform?

Software Development c++ gui
Member Avatar for play_c
0
111
Member Avatar for yt0729

I am doing several choice box in JFrame.But i have some problems.Can anyone help me. 1)Currently doing a loop to add no1 until 50 into choice box.But it doesn't work. [CODE]int [] number = new int[50]; for(int i=0;i<50;i++) { number[i] = i; for(int i = 0;i<50;i++) { c1.add(number[i]); }[/CODE] 2)I …

Software Development java
Member Avatar for mKorbel
0
191
Member Avatar for MA1779

Can somebody please show me what the rest of this code should look like. I have about 90% of it so far. I have the GUI, but need help with the rest. Here is the Link to my code and the question to the problem is below. I thought it …

Software Development gui java user-interface
Member Avatar for peter_budo
0
142
Member Avatar for zoraster01

help me guys .. i want to know how to select the end of the data in my table..

Software Development sql vb.net
Member Avatar for debasisdas
0
85
Member Avatar for Galbatorix

Hello, i am developing a bidding system that will be used across a network. Could someone please help me on the network code to interconnect the server and the clients from each end and also the code for sending the data across the network

Software Development vb.net
Member Avatar for debasisdas
0
89
Member Avatar for becool007

Hey DaniWeb :) So Im working on this C++ Project and I'm getting this wierd LINKER issue. So basically this is the scenario 1. non-static member (int) frame in Main.cpp 2. static get/set functions for frame in Main.h 3. I try to access the frame integer variable via the get …

Software Development c++
Member Avatar for Ketsuekiame
0
253
Member Avatar for srikanth2321

Hello, I want to upload a file into the database. While uploading I'm extracting the file name and extension. The problem now is if I have a file name which is separated by '_', it is giving me and exception "illegal characters in path " [CODE] string text = File.ReadAllText("C:\\Users\\xxxx\\Desktop\\9_file.bak", …

Software Development
Member Avatar for Ketsuekiame
0
707
Member Avatar for tarakant_sethy

Hi, i am compiling the code in HP itenium server and i am getting an error. "Filename.cpp", line 129: error #2308: more than one instance of overloaded function "std::basic_string<_CharT, _Traits, _Allocator>::assign [with _CharT=char, _Traits=std::char_traits<char>, _Allocator=std::allocator<char>]" matches the argument list: function "std::basic_string<_CharT, _Traits, _Allocator>::assign(const std::basic_string<_CharT, _Traits, _Allocator> &) [with _CharT=char, _Traits=std::char_traits<char>, …

Software Development c++
Member Avatar for tarakant_sethy
0
100
Member Avatar for robertomason

I've been scouring the internet for a solution, and I've found one, but it confounds me a little. I have Visual Studio 2005 integrated with Crystal Reports. I work for a school board, and I'm building a report card for SummerSchool Students. One feature I'm adding is a signature file, …

Software Development visual-studio
Member Avatar for mirapatel
0
836
Member Avatar for terabyte

I've been programming a web crawler for a while, I'm almost done, it works perfectly but when it crawls vbulletin forums i get weird urls example: forum/index.php?phpsessid=oed7fqnm9ikhqq9jvbt23lo8e4 index.php/topic,5583.0.html?phpsessid=93f6a28f192c8cc8b035688cf8b5e06d obviously this is being causes by php session IDs what can I do to stop this? I tried using cookies with HTTP::Cookies …

Software Development perl session vbulletin
Member Avatar for maninaction
0
205
Member Avatar for vaishnu

Hi all I have a form which selects files from the disk. But everytime a file gets selected the form gets closed. What should i do for the form 's selection window to remain so that the user can select multiple files everytime even without having to run the program …

Software Development
Member Avatar for Momerath
0
185
Member Avatar for Wheen

An application that I am making uses a web browser object to watch videos from YouTube (From an embedded link like [url="http://www.youtube.com/v/fregObNcHC8"]this[/url], not a regular link). The problem is that when the user clicks anywhere in the web browser object, it screws up some other aspects of the application. How …

Software Development web-browser
Member Avatar for Wheen
0
90
Member Avatar for kristo5747

Why does this work [CODE] for myfile in `find . -name "R*VER" -mtime +1` do SHELLVAR=`grep ^err $myfile || echo "No error"` ECHO $SHELLVAR done[/CODE] and outputs [CODE] No error err ->BIST Login Fail 3922 err No error err ->IR Remote Key 1 3310 err [/CODE] But this does not …

Software Development shell-scripting
Member Avatar for Fest3er
0
236
Member Avatar for Pityu

Hey there everyone! I have an issue with a script with which I had sweated much, and I can't suspend it even if I find another solution for what I want. What I want would be the following: A script that creates a full backup of a directory and all …

Software Development shell-scripting ubuntu
Member Avatar for Fest3er
0
225
Member Avatar for bhavna13

[CODE]public class duplicate { public static void main(String[] args)throws IOException { System.out.println("Enter words separated by spaces ('.' to quit):"); Set<String> s = new HashSet<String>(); Scanner input = new Scanner(System.in); while (true) { String token = input.next(); if (".".equals(token)) break; if (!s.add(token)) System.out.println("Duplicate detected: " + token); } System.out.println(s.size() + " …

Software Development java
Member Avatar for christeenajose
0
182
Member Avatar for manugm_1987

Hi everyone I have an application which hooks to notepad and records the keyboard strokes, this works fine only when i have an notepad open before executing my application. Once the appl is running and then i open notepad my appl doesnt work. My ques is suppose i have first …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
354
Member Avatar for logicmonster

I have to open and read a file whos file name is provided through a command line argument. Right now, I am using the following method. My main: [CODE]#include <stdio.h> #include <string.h> #include <ctype.h> #include <stdlib.h> #include "functions.h" int main(int argc, char *argv[]) { int count, string_size; int other = …

Software Development c
Member Avatar for Ancient Dragon
0
168
Member Avatar for drakeanoid

It will not add Inventory to the program. It prints out zeroes for the list. Please someone help me make this work [CODE]#include<iostream> #include<string> #include<iomanip> #include<fstream> using namespace std; struct Inventory { long Inventory_N; float Price; char Inventory_Name[50]; }; void menu (ifstream&, ofstream& , Inventory L[], int); void loadInventory(ifstream&, Inventory …

Software Development c++ ios
Member Avatar for Ancient Dragon
0
593
Member Avatar for C#Jonathan

HI, I am parsing a log file that contains several thousand lines of logs. Each entry in the log ends with the Line Feed character \n. However some of the lines have an embedded 'CR'character in. My parser should ignore those and not treat text following the CR character as …

Software Development
Member Avatar for Momerath
0
500
Member Avatar for PratikM

Hi Guys, I'm kinda new at this..but I need help cause I keep on getting this error and I don't know what's wrong with it. So Please Help Me. Thanks. Here's My Code: [CODE]#include <iostream> using namespace std; int addition (int,int,int,int,int, int); int addition (int a, int b, int j, …

Software Development c c# c++
Member Avatar for PratikM
0
430

The End.