132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mian_4

i have two combobox and i have two database table in sql server 1st table name is Province and 2nd table name is City if i select province in my 1st combobox then show all cities against selected province show in the 2nd combobox when we click on combobox dropdown …

Software Development client-server html-css sql vb.net
Member Avatar for Mian_4
0
435
Member Avatar for weekendrockstar

All of my search attempts on here and the Internet at large have resulted in discussions on how to DISABLE parent form's while a particular child is open. But my project seems to be doing that itself just fine. I do not want it to and I am not sure …

Software Development user-interface vb.net
Member Avatar for weekendrockstar
0
321
Member Avatar for lewashby

#include <iostream> #include <stdlib.h> #include <cstring> #include <stack> using namespace std; #define MAX_CHARS 100 int main(int argc, char* argv[]) { char input_str[MAX_CHARS + 1], *p; stack<double> num_stack; int c; double a, b, n; cout << "Enter RPN string: "; cin.getline(input_str, MAX_CHARS); p = strtok(input_str, " "); while(p) { c = …

Software Development c++
Member Avatar for Suzie999
0
262
Member Avatar for can-mohan

Hi All, I am writing hash function (similar to multimap concept of c++ : duplicate keys are allowed) in order to check the anagrams. but i am not getting desired result . Could you suggest efficient solution for the same. output: key[148]:val[joy] key[174]:val[jam] key[294]:val[paula] key[13]:val[ulrich] key[174]:val[cat] key[174]:val[act] key[148]:val[yoj] key[265]:val[vij] key[265]:val[jiv] …

Software Development c
0
164
Member Avatar for altjen

Im writing a software in vb but I need to know, is there any better library than OpenCV?

Software Development vb.net
Member Avatar for altjen
0
98
Member Avatar for can-mohan

guys, I am implementing hash function in below code snippet but unfortunetly getting segmentation fault. Could you please help me to understand that what went wrong in this implementation. #include<stdio.h> #include<string.h> #include<stdlib.h> unsigned long hash(char** str ) { unsigned long hash_val = 5381; unsigned long sum=0; char* val ; int …

Software Development c
Member Avatar for can-mohan
0
394
Member Avatar for MrTheMonium

Hello VB Masters, Firstly, apologize if my question is in the wrong place :) I would like to create a loop that will copy a data from rows in the first sheet to the columns in the second sheet. The data in the Sheet1 looks as follows: A B C …

Software Development microsoft-office visual-basic
Member Avatar for Slavi
0
259
Member Avatar for jakson321

Instruction: You must use pointers for this lab. No arrays, no structures. For example, if you need an array of floats to hold the scores, do not use float score[15]. Rather use float *score, then use dynamic memory allocation to hold required memory. You must use memory optimally, that is …

Software Development c
Member Avatar for David W
0
1K
Member Avatar for hwoarang69

I am trying to connect access database with eclipse but it is not working. I first created data source in "ODBC Data Source Administrator(32-bits)" for windows than I add the jar file But I am getting an error: ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver SQLException: No suitable driver found for jdbc:odbc:J2EE_Database public class ex01 …

Software Development java
Member Avatar for ~s.o.s~
0
662
Member Avatar for Suzie999

Hi folks. I'm having a problem with VS2010 where suddenly one of my projects is displaying the warning "The referenced component 'System.Data.SQLite' could not be found". All i can find about it in my search is a problem with building both x86 and x64 applications, but my project is only …

Software Development sqlite
Member Avatar for Suzie999
0
272
Member Avatar for altjen

can someone please tell me how to fix this thing? Im loosing my mind here. in a form this code work well. in other it doesn't I create an other form, import everything again and it is not working! try{ int row = Data_Table1.getSelectedRow(); String Table_click1 =(Data_Table1.getModel().getValueAt(row, 0).toString()); String sql …

Software Development java
Member Avatar for stultuske
0
170
Member Avatar for Daniel_45

Create a class called RoomInfo: Need to have the following private variables for class: length (double) width (double) hasTV (bool) houseSize(static double) Need to have following functions for class: Constructors Properties for each variables calcRoomSize: this function calculate the room size and update the house size. Create a class called …

Software Development
Member Avatar for ddanbe
0
266
Member Avatar for Vansh_2

I am developing a server which detects a device and its connection speed . is there any way i can detect a client's connection speed through response headers ?? public class Server_X { static int count = 0; public static void main(String args[]) { Socket s = null; ServerSocket ss2 …

Software Development java
Member Avatar for Karan_8
0
540
Member Avatar for Papa_Don

Hi group, I'm attempting to create and write to an Excel spreadsheet with data from a text file. The code is meant to parse each line of the text and place the data into individual variables. I then need to place these variables into the appropriate cells on this newly …

Software Development microsoft-office vb.net
Member Avatar for Papa_Don
0
445
Member Avatar for waseem1345

Hello I have an old laptop which run most new games at around 40~60 fps at lowest settings.. I already have a key for Visual Studio 2012 Professional and thinking about Visual Studio 2015 Community.. Will Community 2015 run as fast as the other one? I'm only interested in WPF/Winforms …

Software Development visual-studio
Member Avatar for waseem1345
0
240
Member Avatar for Slavi

Hey guys, how is it going? I am wondering whether this my idea is possible to achieve .. I am looking at this search engine https://datacvr.virk.dk/data/ and it can take names,cvr number, address etc as input and return a facinating output. I think they are using elasticsearch to do all …

Software Development python seo
Member Avatar for Slavi
0
385
Member Avatar for hwoarang69

I am using Eclipse, java8 I am trying to connect access database with eclipse but it is not working. I first created data source in "ODBC Data Source Administrator(32-bits)" for windows and than I added the jar file (mysql-connector-java-5.1.35-bin) But I am getting an error: ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver at …

Software Development ide java
Member Avatar for hwoarang69
0
923
Member Avatar for Kate_2

Help pls. I need to make a program. A program that calculates an employee’s pay per week. Obtain from the user an hourly pay rate and the number of hours worked for the week. Calculate their pay for the week (no overtime, and no taxes).

Software Development java
Member Avatar for JamesCherrill
0
72
Member Avatar for jamesjohnson25

I have four files in c++ 1. BankAccount.h 2. BankDatabase.h 3. Main.cpp BankAccount.h #include <string> class BankAccount { public: BankAccount(int accNumber,const std::string& accName); void setAccNumber(const int accNumber); int getAccNumber() const; void setAccName(const std::string& clientName); std::string getAccName() const ; protected: int mAccNumber; std::string mAccName; }; BankAccount::BankAccount(const int accNumber, const std::string& accName):mAccNumber(accNumber),mAccName(accName){} …

Software Development c++
Member Avatar for David W
0
169
Member Avatar for Doogledude123

I'm curious, when setting the default close operation for JFrames, should you use JFrame's constants or WindowConstants' constants? As far as I can tell they're the same. Although, IntelliJ (not tested on other IDE's) prefers WindowConstants' EXIT_ON_CLOSE at least. So basically my question is, which one should be used? Which …

Software Development ide java
Member Avatar for JamesCherrill
0
397
Member Avatar for clife

Hi, I am using the below program to parse a file ,extarct values and store them into an array. Here i have same values repeated for example IP , so i need to take only instance of it but rest of data store accordingly. so the correct format is {IP …

Software Development c file-system
Member Avatar for David W
0
248
Member Avatar for jamesjohnson25

I have four files in c++ 1. BankAccount.h 2. BankDatabase.h 3. Main.cpp //BankAccount.h #include <string> class BankAccount { public: BankAccount(int accNumber,const std::string& accName); void setAccNumber(const int accNumber); int getAccNumber() const; void setAccName(const std::string& clientName); std::string getAccName() const ; protected: int mAccNumber; std::string mAccName; }; BankAccount::BankAccount(const int accNumber, const std::string& accName):mAccNumber(accNumber),mAccName(accName){} …

Software Development c++
Member Avatar for David W
0
590
Member Avatar for Aditya0025

hello..... i am new in the coding field..... and i understand the working of codes in java......but couldn't able to start.....i have to make a program of videoconferencing.....how to start coding on it.....

Software Development java
Member Avatar for jwenting
0
189
Member Avatar for Sumit_6

A sparse vector is a vector whose entries are almost all zero, like [1, 0, 0, 0, 0, 0, 0, 2, 0]. Storing all those zeros wastes memory and dictionaries are commonly used to keep track of just the nonzero entries. For example, the vector shown earlier can be represented …

Software Development python
Member Avatar for woooee
0
560
Member Avatar for Zeinab_1

Hi there, I have a file with unicode characters I used url decoder code below on a large file, but what is funny is that it doesn't decode some lines,but when I use the code on a file with just that line it decodes it correctly. import urllib.parse for lines …

Software Development python
Member Avatar for Zeinab_1
0
338
Member Avatar for can-mohan

Hi All, In below code snippet i am getting segmentation fault. Could you let me know what can be cause. usually we will face segmentation fault if auto_ptr is used due to ownershpt issue (Assignee pointer becomes NULL) but why i am facing the same issue with unique_ptr move semantics. …

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

someone please help me to solve this coding... Given 3 inputs - First input is previous reading, second input is current reading and last input is per unit charge , Write code to calculate the current bill. Reading Format - XXXXXAAAAA where XXXXX is consumer number and AAAAA is meter …

Software Development c
Member Avatar for David W
0
154
Member Avatar for Doogledude123

Is this try catch block enough to ensure the process ran successfully? protected boolean attemptLaunch() { try { System.out.println("Attempting to open '" + name + "'."); //Try to open the Process new ProcessBuilder(path).start(); return true; } catch (IOException e) { System.out.println("Opening failed. Will retry during next Iteration."); return false; } …

Software Development java programming-construct
Member Avatar for jwenting
0
288
Member Avatar for jey1234

I'm not a programmer. I am doing a project for Biology where I will be conducting an experiment on reaction times. Briefly, the subject should click anywhere on the screen as soon as a dot or circle (some graphic) appears on the screen. Details: 1. Program must start at a …

Software Development python
Member Avatar for Tcll
0
1K
Member Avatar for mike chibundi

Am coding a college council voting system for my school in netbeans and mysql saver. i have populated jtables containing cadidates (jtable1 for president, jtable2 for vice president etc) and i have put a jbutton so that after sellecting candidents of choice one from each jtable, you click the jbutton …

Software Development java mysql
Member Avatar for JamesCherrill
0
338
Member Avatar for Papa_Don

Hello Group, I'm attempting to create and write to an Excel file. I'm sure I've hit the first of many snags. Hopefully you can point me in the right direction. In this first attempt, I'm getting an error code: "Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))". The error is attached …

Software Development file-system microsoft-office vb.net
Member Avatar for Papa_Don
0
1K
Member Avatar for crazy_neha

hello, i am neha currently and 2 nd year It student required to do a mini project using vb as frontend and sql as backend i liked the idea of student database project can someone help me with its coding and gui screens plz its urgent only 2 weeks to …

Software Development gui visual-basic
Member Avatar for vincent diobi
0
1K
Member Avatar for Jagdeep_1

I am using eclipse 4.4 luna, where i created the web application project as my project is to be deployed on app engine. So when i try to run the project, there is no 'run on server' option to run the project on Tomcat. Please help me, am stuck on …

Software Development client-server java web-server
Member Avatar for Jagdeep_1
0
267
Member Avatar for Christopher_12

hi i'm struggling to read data from database i created a table with 5 rows as for Login form username and password i would like to have access to forms when i enter password and username of department 1 it shows department 1 but when i enter password and username …

Software Development client-server cybersecurity sql vb.net
Member Avatar for Hardz
0
1K
Member Avatar for dimitris.dimitri.73

Dear forum members, i a m trying to export the contents of datagrid to excel but i am facing errors.After searching i have seen that the problems occurs because one of my columns is of type TIME and taht is why i am getting the error : Object reference not …

Software Development microsoft-office vb.net
Member Avatar for dimitris.dimitri.73
0
236
Member Avatar for Slass33

I'm doing a multi-line string saved to the variable str: str = """ This is a multiline string """ When I `print str` it works fine. But if I print a different multiline string: ` str = """ This is a multiline string """ print str # Works Fine str_2 …

Software Development python
Member Avatar for megaflo
0
186
Member Avatar for Rogel_1

Hi guys! I'm getting frustrated with my code because my filter in my query is not working. All of the item_model in my receiving_details table were being suggested in auto complete but as you can see in my query that I'm filtering item model with a certain form_no. Please help …

Software Development dataset sql vb.net
Member Avatar for Teme64
0
198
Member Avatar for 47pirates

I'm trying to give access to client computer from my server and also tryin to revoke the granted access... the grant is successful but the revoking is not working please help. hms is the satabase that i want to give access to my clients.. my code try { Connection con …

Software Development java java-swing microsoft-access
Member Avatar for stultuske
0
1K
Member Avatar for Niloofar24

Hello. This is my code: from bs4 import BeautifulSoup import urllib2 url = urllib2.urlopen('http://www.website_address.com') soup = BeautifulSoup(url) images = soup.find_all('img') Now how can I get the "src" of img tags?

Software Development python
Member Avatar for Gribouillis
0
17K
Member Avatar for basit_3

hello guys please help me , i make a project of window form appliction , but work well on my own pc , but if i copy full project and run on other computer it not work. Any body knows the solution of this . please tell me , iam …

Software Development vb.net
Member Avatar for zelrick
0
388
Member Avatar for Jane Colleen

Can somebody please tell me what im doing wrong, I know its the initVirtualHeap but i dont know why. The program just crashes. #include<stdio.h> #include<conio.h> #include<stdlib.h> #define MAX 10 typedef struct{ char elem; int next; }vArray; typedef struct{ vArray *nodes; int avail; }virtualHeap; typedef int List; void initList(virtualHeap *); int …

Software Development c
Member Avatar for Moschops
0
248
Member Avatar for altjen

Recently Im trying to make a software who can detect multiple faces in the some time. but not only faces. Eyes, Nose, mouth. saw some vids in youtube but they show no code or how to do it, more the finished project. What Im currently trying to do is, the …

Software Development vb.net
Member Avatar for altjen
0
494
Member Avatar for DragonMastur

It could be simplifide more, I know. I was doing it as an exersise so its rough and skecthy. But it's workable, I tested it more then 50 times.

Software Development python
Member Avatar for Slass33
0
532
Member Avatar for Jack_9

Hello! I'm a twelve year old programmer (and no i'm not using scratch in science class) i've taught myself over 6 programming languages and I was wondering if I'm too young to be programming but I don't think so because it dosen't matter how old you are you can change …

Software Development
Member Avatar for Rasmo75
0
179
Member Avatar for altjen

Im using NetBeans to create a data entry software for a friend. when I save a data, it create a folder in specified location, and the name of that folder will be different from each other for example. ![1.JPG](/attachments/large/4/e1b8ccbadaaab2f4ef21954288e53b40.JPG "align-center") it pick the Date,Invoice Number, Subject name, and create the …

Software Development java sqlite
Member Avatar for altjen
0
274
Member Avatar for overwraith

So I just got an entry level job at a company, and I have been given a business application to tweak and improve. I have a senior, and more experienced programmer overseeing me, but I have found what I consider to be a bad practice in the company application. I …

Software Development visual-studio
Member Avatar for gusano79
0
162
Member Avatar for misgee2001

#I'm begginer for python. I want a program which accept search phrase as raw_input and print search phrase with which document it exists in and line number of the document (file). for example, search phrase is found in file name at line 6. but my program displays 0 and 0 …

Software Development python
Member Avatar for megaflo
0
130
Member Avatar for Mike Askew

Using code from StackOverflow: HttpWebRequest webRequest; void StartWebRequest() { webRequest.BeginGetResponse(new AsyncCallback(FinishWebRequest), null); } void FinishWebRequest(IAsyncResult result) { webRequest.EndGetResponse(result); } How do you access the response to the request?

Software Development
Member Avatar for Mike Askew
0
113
Member Avatar for Slass33

I created a hangman game but it isn't working. The code is here: import random import sys from string import whitespace uy = 'jrekghqegherwgbeuihrweig' choice = 'bhekvvvvvfaktgrwekubfhdbvbvdvbd' z = 'bqhjrfqfbrqkqbg' s = 'ksl' s_space = 'bhks' a4a = 'euwitrigqobehdbfbdjgks' a5a = 'jbfbqwkgnkwqnjg sdn n nmsdafbdjnfbfhskbkjsahjdbhak' a6a = 'qwertyuvdbgshnvdgshgfydss' a7a = …

Software Development apple python
Member Avatar for Gribouillis
0
307
Member Avatar for gbhs

Hi to all vb.net community! In my application,the user may be required to install SQLExpress2008WT. The User Interface is as attached. The following steps are performed. a) Browse button browses the .exe file path (via a file dialog) and displays it. b) The Installation button does what it says, in …

Software Development user-interface vb.net windows-vista
Member Avatar for Reverend Jim
0
480

The End.