132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
#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++ | |
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 | |
Im writing a software in vb but I need to know, is there any better library than OpenCV? Software Development vb.net | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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++ | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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.  it pick the Date,Invoice Number, Subject name, and create the … | |
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 | |
#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 | |
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 | |
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 = … | |
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 |
The End.