132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NurieDavis

Hi,I am very new to VB.NET and I need help with issue that I have. I have to make Last and First navigation buttons but I can't figure out the what to write. Here is my code: Imports System.Data.OleDb Public Class Form1 Dim provider As String Dim dataFile As String …

Software Development open-source vb.net
Member Avatar for hericles
0
309
Member Avatar for DigitalPackrat

I searched a lot but there seems to be no way to have additional color schemes in Dev C++. The existing ones are way too bland. Also, I am no good at colors, yet, it feels as if I don't have the control to choose enough colors in the Editor …

Software Development c++
Member Avatar for Gabriel_8
0
4K
Member Avatar for Toby14

I have been trying to see what I did wrong in my code, but I counldn't find out. This is my second java program after the "Hello World". Could anyone help me to find out why I did not get the right answer for this. For example, if we enter …

Software Development java
Member Avatar for Toby14
0
143
Member Avatar for jakub.peciak

Hi, I have an app that displays specific folder file content in Window Forms and all this works fine. Problem is when I need to scan folder content again (it is read every 10 seconds), then I have "Not Responding" message if there is a lot of files to read. …

Software Development vb.net
Member Avatar for Reverend Jim
0
212
Member Avatar for Proctor

Hello: this is my first window app in .net and have been assigned to create a form that contains a datagridview. I decided to leave it unbound, because I need it to populate in a slightly unconventional way. I also created each column and set them as drop-downs in the …

Software Development dataset microsoft-access vb.net
Member Avatar for Senthil Nellai
0
5K
Member Avatar for Vinolia

hi.i realy need help am a new beginner in java.so i have been trying to do a code in java that returns the largest counter,refering to my libraries.so i was trying to invoke the method comparTo,so i dont know how to use it to compare all counter arrays so that …

Software Development java
Member Avatar for JamesCherrill
0
252
Member Avatar for fugio

Hello my tables have a column type varchar(5) value = 10100 on a form I created five checkbox control corresponding to the value in column if the value =1 checkbox= true and vice versa, the value = 0 checkbox = false how I can upload the data forms correctly by …

Software Development vb.net
Member Avatar for Reverend Jim
0
150
Member Avatar for Jun_2

Hi! I am trying to upload files (.docx, .pptx, .pdf) to an online MySQL database and later be able to save/download it locally to my pc. I am trying to develop a software that could do this particular task using VB.NET and MySql. I have a tbl_proposals with fields: - …

Software Development mysql pdf vb.net
Member Avatar for Teme64
0
453
Member Avatar for James_43

Does anyone know if it's possible to intercept the button presses off a presentation remote, just like we are able to listen for keyboard strokes? In this case, the buttons on the remote don't appear to be linked to a keyboard button.

Software Development
Member Avatar for James_43
0
122
Member Avatar for James_43

Hi there, I have two WPF windows. The first (Window1) has a timer that moves an item down a list, then passes the new current selection to a global variable I defined in App.xaml.cs Window 2 then has another timer that is set to .1 of a second after the …

Software Development
Member Avatar for James_43
0
268
Member Avatar for Tanner_1

My code is getting a small error that is refusing to let me entire code compile. Take a look. //THIS IS ASSIGNMENT 4, MAIN METHOD import java.io.*; //to use InputStreamReader and BufferedReader import java.util.*; public class Assignment4 { public static void main (String[] args) { // local variables, can be …

Software Development java
Member Avatar for JamesCherrill
0
262
Member Avatar for boomtifier

i need samples on calculating average the average of "C Program=50" "Html5=70" "DreamWaver=70" "SQL Server=80"

Software Development c ide sql
Member Avatar for ddanbe
0
206
Member Avatar for Ahmed_62

#include <iostream> using namespace std; //Write a recursive algorithm to solve the towers of Hanoi problem. //move disc 1 A to c ACB //move disc 2 A to b ABC //move disc 1 C to b CBA //move disc 3 A to c ACB //move disc 1 B to a …

Software Development algorithm c++
Member Avatar for Ahmed_62
0
179
Member Avatar for altjen

Im trying to create a dll file where to import in a sub a webbrowser who will open www.youtube.com when form load. I can make this in the software code. but I want to import it in a dll file. Im having troubles with that. I need urgent help

Software Development vb.net
Member Avatar for altjen
0
170
Member Avatar for sirlink99

Hello All. I am having 2 problems here with my code. I will start off with the video code first. The video code should capture 20 seconds of the screen at 50fps, however, when I generate it, it generates a 1 minute 7 second video, and I am not sure …

Software Development audio java video
Member Avatar for sirlink99
0
1K
Member Avatar for hwoarang69

I have a file with ints like this. 1 2 3 4 5 6 How to read first int from file? How to read second int from file? How to skip first line and but rest in 2d array? This is what I have so far. I am not sure …

Software Development file-system java
Member Avatar for Stefce
0
222
Member Avatar for EarhawkPH

I'm doing a quiz game using netbeans. I've already done the randomization of questions. The problem is, how do i keep a question from repeating itself? ex: chose correct answer --> questionrandomizer comes in --> next question appears but it's the same question earlier here's my code: package kiddiequiz.scienceforms; import …

Software Development java java-netbeans java-swing oracle
Member Avatar for Stefce
0
268
Member Avatar for Erald

No ERRORS query is executed perfectly but no data stored what could be wrong? my database is employee with id, first_name, middle_name, last_name fields id is auto number the rest is short text I'm using ms access. Imports System.Data.OleDb Public Class AccountReg Dim dbProvider As String Dim dbSource As String …

Software Development microsoft-access open-source vb.net
Member Avatar for Erald
0
167
Member Avatar for SaJiN_1

Hi, I have a tree view in which there are two child nodes with parentID 0 and a main node with no ID. Root Node 0--> Child 1 ------1--> SubChilds ------------3--->SubChild1 ------1--> Subchilds 0--> Child 2 ------2--> SubChilds ------2--> SubChilds The tree structure is as above. The problem is that …

Software Development
Member Avatar for SaJiN_1
0
184
Member Avatar for thaha01

hi i want to show images in datagrid here i m having database.. in that i was stored image path.. so I was retrieved database path values and i want to show those images in datagrid how to do this in windows application using c#.. need ur suggestions regards thaha …

Software Development
Member Avatar for davidsaini
0
708
Member Avatar for anumash

Hi, I was learning operator overloading and I noticed a very strange thing. I could access the private variable of another object by using the object reference and the . operator. Both the objects belong to the same class and I can alter the value of a private variable of …

Software Development c++
Member Avatar for anumash
0
270
Member Avatar for lost_scotsman

I am using Tkinter to make a gui to display the output from a usb camera. It is for a microscopy experiment with the idea being that the gui shows a low resolution live stream, but at the click of a button a high resolution image is taken. I have …

Software Development file-stream gui pdf python tkinter webcam
Member Avatar for Brandon Hatch
0
2K
Member Avatar for salesman91

hi this is my code and I am trying to write a simple code to generate total and grand total. I have **id,name,quantity,price,total,grand total** 'total' works perfectly,but I am having problem getting GT to work. here is the code.... the error I am getting is "Input string was not in …

Software Development
Member Avatar for hdojms
0
251
Member Avatar for Vijay_1

Hi Geeks, I have developed an Invoice application with stock maintenance using access database and vb 2005. Everything is fine in the part of transaction wise other reports and all. But I am unable to derive the stock statement and I doesn't know how to derive the stock statement. I …

Software Development apple vb.net
Member Avatar for Vijay_1
0
346
Member Avatar for zelrick

Hello C++ Programmers; I would like to ask about running multiple text file; this text file don't have specific name; This one folder (Text Folder) have only text file (no specific counts); if there is other file like .xlsx or .jpeg or .bat or .etc. will be ignored; once I …

Software Development c++ file-system
Member Avatar for richieking
0
296
Member Avatar for mjayyy

I have to display the mortgage payment amount and then list the loan balance and interest paid for each payment over the term of the loan but my output isn't changing. import java.text.DecimalFormat; import javax.swing.JOptionPane; public class MortgagePmt { public static void main(String[] args) { int term; //Term in years …

Software Development java java-swing
Member Avatar for mjayyy
0
1K
Member Avatar for samantha2015

My entity class: @Entity @Table(catalog = "emp", name = "person") @XmlAccessorType(XmlAccessType.FIELD) public class Person implements Serializable { private static final long serialVersionUID = 1L; /** */ @Column(name = "ID", nullable = false,length = 50) @Basic(fetch = FetchType.EAGER) @Id @XmlElement String id; /** */ @Column(name = "ADDRESS", length = 50) @Basic(fetch …

Software Development java mysql
Member Avatar for jwenting
0
679
Member Avatar for Maegen

I am working on a program with the following requirements: Write a program to calculate the average of all scores entered between 0 and 100. Use a sentinel-controlled loop variable to terminate the loop. After values are entered and the average calculated, test the average to determine whether an A, …

Software Development
Member Avatar for ddanbe
0
1K
Member Avatar for k_manimuthu

Hi All, I am trying to write perl code for extract 'C' user defined function from 'diff' format file. I am using the below keyword to identify the function 'starting pharse' (return value). I am not familar about 'C'. Please suggest some addtion return type which missing from the below …

Software Development c perl
Member Avatar for rubberman
0
316
Member Avatar for divinity02

hi I am trying to build this game. what i have been trying to build for a long time now. it is a multiplication java game that need random numbers to generate it goes like this difficulty level-easy: this difficulty level easy has 3 rounds. the student must be tested …

Software Development java
Member Avatar for divinity02
0
423
Member Avatar for mimic03

I created a 2D array and filled it with random values from 0 to 100 and now i'm trying to find the average and maximum number of all the value inside it. But i'm having serious problems understanding the problem with my functions and how to connect them in the …

Software Development c
Member Avatar for Moschops
0
315
Member Avatar for john_93

I keep getting this annoying error followed by a really long message when trying to retrieve and match data from database, here is the code try { string connection = @"Provider=Microsoft.ACE.OLEDB.12.0;" + @"Data Source=c:\Users\PC\Documents\Visual Studio 2013\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Main database.accdb"; string Query = "SELECT * FROM [Firebird m0 Damage] WHERE textBox15= '" + …

Software Development open-source visual-studio
Member Avatar for JOSheaIV
0
184
Member Avatar for foehner

Does anyone use FreeImage with VB6?? I have used this combination quite a bit over the years, but am stuck on something that I can't get working. I want to open a jpg image, rotate it by 30 degrees (or whatever) and then paste the resulting image onto another image. …

Software Development visual-basic
Member Avatar for kvito2003
0
994
Member Avatar for newcoder310

I have a class where there are a few `static final String` variables that have few values that repesent color values. The class is basically used to get the color values. Is it better to convert this to enum? public class Color{ public static final String GRAY50 = "#808080"; public …

Software Development java
Member Avatar for newcoder310
0
232
Member Avatar for divinity02

hi I am getting this an java.lang.array index out of bound exception: 2 error - I am wondering if this is where am getting it. look it over many times, and I know you all are tired of me but am learning. I like the array but it can be …

Software Development java
Member Avatar for newcoder310
0
273
Member Avatar for toneranger

Hi, I'm wondering what could cause this type of runtime error: My program basically reads data from different kinds of data files, either a minute data file or a 5 minute data file and then does some analysis. When I run the program on the 1 min data, no problem. …

Software Development c++ file-system
Member Avatar for David W
0
307
Member Avatar for cambalinho

see my MemoryDc and BitmapDC class's: class MemoryDC { private: HDC memoryDC; public: MemoryDC () { HDC hdc=GetDC(GetDesktopWindow()); memoryDC=CreateCompatibleDC(hdc); ReleaseDC(GetDesktopWindow(),hdc); } operator HDC() const { return memoryDC; } ~MemoryDC () { DeleteDC(memoryDC); } }; class BitmapDC { private: MemoryDC hdcbitmap; HGDIOBJ bitmapold; HBITMAP bitmapcurrent; int intwidth; int intheight; void init(int …

Software Development c++ image
Member Avatar for triumphost
0
661
Member Avatar for Brandon Hatch

I have a problem with a project i'm working on, and I was wondering if it was possible to do what i'm thinking. Basically I have a simple mathematical GUI. I want it to take 2 inputs multiply them and output the answer. I am doing this all through the …

Software Development gui java java-swing user-interface
Member Avatar for Brandon Hatch
0
235
Member Avatar for James_43

Could someone please explain to me the purpose or reasons for using Dispatcher.Invoke? I am getting the error: *The calling thread cannot access this object because a different thread owns it. * and a quick Google search suggested that was due to not using Dispatcher.Invoke (they also said it was …

Software Development
Member Avatar for JOSheaIV
0
142
Member Avatar for James_43

Hi there, I've created a new C# WPF project. The first MainWindow displays a listbox of images within a folder and displays them inside a larger image object. I am trying to get Window1 to open a fullscreen version of the selected image, that changes depending on what image is …

Software Development open-source
Member Avatar for JOSheaIV
0
329
Member Avatar for mbowenitj

Hi everyone, I need help in selecting between date ranges. I have two dateTimepicker and want to retrieve only records selected between selected dateTimepicker.I tried but im getting all records. I'm using SQL server database. Here is my code: selectQuery = "SELECT * FROM EmployeeRegistration WHERE EmpJoinDate BETWEEN '" & …

Software Development sql vb.net
Member Avatar for Reverend Jim
0
178
Member Avatar for Erald

Im making a simple login form for my project and I faced this annoying database connection problem. The problem is I can't connect to "MSACCESS2013" it directs me to my errorhandler but I'm pretty sure my datasource is correct. I already created a datasource and I'm using its connection string. …

Member Avatar for Erald
0
2K
Member Avatar for chubbyy.putto

Hello There, Can I someone explain this problem. I dont understand what mean. I have read over and over i still dont get it. Assume you need an application that operates on two kinds of data types D1 and D2. Both D1 and D2 need to be defined with typedef. …

Software Development c operating-system
Member Avatar for chubbyy.putto
0
164
Member Avatar for notcloud

Hi. I'm currently developing a very simple standalone terminal EPOS software in VB6, as all the off the shelf products are way too complicated for the single shop its required for, but they want it barcoded to make it easier for them. Currently I'm stumped by one huge bit. It …

Software Development visual-basic
Member Avatar for notcloud
0
88
Member Avatar for zelrick

Hi everyone; I got no idea how to start this and if it is possible; I have a text file (.txt) that have lot of lines and I want it to transfer it in Excel (.xlsx / CSV) But not all will be transfer in excel, only a specific number …

Software Development c++ file-system microsoft-office
Member Avatar for zelrick
0
2K
Member Avatar for Mahnoor_1

I know coding in c++ pretty much ..but I want to learn graphics .. I am using DEV-C++ 5.11 .. Can anyone tell me online link to graphics site?

Software Development c++
Member Avatar for dilantha.prasanjith.96
0
135
Member Avatar for altjen

I want to make a youtube downloader software but not with the help of any other kind of webpage

Software Development vb.net
Member Avatar for rproffitt
0
155
Member Avatar for Joe_10

I have a C# table that displays sql database. It has the Id,Name and Location as fields.When the program runs it shows the name place for both name and location. here is the code public static void AddPat(string id,string name, string location) { string insStmt = "INSERT INTO PATIENT (Id,Name,Loation) …

Software Development sql
Member Avatar for Joe_10
0
178
Member Avatar for JOSheaIV

Alright everyone, I am at a lost here. I am working with log4net at my work, and have come to learn log4net can pipe its data to a telnet stream. I have setup the config for the log4net like so <appender name="RollingTelnetAppender" type="log4net.Appender.telnetappender"> <port value="1200" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date …

Software Development file-stream session
Member Avatar for JOSheaIV
0
516
Member Avatar for nashmug

a) Write a loop to print all numbers from 1 to 100, one per line, Write a blank line after every five lines. [10]

Software Development c c# c++
Member Avatar for VatooVatoo
0
131

The End.