43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for NAWIN_1

first i'm thai. my english is not good and i'm beginner. here full project only 83.1 kb https://drive.google.com/file/d/0ByoqOTgG3AGPM2hKYmlnZWJpOXM/edit?usp=sharing or http://www.4shared.com/zip/M8Myl3VZ/NcExpressServiceiConfigWin.html when i push buttun 1 to call sub add in UserControl1 but error i don't know how to fix it. property in mainform internal Button OpenButton { get { return …

Software Development c c# c++
Member Avatar for NAWIN_1
0
368
Member Avatar for Tcll

so.. to put this simply: >>> BU5 = bu(5) >>> BU5() 0 >>> BU5(1024) 1024 >>> BU5 == bu(5) False >>> BU5 <__main__.bu instance at 0x00AC5E40> >>> bu(5) <__main__.bu instance at 0x012C6788> BU5 == bu(5) is supposed to return True due to it's expected usage: >>> var = bu(5)() #read …

Software Development python
Member Avatar for Tcll
0
184
Member Avatar for Builder_1

what are the differences of string and cstring header files and how does the pre defined function of strcmp which is called string comparison works???? i know it gives 0 if string 1 = string 2 gives +ive and -ive if str1 is greater or less but it calculates that …

Software Development c++
Member Avatar for Builder_1
0
7K
Member Avatar for tom.scott.73113

Hi Im working on a program at the moment and seem to be having issue with this section when trying to get section 3 i get section 2 Ive pasted code below any help or suggestions would be great. Thanks if(gps=='Y'||gps=='y'&&childseat=='N'||childseat=='n') { if(stoi(daysamount)<=3) { extra=stoi(daysamount)*5; } else { extra=15; } …

Software Development c++
Member Avatar for tom.scott.73113
0
134
Member Avatar for srinu_1

text1.txt: line1 hdfbghasbfas line2 jdsbvbsf line3 <match name="item1" rhs="domain.com"></match> line4 <match name="item2" rhs="domainn.com"></match> line5 <match name="item2" rhs="1010data.com"></match> need to retrive domain.com,domainn.com,1010data.com to "result.txt" `` import re f1 = open("C:/Users/Netskope/Desktop/m/test1.txt", "r") f2 = open("C:/Users/Netskope/Desktop/m/result.txt", "w") d1 = f1.readlines() for line in d1: match = re.findall('<match name="item1" rhs="(\w.+")', line) if match in …

Software Development python regex
Member Avatar for srinu_1
0
381
Member Avatar for Frank15

Hi there, I'm not a developer. I'm a graphics designer. I would like to learn about web development. For that I'm doing research in different languages. Most of them suggested PHP and Python. I know little about PHP. But Python I don't rightly know. Tell which one I can go …

Software Development php python
Member Avatar for kindo
0
324
Member Avatar for glenn_boy13

Hello, I have a listview1 in my form. And my form has the ability to fullscreen itself. In the meantime, I have this code: ListView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize) But that would only depend on the listview's headersize. or the column's header width. I would like my all columns to share equal width. For …

Software Development listview vb.net
Member Avatar for deceptikon
0
537
Member Avatar for Labdabeta

I need to know which of these three copies of code is considered best. I also need to which one is more efficient memory wise and which is more efficient time wise. Thanks: enums [CODE]enum MyEnum{EnumTypeOne=1,EnumTypeTwo=2,EnumTypeThree=4,EnumTypeFour=8};[/CODE] macros [CODE]#define EnumTypeOne 1 #define EnumTypeTwo 2 #define EnumTypeThree 4 #define EnumTypeFour 8 typedef …

Software Development c++
Member Avatar for Ancient Dragon
0
1K
Member Avatar for Alya_1

the given question is 2x+3y-z=5 x-y+z=1 3x+2y+2z=6 i'm supposed to get the values of x,y,z from this coding. #include <iostream> #include <cmath> using namespace std; void GetMat (float A[10][11], int numrow, int numcol); // to enter elements in a 2 dimension matrix void DispMat (float A[10][11], int numrow, int numcol); …

Software Development c++
Member Avatar for Alya_1
0
291
Member Avatar for glenn_boy13

HELLO! I've been debugging my code for an hour now. seriously. So I have this string: SQLString = "UPDATE `etmsystem`.`main` SET `timeIn` = '22:00' WHERE `main`.`serialNo` = '70002B4A8F9E'" actually the TIME and the SERIAL NO. here is to be represented by a variable. But I changed the code into that …

Software Development mysql vb.net
Member Avatar for Assembly Guy
0
422
Member Avatar for mussdroid

Hello Guys , I am having an error message with javafx scene builder integration on netbeans kindly help me ! ![e0bfe397024238042e0c0a4b0776f3f0](/attachments/large/4/e0bfe397024238042e0c0a4b0776f3f0.PNG "e0bfe397024238042e0c0a4b0776f3f0") Thanks

Software Development java
Member Avatar for peter_budo
0
121
Member Avatar for Deep Modi

hi, I am using the Rich Text Box, Now I want to open the Word File, (It may be of 2013 or 2007) How Can i do This? !!! Important Thing !!! No matter if I have to import any of the Word addon or else.... But That should Work. …

Software Development vb.net
Member Avatar for deceptikon
0
338
Member Avatar for tiverton

I am writing a DOS screen football game(No graphics), I have reached 61,283 lines any bigger than this I get a error that says linker warning, exceeded memory limit for block line cache in module. Old compiler version 4.0.

Software Development c c# c++
Member Avatar for tiverton
0
264
Member Avatar for mussdroid

Hi Guys , I know this looks like quite funny question during the holiday season , but i developed small netbeans application called helloworld , which is kind of pressing button and displaying helloworld , i pressbuild the application and press run , but my application is not runnig even …

Software Development java java-netbeans
Member Avatar for mussdroid
0
205
Member Avatar for sarthak25
Member Avatar for JamesCherrill
0
198
Member Avatar for Zahra_1

how to create a loop that will make sure that my dice can be rolled as many times as required? here's my code as a start off. import random dice=random.randrange(1,5) dice2=random.randrange(1,7) dice3=random.randrange(1,13) sim=input (“Which sided dice would you like to roll? You can choose a 4-sided dice, a 6-sided dice …

Software Development python
Member Avatar for sneekula
0
3K
Member Avatar for eeeraser

My question is clear ^^ How to clear keyboard buffer?

Software Development assembly
Member Avatar for Erfan_1
0
3K
Member Avatar for mussdroid

Hello Guys , I am new to NetBeans , any idea what is the meaning of these icons ? Thanks

Software Development java java-netbeans
Member Avatar for mussdroid
0
237
Member Avatar for Vaggelis

Hello everybody, Ι want to make an application that does multiple mathematical actions such as solving second degree equations and indentities I've created all the forms I need for it work but I cant create the main form that the user will use to choose what action will be executed, …

Software Development vb.net visual-basic
Member Avatar for Vaggelis
0
365
Member Avatar for mussdroid

Hello Guys , When I checkout code from svn i get this error message any idea to fix this issue ? I use netbeans 7.3.1 , plugin subversion. ![38e5e181fb4f014e1a9cac948390b20a](/attachments/small/4/38e5e181fb4f014e1a9cac948390b20a.PNG "align-left")

Software Development java java-netbeans
Member Avatar for JamesCherrill
0
261
Member Avatar for 2384443

I have just started to learn java..!! I'm trying to implement some C++ programs in java.. Some of them are working perfectely. But this is the only program which is not working.. It's showing 2 errors at br.readLine().. I don't know what to do.. Kindly please have a look on …

Software Development java
Member Avatar for JamesCherrill
0
212
Member Avatar for Nimerion

Hello.. So, in university they never mentioned the bitwise operators and the work with them. And now I've realised their power in the game development and I want to use them properly, and I'm doing fine, but I can't understand something.. If I'm comparing two integer numbers like this: int …

Software Development c++
Member Avatar for Nimerion
0
374
Member Avatar for kuchi

Hi, we are going to inroduce graphics in our project using python (Version 2.4), I coulsn't find the module related to graphics in this version. Is there anything you know please share that. I would be thankful if you could share the modules which suites Python 2.4 +

Software Development python
Member Avatar for vegaseat
0
324
Member Avatar for Zahra_1

in python, I want to code for the user to choose between a 4-sided dice, a 6-sided dice or a 12-sided dice. how do i do that?

Software Development python
Member Avatar for vegaseat
0
162
Member Avatar for Zahra_1

import random dice=random.randrange(1,5) dice2=random.randrange(1,7) dice3=random.randrange(1,13) sim=input (“Which sided dice would you like to roll? You can choose a 4-sided dice, a 6-sided dice or a 12-sided dice.”) if output=4 then print (“The 4-sided dice has rolled to”,dice) elif output=6 then print (“The 6-sided dice has rolled to”,dice2) elif output=12 then …

Software Development python
Member Avatar for vegaseat
0
240
Member Avatar for Riteman

Am working on a project right now and almost stuck at a point. Say, I have a text document with contents like: `abc,123.xyz;praise;end,file,clear` Now I want abc , 123 . xyz ; praise ... in an array. I used split method with array of characters. Though I retrieved abc,123,xyz,praise,end,file,clear I …

Software Development
Member Avatar for ddanbe
0
3K
Member Avatar for Riteman

Am working on a project right now and almost stuck at a point. Say, I have a text document with contents like: `abc,123.xyz;praise;end,file,clear` Now I want abc , 123 . xyz ; praise ... in an array. I used split method with array of characters. Though I retrieved abc,123,xyz,praise,end,file,clear I …

Software Development vb.net
Member Avatar for Riteman
0
602
Member Avatar for ganapathy24

I need a programming for following conditions in python... When the program is launched it should ask me for the number of words... Then as many words as input... then it has to make all the random possibility of those words without any space and provided it as an output... …

Software Development apple python
Member Avatar for ganapathy24
0
295
Member Avatar for poojakakde000

code in java for send a free msg from internet to mobile phone like way2sms or 160by2 sites................. what are the requirments for that???? pls reply as fast as possible...........

Software Development java
Member Avatar for stultuske
0
131
Member Avatar for KushMishra

Hi all, I am a naive programmer to VB and VB.Net, I have mostly used C# and now I am stuck at a simple point as follows :- CollectionView.CollectionChanged += Function(sender, e) RebuildSearchIndex() I don't have any idea how to replace "+=" as its showing some error. Requesting you all …

Software Development vb.net visual-basic
Member Avatar for KushMishra
1
497
Member Avatar for KushMishra

Hello All, I am populating my frame from different pages and showing the output as a grid. Following is my xaml code :- <Frame x:Name="mainFrame" Grid.Row="1" JournalOwnership="UsesParentJournal" /> and xaml.cs :- mainFrame.Source = New Uri("Views/ProductsPage.xaml", UriKind.Relative); But I want to change the selected/unselected (focused/non-focused) row colors in this frame and …

Software Development asp.net vb.net visual-basic
Member Avatar for KushMishra
1
278
Member Avatar for CreatorZeus

int numLines = 0; string unused; while (getline(users, unused)) { ++numLines; } cout << numLines << " Clients Found" << endl; //begin the search string search; string line; while(client.empty()) { cout << "Queue: "; //Display What The User Typed getline(cin,search); //Make it capital transform(search.begin(), search.end(),search.begin(), ::toupper); cout << search << …

Software Development c++ queue
Member Avatar for Ancient Dragon
0
230
Member Avatar for opel123

okay so hi, my problem is on (i think) case 3(the delete), it actually works when you input a movie title of example: armageddon(2012), but if you input a title that has spaces in between example: when i met your mother(2009), it just crashes. i don't know what to do …

Software Development algorithm c++ file-system
Member Avatar for Ancient Dragon
0
15K
Member Avatar for kent.johnstone_1

I need some pointers with pointers. What is the difference between a variable preceded by an "*" and an "&"? Some of my sample code uses one and some the other. I'm getting compiler errors trying both saying the variable is not defined. First use this function.

Software Development c
Member Avatar for kent.johnstone_1
0
423
Member Avatar for overwraith

I am wondering, when does it become more efficient to pass by value in C#? I was reading this article: http://msdn.microsoft.com/en-us/library/4d43ts61%28v=vs.90%29.aspx The article suggests that passing by reference actually generates overhead when it transferrs the value type to the heap. My C/C++ classes swore by passing by reference as a …

Software Development
Member Avatar for overwraith
0
267
Member Avatar for bCubed

I downloaded eclipse to my windows 8 computer along with the jdk and when I launch eclipse it tells me that it cannot not find the jre or jdk and that it is not in my current PATH. I have tried setting the path to the jdk folder but it …

Software Development file-system java windows-vista-7-8
Member Avatar for bCubed
0
340
Member Avatar for LeNenne

Hello I have a problem that is as follows. One list box with 30 perons in it and I have command(index) from a - z when I dblclick on a name it fill all the textboxes good but I will have it like when I dblclick on a name in …

Software Development visual-basic
Member Avatar for LeNenne
0
166
Member Avatar for Pia_1

I have a problem with registering a new employee for my project. It can only detect the first employeeID as an existing.. Here's my code: void registerNewEmployee(){ FILE *fp; struct employee obj; fp=fopen("data.txt","a+"); system("cls"); printf("\n\t*******************************************"); printf("\n\t*******************************************"); printf("\n\t***\t\t\t\t\t***"); printf("\n\t***\tNEW EMPLOYEE REGISTRATION\t***"); printf("\n\t***\t\t\t\t\t***"); printf("\n\t*******************************************"); printf("\n\t*******************************************\n\n"); char employeeIDNew[5]; printf("Employee Number: "); scanf("%s", &employeeIDNew); …

Software Development c
Member Avatar for deceptikon
0
202
Member Avatar for diaafayed

How to create a global "C#" class for data base connection such that ? 1. all classes and controls can handle. 2. remian all session untill the main from of an application closed. 3. disconnect from the server when closing windows Form application

Software Development session
Member Avatar for brite_a
0
230
Member Avatar for Pia_1

I have attached data.txt file with contains all of the employees data. The problem is when I login, it would only read one record. Here's my code: #include <stdio.h> #include <conio.h> #include <string.h> #include <stdlib.h> int login(); void displayWelcome(); main(){ int result; do{ system("cls"); result = login(); if(result==1 || result==2){ …

Software Development c
Member Avatar for dev90
0
198
Member Avatar for rohan21blade

**HEre is my checkout.java** index LCval = new index(); final String LCnum = LCval.getVal(); JButton btnNewButton_1 = new JButton("Finish"); btnNewButton_1.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { try{ int bal = 0; Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String connectionURL = "jdbc:sqlserver://ROHAN\\SQLEXPRESS;Database=sys;user=rohan;password=rurouni;"; Connection con = DriverManager.getConnection(connectionURL); PreparedStatement pst =null; ResultSet rs = null; //Statement st=con.createStatement(); …

Software Development java
Member Avatar for JamesCherrill
0
295
Member Avatar for dougy83

Hi all, Does anyone know how to quickly (i.e. O(log n) time) insert items into a sorted list? I'd prefer an existing working function if available; I didn't see any appropriate ones in boost or stl. Some background: I'd like to keep a constant sized sorted list, and insert items …

Software Development c++
Member Avatar for dougy83
0
13K
Member Avatar for kent.johnstone_1

What does -> mean in the following line of code? bulk_in=end_point->bEndpointAddress; My books show - and > but neither of them seem to apply. The books don't seem to show both together. This is part of a USB driver that I'm trying to convert from Linux to C for the …

Software Development c
Member Avatar for kent.johnstone_1
1
246
Member Avatar for Chrisadams

OS:windows 8,compiler:g++,mysql version:5.6 //bookshop.cpp #include <my_global.h> int main() { return 0; } //bookshop.cpp //Makefile CC = g++ LIBS = -L"C:\Program Files\MySQL\MySQL Server 5.6\lib\" -lmysqlclient INCLUDES = -I"C:\Program Files\MySQL\MySQL Server 5.6\include" all:bookshop bookshop: bookshop.cpp $(CC) -fpermissive -o bookshop $(INCLUDES) bookshop.cpp $(LIBS) //Makefile error: In file included from C:\Program Files\MySQL\MySQL Server 5.6\include/my_global.h:68:0, …

Software Development c++ mysql windows-vista-7-8
Member Avatar for Chrisadams
0
1K
Member Avatar for Builder_1

my problem is that how can we intialize a string using cin in output console like this. eg. My class is very good through cin...as the spaces put the null character so only first alphabet is initialized....kindly someone give me solution..

Software Development c++
Member Avatar for Ancient Dragon
0
703
Member Avatar for alina.nazchowdhury

How to save a text information with the formatting italic, bold, underline, small, medium, large? I have a menu, from where I can Save the text as a file, Open a file in my text editor, Exit from my program, but I don't know the coding for Saving and Opening …

Software Development visual-basic
Member Avatar for Minimalist
0
194
Member Avatar for shwetha R Adiga

can you please help us how to apply numerology for any text document in python and say whether the given text file is optimistic or not depending on the numerology applied.

Software Development python
Member Avatar for rrashkin
0
156
Member Avatar for eriekasato_1

An InsuredPatient contains all the data of a Patient, plus fields to hold an insurance company name and the percentage of the hospital bill the insurance company will pay. Company : Portion of bill paid by insurance (%) Wrightstown Mutual 80 Red Umbrella 60 All other companies 25 How to …

Software Development c#
Member Avatar for eriekasato_1
0
315
Member Avatar for JRDJ12

My requirements are as follows: 1. use main method 2. use the following array- `int[] grades = new int[] {` `82, 70, 99, 90, 92, 75, 87, 85, 91, 100, 91, 87 ` `};` 3. Write code to step through the array of grades and calculate the average grade. Modify …

Software Development java mathematics
Member Avatar for JamesCherrill
0
10K
Member Avatar for iqlas

hi guys... i am working on the project in vb.net in visual studio... my computer's name is homesys(Computer name as shown in MY Computer Properties).... when i try to make crystal report using sql server 2008 database... which i made it in visual studio itself, i am unable to get …

Software Development sql vb.net visual-studio
Member Avatar for Dharsana
0
390

The End.