132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for auwi987

hey guys need some help in string manipulation, example i have a string LFname = "Hello, world" and textbo1,textbo2. now i want to display "Hello" in textbox1 and display "world" in textbox2. by the way guys thanks for your patience :)

Software Development
Member Avatar for auwi987
0
101
Member Avatar for weeraa

I'm a beginner to C# and going to develop a application using C# and SQL server 2005. one of my tables has a field named with DATE. data type is also 'datetime'. i can insert data to the database using my application properly. now i want to filter my data, …

Software Development c# sql
Member Avatar for kamilacbe
0
161
Member Avatar for ocw91

Seriously need help here how can i wrte a program that read character only? i mean alphabert like people key in "i +am+ 12567 a",;. boy," and the program only read iamaboy is there another way other than lowercase the string and then compare a-z?

Software Development java
Member Avatar for JamesCherrill
0
162
Member Avatar for ocw91

I successfully compile the code through cmd, however when i run it, when i enter my password with anything(which fulfill the first condition (6-20))it will show error. The question is to write a program that let user to create a password which is valid (more than 6 letters, must have …

Software Development java
Member Avatar for stultuske
0
193
Member Avatar for gopal1993

Hello all, Actually i had a program which i was unable to solve i hope youll help me out and post your solutions. The program is: A Bowler is called the Best, if the average wickets taken by him during the year is 5 and above. The number of matches …

Software Development c c# c++
Member Avatar for tkud
0
88
Member Avatar for ocw91

I have a serious problem here! i understand that the switch is wrong(the Str class should be fine). I wonder what datatype should it be? and if "char" how i am going to key in int value and how to use scanner on it ? The display menu is fix. …

Software Development java
Member Avatar for ocw91
0
181
Member Avatar for sun_2588

Hello Everyone, I am making a GUI using Tkinter... I have completed that the GUI now i want to put the validation on those Entry Widget,,,,,... i know, i have to use the re module...... but i really cannot understand that....can someone please give me the simple example...like if i …

Software Development gui python tkinter
Member Avatar for TrustyTony
0
309
Member Avatar for adarshcu

Hi All, I have a JAR file that contains a .dll file. But during an ant build a ZIP Error is thrown [CODE]error reading D:\COE\Libraries\client\WSQUtil-1.0.jar; error in opening zip file[/CODE] Is there a way to overcome this ? The jar looks fine(opens in winzip) and eclipse build path also references …

Software Development file-system java
Member Avatar for adarshcu
0
227
Member Avatar for dany12

Hay everyone I want to learn(I need to learn java) java very fast. I have some knowledge of java but not the fundamentals like in html css php or sql and mysql. I know that the structure of a program in java starts with the imports than if you have …

Software Development html-css java
Member Avatar for dany12
0
303
Member Avatar for cvanithakpm

plz help me... which file contains an applet that is to be run inside a browser? and is rmi is one language dependent architecture?[code]which file contains an applet that is to be run inside a browser[/code]

Software Development java
Member Avatar for cvanithakpm
0
60
Member Avatar for Majestics

I am using jcalendar... I want to bind it with a textfield, i am using button to display this calendar , but i want to display it below the date text field, any suggestions???

Software Development java
Member Avatar for Majestics
0
98
Member Avatar for theQube

Is it worth going out and using a program like JCreator or something like that compared to good-old notepad? They all should compile the same code, no? Ian

Software Development java
Member Avatar for zeroliken
0
274
Member Avatar for khelly

[CODE]#include<iostream> #include<fstream> #include<string> #include<vector> #include<algorithm> using std::cin; using std::cout; using std::string; // clothing codes struct codes { char code; const char* explanation_1; float total_sales; }; codes CODES[]={'A',"BABY WEAR",0.0F, 'B',"CHILDREN WEAR",0.0F, 'C',"LADIES WEAR",0.0F, 'D',"MENSWEAR",0.0F, 0,NULL,0.0F }; struct RECORD { char category; int item_number; float price; }; const string filename="jualan.dat"; int menu(); …

Software Development algorithm c++ display ios
Member Avatar for khelly
0
122
Member Avatar for puppycrazy

my codes occur some problem inside.whn i answered 'N' to the last question(DO YOU WISH TO CONTINUE?(Y/N)), the program will repeat run again, but i cnt enter student name!anyone can help me solve the problem>? [CODE] import java.util.Scanner; public class homewok{ public static void main(String args[]){ Scanner xx = new …

Software Development java
Member Avatar for puppycrazy
0
358
Member Avatar for ben1996123

I want to start learning OpenGL. Codeblocks decided to break, so I downloaded Dev-C++ instead. I've tried loads of different websites to try and figure out how to install it, and I get some type of error every time. How should I install it with dev-c++?

Software Development c++ opengl
Member Avatar for ben1996123
0
103
Member Avatar for mrnobody

Hi guys, I've been struggling for days to do this. I've got 2 form. The first form (Form1) is to assign a variable (Result) a value. Another form (DisplayResult) is to display out the value. Actually, my purpose is to learn how i can use global variables to share information …

Software Development c++ visual-studio
Member Avatar for mrnobody
0
248
Member Avatar for ben25x

Before looking at the code, here's an explanation: NIDAQmx is a hardware-in-the-loop integration software from National Instruments. They give this sample code to create any voltage out of the card. The variable "float64 data[1]" is a double precision floating point that defines the actual voltage being emitted from the card; …

Software Development c
Member Avatar for ben25x
0
458
Member Avatar for g1skyfire

The following code worked for me but I wanted to re-do it to learn how to make a Object Array. The first set of code is the working code, the 2nd is my attempt at it. Thanks for checking this out: [CODE]public void AddPrices() { string[] cb = new string[11]; …

Software Development
Member Avatar for thines01
0
234
Member Avatar for natehome

im working on a tron game with pygame and i cant figure out how to make my tail that the player's car makes disappear after somany pixels. i want the tail to start shortening itself after like 500 pixels. if you can, can you post the full code edited (im …

Software Development gaming python
Member Avatar for natehome
0
1K
Member Avatar for Zalo83

Hello experts, I'm currently trying to make program that sends commands to my home security system. I have it connected to my computer trough the COM port, this feature allow me to control my system by sending hex ASCII codes. I hope that someone could help me make a function …

Software Development
Member Avatar for Zalo83
0
268
Member Avatar for Yamadron

Hello.. I am creating Contact Book Application.. and I am now having a problem while writing this information to an XML File... I get "[COLOR="Red"]Root Element is Missing[/COLOR]" that crashes the application while using XmlDocument.Load to load a Stream Simply it should save all the changes when closing the form... …

Software Development file-stream xml
Member Avatar for CeilingSpy
0
1K
Member Avatar for slowly_but_sure

[B]I was trying to create an application implementing the Douglas Peucker algorithm in VB.NET. I already finished coding the program and tried to compile it but when I try to draw on the form, it is not working. My source code is below, I just want to ask if there …

Software Development algorithm vb.net
Member Avatar for slowly_but_sure
0
702
Member Avatar for surakesh

<< This is my python code >> << (Step 1) - I am registering the class of this python file for this PythonUtil class by executing this code in the pythonwin.exe interpreter >> class PythonUtil: _public_methods_ = ['funct’] _reg_progid_ = "PythonUtil.Utilities" _reg_clsid_ = "{73B6791B-C161-4F26-9402-D4AE4BC602AB}" def funct(self, val, item=None): print “hi” …

Software Development python
Member Avatar for thines01
0
332
Member Avatar for Dani

I am using Mac OS X with the built in configuration of Apache. I am taking a web dev class where we're writing perl scripts ... so far I've been able to get my CGI scripts to run via mod_perl. Now, I'm trying to install CGI::Session via CPAN and it's …

Software Development apache os-x perl session
Member Avatar for thomasgutierrez
0
348
Member Avatar for major_lost

I want to first say THANK YOU to all of you programmers for your help. You truly live steady to the core of IT and are an inspiration to us newbies! I have a simple utility that starts and stops a timer on a VB4 form. I record the time …

Software Development visual-basic
Member Avatar for ChrisPadgham
0
122
Member Avatar for bhagawatshinde

Hi , is this correct query for access database.. [CODE] string findrecord = "SELECT s.test_no, COUNT(s.test_no) AS totalQ,(SELECT COUNT(s.que_id) AS CorrectS FROM Testmark AS t INNER JOIN StartTest AS s ON s.test_no = t.test_no AND s.que_id = t.que_id AND t.ans = s.ans and t.test_no = '" + GlobalMember.TestNumber + "') …

Software Development
Member Avatar for thines01
0
152
Member Avatar for datanetw

Hi Guys my name is tejas m having the same problem i am trying to compile a billing project but it wont simply work gives Unhandled exception in SPBS.EXE(Program Name) (CRAXDRT.DLL) Access Violation 0xc some zeros and 5 i am posting the complete code of frmreports can anyone help me …

Software Development visual-basic
Member Avatar for hkdani
0
392
Member Avatar for pseudorandom21

I've been fiddling with some boost spirit stuff, and my code seems to start infinitely looping somewhere in the standard library stuff. Any ideas what's wrong? The qi::phrase_parse works very well, but the karma gets me. [code] #include <iostream> #include <string> #include <vector> #include <algorithm> //#include <boost/spirit.hpp> #include <boost/spirit/include/qi.hpp> #include …

Software Development algorithm c++
Member Avatar for mike_2000_17
0
191
Member Avatar for Vasthor

Hi guys, again, coming to this forum for asking some confirmation of my knowledge confusion. firstly, let's take a look on the code:- [CODE] #include <iostream> using std::cout; using std::endl; int main() { // main process const int value_1 = 1000; const int *pointer_1 = &value_1; const int **pointer_2 = …

Software Development c++
Member Avatar for Narue
0
2K
Member Avatar for deanus

Hi, I've just learned that Java's 'protected' access specifier has a different effect than that in C++. So is there a way to make a member of a base class visible to its inheritors but not globally? Dean

Software Development c c# c++ java
Member Avatar for deanus
0
108
Member Avatar for influenceuk

Hi i have been asked to create a sample app which pulls data from a txt file. Then outputs it in another txt document depending on certain arguments. Write a console application called 'program.exe' that takes four arguments: 1. Input File 2. Output File 3. Log File 4. Product Codes …

Software Development c c# c++
Member Avatar for thines01
0
195
Member Avatar for peter20

Hi, I don't know anything about generics interface in java but I would like to make threads with name qorker (qorker<Someqork> qorker = new Someqorkqorker<Someqork>()) which has three states INIT, WORKING and END. And I want this thread to call a web service like [URL="http://www.w3schools.com/webservices/tempconvert.asmx"]Web Service/tempconvert.asmx[/URL] I don't know where …

Software Development java
Member Avatar for peter20
0
181
Member Avatar for amir1990

Hi, i have this code: s = "hi john' re.serach(r'j\w+h', s).group() and up to here there is no problem but i want to put the letter h in a str variable l = "h" re.search(r'j\w+'l, s).group() but when i do this i receive an error??

Software Development python
Member Avatar for amir1990
0
82
Member Avatar for awaresefere

hi i want to write a text in any line inside a rich text box how can i do that ?am now able to append to existing one or insert to the beginning of the rich text box but i want to write to any line inside the text box.

Software Development
Member Avatar for lxXTaCoXxl
0
1K
Member Avatar for winecoding

I am trying to use a Weka method, crossValidateModel, which is posted in the last. It looks like that the fifth parameter is referred to as varargs parameter. I tried the example usage given in Weka page, such as [CODE]eval.crossValidateModel(cls, data, folds, rand);[/CODE] It works just fine on one system,(eclipse+Ubuntu); …

Software Development java redhat ubuntu
Member Avatar for ~s.o.s~
0
213
Member Avatar for AquaNut

Hi Y'all, I have a RTB which I import with a set of 7 or 9 didit numbers, 7 for Staff and 9 for Students. e.g. Staff numbers 0628189 0628191 0629991 0629850 0804930 and depending on what is selected in a list box ('Student' or 'Staff') will generate a string …

Software Development vb.net visual-basic
Member Avatar for AquaNut
0
483
Member Avatar for SasseMan

Hi! I'm writing a unit test where arbitrary objects have to be created without knowing anything about the objects (with some exceptions). I use reflection to create objects and set their fields to random values etc... I'm almost there but I've come to an issue I can't find a solution …

Software Development java
Member Avatar for SasseMan
0
187
Member Avatar for 3435

[B]Hello everyone!![/B] I am new to Linux forum and have a question related to typecasting in C related to offset of structures.I have a piece of code and having a problem with this: [CODE]void fun(struct c *p) { int offset; struct b *address; offset=(char *)&((struct c *)(&((struct a*)0)->y)->j)-(char *)((struct a …

Software Development c c# c++
Member Avatar for Trentacle
0
184
Member Avatar for sidyusuf

hi frnds , i have a combobox containing countries name and their codes like INDIA:CNT001 then i have a textbox that store the code of country i.e CNT001(fetching from database) Now i want to match that code with the combobox code so that the combobox is set to that item …

Software Development sql vb.net
Member Avatar for NewUserVB.Net
0
604
Member Avatar for NewUserVB.Net

Goodmorning everybody, here i am wanting to make a Login System that uses Usercontrol. I have a label left and right i have a panel. in this panel i want to add usercontrol for all users that has one account in the application. this are some examples (Windos XP Login) …

Software Development vb.net
Member Avatar for codeorder
0
175
Member Avatar for NewUserVB.Net

Good Day everybody, I am wanting to make a program in VB.NET that has many files.doc in a specific folder. This program has on top a textbox(txtSearch) with a button(btnSearch) under that this has two listbox(lstOption, lstResult), that are floating a left, one richtextbox(rtbDoc) that is floating a right. I …

Software Development seo vb.net
Member Avatar for codeorder
0
686
Member Avatar for shibu2all

Hello Members, Can anyone please help me out with the concept of INSERTION AND DELETION OF ELEMENTS IN ARRAY.. I have understood the logic behind this, but i am facing problem with the coding thing.. i am not able to get it properly.. can anyone here pls help me out....

Software Development c
Member Avatar for mridul.ahuja
0
159
Member Avatar for Jake.20

We're having a problem on computing the grade average [CODE]Dim hwTotal, swTotal, quizzes, project, midTerm, totalAverage, Finals, Attendance As Double[/CODE] [CODE]hwTotal = Val(hw1.Text) + Val(hw2.Text) + Val(hw3.Text) + Val(hw4.Text) + Val(hw5.Text) / 50 * 100 * 0.1 swTotal = Val(sw1.Text) + Val(sw2.Text) + Val(sw3.Text) + Val(hw4.Text) + Val(hw5.Text) / 50 …

Software Development vb.net
Member Avatar for codeorder
0
155
Member Avatar for jayjey

I don't understand what is wrong with this. This is the line with the error: `}while(playAgian());` Thank you :) #include <iostream> #include <string> class Ice { public: void hit(int playerLoco, int iceStrenth, int loco1, int loco2, int loco3); int strenth; class Loco { public: int location; bool hit; }; }; …

Software Development c++
Member Avatar for gevorg1808
0
200
Member Avatar for chris99

I'm using windows 7, hoping to use Tkinter to open an internet window when a button is clicked that goes to a specific page in google chrome. Is this possible? [CODE]class App: def __init__(self, master): frame = Frame(master) frame.pack() self.button = Button(frame, text="Rejuvenation", command=self.info) self.button.pack() def info(self): pass #Will go …

Software Development python tkinter
Member Avatar for inuasha
0
267
Member Avatar for inuasha

How would I find the amount of characters in a string and then use that to print a certain amount of some character that you choose. For example: [CODE=Python] a = 'string' # this holds 6 characters print '*' * # amount of characters in string [/CODE]

Software Development python
Member Avatar for inuasha
0
247
Member Avatar for lxXTaCoXxl

I'm trying to save and load objects from my form. Like say I have a listbox and a checked list box, I want to save the contents of these boxes to a file, NOT TEXT but through bytes (the right way). How do I do it? I need help. Any …

Software Development
Member Avatar for kamilacbe
0
87
Member Avatar for deeptiarora

Hi can we create an exe file in vb.net and used it anywhere we want without using any .net framework. deepti

Software Development asp.net vb.net
Member Avatar for studsSW
0
453
Member Avatar for sasidharnet

Classes Like Threads,Streams,Runtime and some of awt not serializable. Please tell me the Reason. This is asked in my interview. I said, classes which have native code will not be serializable. Is it correct? Please give detail note.

Software Development java
Member Avatar for stultuske
0
507
Member Avatar for programing

hi i need to help me to understand this code how its work and depend on what it determine how many time yopu should enter values [CODE]#include <stdio.h> #define SIZE 100 #define SENTINEL -99999 #define TRUE 1 #define FALSE 0 #define READ 10 #define WRITE 11 #define LOAD 20 #define …

Software Development c
Member Avatar for DJSAN10
0
220

The End.