43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for satti

there are two combobox cm1 and cm2 when user select columns from database for x axis and y axis in cm1 and cm2 the graph show the data from those columns . Need your help that how to populate combos with column names and to show the graph of selected …

Software Development vb.net
Member Avatar for ryanjayson
0
723
Member Avatar for Ng

I am doing data validation. Assume i type 3 student ID: First:1234 Second:4567 Third:1234 (same ask the user to type student id again) Please give me some hints,how can i do the part of checking the all data the user type? (whether have already exit). Thanks. #include<stdio.h> int main() { …

Software Development c
Member Avatar for Learner010
0
128
Member Avatar for andrew mendonca

Write a program to read a maze from a text file into your array, print the unsolved maze, solve the maze, and then print the solution. You may assume the maze will fit in a 24-row by 81-column character array (for 80 character C-strings). The maze will be in a …

Software Development algorithm c++
Member Avatar for owenransen
0
530
Member Avatar for guente

Please i have a problem i cant resolve. I was able to populate my combobox (Cus_ID) from TLB_Customer table sucessfully. Now, how ca i use the same populated combobox to populate a textbox (Cus_Name) all in the same TLB_Customer table. My Code Imports System.Data.OleDb Public Class frmTransaction Dim con As …

Software Development open-source vb.net
Member Avatar for ryanjayson
0
212
Member Avatar for GrantB

Hi Im still pretty new to c# and I have been struggling with a few things in assesment interviews. When I studied I wasnt exposed to csv files and retrieving specific data from those files... Is there anywhere someone could point to me to show me in the right direction …

Software Development c#
Member Avatar for GrantB
0
154
Member Avatar for Sevyt

My access database is shown in my datagridview. When i start the program and click through the names everything is displayed in the linked textboxes. But ones i search through my database, and the results are filtered. My cellclick stops working, not getting any error messages. It just stick to …

Software Development vb.net
Member Avatar for Sevyt
0
111
Member Avatar for </scorpion>

I have a gridview that I successfully export to Excel, however, after I close the excel file or save it, and return to the web page/ main page, all the controls are frozen and I have to refresh the page to get anything working. How can I correct that? pls. …

Software Development
0
120
Member Avatar for Kratoswoo

protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e) { DataContext db = new DataContext(); using (var SI = new DataContext()) { var search = (from l in SI.**** orderby l.*** descending where l.**** == l.**** select l).First(); Session["ID"] = search.***; Response.Redirect("http://localhost:63558/****.aspx"); } } So here I have it so when I hit …

Software Development asp.net session
Member Avatar for KushMishra
0
283
Member Avatar for christinetom

Hi everybody.. Hope you're all well. I'm having a problem. How can I test for white space characters in c++ ? If I do the below it doesn't seem to work. char char1; // iterating through a file if (char1 = ' ') { cout << "WHITE SPACE" << endl; …

Software Development c++
Member Avatar for christinetom
0
133
Member Avatar for whatthebobo

I am currently writting a code for my programming class and have come across this error. I do not know how to fix it and was wondering if someone can help me or give me some hints. for (index = 1; index < SIZE; ++); { if (values[index] < lowest) …

Software Development c++
Member Avatar for whatthebobo
0
170
Member Avatar for H_beginner

I m reading data from a text file and then printing it. I am not sure what I am doing wrong but the program prints the last line that it reads twice. void bank_account::viewHistory() { ifstream in_file("bank_transaction_history.txt" , ios::in); if(!in_file) { cout<<"File error \n"; } cout<<"Event"<<setw(15)<<"Amount"<<setw(15)<<"Date"<<setw(20)<<"Current Balance"<<endl; string eve,dat; double …

Software Development c++ ios
Member Avatar for deceptikon
0
290
Member Avatar for Samier999

I need this program please..... Using array and functions crate a program that asks the user to enter the information of ten of his\her friends (name, phone, DOB) and than primo the information in a form of a report

Software Development c++
Member Avatar for richieking
0
351
Member Avatar for neha05

anyone can guide me on myrealpage project?

Software Development cms
Member Avatar for rubberman
0
82
Member Avatar for chophouse

I'm having trouble calling a function I've written after importing the module containing it. The module is called funky.py. Here is the code for funky.py: from ftplib import FTP_TLS #### FUNCTION --- fileup() #### for sending file via FTP TLS ## ## arg1 .. destname > the filename to be …

Software Development open-source python windows-server
Member Avatar for chophouse
0
17K
Member Avatar for MaddTechwf

I have a college student that works for me and I was trying to help him with his perl project but I couldn't figure out what was going on with it. He's got a txt file of numbers in rows. The numbers have to be sorted on a per row …

Software Development file-system perl
Member Avatar for 2teez
0
259
Member Avatar for AARTI SHRIVAS

i am just start to learnin python and i want to know some thing about it 1.is is used for web development 2.how can i run python program on my ubuntu os i have python installed on my system but not able to run i don't know how to run …

Software Development python ubuntu
Member Avatar for snippsat
0
440
Member Avatar for westsiderailway

Hi there, i have two froms all ready made in design mode. how do i transfer data between them. the program starts in Form1, the user selects which option to use and then goto Form2 to calculate. when finished go back to Form1, how do i get the result back …

Software Development vb.net
Member Avatar for deceptikon
0
1K
Member Avatar for bhagawatshinde

Hi Guys, I am using access (.mdb) database in my windows application. When i am inserting values to db it gives me an error "syntax error in insert into statement" but it will work in SQL and access query analyzer. here is my code [CODE] string StrInsertToServer1 = "insert into …

Software Development c# microsoft-access open-source
Member Avatar for deceptikon
0
5K
Member Avatar for Krefie

If someone can please help with this, how is this even possible. See pic attached...I even did a Thread.Sleep(1000) to make sure the variable gets set to true and then close the port...still.. ! [1c3e8e81ba2568b9cd5c1db56134bc91](/attachments/small/3/1c3e8e81ba2568b9cd5c1db56134bc91.png "align-left")

Software Development
Member Avatar for Krefie
0
98
Member Avatar for venkaaaaat

hi, can you please help me with a sample python code to retrive data from command prompt which appears after execution of some commanad for eg: ./vershion.sh gives ouput as version: 7.0.0.9 type : NAS thanks in advance

Software Development python
Member Avatar for manohar1111
0
594
Member Avatar for tanatos.daniel

TextBox has different heights by default, depending on the font size. I've been able to resize the text boxes by turning off AutoSize, but the text still hugs the top of the control, leaving a gap below. How could I obtain a VerticalAlignment property?

Software Development
Member Avatar for tanatos.daniel
0
193
Member Avatar for salesman91

hi I am getting this error. I wrote code to save multiple Images...now when I save all the 4 image I get no exception... but when I try to save only 1 or 2 or 3 its throws an exception Empty Path is not legal. Little help plz.

Software Development legal
Member Avatar for salesman91
0
793
Member Avatar for Yeonng

Hi, I'm a beginner in Vb.net. I have a problem like this. My table name in dtabase is *tblsales* ![67f4b407a5443c6d48ba102a4779c9f2](/attachments/large/4/67f4b407a5443c6d48ba102a4779c9f2.JPG "67f4b407a5443c6d48ba102a4779c9f2") and i have 4 combobox in month and year ![81361dad1be3d14458ae4ad0a3aa9a55](/attachments/large/4/81361dad1be3d14458ae4ad0a3aa9a55.JPG "81361dad1be3d14458ae4ad0a3aa9a55") i need to find data between this 4 combobox. And this is the code i've tried before. For …

Software Development dataset seo vb.net
Member Avatar for Yeonng
0
1K
Member Avatar for amvx86

Hello everyone, I'm writing up a new application that instead of using microsoft as a server, I'm using a linux server with a database in it. The database was setup, the tables were set up, and access was granted in mysql. The issue I'm having is that I keep getting …

Software Development microsoft sql ubuntu vb.net visual-basic
Member Avatar for amvx86
0
410
Member Avatar for bogdan.buduroiu

Well Hello daniweb, I want to point out that I am barely beginning to learn VB.net for my A-Level Computing Course. So, I was asked to make a Currency Conversion Program and make it have a Transaction Log that is automatically updated when the user makes a conversion. I chose …

Software Development dataset vb.net
Member Avatar for Reverend Jim
0
198
Member Avatar for scaiferw

Sorry in advance if this is the wrong place for this, it's the closest I could find. I need to create a macro for an Excel 2010 spreadsheet so that the active cell will cycle through three choices: "Y", "N" or "" - the last being simply an empty string …

Software Development microsoft-office visual-basic
Member Avatar for scaiferw
0
228
Member Avatar for mansi sharma

Private Sub Command1_Click() Select Case Me.Text1.Text Case 1 MsgBox ("U Entered 1") Case 2 MsgBox ("U entered 2") Case 3 MsgBox ("u entered 3") Case Default MsgBox ("Default") End Select End Sub When i enter 4 in textbox1, Msgbox is not displayed.....Default is a valid case or not in VB

Software Development visual-basic
Member Avatar for anup_1
0
149
Member Avatar for booicu

Evening Community! Alright. As you can see I am "newbie" on the block. When I try approaching my professor for assistance she tells me to go to my book. But I digress. If I was able to use a while loop this would be more simplified. But our professor is …

Software Development python
Member Avatar for woooee
0
17K
Member Avatar for dhruv_arora

I recently installed Microsoft Visual Studio 2010 on my computer. I wrote a C++ program and I can't find any Build/Compile/Run options in Visual Studio 2010. Please, any one can tell me how can I compile C++ programs in MS Visual Studio 2010.

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
3K
Member Avatar for Violet_82

Hi all, yes still a question about the API! I am looking into event handling at the moment (basic things with text fields, checkboxes etc ) and I have noticed that different components generates different events which are in turn handled by different objects. As an example,let's take a checkbox. …

Software Development api java java-swing oracle
Member Avatar for Violet_82
0
162
Member Avatar for AnLag

Hi, Am new in VB.Net.I want to know how to call for data from SQL server usin code. Thanks

Software Development sql vb.net
Member Avatar for AnLag
0
254
Member Avatar for chdboy

I have a form in which I have made File no =field which displays(From sql database) the Integer value like 1-2-3-4 and so on. I want that ,when I save a form which has file no 1 ,and then after when I want to save the next record it should …

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

I used code originally by vegaseat what's wrong with code ** error : Traceback (most recent call last): File "C:/Users/Cameron/Computing Work/Year 13/F454 - Computing Project/Design/newthingnewthing.py", line 68, in <module> canvas.create_rectangle(x0, y0, x1, y1, fill="purple") AttributeError: 'NoneType' object has no attribute 'create_rectangle'** _______________________________________________ code: from tkinter import * data = [10, …

Software Development gui python tkinter
Member Avatar for CodingCabbage
0
3K
Member Avatar for Learningvinit

Hi I am trying to use counted_ptr with a class. Can anyone tell me about the syntax and how to use it. I tried as below but failed. class counted_ptr ; counted_ptr<MyClass>pmyClass= NULL;

Software Development c++
Member Avatar for Learningvinit
0
525
Member Avatar for CodingCabbage

is there a way of in a loop automatically setting different commands to different buttons as they are created (automatically created via loops) or is there a way of setting custom names to the buttons while they arecreated in a loop i want "buttonName" to be different and known for …

Software Development python tkinter
Member Avatar for vegaseat
0
243
Member Avatar for Astudent

So I have another problem(new project new code), with a rather lengthy code. The problem is I am getting tkinter errors left and right and I can't find why. The error I get is: File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__dict__ File "N:\dkaul\CLASS-VSFX160-01\sklock20\Python\blackjack\Black.py", line 212, in <module> …

Software Development os-x python tkinter
Member Avatar for vegaseat
0
7K
Member Avatar for CodingCabbage

I'm trying to represent my data using a bar graph, the data being displayed is goodVotes, neutralVotes and badVotes on the x-axis for each of my pieces of data (records in an sqlite3 database). I wish the "bookName" of each record to be displayed on the x axis of the …

Software Development python sqlite
Member Avatar for vegaseat
0
285
Member Avatar for Prithiv_1

I am getting output as json string with the following code. But I require it as JSON dict without leading and trailing quotes. How can I do that? It seems to work if I uncomment line4 but not with raw input. def main(args): f = open(args[1], 'w') inp = raw_input("Enter …

Software Development json python
Member Avatar for vegaseat
0
292
Member Avatar for 2384443

I'm new to this topic..!! Please help me out.. I have learned about Visual Basic during my High school but now there is a new topic which i'm interested & that is VB.net..!! Could you please tell me that is there any difference between them or are these two languages …

Software Development vb.net visual-basic
Member Avatar for v008370
0
373
Member Avatar for Deep Modi

I am trying to add the History page in my application which will work like as i shown below: 1st Column: (Date); 2nd column: (Login Time); 3rd Column: (Logout Time) I added the following code: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load …

Software Development listview vb.net visual-basic
Member Avatar for Begginnerdev
0
310
Member Avatar for Netcode

Am new to python and i need help dealing so i would go ahead and post the question and my little solution so far. **Question:** a Procedure which takes four parameters as follows; Dictionary File- the file name of a text file containing four letter words Start Word- a four …

Software Development python
Member Avatar for Netcode
0
296
Member Avatar for sing1006

int menu(c){ int choose; do{ printf("*MENU\n"); printf("*Press 2 to move down\n"); printf("*Press 4 to move left\n"); printf("*Press 6 to move right\n"); printf("*Press 8 to move up\n"); printf("*Press 5 to switch\n"); printf("*Press 0 to quit\n"); printf("Please enter your choose: "); scanf("%i",&choose); if(choose==2){ }else if(choose==4){ }else if(choose==6){ }else if(choose==8){ }else if(choose==5){ }else …

Software Development c
Member Avatar for deceptikon
0
213
Member Avatar for surfingturtle

#include <iostream> #include <conio.h> using namespace std; void TOH(int d, char tower1, char tower2, char tower3) { if(d==1) //base case { cout<<"\nShift top disk from tower"<<tower1<<"to tower"<<tower2; return; } TOH(d-1,tower1,tower3,tower2); //recursive function call cout<<"\nShift top disk from tower"<<tower1<<"to tower"<<tower2; TOH(d-1,tower3,tower2,tower1); //recursive function call } int main() { int disk; cout<<"Enter …

Software Development c++
Member Avatar for surfingturtle
0
915
Member Avatar for manel1989

Hi everyone I'd like to know how I can fill a matrix [n] [m] from a vector of size n * m Thank you very much every one

Software Development java matrix-multiplication
Member Avatar for jackmaverick1
0
253
Member Avatar for ChPravin

Hello All, Is there any way to add a text file while creating an executable jar file in eclipse? Regards

Software Development java
Member Avatar for devin.mcknight.102
0
8K
Member Avatar for anestistsoukalis

I would like to make clearly that i do not ask somebody to write the code for me. This is useless for me and also annoying for you: I have to do the following task. Create a Java Frame for some functions in my java project. So here is the …

Software Development gui java oracle wordpress
Member Avatar for JamesCherrill
0
268
Member Avatar for klfrancisco

I am in introduction to c++ and I have a homework problem that I am trying to do. The problem states display the average high temperature and average low temperature. The program should also display the highest temperature stored in the first column in the array and the lowest temperature …

Software Development c++
Member Avatar for klfrancisco
0
121
Member Avatar for chophouse

Need help understanding this error, and how to eliminate it. Using Python 3.3. I'm trying to define a function that takes two arguments and then constructs the proper arguments for a call to the ftblib.storbinary method. Here's my code: from ftplib import FTP_TLS ftps = FTP_TLS('xxxxxx', user='xxxx', passwd='xxxx') ftps.prot_p() ftps.set_pasv(False) …

Software Development python
Member Avatar for chophouse
0
9K
Member Avatar for Hanyouslayer

Ok, before everyone gets mad at me for not looking around the board for these topics, I have, but they weren't my problem. My problem I am having is calling the Polynomial class. I know how to call classes in a different class, but this is a bit different. I …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for ranar

i have a file that list all the names and destinations to move the file. so for example a file that looks like this def.txt /names/new/ person.obj /media/people/ panel.jpg /random/pictures/ so as you can see here there are three files that need to be moved in a specific destination. How …

Software Development c++
Member Avatar for ranar
0
390

The End.