43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for PerplexedB

I understood (or I thought I understood) that a constructor has the name as the class. Then why do I get a "membernames cannot have the same name as their enclosing type here": namespace p0080 { class p0050Access:fwSQL { void p0050Access() { this.cConnString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=v:\\data\\p0050\\p0050.accdb"; } } }

Software Development
Member Avatar for PerplexedB
0
113
Member Avatar for disjes_1

Hi, in vb 6.0 the listview had a view property, if you set that property to Icons you could move the ítems wherever you wanted but now i don't see anything like that, the behaviour i want to have is like the Windows desktop where you can move the ícons …

Software Development listview vb.net
Member Avatar for disjes_1
0
936
Member Avatar for Taras20

hello everyone. i need to check if random number generated each time button clicked have not been generated before. i'm saving random number to array each time button clicked then i need to check if after second click of the button numbers are different if not then generate new random …

Software Development vb.net
Member Avatar for Reverend Jim
0
266
Member Avatar for zdneth

How to assign a keyboard shortcut in jTabbedpane in netbeans?? My project is quite using many tabs so I want to minimize clicking the mouse. Need HELP! Thankx

Software Development java
Member Avatar for JamesCherrill
0
109
Member Avatar for Papa_Don

I'm trying to read and return info from an SQL database. To ensure you have the details, here's the basic info: The database is called "DataDesignSolution" The table is called "INVENTORY" I'm trying to read the columns "INV-PART-NUMBER" and "INV-DESCRIPTION". I've written the following code hoping to SEARCH through the …

Software Development open-source vb.net
Member Avatar for Papa_Don
0
149
Member Avatar for zacant

My code: public ArrayList<Grade> grades; grades = new ArrayList<Grade>(); public Grade getLowestGrade() { Grade lowestGrade = grades.get(0); for (int i = 1; i < grades.size(); i++) { Grade g = grades.get(i); if(s.getGrade() < lowestGrade.getGrade()) lowestGrade = g; } return lowestYet; } This code is in my Student class using the …

Software Development java
Member Avatar for JamesCherrill
0
613
Member Avatar for dendenny01

I want to designe a code at display a perticular data Example a time table of the week For instance if someone view a page on monday so it show display result of the table or data which is set to display on monday or if some one view same …

Software Development c
Member Avatar for dendenny01
0
172
Member Avatar for KushMishra

Hi all, I want to develop a pie chart with functionality of dragging and resizing but not like a fixed size. Initially it should come as a quater sized and **should be ressizable to any angle** just like done with the MS power point. Any idea to kick start this …

Software Development
Member Avatar for KushMishra
1
223
Member Avatar for analys

Hello, I'm having error when I try to filter my data (name) In my Personal table, I have a column for name for ex: Mary Elizabeth Roger When I type the name in searchbox, it appears as syntax error. Here's my code Private Sub SearchPD_Record() Dim da As New OleDbDataAdapter …

Software Development vb.net
Member Avatar for Reverend Jim
0
190
Member Avatar for GeneClaude

I can't seem to find the error in this code. I don't know if I constructed the codes correctly, assuming that the error is corrected, I could get the correct value? /* Function for Right Triangle */ #include<stdio.h> #include<conio.h> #include<math.h> #define p printf #define s scanf double rightTriangle(double x, double …

Software Development c++
Member Avatar for Nutster
0
441
Member Avatar for tayyabatiq

I'm making a class for boolean expressions, a simpler version of bool. I need three operators, one for AND, one for OR and one for NOT. I can easily make **+** for OR, by overloading, but how can i declare **.** for AND and **'** for NOT? Can i even …

Software Development c++ oop
Member Avatar for Nutster
0
265
Member Avatar for hwoarang69

ok so i kind of know how to restart but the problem is that when ever i restart my animation get faster and faster. so i have main.java and alot of other objects. so one class for player one for player one for background etc... public class main exteds JApplet …

Software Development java
Member Avatar for hwoarang69
0
558
Member Avatar for Taras20

Hi everyone. I'm new in Visual Basic(i work in Visual basic 2010) and i have a problem and hope u will help me. I want to load image to pictureBox depending on randomly generated number. For example if random number is 14 then i want to load image with the …

Software Development vb.net visual-basic
Member Avatar for Taras20
0
2K
Member Avatar for hwoarang69

i have two animation going on screen. one animation is a rect going to right. i dont want this animation to stop 2nd animation is message coming on screen for 1 sec and removeing it. right now 1st animation works fine but doesnt diplay. its be iam seting message="". but …

Software Development display java
Member Avatar for hwoarang69
0
304
Member Avatar for hg_fs2002

I am getting input from terminal using "char *argv[]" parameter in main function. Now, I want to check whether all the inputs are not character (they are not necessarily int, they can be double) but I don't know how to do it here because inputs are pointers and it's not …

Software Development c
Member Avatar for Ancient Dragon
0
134
Member Avatar for analys

Hello, I'm currently doing my project in VB and connect with access that have three tables in database. I have three buttons to show three different table in my database. I'm using datagrid and when I click on radio button 1st table, it will show the data in my 1st …

Software Development vb.net
0
92
Member Avatar for UKnod

I have a problem with vb.net tabcontrol in so far as I cannot change the individual tab widths. I can chang ethe sizecontrol to fixed and alter all of the tabs but not individually. Ordinarily it would not be a problem with the tabs autosizing by the text size, but …

Software Development vb.net
Member Avatar for QVeen72
0
2K
Member Avatar for joshl_1995

Hello Community, I need help with the program "[InnoSetup](http://www.jrsoftware.org/isinfo.php)" what i need is a way to uninstall the previous version of my program insted of just overwriting it. So when the user runs the setup if the program is already installed on there computer they will be asked to unstall …

Software Development
Member Avatar for joshl_1995
0
2K
Member Avatar for tudor.laze

Hello. I have a question. I have a polynomial with Double coefficients and one with Integer ones, and to perform the integration I have to convert from object Integer to Double,but I found that it is not possible so I've tried to convert it into a String than into Double,but …

Software Development gui java
Member Avatar for JamesCherrill
0
5K
Member Avatar for doraemon

I am making a desktop application using vb.net and oracle and crystal repot. How can I upload the application on the web? For creating web page: upload css and HTML files to the web server using FTP(if the contents are incompleted, but still can see on the web) For the …

Software Development html-css oracle vb.net web-server
Member Avatar for doraemon
0
1K
Member Avatar for triumphost

How can I install gcc 4.7.2 for codeblocks that supports both 32 and 64 compilation? If I install the x32 bit compiler: x32-4.7.2-release-win32-sjlj-rev10 it will compile with -m32 compiler switch but give a bunch of linker errors for -m64 If I install the x64 bit compiler: x64-4.7.2-release-win32-sjlj-rev10 it will compile …

Software Development c++
Member Avatar for triumphost
0
383
Member Avatar for spawn2004

Hi everyone, I am having a difficulty with some code and I hope here somebody who is more expreinced from me can help me. I am having a program that reads a file store the data as objects in a vector. For example in the file i have : Once …

Software Development c++
Member Avatar for spawn2004
0
130
Member Avatar for normanallen

I am running Visual C++ 2010 Express on Windows 7 Ultimate SP1 32-bit. I have written a small program aimed at reading the contents of a given directory. However, while the program compiles correctly, it will not run as it says that opendir, readdir and closedir are unsatisfied externals. What …

Software Development c++ file-system
Member Avatar for normanallen
0
258
Member Avatar for nytman

first of all my apoligies if i asked something irrelevant, i am new to programming ad also new in python, my question is: i have to write a simple program in which i have to ask for the number of employee in the company and then i have to create …

Software Development python
Member Avatar for nytman
0
1K
Member Avatar for ytq_

Hi, there's a list with tuples. lst = [('Meat', 'Milk'), ('Cake - Cookie',), ('Apple', 'Orange')] For each tuple of `len == 1` I want to split it at ` - ` so it results with: lst = [('Meat', 'Milk'), ('Cake', 'Cookie'), ('Apple', 'Orange')] I tried [tuple(x.split(' - ') for x …

Software Development apple python
Member Avatar for Lucaci Andrew
0
9K
Member Avatar for CHOCHOCHO

I need help creating my operator+ function.The first thing i did was send the binary numbers to the reverselist funtion, but i ended up getting some errors. Binary.cpp: In function `binary operator+(const binary&, const binary&)': Binary.cpp:164: error: invalid initialization of reference of type 'nodeType*&' from expression of type 'nodeType* const' …

Software Development c++ linked-list
Member Avatar for Labdabeta
0
681
Member Avatar for jovstudios

Hello Guys, I need Your Help,, im just Worried for declaring the Month of January, Because whenI search Month of January , The Month of October, November, And december, Would Appear. I want to search is The Month of January Only. This is My Code. January = 1 February = …

Software Development visual-basic
Member Avatar for jovstudios
0
149
Member Avatar for <M/>

I am trying extract 5 numbers from a loop that generates 78 numbers randomly. How would i do that? for(i=0; i<=78; i++) { //i am not sure how to extract the numbers from here randomly } //I am also wondering how to take it's average, or am i doing it …

Software Development java
Member Avatar for <M/>
0
431
Member Avatar for Jake.20

I'm stuck on this problem for about 2 days now and i still can't find a way on how to bind my data column on the combobox. need help guys i really appriciate your help. And this is the code i have made so far. Private Sub Form_Load() adodc1.ConnectionString = …

Software Development visual-basic
Member Avatar for Jake.20
0
150
Member Avatar for Labdabeta

Hello, I am working on an arbitrary precision arithmetic library. I already created a version that just stored numbers as "before decimal point [unsigned array]" and "after decimal point [unsigned array]". The issue is that it is both inefficient and incomplete. I would like to incorporate complex numbers into the …

Software Development algorithm c++ linked-list
Member Avatar for deceptikon
0
236
Member Avatar for 9tontruck

Hi, I am implementing an applicaiton which uses CPU but having a problem about allocating in GPU memory. Above all, my work environment is Windows 7 Visual Studio 2010 NVIDIA Quadro NVS 290 (256MB) When I run a piece of CUDA code: cudaMemGetInfo(&freeMem, &totalMem); I get 256MB of total memory …

Software Development c++ display motherboards-cpu-ram
Member Avatar for 9tontruck
0
385
Member Avatar for Papa_Don

As state previously, I'm a newbie at coding in VB and have much to learn. I'll appreciate your input and knowledge! I'm creating a Order Entry form. I have the database in place with some "test" items in the in the table. I now want to begin creating a new …

Software Development vb.net
0
94
Member Avatar for SoreComet

Hi Guys, I was trying to code in C for the following. You are given with 2 files, file1.txt and file2.txt. The contents of the file contain INTERGER values. Add the contents of the file and write them to another file file3.txt. My code is as follows #include <stdio.h> #include …

Software Development c file-system mathematics
Member Avatar for SoreComet
0
366
Member Avatar for Contagious98

I just dragged a menustrip from the tool box and put in some text like "File" and on the drop down menu is "Event Registration" text. I dont know the codes for the menu strip on how to link it to another form. I've already created a form named Eventregistration.vb …

Software Development vb.net
Member Avatar for Mapz Xate
0
2K
Member Avatar for masterfact18

im creating a simple calculator and i dont know how to disable letter in the textbox.. can someone help me please...newbie here....BTW im using VB6...

Software Development visual-basic
Member Avatar for AndreRet
0
449
Member Avatar for HankReardon

Hello, I have been having quite a bit of trouble with this one. Can someone please tell me how many swaps it would require to sort the following array? {2, 4, 6, 3, 7, 1} I tried putting my counter in a couple of places and neither one of them …

Software Development java
Member Avatar for HankReardon
0
2K
Member Avatar for chdboy

Hi, I'm adding day shift column where current month (I'm using datetimepicker for extracting month from it ) but getting this error Conversion failed when converting date and/or time from character string Here is the code Dim str10 As String = "Select COUNT(DayShift) FROM Attendance WHERE AttendanceStatus = 6 AND …

Software Development vb.net
Member Avatar for chdboy
0
128
Member Avatar for CHOCHOCHO

Here are the errors Binary.cpp: In function `std::istream& operator>>(std::istream&, binary&)': Binary.cpp:24: error: `nodeType*binary::head_ptr' is private Binary.cpp:114: error: within this context Binary.cpp:24: error: `nodeType*binary::head_ptr' is private Binary.cpp:115: error: within this context Binary.cpp:115: error: call of overloaded `list_clear(nodeType*&)' is ambiguous Binary.cpp:28: note: candidates are: void list_clear(nodeType*&) Binary.cpp:56: note: void list_clear(nodeType*) Binary.cpp:24: error: …

Software Development c++ linked-list
Member Avatar for Banfa
0
181
Member Avatar for masterfact18

!! i was trying to create a simple grading system but my project doesnt work it always shows the last if statement and ignore the other statement...please help here's my code...can someone please tell me what's wrong coz i dont know how to use if/elseif/else statement... newbie here...please help Private …

Software Development programming-construct visual-basic
Member Avatar for tinstaafl
0
289
Member Avatar for masterfact18

hi everyone... my problem is i got 2 command button named command1 and command2..what i want to happen is when command2 is click the function of command1 will work... can someone please help me...

Software Development gui visual-basic
Member Avatar for masterfact18
0
237
Member Avatar for siaosituimoloaublood

Well this is my problem..the code below is to display the grade that is associated with the points the user enters. Now, my problem is how can I have a message display an error message when the user enters a number above 500 or my array..any help is greatly appreciated. …

Software Development vb.net
Member Avatar for Reverend Jim
0
131
Member Avatar for WDrago

All, I wonder if anyone has an opinion on this. What's better, this: // Diagonal checks if (board[0][0] == turn) { if (board[1][1] == turn) { if (board[2][2] == turn) { System.out.println(); System.out.println(turn + " IS THE WINNER!!!"); writeBoard(); return true; } } } Or this: // Diagonal checks if …

Software Development java
Member Avatar for WDrago
0
189
Member Avatar for Papa_Don

I'm trying to use the Import/Export Wizard to import data from an Excel File to the SQL Database. First, know that I'm trying to run it as an "Administrator". I've had issues because it wouldn't let me log in. So I'm trying it this way. I'm following the steps as …

Software Development sql vb.net
Member Avatar for Papa_Don
0
254
Member Avatar for MasterHacker110

I have this email program but it doestn seem to work, the emaik never arive at the reciever, not even in his spam folder from email.mime.text import MIMEText from email.mime.application import MIMEApplication from email.mime.multipart import MIMEMultipart from smtplib import SMTP msg = MIMEMultipart() msg['Subject'] = 'Email From Python jajaja' msg['From'] …

Software Development email python
Member Avatar for TrustyTony
0
181
Member Avatar for Papa_Don

Group, In the classes on VB I took were some training on creating Parent and Child Forms. What never was clearly explained is why we would need to use such related forms. I ask this as I'm now working on a group of forms that will be the "order entry" …

Software Development vb.net
Member Avatar for Papa_Don
0
554
Member Avatar for while(!success)

Hi guys, I'm hoping you can help me find a more elegant solution to my query inside a foreach loop. Here is the loop in question: foreach (DataRow row in dt_blah.Rows) { SqlCommand sc = con.CreateCommand(); sc.CommandType = CommandType.Text; sc.CommandText = "select blah blah blah .. where S = @s1 …

Software Development programming-construct sql
Member Avatar for AleMonteiro
0
1K
Member Avatar for masterfact18

i would like to know hot to put a limited input in a textbox.. situation is like this i put a textbox in a form then what i would like to happen is to accept only 2 number and will not accept the following number that is being pressed...please help... …

Software Development visual-basic
Member Avatar for masterfact18
0
136
Member Avatar for CHOCHOCHO

These are the errors that i am getting J:Project 2Binary.cpp: In constructor `binary::binary()': J:Project 2Binary.cpp:37: error: no match for 'operator=' in '((binary*)this)->binary::head_ptr = 0' J:Project 2Binary.cpp:6: note: candidates are: nodeType& nodeType::operator=(const nodeType&) J:Project 2Binary.cpp: In copy constructor `binary::binary(const binary&)': J:Project 2Binary.cpp:43: error: invalid initialization of reference of type 'nodeType*&' from …

Software Development c++ linked-list
Member Avatar for CHOCHOCHO
0
376
Member Avatar for murnesty

I have develop a functor array without class but fail to write a functor relate to class. Here is the code without class int returnOne (void) { int a = 0; a++; return 10; } int returnTwo (void) { int a = 0; a++; return 20; } typedef int (*functor2) …

Software Development c++
Member Avatar for mrnutty
0
258
Member Avatar for ahmzy

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; using System.IO; namespace Enrolement { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { /* This part of my code imports the …

Member Avatar for ahmzy
0
1K

The End.