43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for intel1111

I Need Some Help With A Program I Am Making I Have Created 2 Program One To Create The File And The Main Program. But There Is One Problem When Ever More Data Is Added To The End Of The File It Copy's The First Lot Of Data And Starts …

Software Development pascal
Member Avatar for intel1111
0
365
Member Avatar for dinilkarun

Hi All, I have created a two frames(Frame-1 and Frame-2) using BOA Constructor. Frame-1 has a button on it. On click of this button frame-2 is popped up to the user. I want the focus to be set only on Frame-2. What I mean is that: The application should not …

Software Development python
Member Avatar for dinilkarun
0
165
Member Avatar for dinilkarun

Hi all, I have used a status bar on my frame developed in BOA Constructor. I want to split my status bar into two parts in proportion of .75 and .25 i.e., First part should be 75% and 2nd part should be 25% of the total. And then at various …

Software Development python
Member Avatar for dinilkarun
0
172
Member Avatar for sarifah

please help me. urgent i have one date in a txtBox1.what i want is, after i click the button, the other date will appear on txtBox2. [B]The other date[/B] is the date after several days such as 7 days. so, how or what the coding to enable the other date …

Software Development visual-basic
Member Avatar for smile4evr
0
114
Member Avatar for maurya_alld

Hello, I have created a project in C#.net and I want now that created exe run only once on any particular machine after installation. Can any body told us how to do it. Regards Avadhesh

Software Development
Member Avatar for LizR
0
2K
Member Avatar for samir_ibrahim

[CODE=VB.NET] Dim dr As DataRow Dim dt As DataTable Dim ds As DataSet ds = DataSet2 dt = ds.Tables("firm") dr = dt.NewRow() dr.Item("f_num") = 9999 dr.Item("f_name") = "samir" 'txt_FarmName.Text dr.Item("f_floor") = 10 'Val(txt_FloorCnt.Text) dr.Item("f_type") = "C" ' Left (com_CusType.Text, 1) ds.Tables("firm").Rows.Add(dr) [/CODE] as I am reading from an example? there …

Software Development dataset vb.net
Member Avatar for chan_lemo
0
144
Member Avatar for jakethesnake86

Ok, I have here a program where I'm trying to read a specific line from a file, store it as a string of characters, and then, if the right string of characters is stored, perform specific tasks. When I run this program I only get 11 of the characters stored …

Software Development c++ file-system
Member Avatar for jakethesnake86
0
484
Member Avatar for pyth0n

Hi, I am creating a game the asks the user if they want to play again at the end. If the user answers yes, I want python to execute the program again starting from the beginning. I have tried searching, but could not find anything. Is there anything in Python …

Software Development python
Member Avatar for pyth0n
0
106
Member Avatar for imcrackinup3

I have a project for which I need to use turtle. I'm very new to python, and our teacher didn't really explain how to use turtle. What's the basic format I need to use to draw a polygon? I have to define a function, polygon(), and run it with two …

Software Development python
Member Avatar for vegaseat
0
79
Member Avatar for NinjaDude007

I am gonna start off saying that I am new to C++, and I have little programming knowledge (just Q Basic, and it has been a while since I have used that), and I need help on an assignment in my C++ class. We have to use a case function …

Software Development c++
Member Avatar for NinjaDude007
0
176
Member Avatar for smile4evr

please can u help me with all basic VB coding like... if command button is clicked from one form how can i link it to another form in the same project and a few examples of simple codings at the basic level... thankx a lot!

Software Development visual-basic
Member Avatar for rstkw
0
286
Member Avatar for Dave Sinkula

What am I missing here? [CODE]#include <iostream> using std::cout; #include <vector> using std::vector; #include <string> using std::string; #include <algorithm> using std::copy; using std::remove; #include <iterator> using std::ostream_iterator; #include <utility> using std::pair; vector<string>& descend(const char *path, const char *pattern, vector<string> &filelist); void search(const char *path, const char *pattern, vector<string> &filelist); [COLOR="Red"]std::ostream& …

Software Development algorithm c++
Member Avatar for Dave Sinkula
0
1K
Member Avatar for NinjaLink

This is my default screen(output): a - Add a friend m - Modify a friend's p - Print list of friend's s - Search by Last name (a, m , p , s is what the users type to access that part of the database) a - For my addFriend's …

Software Development c++
Member Avatar for ddanbe
0
97
Member Avatar for nnobakht

Hi guys, Im brand new to doing tansformations and cannot seem to wrap my head around it. I have a Xml File which looks something like [code] <parentNode> <childnode1 att1="1" att2="2"/> <childnode2></childnode2> <childnode1 att1="1" att2="2"/> <childnode21></childnode21> <childnode1 att1="1" att2="2"/> <childnode22></childnode22> <childnode1 att1="1" att2="2"/> <childnode23></childnode23> <childnode1 att1="1" att2="2"/> <childnode24></childnode24> <optionalNode></optionalNode> </parentNode> …

Software Development xml
Member Avatar for nnobakht
0
144
Member Avatar for mrjoli021

What is wrong with my code. it poulates the arraylist with only the filename "c:\testfile.txt" i need it to populate it with the contents of the file. [code] private ArrayList<String> Files2Delete = new ArrayList<String>(); private String fName = "c:\\TestFile.txt"; private void fileCollection () { Scanner in = new Scanner(fName); int …

Software Development java
Member Avatar for dickersonka
0
95
Member Avatar for rmlopes

Hello, I am writing an application that uses the Loki library and I get undefined references inside loki if I use the DefaultSPStorage with std::vector<int> (it happens the same with int or using HeapStorage instead). I am developing on Mandriva 2008. Can someone please help me? Thank you in advance …

Software Development c++
Member Avatar for rmlopes
0
219
Member Avatar for daviddoria

I have a Triangle class which has members [code] Point P1, P2, P3; [/code] So generally I pass the constructor 3 points. [code] Point A(1,1,1); Point B(1,1,0); Point C(0,0,1); Triangle T(A,B,C); [/code] Then I have a bunch of functions that I can pass point's to such as to find intersections …

Software Development c++
Member Avatar for Narue
0
116
Member Avatar for FallenPaladin

Hi all, I am trying to create an xml file and schema that can be oppened by a .net app. However when the app trys to read from the data set, nothing is being held. I think this may be due to an error in the creation of the xml …

Software Development xml
Member Avatar for FallenPaladin
0
101
Member Avatar for koushal.vv

Hi , i am working with CTreeCtrl, Here i need to add and remove IMAGE on the tree item at runtime. ie add an image only on the particular tree item . How can i do this. i have tried something like this . [CODE] HTREEITEM itemSelected = mtreeCtrl.GetSelectedItem(); mtreeCtrl.SetImageList(&mImageList, …

Software Development c++
Member Avatar for koushal.vv
0
102
Member Avatar for No1unoin98

Hello everyone, newbie here, im getting an "illegal start of expression" where the while loop starts but im not sure whats wrong with it. I would really appreciate it if anyone could help me as i understand most of the concepts of java but have a hard time writing the …

Software Development java
Member Avatar for No1unoin98
0
93
Member Avatar for gp04lch

hi, i've downloaded the SkyBound VisualStyle dll and have included it in my custom tabcontrol. the purpose is to enable the control to retain the default windows style even after i set the DrawMode to OwnerDrawFixed. problem is after i added it into the control and set the SetVisualStyleEnhanced property …

Software Development assembly
Member Avatar for gp04lch
0
153
Member Avatar for smile4evr

please help me out in wat could be the error in the below code as it is not running when it comes down to the openrecordset statement! [code] Private Sub cmdOK_Click() Dim rst As DAO.Recordset 'check for null password If IsNull(Trim(userid)) Then MsgBox "User Name required.", vbExclamation userid.SetFocus Exit Sub …

Software Development visual-basic
Member Avatar for smile4evr
0
83
Member Avatar for smile4evr

can someone please help me with using tabs and hw to set the system date in vb6

Software Development visual-basic
Member Avatar for smile4evr
0
97
Member Avatar for dem10
Member Avatar for shadwickman
0
175
Member Avatar for chris5126

Can someone tell me why this routine doesnt print out read/write statistics for the first device but does for the other two. I cant seem to work it out. Oh its a ksh script runnin on a solaris 10 box. [code] find_disks() { NETWORKDRIVE=/tmp HOST=`/usr/bin/hostname` integer k=1 integer i=`iostat -en …

Software Development shell-scripting
Member Avatar for chris5126
0
118
Member Avatar for gp04lch

hi, i have two form Form1 and Form2 that are inherited from FormParent. in FormParent i have a protected variable Modified which will be set to true whenever anything has been modified. Form1 and Form2 are docked into tabpages. what i want to do is that when i close the …

Software Development
Member Avatar for gp04lch
0
71
Member Avatar for Grub

I have a .jar file; in this .jar file I have many .class files but no .java files for these class files. Is it possible to add functionality to the program? If so how?

Software Development java
Member Avatar for Grub
0
125
Member Avatar for java-clueless

I understand arrays pretty well but I am so stuck on where to put it. Everything I enter into the inventory program seems to be in the wrong place or written the wrong way. I am so confused can someone help me? This is the program I have so far, …

Software Development java video
Member Avatar for java-clueless
0
211
Member Avatar for BestJewSinceJC

I'm confused how GridBagLayout can be used as if it was GridLayout(0,2). For example, I would like to lay out components like this: Label TextFieldForLabel Label TextFieldForLabel Label TextFieldForLabel Label TextFieldForLabel I thought by making a GridBagConstraints() Object, then setting the gridx and gridy variables, this could be accomplished (Java …

Software Development java
Member Avatar for Ezzaral
0
110
Member Avatar for uim_1977

Hello !!!! I'm callind a form from Dll it works jut pirfect, but i have no idea how it works, so now i need to add parameters to the function,so i can pass some parammeters to the form, and have no idea how to do this, any one can help?? …

Software Development c++
Member Avatar for uim_1977
0
187
Member Avatar for cicigirl04

Trying to make a program that where user inputs 10 numbers (no negative numbers) and then displays the sum and average. I get a error if I don't have ; after else statement, before sum = 0. I get a warning of coversion from int to float, and warning of …

Software Development c++
Member Avatar for DaJoker
0
283
Member Avatar for thanatosys

I am still working on the lovely trie project, now I am working on file input that will be passed into the trie. I receive the following errors when I compile this code. [code] $ make gcc -Wall -g -c -o spellback.o spellback.c spellback.c: In function ‘main’: spellback.c:36: warning: implicit …

Software Development c file-system open-source
Member Avatar for thanatosys
0
133
Member Avatar for vmars

What's wrong with this code in Boa: [def OnMenuHelpAboutMenu(self, event) works fine if I use it to open file etc.., but won't work for Dialog2] Thanks! [code=python] #Boa:Frame:Frame2 import wx #import Dialog2 def create(parent): return Frame2(parent) . class Frame2(wx.Frame): . def OnMenuHelpAboutMenu(self, event): # if hasattr(sys, 'debugger_control'): # sys.debugger_control.set_traceable() dlg …

Software Development python
Member Avatar for sneekula
0
539
Member Avatar for eqalizer

Hello, I'm trying to write my own control. I've got some code: [CODE=c#] using System; using System.Drawing; using System.Windows.Forms; namespace ImageListTest { public class ImageBar : System.Windows.Forms.UserControl { private System.Windows.Forms.PictureBox pb = new System.Windows.Forms.PictureBox(); public ImageBar(String filename) { this.SuspendLayout(); this.pb.SuspendLayout(); this.Controls.Add(pb); this.pb.Size = new Size(80, 80); this.pb.Location = new Point(10, …

Software Development
Member Avatar for eqalizer
0
91
Member Avatar for gp04lch

hi guys, was tinkering around with the tab control and came up with a problem. for your information, i have relied heavily on the example shown here: [URL="http://www.codeproject.com/KB/tabs/firefoxtabcontrol.aspx"]http://www.codeproject.com/KB/tabs/firefoxtabcontrol.aspx[/URL] basically what i'm doing is docking forms onto different tab pages. my problem is that after i override OnDrawItem, the xp stlye …

Software Development
Member Avatar for gp04lch
0
140
Member Avatar for cam875

How do I use AND OR and NOT in C++, because I need to use an and statement and I thought this was right but the compiler is flagging an error with it because I think it thinks it is a pointer reference thing. if (val1 > 16777215 & val1 …

Software Development c++
Member Avatar for cam875
0
110
Member Avatar for oldSoftDev

Hi guys I am back sorry for too late just due to business in class I was unable to visit this site. But for long time I was planning to ask this question but was too busy. I am working on graphic creation in python and I created a basic …

Software Development python
Member Avatar for jlm699
0
94
Member Avatar for IMtheBESTatJAVA

I was asked for my AP Comp Sci online course to construct a program that would calculate fahrenheit to celsius and vice versa, the volume of a sphere given the radius, and the hypotenuse of a right triangle given the two other sides. I was given a program to work …

Software Development java programming-construct
Member Avatar for IMtheBESTatJAVA
0
517
Member Avatar for joshmo

Hey all. I would like to find out how i can access/ get the value of a variable in a different class. this is part of the code which shows what I was trying to do. [code] public class A{ protected int x; //missing code C obj = new C …

Software Development java
Member Avatar for joshmo
0
141
Member Avatar for naeem1986

Dear all, I am trying to build a code which finds a string from an opened file ,, but in order to find it it must tokenize every line first.. here is the code segment, If any of u can help plz.. [CODE] #define MAX_MSG = 100 int main (int …

Software Development c
Member Avatar for naeem1986
0
128
Member Avatar for cwarn23

Hi and I must know if this script is valid to determine if the Java console and my Java compiler need reinstalling. I have tried so many samples and my browser shows an invalid message. My file is named 'filename.class' and below is the script I have used to test …

Software Development display java
Member Avatar for cwarn23
0
474
Member Avatar for uim_1977

Hello Peopel!!!! I have a problem with a definiton. I have defined a form, in dll, then i had to include the file in the same form, after compiling i'm getting worning Public symbol '_DllCustomers' defined in both module CUSTOMERDLL.OBJ and CUSTOMERFORM.OBJ here is the code [CODE] //--------------------------------------------------------------------------- //CUSTOMERDLL.CPP #include …

Software Development c++ dataset ide
Member Avatar for mitrmkar
0
159
Member Avatar for m_arian

Hi This is my first DaniWeb post so I hope I get it right. My problem is homework. I have almost got it but I'm having trouble with the pointers. The entire program will output svg code but I've tried to leave out as much as I can to reduce …

Software Development c++ xml
Member Avatar for skatamatic
1
127
Member Avatar for uim_1977

Hello everyone!!! Whow know how to determinate which Field in DBGrid is active???

Software Development c++
Member Avatar for uim_1977
0
264
Member Avatar for NinjaLink

Hello, I am trying to get the stock count to print for each of the toys: ps3, elmo, and wii. I don't have any clue on how to do it. To print the stockcount, i created the function getStock to try to do the job. Can someone help me get …

Software Development c++
Member Avatar for NinjaLink
0
135
Member Avatar for unleashedvigil

I am needing to have this program choose between two options randomly. The program all works except that when I use this line of code: int x= rand() % 2; it seems that it's not random but rather follows the same pattern every time. I have searched and found things …

Software Development c
Member Avatar for unleashedvigil
0
86
Member Avatar for uim_1977

People what do i do wrong, i'm new to the forum, but for some reason i'm not gettig any ansfers to my questions, please tell me what do i do wrong???? Thank you.

Software Development c++
Member Avatar for VernonDozier
0
92
Member Avatar for Liszt

How could it be possible to synchronize the computertime to ex: GMT or any timeserver on the internet ?

Software Development c++
Member Avatar for Liszt
0
166
Member Avatar for thanatosys

I have a homework assignment for a c class I am in currently, the assignment is to write a simple spell checker. I am having a bit of trouble understanding how to write a trie in c. A trie would be composed of nodes, which contain the following I believe: …

Software Development c
Member Avatar for thanatosys
0
265
Member Avatar for Spartan552

Hello everybody, I have various components that I want regroup in the same category. I found numerous screenshots on the internet using some sort of frame surrounding items. For instance : [url]http://www.vieartificielle.com/images_robot/e70d6615e7b9c9ecfacdc7e977425d6d/cache_500_wifi_robot_photo_gui.jpg[/url] (the frame surrounding "Joystick information" section) and [url]http://bp3.blogger.com/_45gEBj4xUTA/RwefQvOgIjI/AAAAAAAAACQ/pKezYz2qQCQ/s320/RobotUI.jpg[/url] (the frame surrounding "Current data" section). I dont know how …

Software Development java java-swing
Member Avatar for Spartan552
0
99

The End.