43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for tommygee100

Hi All, I'm Trying to solve this puzzle for my script: Let's say we have 3 lists, A,B and C with the following elements 'A' = [5,3,1] 'B' = [6,5,2] 'C' = [2,0,-2] I want to go through all 27 combination sequentially, looking for a combination that is 'valid' AND …

Software Development puzzle python
Member Avatar for TrustyTony
0
353
Member Avatar for hondros

I posted a while back ago on making directx work in classes. I'm having more issues now. On line 125 (system.cpp), when in debugging, it tells me that it has an access violation. I googled the issue, and someone had said something about initializing the pointer, but that is taken …

Software Development c++ microsoft microsoft-access
Member Avatar for hondros
0
197
Member Avatar for anonymousi

i wanted know the vb.net code that checks the password strength on the basis of length ,special characters ,both combined ,numeric,alpha-numeric.... >>contents of form may include: >textbox for password >label or progress bar or trackbar to tell the user the strength(good ,very >good,excellent,poor) >button to execute commands...

Software Development vb.net
Member Avatar for Netcode
0
4K
Member Avatar for rajhans

Hi, I am facing problem regarding the element wise comparison of two strings and finding the difference of two Strings where one sting is not sub string of other. More than that Strings are of different length. Let String 1= "1 2 3 4 5" String 2="3 4 5 6 …

Software Development java
Member Avatar for rajhans
0
136
Member Avatar for TIP.Synergy

Hi to Everyone, i want to filter my record in datagridview w/o database like a search. Is it possible?? anybody can help me please ^_^

Software Development vb.net
0
112
Member Avatar for charlybones

Greetings. Ok so my problem is that I get a "Currency" formatted value from the database and this value sometimes comes as a whole number (without decimals) and sometimes it doesn't. But, when I output the information as "string" into an XML File, I [B][I]always need to show the 2 …

Software Development
Member Avatar for charlybones
0
215
Member Avatar for Jake.20

Greetings expert programmers, May i ask for a help on how to solve this error? " A network-related or instance specific error occured while establisihing a connection to sql server. The Server was not found or was not accessible. Verify that the instance name is correct and that SQl server …

Software Development mssql vb.net
Member Avatar for Oxiegen
0
180
Member Avatar for pro_learner

Guys,i want to wait or sleep statement in a Java Desktop application when button press.I used thread.sleep & wait().But it doesn't work.I have a doubt that those functions are working only for console applications.Is it? or can i use it?Plz help me....

Software Development java
Member Avatar for pro_learner
0
266
Member Avatar for Oneryavuz

did someone know Ms-Dos's dir command i need to take all contets of any folder for using my praggram how can i do that is any one knows? thx for replys

Software Development vb.net
Member Avatar for Oneryavuz
0
192
Member Avatar for JoshuaBurleson

After marking gofish up to a temporary loss I've moved back to my address book. The issue I'm currently having is that webbrowser is opening the wrong broswer. I've set my default browser to firefox (currently using windows vista), and yet the program is still opening IE, however when I …

Software Development python tkinter web-browser windows-vista
Member Avatar for snippsat
0
3K
Member Avatar for DJWK

I'm doing an exercise about pointers in this C book i'm reading. This code should traverse through a linked list and there's a function that removes an entry from the list. It works, and I don't know why. The function removeEntry is undeclared int the main() function. Here's the code: …

Software Development c linked-list
Member Avatar for Adak
0
149
Member Avatar for zxcvbnm,.

I am trying to create a program for the RSA algorithm. I have managed to get the public keys, but I hit a brick wall trying to figure out how to generate the secret key. I have tried, but the output is either incorrect or doesn't output at all. my …

Software Development algorithm c
Member Avatar for zxcvbnm,.
0
100
Member Avatar for bomko

i have this 2 custome modules and when i try to call module turtle i get an error message and i dont know what it means or better said i dont know where seems to be a problem. i think it should work just fine this is the message i …

Software Development python qt
Member Avatar for bomko
0
170
Member Avatar for nickliutw

I don't know where did I do wrong here, but it is a compiler error. I was try to create an Arraylist that can store the double value. For some reason, I got a compiler error when I try to create an Arraylist. By the way, the assignment specifically ask …

Software Development java
Member Avatar for nickliutw
0
201
Member Avatar for Arkrothe

What will happen? Here's a code that i tried, it works but i don't really get what's actually happening or how many instances of the static test t are getting created. [CODE] #include<iostream> using namespace std; class Test { public: static Test t; void hello() { cout<<"this line shall be …

Software Development c++
Member Avatar for Arkrothe
0
240
Member Avatar for lianpiau

Hello! any expert can help me. Please. I'm design a form with click Search button to search date and display data in datagridview. but when I set my access database OTDate column as Date, It will cause data mismatch problem. however, set OTDate column as Text is fine. But it …

Software Development c c# c++ database-design dataset
Member Avatar for Momerath
0
643
Member Avatar for imGhostofYou

Hi, I am a very new programmer, I started dabbling with python script only 2 days ago because I was on a quest to build a [URL="http://en.wikipedia.org/wiki/Roguelike"]roguelike[/URL] game, and I found a good informative tutorial on how to do this using python and an API called libtcod. So I figured …

Software Development api python
Member Avatar for imGhostofYou
0
368
Member Avatar for chandnigandhi

my project is on education with fun so i want to add sound API for alphabets for example:if alphabet a is pressed then in picturebox image of apple is diplayed and we can hear a sound that is "a for apple"....how to do so????

Software Development api apple c#
Member Avatar for ddanbe
0
125
Member Avatar for SamarthWiz

Hi I am trying open a record from a shelve db I Know that it stops working at `copy = db[opened]` But why please help ASAP #*****START VARIABEL BLOCK***** #file = the database/shelf file #db = the database/shelf object #tapp = to be appended/recorded to the database #keys = a …

Software Development python
Member Avatar for SamarthWiz
0
311
Member Avatar for DevourOfDarknes

Hi, This is just part of a bigger program I'm writing, but at the moment I don't know how to do what I'm about to say. So first, the user enters a sentence. Now, I have a text file with sentences to match it to. So let's say the first …

Software Development python
Member Avatar for DevourOfDarknes
0
2K
Member Avatar for rosstafarian

Ive wrote a small program to open at startup, but i want to give the user a chance to delete it from showing on startup by clicking a button. But it needs to be compatible on XP, Vista and Windows 7. Is there a line of code which will get …

Software Development vb.net windows-vista
Member Avatar for rosstafarian
0
237
Member Avatar for Celcion

Hello, currently new to C++ and learning the ropes. I'm trying to create a simple database-like program, but the following code doesn't output any meaningful data. The program compiles fine, though. The rest of the program is still under work, so I'm just posting the relevant parts which I think …

Software Development c++
Member Avatar for Celcion
0
117
Member Avatar for tgifgemini

[B][/B] Hi all, I am trying trying to make both the "Tab Key" behave as the "Enter" key. keys. In otherwords, both the Tab and Enter should acheive the same objective. I am using the code below but only the "Enter" key is working, but the "Tab" key is not …

Software Development visual-basic
Member Avatar for zebnoon
0
3K
Member Avatar for coolsasuke

Well, i was wondering if this is possible . If it is possible, can somebody show me how or give me the code ? Im pretty newbie in coding as my only resource of learning Visualbasic is from the internet :/ And , I would like to disable some key …

Software Development vb.net
Member Avatar for lolafuertes
0
227
Member Avatar for chandnigandhi

i want to draw a rectangle in windows form in c# with the help of mouse by clicking on button line should be displayed on panel and if first rectangle should not b disappeared... plzzzzzzzzz rply soon........

Software Development c c# c++
Member Avatar for chandnigandhi
0
155
Member Avatar for shrutipopat

i want to draw a line in windows form in c# with the help of mouse and by clicking on line button it should allow me to draw a line on form or panel as in paint it allows us to do so and while drawing the 2nd line first …

Software Development c c# c++
Member Avatar for shrutipopat
0
74
Member Avatar for crapgarden

This code: [CODE] int array1[5] = {1, 30, 90, 40, 3}; char array2[] = {125, '}'}; cout << array1 << endl; cout << array1[0] << endl; cout << array1[1] << endl; cout << array1[2] << endl; cout << array1[3] << endl; cout << array1[4] << endl; cout << array2 << …

Software Development c++
Member Avatar for crapgarden
0
100
Member Avatar for Sheryl99

I am using a PictureBox to display images. I have SizeMode set to StretchImage. While this does indeed show the whole image, it is of coure stretched. Is there a way to prepare the image to be displayed so it will fit correctly in the PictureBox? I just want it …

Software Development image vb.net
Member Avatar for aamirnikkiaadil
0
5K
Member Avatar for reactivated

I'm using Visual C# Express 2010, on Windows XP SP3. I took pain to define the var collBlock in the class directly, however, when I try to use it, it works once and then NOT. Google searched all and tried a lot of solution. Error stil comes up. The code …

Software Development c#
Member Avatar for reactivated
0
327
Member Avatar for coolsasuke

Hey , yeah. I was wondering if it is possible to hide all desktop icons EXCEPT my application's shortcut ? If it is possible, please tell me how . It is the best if you can provide the code for me. As im a very noob in coding cause im …

Software Development vb.net
Member Avatar for coolsasuke
0
237
Member Avatar for sirlink99

I have made a simple java program that gets a user to fill out a form, and then checks if all the parts were filled out. I am now having trouble with how to send the file in an email to a set users email account. How could I do …

Software Development java
Member Avatar for sirlink99
0
241
Member Avatar for nickliutw

I have been working a program that allow the user to perform the following task, add student, display student, delete student, and find student. I need help with add student name, gpa..etc to the arraylist. But I keep getting either compiler messages or other error message. I have been trying …

Software Development java
Member Avatar for nickliutw
0
152
Member Avatar for sirknieghf

hi i got a problem when try to use pointer and struct..somehow ive manage to compile my coding but the main prob is that the output is not what ive keyed in.. [CODE]#include <iostream> #include <conio> #include <string> #include <stdlib> void printtable(); void input(); void calculate (); void scorecard(); void …

Software Development c c# c++
Member Avatar for sirknieghf
0
392
Member Avatar for suemaina

Hi plz help me with a code that can detect when a pin number is entered in reverse. and alerts the user that he has entered pin number in reverse ..thanx

Software Development vb.net
Member Avatar for suemaina
0
188
Member Avatar for JoshuaBurleson

I have no idea what went wrong with my most recent code, but I suspect it has something to do with the following so I'll start there. Did I do something wrong in this? [CODE]cards=['1','1','1','1','2','2','2','2','3','3','3','3','4','4','4','4','5','5','5','5','6','6','6','6','7','7','7','7','8','8','8','8','9','9','9','9','A','A','A','A','K','K','K','K','J','J','J','J','Q','Q','Q','Q'] import random random.shuffle(cards) h1=[] for card in cards[1:7]: h1.append(card) cards.remove(card)[/CODE]

Software Development programming-construct python
Member Avatar for TrustyTony
0
233
Member Avatar for Triarius

Hi! I have recently started using linux and I was recommended gcc compiler. I have written a basic program just to see if it works. And it doesn't. I am trying to compile it with Terminal, and with the following command :[CODE]gcc ~/Desktop/C++/test.cpp -o testing)[/CODE] My program it responds with: …

Software Development c++
Member Avatar for Triarius
0
302
Member Avatar for poker158149

Hi everyone. I spent a lot of time figuring out how to get my code to check for user errors and types. I finally got it set up properly, but now I'm getting an error. A number is required on my input. If someone doesn't enter a number or leaves …

Software Development python
Member Avatar for Gribouillis
0
2K
Member Avatar for debasishgang7

Hi all, I am trying to extract some text from a HTML page using regex. [CODE]<html> ...some code.... <B><FONT color="green">TEXT to BE EXTRACTED 1</FONT></B><br> <P> <B><FONT color="green">TEXT to BE EXTRACTED 2</FONT></B><br> <P> <B><FONT color="red">TEXT to BE EXTRACTED 3</FONT></B> ....some code.... </html> [/CODE] I want to make a script which will …

Software Development python regex
Member Avatar for debasishgang7
0
129
Member Avatar for Rupindersingh

I was installing Turbo C on my PC and it says "Make sure you insert \TC\Bin into your DOS path". Now how is that done.

Software Development c
Member Avatar for Adak
0
149
Member Avatar for c++creator

Umm I created a code which will create many results with specific ints(integers).I use Code::Blocks as my compiler.The code works inside the compiler,but when I go to the saved folder and run the batch file this is what happens-I enter a number and press enter and it simply closes itself!@What's …

Software Development c++
Member Avatar for c++creator
0
181
Member Avatar for coolsasuke

Hello , I would like to enquire if how could I put MYSQL Row to a TextBox ? Here is my code [CODE]Private Sub Form1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load MySqlConnection = New MySqlConnection MySqlConnection.ConnectionString = "server=localhost;Port=3306; user id =root; password=****; database=visualbasic" MySqlConnection.Open() Dim Myadapter As …

Software Development mysql visual-basic
Member Avatar for coolsasuke
0
205
Member Avatar for kambi09

hi there please see my header file and cpp file, when i compile them i get these error classes.cpp:86.1: error: "vehicle::vehicle" names the constructor, not the type classes.cpp:172.1: error: "driver::driver" names the constructor, not the type here is my header file [code]#ifndef CLASSES_H_INCLUDED #define CLASSES_H_INCLUDED #include <iostream> #include <string> using …

Software Development c++
Member Avatar for raptr_dflo
0
4K
Member Avatar for mikejs

Hi I have a form which populates a TextBox I want to use the textBox.text to then load a gridView with the results something like [CODE]Private Sub TextBoxId_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBoxIdSearchExist.TextChanged Dim cmd As New SqlCommand("select * from pay Where t_id='" + tId.Text + …

Software Development dataset vb.net
Member Avatar for Oxiegen
0
1K
Member Avatar for 11684

Hi, I just started programming in Java, and now i tried to compile a file with the Mac Terminal (Command-line), but it did only give me an error which i couldn't explain, because this code did work in Eclipse compiler. Here's my code: [code="java"] class HelloWorldApp { public static void …

Software Development java
Member Avatar for 11684
0
264
Member Avatar for kutuup

Hey all, Just trying to build a program in VS2008 using the Allegro library. When I try to build (debug or release), the build completes, but when the program tries to run, I get an error saying that a file called "MSVCR80D.dll" is missing and suggests reinstalling the program. I …

Software Development c++ visual-studio
Member Avatar for kutuup
0
679
Member Avatar for JOSheaIV

Okay so right now I am working on a program that gathers data and then displays it. For instance how many items exist and how much of them exist and what is their rank. Well I want to display these count of how much each rank exists with a bar …

Software Development
Member Avatar for Singlem
-1
190
Member Avatar for skiboy209

[CODE]#include <iostream> #include <string> #include <windows.h> using std:: cout; using std:: cin; using namespace std; int main() { unsigned long n; char Answer; string mystr; do { cout << " What is your name? "; getline (cin, mystr); cout << "Hello " << mystr << ".\n"; cout << "What is …

Software Development c++
Member Avatar for rubberman
0
194
Member Avatar for mitchney

hello! i want to display all the transactions within a month...but an error occured says... data type mismatch in criteria expression...pls help me..here is my initial code... [CODE]If rs.State = adStateOpen Then rs.Close rs.Open "Select * from tblsupplier where date between '" & DTPicker1.Value & "' And '" & DTPicker2.Value …

Software Development visual-basic
Member Avatar for mitchney
0
128
Member Avatar for SHENGTON

I got some problems with my program here. There are lots of lacking in my code. Hope you can help me with this guys. I'm still a student. Here's the problem: A program that prints figures of (*): 1. Displays a menu [1] Figure 1 [2] Figure 2 [3] Figure …

Software Development c
Member Avatar for Adak
0
496
Member Avatar for twalton42

I can load my edit form withthe selected account from the datagridview on form1 I can update aany of my information but when I save the information it updates the first account in the database. How do I save to the selected account only? This is my save button:[code]'saves the …

Software Development vb.net
Member Avatar for lolafuertes
0
179

The End.