43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for සශික

I got dannie web help and make best effort to get good idea. Finally I make this code. but This code okay for search data and load it to text boxes. but again I change some values and click update button It say "connection alredy open." this is search code …

Software Development vb.net
Member Avatar for Reverend Jim
0
360
Member Avatar for Papa_Don

Hi group, I'm trying to insert both a copied range (from and Excel file) AND a message (text) into the body of an Outlook email. I've perfected the code to insert the range, but I've not figured out how to get the message to go along with it. I hope …

Software Development email visual-basic
Member Avatar for Papa_Don
0
5K
Member Avatar for dragonheart

i am using VB 6.0 and MSAccess in my project.. in one of the forms i use a flexgrid to store data into and load data from database. and also to edit each cell i use a textbox. alll these are working perfect, bt i have a problem with saving …

Software Development visual-basic
Member Avatar for JModak
0
830
Member Avatar for nay zin

hi i having trouble with saving and checking duplicate with my coding..i can't save my data and when i save a new data , it's always say duplicate..i want to save my new data and if it record is already have it, want to show a msgbox saying duplicate..here my …

Software Development visual-basic
Member Avatar for nay zin
0
381
Member Avatar for vilastadoori

Dear Listers, I have create a project in java using netbeans. Have designed the user interface where I have a jtable and a button. When i created the interface it automatically populated the code and I have done nothing When i click the button it shoiuld call the class to …

Software Development java java-netbeans user-interface
Member Avatar for vilastadoori
0
1K
Member Avatar for Üzåír

.MODEL SMALL .STACK 50H .DATA NL DB 0DH, 0AH, '$' .CODE MAIN PROC MOV AX, @DATA MOV DS, AX MOV CX, 5 MOV BX, 1 FOR_1: PUSH CX MOV DL, 20H MOV AH, 2 FOR_2: INT 21H LOOP FOR_2 MOV CX, BX FOR_3: MOV DL, '*' MOV AH, 2 INT …

Software Development assembly
0
679
Member Avatar for anujtripathi

[B][U]Following I am mentioning step-by-step procedure to create database connection to the asp.net website textboxes via C#.[/U][/B] 1: Open visual studio 2005 and from FILE select NEW-> WebSite, then from pop-menu select asp.net website (Note: Language must be C#) , then press OK. 2: Now create three textboxes from the …

Software Development asp asp.net c# sql visual-studio
Member Avatar for gouri kundu
-1
2K
Member Avatar for Mr.M

Hi Dw I have created a program to lock files and by default when a file is locked the file changes from being a folder to a lock. So what I want to do is to change the lock to my own image, just like how VLC do, it changes …

Software Development vb.net
Member Avatar for Mr.M
0
342
Member Avatar for Christi_1

Okay so I have this program that generates 10 random number (1-1000), calculates their average and the amount of larger as well as smaller numbers than the average, this is what I have and for the life of me I can't figure out wheat I don't do right: program random1; …

Software Development pascal
Member Avatar for Christi_1
0
1K
Member Avatar for Suzie999

I recently started to develop a project under visual studio 2015 on my windows 10 machine. I zipped it up and moved it to my windows 7 machine (physical not VM), also visual studio 2015. All it is, is a helper class for reading and writing to the registry. On …

Software Development visual-studio windows-10
Member Avatar for rproffitt
0
226
Member Avatar for OrcaSoul

I have a Python script getData.py that uses Mechanize, and runs fine under the interpreter. It was installed using easy_install - and the install seemed to indicate it was completed. The problem is, when I try to compile it using py2exe while in the folder of the script, and using …

Software Development python
Member Avatar for Gribouillis
0
625
Member Avatar for ray.shahil95

def list_function(x): x[1] = x[1] + 3 return x[1] n = [3, 5, 7] print list_function(n) It shows following error when i run the code for multiple times. 1. Oops, try again. list_function([6, 3]) returned 6 instead of [6, 6] 2.Oops, try again. list_function([1, 6]) returned 9 instead of [1, …

Software Development python
Member Avatar for ray.shahil95
0
163
Member Avatar for analys

Hi, I'm new to perl and I'm stuck at regular expression on which to get the data of deck, super and trial from an array. I have an input file as the following : `deck { @STATE = "this is low"; @ACCESS = "RW"; } [6:0]; super { @STATE = …

Software Development perl
0
222
Member Avatar for ogsirus

Hi All, I have written a program which contains a class 'Numbers' which can hold a set five numbers. I then create 2 List<Numbers> instances which generate a random numbers. I then loop through one list and try to use linq to find if the list has an identical set …

Software Development
Member Avatar for ogsirus
0
268
Member Avatar for lewashby

I'm reading 'C++ For Dummies 7th Edu' and I'v ran into this little snipet that's confusing me. BOOK You can add const-ness, however, as in the following void fn(char* pName) { // declare following is allowed even though // declared Student(const char*) Student s(pName); // ...do whatever... } The function …

Software Development c++ legal
Member Avatar for lewashby
0
267
Member Avatar for SasseMan

Hi! I'm sitting with a gui bug that I have been stuck with for a while. When a "view" is changed from one "view" to another, the new "view" doesn't get painted properly. The previous view is visibile randomly in the background. I can't reproduce this in the dev environment …

Software Development gui java
Member Avatar for Ali_55
0
1K
Member Avatar for steven.rose.94

Fair warning - I'm still learning so this might be a very newb like question: What I'm trying to do: I'm trying to import a python file into a Tkinter window and run it when I press a button. Eventually I'd like to display the output of the imported script …

Software Development python tkinter
Member Avatar for steven.rose.94
0
588
Member Avatar for Violet_82

Hi guys, Today I had a look at files and therefore I’d like to create a GUI application that allows me to type a sentence or a word and store it to a text file. The reason for this is that, when I come across an interesting word or sentence …

Software Development file-system gui java
Member Avatar for Violet_82
0
712
Member Avatar for Aeonix

If I wrote a program which would `Console.WriteLine()` a base64 code, like an easter egg ("a hidden secret" in gaming jargon) or something, for example string EasterEgg = "dGhlYmlnc2VjcmV0"; Console.WriteLine(b64d(EasterEgg)); And I would let a good obfuscator run through it. Now I know that crackers with enough time and knowledge …

Software Development c++ cybersecurity java python
Member Avatar for Aeonix
0
450
Member Avatar for jaai

i need help in adding a new record to the database using adodc in vb6.. i've a command button named add in my form...

Software Development visual-basic
Member Avatar for md riyaz
0
14K
Member Avatar for chrisschristou

hello world i would like to know to print on terminal a message with color and backround without external library i find this on internet and it works pretty fine but i would like to coloriza backround too!! #include <stdio.h> #define ANSI_COLOR_RED "\x1b[31m" #define ANSI_COLOR_GREEN "\x1b[32m" #define ANSI_COLOR_YELLOW "\x1b[33m" #define …

Software Development c unix
Member Avatar for rubberman
0
424
Member Avatar for lefteven20

I am working on a program and I almost have it working the way I want except for two problems. The first is major; I can not for the life of me get my answer for the population to equal anything but zero. I have a feeling this is due …

Software Development vb.net
Member Avatar for Reverend Jim
0
201
Member Avatar for Schmelz

Hi, I a real newbie when refering to programming. I keep having this error but I don't know what it means. Can somebody help me? I looked it up on google but I couldn't find anything of usefull so I tought posting it. Can you please tell me what an …

Software Development c++
Member Avatar for rubberman
0
274
Member Avatar for payara111

How can i print it recursively with one helper function? [img]http://img2.imageshack.us/img2/1690/recursive.th.jpg[/img] Here, n will always be a power of 2 and c will be indicating the column number from which to start the output. The above pattern has been produced with the initial function call RecursivePattern(8,1) It prototype should be …

Software Development c++
Member Avatar for Chetana_1
-1
2K
Member Avatar for Callie C.

I'm not sure what I'm doing wrong so if you could take a look and give me some ideals it would be great. Thanks so much Specifications: Write a program that uses a two-dimensional array to store the highest and lowest temperature for each month of the year. The program …

Software Development c++
Member Avatar for David W
0
375
Member Avatar for lefteven20

For my class I am asked to complete a program: create an application that will predict the approximate sie of a population of organisms. the user should select or enter the starting number of organisms in a combo box, enter the average daily population increase (as a percentage) in a …

Software Development vb.net
Member Avatar for lefteven20
0
572
Member Avatar for trishtren

Hello, Iv been working on a project for a while now in java and i read somewhere that the GCJ can compile java classes into native binaries, after a quick google search it was revealed that this was true. However after reading a number of posts across the web and …

Software Development java
Member Avatar for jwenting
0
225
Member Avatar for nathan.pavlovsky

Hello Programmers! I am working on a C++ phone number class. The class has overloaded stream manipulators, cin and cout for output. It has three private members: areaCode, exchange, and line, strings that represent the numbers that are used in a telephone call. It is supposed to default to (000) …

Software Development c++ data-structure ios
Member Avatar for 2teez
0
588
Member Avatar for monching

I want to add 12 players in 1 transaction only. My codes here can only save 1 player. Here's my codes: Private Sub savebtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles savebtn.Click Dim conn As MySqlConnection Dim myCommand As New MySqlCommand Dim commandB As MySqlCommandBuilder Dim data As MySqlDataAdapter …

Software Development vb.net
Member Avatar for icebergman
0
2K
Member Avatar for Biz_1

1. Given the following code: String string = "0"; int x = Integer.parseInt (string); Which of these statements is correct and why? A) The code goes in error because the variable string is not an integer B) The code does not in error because the string "0" converts to the …

Software Development java
Member Avatar for Biz_1
-1
266
Member Avatar for kayleigh0411

I am trying to use a hash set to do a Monte Carlo analysis of the Birthday Paradox. Here is my pseudo code: Set number of collisions to zero Loop (10 to100 by 10) Loop: Generate a birthday. (use 1-365) See if it is already in the set. If it …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for arindam31

Here is a weird regular expression for emails . We can have various kind of email addresses [email]string1@somemail.com[/email] [email]string1@somemail.co.in[/email] [email]string1.string2@somemail.com[/email] [email]string1.string2@somemail.co.in[/email] The following regular expression can find any of the mails above email2="santa.banta@gmail.co.in" email1="arindam31@yahoo.co.in'" email="bogusemail123@sillymail.com" email3="santa.banta.manta@gmail.co.in" email4="santa.banta.manta@gmail.co.in.xv.fg.gh" email5="abc.dcf@ghj.org" email6="santa.banta.manta@gmail.co.in.org" [CODE]re.search('\w+[.|\w]\w+@\w+[.]\w+[.|\w+]\w+',email) >>> x=re.search('\w+[.|\w]\w+@\w+[.]\w+[.|\w+]\w+',email2) >>> x.group() 'santa.banta@gmail.co.in' >>> x=re.search('\w+[.|\w]\w+@\w+[.]\w+[.|\w+]\w+',email1) >>> x.group() 'arindam31@yahoo.co.in' …

Software Development email python regex
Member Avatar for Syed Sulaiman
3
10K
Member Avatar for cool_zephyr

Hey everyone, I have the following list in my code public class order { private float amount; public float getAmount() { return this.amount; } } and in main function I have the following list List<List<Order>> ordersList I want to iterate the list through Streams in java 8 in order to …

Software Development java
Member Avatar for cool_zephyr
0
260
Member Avatar for bryann

Hi, I'm trying to write code that will allow me to assign values to lists of strings. I then want to compare user input to the lists and create a scoring system based on what has been typed in. For example if the input contains letters in list1 then the …

Software Development python
Member Avatar for snippsat
0
267
Member Avatar for Suzie999

I tried this code and it did not do what I expected. byte byt = byte.MaxValue; BitArray bitArray = new BitArray(byt); Debug.WriteLine("bitarray " + bitArray.Get(0).ToString()); Debug.WriteLine("bitarray " + bitArray.Get(5).ToString()); What I expected was the opposite of what I got, which was the following. bitarray False bitarray False I thought `byte …

Software Development
Member Avatar for ddanbe
0
421
Member Avatar for DarkRm

Hi everyone I am new with you. I study in the university, they teaching us many programming languages. I wont you to help me to found the best to focus on. thank you by the way I am good in java ...

Software Development java python
Member Avatar for rubberman
0
372
Member Avatar for Violet_82

HI guys, as mentioned in my revious post, I'll redo my wordCount application using the GridBagLayout approach. The functionality of the application hasn't changed at all: I've only removed the various Jpanels and, for simplicity, used only the JFrame and attached all the comonents to the JFrame. I've had a …

Software Development api java java-swing oracle
Member Avatar for Violet_82
0
1K
Member Avatar for gishi

hi! i want to place the contents of a dictionary into a csv file. Can someone help me with this? i already have the code in reading the csv file [CODE] import csv reader = csv.reader(open("c:\sample.dat")) for row in reader: print row [/CODE] i want the first element of the …

Software Development python
Member Avatar for Gribouillis
0
15K
Member Avatar for paul1145

For the VB Studio 2010 software I developed, I'd like to include source code, a class maybe, written in VB (not c++) that allows me to get (and change) ID3 V1 and V2 tagging data from MP3 files. I've been looking for months and have found .exe's and someone else's …

Software Development vb.net
Member Avatar for Reverend Jim
0
402
Member Avatar for Stefan_6

hey, folks, thanks for clicking :) i want to assign a pressed key to a button, i clicked before, similar to what we know from computergames, when we change the key bindings. For example: click button1 -> the application is waiting for any key to be pressed -> we push …

Software Development vb.net
Member Avatar for Reverend Jim
0
405
Member Avatar for SpiritualMadMan

I have a form from which I can launch various Test Modules. The Form has 16 PushButtons, one for each of the possible Modules. I need to disable Button_2 through Button_11 until the Modules that are connected to Button_1 and Button_0 are succesfully completed. The Buttons are on a pyQT …

Software Development python
Member Avatar for Gribouillis
1
7K
Member Avatar for Violet_82

HI guys, I'm trying to build a small GUI application where users can input text (in a JTextArea) and by pressing a button, you get a summary of how many times each word in the text has occurred. So here come the questions. First, the GUI itself. The way I …

Software Development gui java
Member Avatar for Violet_82
0
605
Member Avatar for .It.

Hi all, first thread in here. I usually don't open my executables with any sort of editor, but for the sake of curiosity I've tried opening one. And what I've found is not that funny: I've found myself able to edit every kind of string. Of course you have not …

Software Development c++
Member Avatar for overwraith
0
5K
Member Avatar for hefaz

Hi all, i am doing my project. i need one search box to find something i write in the box, how can i code that? its very important please help

Software Development seo visual-basic
Member Avatar for hefaz
1
254
Member Avatar for Callie C.

The program seems to be building fine however I can only get it to return "Your tax amount is: 0.00". I've stared at the thing for hours and cann't for the life of me find my problem/problems. Any suggestions are extremely appreciated. /* * File: main.cpp * Author: Callie Tester …

Software Development c c# c++
Member Avatar for ddanbe
0
202
Member Avatar for micksulley

I have been using Eric to develop Python2.7 code for a while. I have just tried to look at Python3 and cannot figure out how to do it in Eric. Setting > Preferences > Python says Python2 uses .py extension, Python3 uses .py3 I create hello.py3 #!/usr/bin/env python3 from platform …

Software Development python
Member Avatar for micksulley
0
428
Member Avatar for cjohnweb

Hi there, I'm a long time PHP programmer, 6 month newb python developer, but entirely new to git and gitlab. I've spent 2 solid work days trying to solve this issue, I've chatted with others in chat rooms, all to no avail. I'm not certain where I should post this …

Software Development postgresql redis ubuntu unix
Member Avatar for Jorge_10
0
2K
Member Avatar for sirlink99

Hello All, I am having trouble looping through a 2D array in C++ (should be very easy, but I am just starting C++). At the current moment I have this class file #include "Cube.h" #include <freeglut.h> #include <stdio.h> Cube::Cube(int cx, int cy, int cz , int cubeWidth) { int p[][3] …

Software Development c c# c++ visual-studio
Member Avatar for David W
0
474
Member Avatar for Papa_Don

Group, 10 months ago I posed the same question as to how to programatically create the variable names via the loop. However I'm now in real need of doing this and I don't fully understand what each step of the syntax actually means and what it does. Therefore I need …

Software Development vb.net
Member Avatar for Papa_Don
0
1K
Member Avatar for zachattack05

I am writing a custom MembershipProvider for ASP.NET and would like to record certain events in a table when they happen. I have the methods to do it, but I would like to get the value of the "ID" column of the row I insert into the table. I have …

Software Development mssql sql
Member Avatar for zachattack05
0
322

The End.