132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bigzos

[CODE]Public Class Form5 Dim connection As OleDb.OleDbConnection Dim mystr As String Dim cmd As OleDb.OleDbCommand Dim adp As OleDb.OleDbDataAdapter Dim ds As New DataSet Private Sub Form5_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) connection.Close() End Sub Private Sub Form5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load mystr …

Software Development dataset open-source vb.net
Member Avatar for k.prabhu
0
745
Member Avatar for elie.karkafy

how i could import my txt file into access database 2010 using vb.net . the txt file as follow : 08-14-13 08:09:26 001 07 0000020016 0100000000 08-14-13 13:12:06 001 07 0000020014 0300000000 i should take into consideration the space between columns becauase this txt file is exported from a certain …

Software Development vb.net
Member Avatar for elie.karkafy
0
839
Member Avatar for Sunny.Day.HYH

good day to all, can anyone help me how can my program read if a letter is inputted again it prompts "letter inputted already"? heres my code: #include <stdio.h> #include <string.h> #include <conio.h> int main() { char alphabet[26] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; char letter; int i; for(i = 0; i < 26; …

Software Development c
Member Avatar for rubberman
0
128
Member Avatar for andrew.mendonca.967

CSCI-15 Assignment #2, String processing. (60 points) Due 9/23/13 You MAY NOT use C++ string objects for anything in this program. Write a C++ program that reads lines of text from a file using the ifstream getline() method, tokenizes the lines into words ("tokens") using strtok(), and keeps statistics on …

Software Development c++
Member Avatar for nullptr
0
293
Member Avatar for Papa_Don

Hi group, I'm looking through the book "Mastering Microsoft Visual Basic 2010" by Evangelos Petroutsos. I'm trying to work through a chapter on designing windows controls. In the first step the directions read: "Start a new project, and in the New Project dialog box, select the template Windows Forms Control …

Software Development vb.net visual-basic
Member Avatar for Papa_Don
0
1K
Member Avatar for MBBS

How to set opposite interval of timer control on textbox ? For Example: If we enter low value in textbox that progress bar speed is slow. If we enter high value in textbox that progress bar speed is high. Thank you....

Software Development visual-basic
Member Avatar for rishif2
0
153
Member Avatar for bossier330

Hi. I picked up Dev C++ the other day after a while of not using it. Here's my question: I can't figure out what's wrong with my code Basically, the program prompts for a command. If the command starts with 'open:', then it puts the following character(s) within "<>"s. This …

Software Development c++ email open-source
Member Avatar for iam1sts
0
6K
Member Avatar for redean

If someone wanted to learn Visual Basic should they learnVisual Basic 6 or Visual Basic 2012. I prefer Visual Basic 6.

Software Development visual-basic
Member Avatar for Ancient Dragon
0
1K
Member Avatar for acepeda

Hey Guys! Im making a furniture company cost software using MS Access.I have two tables,Product and ProductMaterialDetails.What I want to do is when the user updates a material's price then the product automatically updates its TotalCost.For example if YellowChair uses a galon of Sealer at $5.00 and a galon of …

Software Development vb.net
Member Avatar for Reverend Jim
0
174
Member Avatar for Andrees92

I am working on a form which uses an Access (oledb) database, I have a button to update, and other to insert a new client, when I insert a new client it successfully adds it to the database, but I have to open and close the form to update it, …

Software Development vb.net
Member Avatar for Andrees92
0
3K
Member Avatar for bright.silva

i am a beginner in python and still got a whole lot to learn.i have this exercise that seem too difficult to crack. check it out and see if you can help. here is a simple data set1=["01","34","29","16"] set2=["45","88","19","17"] set3=["56","21","57","20"] set4=["29","42","89","08"] set5=["19","45","56","20"] set6=["85","56","33","78"] using the data above, write this program …

Software Development python
Member Avatar for bright.silva
0
272
Member Avatar for kay19

Well I initialize an array of 5000, along with using srand & rand numbers with a range. I want to Prompt the user to enter an integer to search (from the front of the array) & output the index location of the element found(-1 if not found). I attempted it, …

Software Development c++ display
Member Avatar for kay19
0
304
Member Avatar for KenSquare

I am an amateur programmer that helps build some solutions for my company. I have an application that I did not originally create, but I have done a lot of modification. I think it was originally built VB 2005 and converted to VB 2010 where I have done most of …

Software Development vb.net
Member Avatar for Ancient Dragon
0
625
Member Avatar for TIP.Synergy

Hello, I want to move a panel smoothly like a form. anybody can help me please? thanks ^_^

Software Development vb.net
Member Avatar for Start4me
0
5K
Member Avatar for varun mahawar

i am using cherrypy and i want the list itemes in new line like a=['abc','def','ghi'] abc def ghi in browser

Software Development python
Member Avatar for TrustyTony
0
117
Member Avatar for gmmorpheus

good pm.,.,i have a next button Try lblcat.Text = ds.Tables("evaluation").Rows(cat)("QuestionCategory") txt1.Text = ds.Tables("evaluation").Rows(CurrentRow)("Question") txt2.Text = ds.Tables("evaluation").Rows(CurrentRow + 1)("Question") txt3.Text = ds.Tables("evaluation").Rows(CurrentRow + 2)("Question") txt4.Text = ds.Tables("evaluation").Rows(CurrentRow + 3)("Question") txt5.Text = ds.Tables("evaluation").Rows(CurrentRow + 4)("Question") Catch ex As Exception End Try every click to the next button my category and questions change.,., …

Software Development microsoft microsoft-access vb.net
Member Avatar for Begginnerdev
0
260
Member Avatar for RwCC

Something that we normally have to do at one point is right click on a richtextbox etc to copy/paste. Now, we all know there are keyboard shortcuts but for the end user it is better to have this feature. Here is the basic code to allow you to add this …

Software Development
Member Avatar for hewllo56
0
2K
Member Avatar for nitin1

If i use macros as functions , then at compilation time , that macros will me be written as function code. so is it better than inline functions and then why don't we use macro always to write the functions as it will speed up our execution. so writing macro …

Software Development c
Member Avatar for sepp2k
0
178
Member Avatar for nitin1

Actually, I have a .csv file which has (userID,movieID,rating) seprated by commas. now, I have to read it and also make another .csv in the output. Can anyone tell me how to read a .csv file and take that data in integer (as userid , rating etc are integers). from …

Software Development c
Member Avatar for deceptikon
0
261
Member Avatar for FairyA

I get stuck for this one for 3-4 hours, try various sources but no help, would you please point out what is wrong with my code ? This is the first time I am using a pointer.This one is the error : "Segmentation fault (core dumped)" when compiling // Integer.cpp …

Software Development c++
Member Avatar for FairyA
0
189
Member Avatar for johnrosswrock

i am using the following code 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; namespace GIS_assignment { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } private void pictureBox1_Click(object sender, EventArgs …

Software Development
Member Avatar for ddanbe
0
128
Member Avatar for acaisan

Hye all. I need some help. Iam using vb.net 2010 and MS Acsess 2013. I have problem when retrieve multiple rows from database to datagridview. All rows have the same identification number(RFID Card No.).I want to record how many times the card had scan. Please help me here. Thanks for …

Software Development open-source vb.net
Member Avatar for Begginnerdev
0
416
Member Avatar for lena1990

hi all i want to create a pie chart but i get an excepion i will print the code and the exception i will be greatful for any help DefaultPieDataset pie1=new DefaultPieDataset(); pie1.setValue("Section 1", 46); pie1.setValue("Section 2", 56); pie1.setValue("Section 3", 43); pie1.setValue("Section 4", 11); JFreeChart chart=ChartFactory.createPieChart("Log ID chart", pie1, true, …

Software Development java
Member Avatar for lena1990
0
339
Member Avatar for wallet123

Hello! i need to filter the searched data in the database sql and display it on the table. But i keep on getting tis error: java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.charAt(Unknown Source) at app.SearchByKey.SearchStudentNumber.SearchStudentRecordReader(SearchStudentNumber.java:38) at app.ui.ListOfStudents.updateSearchTable(ListOfStudents.java:159) at app.ui.ListOfStudents$3.keyReleased(ListOfStudents.java:105) at java.awt.Component.processKeyEvent(Unknown Source) at javax.swing.JComponent.processKeyEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) …

Software Development java java-swing
Member Avatar for JamesCherrill
0
433
Member Avatar for Shigolala22

Please can tell me how to disable keyboard and mouse using vb6

Software Development visual-basic
Member Avatar for debasisdas
0
179
Member Avatar for java_programmer

I have a question - how mwmory is allocated when any data structure is declared? Suppose I have declared a list as follows - List<Integer> lst = new ArrayList<Integer>(); How many bytes will be allocated for that variable or initially no memory will be allocated? Memory will be allocated when …

Software Development data-structure java
Member Avatar for jessicarobort
0
248
Member Avatar for Ahmed.C

Is there a way to get online elements text and display that on to a form label or textbox or w.e? e.g. http://puu.sh/4xWQj.png in that how would i get "iTzSnD" to make it display in the form? same with any other webpage element? how can I get this done?

Software Development vb.net
Member Avatar for Ahmed.C
0
130
Member Avatar for faisal6621

I want to work on an antivirus software program. But, what should I know first to dig?

Software Development java virus-malware
Member Avatar for JamesCherrill
0
742
Member Avatar for J_SON

Heres the scenario : Ive got a struct to represent 5 client nodes in a system, the client nodes send packets to the server node every 2 seconds. A GUI is created to properly display values from the client. The problem im having is representing a client offline on the …

Software Development c# gui
Member Avatar for Ketsuekiame
0
1K
Member Avatar for iTechnnn

My assaigment was: Suppose we are working for an online service that provides a bulletin board for its users. We would like to give our users the option of filtering out profanity. Suppose we consider the words cat, dog and llama to be profane. Write a program that reads a …

Software Development java
Member Avatar for masijade
0
518
Member Avatar for andrew.mendonca.967

CSCI-15 Assignment #2, String processing. (60 points) Due 9/23/13 You MAY NOT use C++ string objects for anything in this program. Write a C++ program that reads lines of text from a file using the ifstream getline() method, tokenizes the lines into words ("tokens") using strtok(), and keeps statistics on …

Software Development c++
Member Avatar for andrew.mendonca.967
0
728
Member Avatar for bullet_1

I am using following code. It displays date and time for each file in log. But I want it to display only once sw.WriteLine("File Name {0}", file); sw.Write("\r\nLog Entry : "); sw.WriteLine("{0} {1}", DateTime.Now.ToLongTimeString(), DateTime.Now.ToLongDateString()); sw.WriteLine ("-------------------------------"); The output is Log File : File Name D:\DotNet\test\1.txt Log Entry : 12:47:05 …

Software Development file-system
Member Avatar for bullet_1
0
190
Member Avatar for romy_1
Member Avatar for MBBS

How to set opposite interval of timer control For Example: If timer interval is set to low that progress bar speed is slow If timer interval is high that progress bar speed is high.

Software Development visual-basic
Member Avatar for rishif2
0
314
Member Avatar for genetist

Hi to all PERL programmers, I have data like this with 6 columns LINES XY1 XY2 XY3 XY4 XY5 P1 Z/Z T/T -/- T/T T/T P2 A/A A/A G/G Z/Z T/T 1 G/G T/T G/G T/T G/G 2 T/T A/A C/C C/C T/T 3 T/T G/G T/T G/G T/T 4 …

Software Development perl
Member Avatar for 2teez
0
161
Member Avatar for Petranilla

Hi, Having some issues connecting to MS Access Database. I think its ot connecting to the database. Below are the source codes: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class DB extends DBDriver implements ActionListener { JFrame f; JLabel Fname = new JLabel("First Name: "); JLabel Lname = new JLabel("Last …

Software Development java java-swing
Member Avatar for Petranilla
0
346
Member Avatar for nitin1

I have a map like this : map<int,map<int,int> > m; in this, I can insert value like a 2-D array. like this, m[i][j]=3; so, now i want to iterate all the values in a particluar row of map. for ex. if m is like this : m["user-id"]["movie-id"], then i want …

Software Development c++
Member Avatar for NathanOliver
0
979
Member Avatar for Sallybaks

Suppose you save $100 each month into a savings account with the annual interes rate5%.So, the monthly interest rate is after the first month,the value in the account becomes 100*(1+0.00417)=100.4417 After the second month, the value in the account becomes (100+100.417)*(1+0.00417)=201.252 After the third month ,the valiue in the account …

Software Development c++ display
Member Avatar for Ancient Dragon
0
223
Member Avatar for vokselbama

how do I write a simple code for the following in visual basic 1 percentage (%) 2 sin , cos, tan

Software Development visual-basic
Member Avatar for ddanbe
0
77
Member Avatar for ben25x

Hey guys, I'm using OpenCV to get an image from my webcam and then run it through code. It's supposed to be live feed, and I got this code from an online tutorial (somewhat revised): #include <stdio.h> #include <stdlib.h> #include <opencv/cvaux.h> #include <opencv/highgui.h> //opencv libraries #include <opencv/cxcore.h> CvCapture* camCapture; //opencv …

Software Development c computer-vision webcam
Member Avatar for ben25x
0
384
Member Avatar for Jugottabe

Hey guys, noob programmer here. Over the last week or so we've been learning about classes and inheritance in my latest progamming class. I've recieved a variation of the ever so popular poker program and am having some problems putting it all together. I haven't had the opportunity to test …

Software Development algorithm c++ oop
Member Avatar for Jugottabe
0
390
Member Avatar for mark5rockzz_1

I'm afraid to ask this on SO because all I can get is down-vote so I ask it here.* ## **Question:** ## Does C/C++ compiler (e.g the popular "gcc") with OO concepts allocates/creates all data member if other data member are not in use? /************************************* * code for example: * …

Software Development c++ oop
Member Avatar for mark5rockzz_1
0
294
Member Avatar for saurav2007

# /*Given an array arr[] of n integers, construct a Product Array prod[] (of same size) such that prod[i] is equal to the product of all the elements of arr[] except arr[i]. My code is printing garbage value.Pls someone suggest me what is wrong and how can I correct it..Thank …

Software Development c
Member Avatar for parag29081973
0
233
Member Avatar for mdgowhar

#include<iostream> #include<fstream> #include<ctime> #include<cmath> using namespace std; clock_t start, end; double cpu_time_used; int main() { int m,i,j,n,k; double P[150][150], tou1, cx[8],cy[8], U[150][150],V[150][150]; double u,x[150],y[150],dt=1.0, T[150][150],S[150][150],t=0.0; cout<<"enter the units in X x Y"<<endl; cin>>m>>n; class pdf { public: float feq[150][150], f[150][150]; }; pdf f0, f1,f2,f3,f4,f5,f6,f7,f8; // For X for (i=0;i<=m;i++) { …

Software Development c++ pdf
Member Avatar for mdgowhar
0
177
Member Avatar for infatuate

Hey guys what I'm about to ask isn't for what I really need it for but learning how to use the rand() function in this manner will help me apply it to what I need it for. Lets say I wanted to ask the user for a random integer such …

Software Development c
Member Avatar for deceptikon
0
263
Member Avatar for mike89

I'm experiencing a few issues trying to install rpy2-2.3.7 under Cygwin64 on Windows7 using R 3.0.1 and python 2.7 $ python setup.py install finds R version to be 3.0.1 at the beginning of the install, but on line 158 it bombs out for failing to discover the R version. I …

Software Development microsoft python
Member Avatar for Gribouillis
0
439
Member Avatar for Louie_Rave

Hello everyone. I'm currently exploring Java's GUI and trying a lot of codes now. I found a game GUI source code on the net. This program uses images to properly run. I can run the program now but it only displays black screen. It already have the folder for the …

Software Development gui java
Member Avatar for Louie_Rave
0
256
Member Avatar for weeraa

I'm bit new to C#. I just want to change the start up form in my project. (This is a windows form application). There is a field named with STARTUP OBJECT and a dropdownlist in Project properties. But my problem is I have created few forms in my project and …

Software Development
Member Avatar for weeraa
0
246
Member Avatar for weeraa

I want to bind database value to combo box in C# windows form. I know this is a common problem for begginers. I search in the internet about this. Acoording to that I modified my code. But my problem is, it is not raised any error message and data not …

Software Development dataset
Member Avatar for weeraa
0
240
Member Avatar for weeraa

I want to change form1 textbox1 text from from2 variable. This is the flow. 1. Show form1 2. click button in form1 3. then show form2 (form1 do not hide. It is still visible) 4. click button in form2 (form2 has variable and it set to form1 text box and …

Software Development
Member Avatar for weeraa
0
293

The End.