64,152 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 …

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 …

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 …

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 …

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

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 …

Member Avatar for chan_lemo
0
144
Member Avatar for serkan sendur

Create a class and add these two methods to it : // for postback events public static void ShowMessageBox(string _message) { Page page = HttpContext.Current.Handler as Page; page.RegisterStartupScript("key2", "<script>alert('" + _message + "');</script>"); } // for async postback events public static void ShowMessageBoxForAsync(string _message) { Page page = HttpContext.Current.Handler as …

Member Avatar for reniies
0
167
Member Avatar for bharatshivram

how can i refer to the individual elements of a formview outside the control? i want to access the value of qustidlabel outside the formview control

Member Avatar for bharatshivram
0
109
Member Avatar for jobojo

I am trying to write a basic amortization calculator program in JavaScript and I am at a standstill. I have researched my issue online for hours without being able to come up with a resolution. In my program I have created a "for" loop which loops for the appropriate loan …

Member Avatar for jobojo
0
166
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 …

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 …

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 …

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 …

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!

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& …

Member Avatar for Dave Sinkula
0
1K
Member Avatar for mgn2683

How would I go about creating a recordset with two WHERE clauses in it? Basically, I have a list and detail pages for a team assignment. In the list page, there are two fields that have to be concatenated to show full names. In the user table they have different …

Member Avatar for mgn2683
0
92
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 …

Member Avatar for ddanbe
0
97
Member Avatar for misselegant

Hi guys, I coding a page to save the first name in the database, iam having a problem and I want you to help me please.. aspx page code [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CompanyInfo.aspx.cs" Inherits="CompanyInfo" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> …

Member Avatar for misselegant
0
96
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> …

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 …

Member Avatar for dickersonka
0
95
Member Avatar for designingamy

Hello everyone. I have really screwed up this code and can't seem to figure out all the things that is wrong with it. Can someone point me in the right direction? Thanks! ~Amy [code] <?php /* Program name: listings.php * Description: This will pull some of the customer's information * …

Member Avatar for designingamy
0
190
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 …

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 …

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 …

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, …

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 …

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 …

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 …

Member Avatar for smile4evr
0
83
Member Avatar for smile4evr
Member Avatar for smile4evr
0
97
Member Avatar for Wiizl

So... I have 3 textboxes and a Submit button. Here's the code behind: [CODE] public void Submit1_onClick(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(); DateTime laiks = new DateTime(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('" & ThreadTextbox.Value …

Member Avatar for misselegant
0
155
Member Avatar for dem10
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 …

Member Avatar for chris5126
0
118
Member Avatar for rje7

hi everyone, I'm developing a Online Music Shop. I think i have completed the basic modules which are necessary in a online music shop. modules include buying prepaid credits, searching for a music file in titles, artist and album, preview the music file, shopping cart, buying the file deducting from …

Member Avatar for rje7
0
139
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 …

Member Avatar for gp04lch
0
71
Member Avatar for websurfer

Hello, all; I am practising on this blog setup, and I am trying to echo each blog entry's headline appear as the page's Title tag... somehow the way I have it doesnt do it. So that you have an idea of what I am doing, I have an "if" statement …

Member Avatar for Will Gresham
0
193
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?

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, …

Member Avatar for java-clueless
0
211
Member Avatar for amby

hi there can anybody please help me out....i just start learning asp.net and have downloaded visual web developer 2008 Express Edition....and it opens my .aspx file.....but i want to check its contents on my browser.....i wrote the simple program that prints Hello world in the center with the yellow background.....first …

Member Avatar for jbennet
0
148
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 …

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?? …

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 …

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 …

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 …

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, …

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 …

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 …

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 …

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 …

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 …

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 …

Member Avatar for naeem1986
0
128

The End.