132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sashiksu

I'm new to vb and therefor I can't find where is the error while I'm making reports. I coded My report button like this : Dim adapter As New MySqlDataAdapter Dim ds As New DataSet1 adapter.SelectCommand = New MySqlCommand("Select * from mcs.custormer", Form1.mysqlcon) adapter.Fill(ds.Tables(0)) ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local ReportViewer1.LocalReport.ReportPath = System.Environment.CurrentDirectory …

Software Development vb.net
Member Avatar for Santanu.Das
0
564
Member Avatar for Mr.M

Hi Dw. I'm trying to read a text file. This text file has a multiply lines and what I want is that I want to separate each line or should I say I want to split each line (chop it) so that I will be able to assign these fields …

Software Development vb.net
Member Avatar for Mr.M
0
687
Member Avatar for sureshk75

I got this code on using splash screens and liked it however, I'm unable to get the text to update based on the current event(in the example it's just a range of numbers). Would love to get some input on what I'm doing wrong here. Thank you from tkinter import …

Software Development python tkinter
Member Avatar for sureshk75
0
1K
Member Avatar for MirorB

There are 3 JTextfields that are supposed to display info in each one after you click List Info and brings you to a new GUI and you automatically see the info in the JTextFields, but it's not displaying anything. Also I'm using Eclipse and SQLite Manager if that helps. Iogin, …

Member Avatar for MirorB
0
432
Member Avatar for nitin1

Hi, I am stuck with a problem. I have two Date objects (util class objects). I want the difference between these two dates as the number of days between them? I am using Java 8. Can you please help me with this? Searched the web a lot. Some are saying …

Software Development java
Member Avatar for JamesCherrill
0
835
Member Avatar for nitin1

Hi, I was using booleans earlier in my class. --> isProductRestricted --> internal --> isProductGlobal I am using lombok too. So putting @Data at the top of class too. But, now I changed these boolean to Boolean variable. I got errors where ever `Object.isInternal()` was used. I am not getting …

Software Development java
Member Avatar for nitin1
0
367
Member Avatar for BHUJI

[CODE]/*This program is going infinite.PLS help*/ #include<stdio.h> #include<conio.h> void main() { int a,b,c,d,e,f,flag=0; printf("Enter first date"); scanf("%d%d%d",&a,&b,&c); printf("Enter second date"); scanf("%d%d%d",&d,&e,&f); const int days[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; while(c!=f||b!=e||a!=d) { a++; if((b==4)||(b==6)||(b==9)||(b==11)) f=30; else if(b==2) { if(d%4==0) f=29; else f=28; } else f=31; if(a>f) { b++; a=1; } if(b==13) { c++; b=1; } flag++; …

Software Development c c# c++
Member Avatar for Sby_1
0
22K
Member Avatar for COKEDUDE

I am trying to add an int to a Multi-dimensional char Array. After reading the link below I would think I can use sprintf. If I can't use sprintf what is another way I can do this? http://www.cplusplus.com/reference/cstdio/sprintf/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> int main(int argc, char …

Software Development c
Member Avatar for AssertNull
0
323
Member Avatar for marcolanza24

Hi Everyone, I have a project from school which is a console application that takes hard-coded items and process those inside of one of my custom class which intherit from a list of strings. Then, it processes those items and apply the Apriori Algorithm (I cannot use any existent package …

Member Avatar for Raul Perez
0
328
Member Avatar for JOSheaIV

Alright I got a question for you all that I just can't seem to figure out if it's working as I expect it to or not. Recently I have begun re-writing a piece of code I wrote that is used to generate QR Codes (square barcodes). Part of the reason …

Software Development
Member Avatar for JOSheaIV
0
234
Member Avatar for Mr.M

Hi Dw. I'm having a client server which the server read a text file line by line and send each line to the client upon client connection. The problem I'm having is that on the client side the data is combined, meaning I get all lines that are on the …

Software Development client-server visual-basic
Member Avatar for Mr.M
0
422
Member Avatar for Sanfu

Hi, i am trying to make a program which has to display some data which has been put in by the user over some time. The value the user inputs is a decimal, and should be displayed at the y-axis, while the x-axis should display the time the value was …

Software Development
Member Avatar for AssertNull
0
488
Member Avatar for modernfrt

Good day everyone, I'm trying to save an inputted data using JTextfield in JAVA GUI into MySQL database. But when i pressed the save button nothing happens. I want to show you all my work right now. Please try to help me, Thank you in advance! if(e.getSource().equals(save)) { //THE SAVE …

Software Development gui java mysql
Member Avatar for stultuske
0
6K
Member Avatar for can-mohan

Hi All, I wanted to know in below code snippet what will be impact if m_singleObject is declared as a weak_ptr. Usaually we peform lock on weak_ptr and convert the same in to the shared pointer and then return the same to GetInstance() function. static std::shared_ptr<singleType> shareObject = m_singleObject.lock why …

Software Development c++
Member Avatar for can-mohan
0
988
Member Avatar for Saboor880

Hello! I have written a simple program which connects netbeans with SQL Server database. The program is giving an exception. I am displaying the source code of my program and exception below. Please guide me to solve this problem. public class dbconnection { Connection con = null; public static void …

Software Development java java-netbeans sql
Member Avatar for Saboor880
0
241
Member Avatar for Haider85

I have a Health based .Net (C#) project that needs to import a huge chunk of medical records from an old database that were used in a different application. The database has been successfully migrated to the version compatible with our application. The problem is the contents in one of …

Software Development assembly c c++
0
272
Member Avatar for Sherif_3

How can i write a C++ program to implement a finite state machine (FSM) simulator. The objective is to enable system designers to model and simulate their systems’ behavior while still in the design phase. The simulator reads an input file which contains the FSM description. The FSM description file …

Software Development c++ objective-c
Member Avatar for rproffitt
0
371
Member Avatar for sashiksu

I'm looking more and more about answer for my question. When I open mysql query browser first time, there is place that we can create new mysql connection. I want to create connection like this. In the 4 computers connected to a LAN network. I name these computers A,B,C,D for …

Software Development mysql vb.net
Member Avatar for Santanu.Das
0
346
Member Avatar for Ketan Satani

Hi This Satani Ketan , My Question is i am Making A login Form using c# windows application..so i have to use session and coockies in my form..that provide me how much time spent by user after logout....can any one help me.. thanks in advance...!!!

Software Development session
Member Avatar for Nutster
0
186
Member Avatar for Naveen_16

value of life certificate is not updating through this code. myconn.Open() cmd.Connection = myconn cmd.CommandText = " UPDATE Pension_Master SET l_cer='" & l_cer & "',validfrom=convert(datetime,'" & validfrom.Date & "',101)," & _ "validto=convert(datetime,'" & validto.Date & "',101) WHERE ppo_no = ' " & TextBox1.Text & "'" If (payment_register.Visible = True) Then …

Software Development vb.net
Member Avatar for Reverend Jim
0
339
Member Avatar for blacklune

Hello, I have been struggling with this project for several days. This is all about doubly Linked List and I have to add reverse section with given code in project. So far it was doing good. I learned a lot from this but the only thing I had issue is …

Software Development c data-structure linked-list queue
Member Avatar for AssertNull
0
285
Member Avatar for Zubenna

Dear Python coders, I am new to python programming and I am trying to solve an assignment. The question is stated below; Create a function that does the following 1. Accepts as the first parameter a string specifying the data structure to be used "list", "set" or "dictionary" 2. Accepts …

Software Development data-structure python
Member Avatar for Gribouillis
0
915
Member Avatar for Simon180

am looking for a way to count down from 30 seconds using a timer and updating a Gauge using Progress to reflect the time remaining. I know this is very simple code but my brain is some what dead here my bad code. procedure FreeTimerTimer(Sender: TObject); begin TotalTime := GetTickCount() …

Software Development pascal
Member Avatar for rubberman
0
650
Member Avatar for Alyssa_3

can someone please help me with this pascal program, does this look right? Program StudentScores; var c: integer; s: integer; t: integer; n: integer; p: integer; f: integer; h: integer; l: integer; ave: integer; max: integer; am: integer; hi: integer; li: integer; scores: integer; Begin For c:= 1 to 15 …

Software Development pascal
Member Avatar for SalmiSoft
0
310
Member Avatar for peroberg

[B]Question TWO[/B] I have on and off been using Basic, now VB since “the stone age” long before Microsoft and Windows. However it is only now I enter the issue of using VB6 and a database. I use VB6-ADO-ACCESS plus using DataGrid as the main view to see the database. …

Software Development microsoft-access visual-basic
Member Avatar for ehudhdy
0
946
Member Avatar for gbhs

Hi I can add watermark text on a .pdf document to an absolute position. This time I want to add water text of small font size to cover all of the page including margins. I know that I need relative positioning of text, fitting text to text lines depending on …

Software Development file-stream pdf vb.net
Member Avatar for Michael Br
0
1K
Member Avatar for vishalsingh1080

I want to know more about Bittorrent . Like , how it works . I'm not looking for an overview as i have a little knowledge about it . I want a deeper and a technical insight to it . Maybe if I could somehow get hold of the code …

Software Development
Member Avatar for divinotech
0
573
Member Avatar for boomerang2711

Sorry if this question is asked already; but I could not find any such post. I am currently working on an issue on inode reported by a customer. **Issue**: In customer system, we see the following error every time he reboots: `EXT4-fs error (device sda1): ext4_lookup: deleted inode referenced: 3855` …

Software Development
Member Avatar for rproffitt
0
258
Member Avatar for Mike Bishop

I am importing data from excel into datagridview its kind of working fine. my data is like this in excel 10001 MR NEW 10002 MR OLD 10003 MR CLEAN 1MB21 MR DIRTY 1BA12 MR DIXON 1EA12 MR RYDER When I load the data all is loaded untill it gets to …

Software Development dataset sql vb.net
Member Avatar for Rene vK
0
369
Member Avatar for Kyungwon

Given a typed List collection of int values named dueDays that has already been sorted, write the code to retrieve the index of the element with the value 30 and store the result in an int variable named dayIndex. Given a typed List collection of int values named dueDays that …

Software Development assembly c# objective-c
Member Avatar for AleMonteiro
0
409
Member Avatar for altjen

hi all, I am having a problem with importing images into Database with code. I've done this so far Dim conn As New Data.SqlClient.SqlConnection("Data Source=virtualmachinelink,1433;Network Library=DBMSSOCN;Initial Catalog=School Management;User ID=me;Password=mypass") 'dont worry about the connection string, is good, Dim SDA As New SqlDataAdapter Dim bSource As New BindingSource Try conn.Open() Dim …

Software Development image mysql vb.net
Member Avatar for AleMonteiro
0
310
Member Avatar for johndohmen1963

Hi i have a conflict with a string i want some words of a string to make lowercase shal i have as string Valkenburg Aan De Geul But i want it to make it as Valkenburg aan de Geul the folowing code dos not work ang gives a conflict If …

Software Development vb.net
Member Avatar for johndohmen1963
0
218
Member Avatar for Noorul Ariff

Dear... I'm doing INVENTORY PROJECT... I'm using ACCESS as BACK-END... My tables are PURCHASE and SALES... In PURCHASE table, fields are CODE(primary key), PRICE, DATE, TOTAL, QTY... when I'm entering datas in form and when i click submit, the datas stored... but when i enter same DATA(CODE), it is showing …

Software Development microsoft-access seo vb.net
Member Avatar for Steffany
0
8K
Member Avatar for COKEDUDE

How would I go about making this table? ID Type Value X int 4 Y int 4 Z float 0 This is the only way I can think of but I don't think this will work. int main(int argc, char *argv[]) { char *strings_line1[3] = {"ID", "TYPE", "Value"}; char *strings_line2[3] …

Software Development c
Member Avatar for rubberman
0
193
Member Avatar for dstaner

Hey, i got some previous help with this program i had to write for a school assignment. The problem was assigned as follows: "Write a program that calculates the balance of a savings account at the end of a three-month period. It should ask the user for the starting balance …

Software Development c++
Member Avatar for hichamhicham
0
2K
Member Avatar for can-mohan

Hi All, I just want to know whether use of shared_ptr is justified in below code here or do i need to use unique_ptr instead of shared_ptr? #include <iostream> #include <memory> using namespace std; class a { int a1 ,b; public: a(int x=0,int y=0):a1(x),b(y){} void fun1() {cout<<a1;cout<<b;} }; class b …

Software Development c++
Member Avatar for madhav sai
0
200
Member Avatar for sashiksu

I want to make 6 digit number and put it number of count at data grid view 1. Currently I used below code. This show numbers like 1,2,3,4,5..... like.... For Each row As DataGridViewRow In DataGridView1.Rows Dim obj(row.Cells.Count - 1) As Object For i = 0 To row.Cells.Count - 1 …

Software Development vb.net
Member Avatar for Phoguez
0
302
Member Avatar for spoch

Hey I just found this site because I have been working on a program to make answer and create questions to the game 24. (24 is a game where players are given 4 numbers and by either adding, subtracting, multiplying and Dividing the given numbers the number at the end …

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

Hi, Does anyone have some good examples of ADO.NET code that demonstrates a coded connection to SQL Server such that bound controls bind to retrieve and update data. Thanks

Software Development client-server sql vb.net
Member Avatar for vinod_10
0
7K
Member Avatar for thehivetyrant

Hi there, i have a ball: [icode] void ball (void) { glColor3f(0.0, 1.0, 0.0); //set ball colour glTranslatef(0.0,0.0,1); //moving it toward the screen a bit on creation glutSolidSphere (0.6, 7, 7); //create ball. } [/icode] I am trying to get the ball to move in a direction when i press …

Software Development c++ opengl
Member Avatar for Hasan_4
0
6K
Member Avatar for missyElle8

A program that will create a movie seat reservation. The program will display the summary seats and its status. The user will be ask what seat no. to be reserved, then it will go back again to the summary to display the updated seat status. If the seat no. is …

Software Development
Member Avatar for rproffitt
0
341
Member Avatar for Tycellent

Hey everyone, In addition to... Lazy Foo's Tutorial http://lazyfoo.net/tutorials/SDL/index.php "SDL Game Development" - Shaun Mitchell book are there any other recommended resources (does not have to be SDL) people could suggest? I've already created a console-based text adventure game and am really interested in expanding it into a text-adventure game …

Software Development c++
Member Avatar for wafa_1
0
295
Member Avatar for sashiksu

HeY First I'm new to software developing side. I made some system abount money lending and some my teachers said that system good but there is wrong thing at finding profit/loss page. Therefore I want your advices guys ! :) In this system user can register new clients and also …

Software Development vb.net
Member Avatar for Nutster
0
179
Member Avatar for cambalinho

i have these code for get image pixel data: typedef std::vector<BYTE> pixeldata; pixeldata GetImagePixel(HDC hdcImage) { BITMAP bmp = {0}; BITMAPINFO Info = {0}; memset( &bmp, 0, sizeof(BITMAP) ); HBITMAP hBitmap =(HBITMAP) GetCurrentObject(hdcImage, OBJ_BITMAP); GetObject(hBitmap, sizeof(BITMAP), &bmp); BITMAPINFO info { }; info.bmiHeader.biSize = sizeof(info.bmiHeader); info.bmiHeader.biWidth = bmp.bmWidth; // pay attention …

Software Development c++ objective-c
Member Avatar for cambalinho
0
338
Member Avatar for Rakham

Hi! I do have my own VB6 mp3-player, which uses "Un4seen BASS.DLL" audiolibrary to play mp3 files. It works fine, but it doesn't support reading album cover (picture) from ID3V2 tags. For reading tags in text format, I use imported vb6 class module, that I found few years ago. But …

Software Development visual-basic
Member Avatar for Glyn_1
0
894
Member Avatar for Ma Katrina

Hello. I am trying to add new button during runtime. Here is the scenario: when I click 'Food' button, the fields from food column in MySQL database will appear as button. #newbieproblems

Software Development gui vb.net
Member Avatar for Raul Perez
0
1K
Member Avatar for sashiksu

Hey, I'm looking for big answer for my big answer, Even I can't think can I do this, this way. --- In my program I load some mysql table's columns to list boxes. Think I load Customer_id and name to two list boxes. Then I want to move these list …

Software Development vb.net
Member Avatar for Raul Perez
0
260
Member Avatar for nitin1

Hey, I have visited Daniweb after few months. I have seen "API" options in my profile. How can we use it? Is it similar to fb apis, twitter apis? Thanks.

Software Development api daniweb-api
0
239
Member Avatar for Sasquadge

Hey guys working on an assignment called monkey business and here is my code im getting an error on these two things. Error: [CODE] cout << "Monkey number " << [COLOR="Green"](monkey + 1)[/COLOR] << " ate the least amount of food,\n" << leastFood << " pounds, on day " << …

Software Development c++
Member Avatar for Muhammad_107
0
2K
Member Avatar for akshayg

after writing a c program and running it,it shows that fatal error:abort(programcollect2).......i have correctly installed codeblocksmingw version......but not compiling

Software Development c
Member Avatar for tinstaafl
0
63

The End.