64,152 Solved Topics
Remove Filter ![]() | |
How can this be implemented on a web page? using c# and clicking a calander which will go to a booking form from each day and how to add database to this? using visuals tudios 2008, using For example a doctors practice. | |
I need someone to assist in finding out the error in this or correct the codes. I want the codes to give me years in the publicationdate from my DB. However, though I am getting the years, I am getting a particular year repeated. If I put journals in for … ![]() | |
Hi, All, Sample Table Job_ID Job_Name Status 1 TEST00001 FOR KE 2 TEST00002 FOR KE 3 TEST00003 FOR KE 4 TEST00004 FOR KE 5 TEST00005 FOR KE I have sql query that will get a jobname where status is equal to 'FOR KE' and I have multiple users that will … | |
Hello Friends....One more doubt... I have a connection module in which I have written the open and close database connection.... if database connection is an error it will return false else if success it will return true the function of the modules will be called from the form code.... what … | |
Simple Sound Player Goal The goal of this assignment is to implement a simple sound player. The application has been partially implemented, and you need to complete the missing bits. When you open the project, you will see the class structure depicted below. Three of the classes are fully implemented … | |
hi.. Im a beginner in visual basic 2010 im making my first project i created form3 for the search function so i created 2 checkbox to give the user the choice to choose to search by name or by date or by both of them and i created a button … | |
HI All, I have three tables tbl_category, tbl_subcategory, tbl_product . where categoryid is foreign key in subcategory table and subcategoryid is foreign key in prduct table. I want to show category and subcategory on home page menubar. I just reach upto display category on menubar but not able to get … | |
Hi, DaniWeb members, Recently i've been developing a progam that will read in a player database that is stored in plain text if the folling format name ,age,score,date played So far i have managed to read in the file and caculate the number of players in the database by Do … | |
Is there a way to use Order by RAND() for a query so that it returns a list of results and guarantees that adjacent values will be at least 'x' from each other, on either side? The results are all numbers, no strings. So if it returns 5 results r1 … | |
hi its me again, same program new problem... been working on this all day and i just cannot get it to work. #define INVENTORY_H #include <iostream> #include <iomanip> #include <string> #include <istream> #include <fstream> #include <vector> #include <ctime> using namespace std; class Inventory { private: static const char *Error[]; static … | |
I have div. <div>This is text in div1.</div> How do i get the text written in div to variable in javascript ?? | |
I'm writing a script to populate a list with the last 5 albums frm a list of what's about to play. My query works in terms of retrieving the values, but the list populates with a set of parens and an extra comma added to each returned value. Any ideas … | |
hi i want to get values from multiples tables in sql. i want to those values put in datatable. how can i put values from multiple table in datatable then return the datatable in Asp.net using c# how its possible....thanks in advance.... | |
![]() | **Hello folks!** i am using DEV C++ to code now i am working at a game in console and i have a problem with the *_setcursortype(_NOCURSOR);* function i set it but the cursor is still like *_NORMALCURSOR* in Turbo C works perfectly in DEV not ( i tried to set … ![]() |
Hey, I am having some difficulty drawing my lines correctly using flash.Box2D. The fault isnt with box2D, rather with my math. I attached a swf with the basic engine as well as some angles drawn on it. Why doesnt the lines want to draw correctly for anything greater than +-40 … | |
so i made this code that asks the user about corporate's data(division's name, sales, etc) #include <iostream> #include <string> #include <fstream> using namespace std; const int SIZE = 4; struct Division { string name; string quarter[SIZE]; double sales[SIZE]; }; void getData(Division []); int main() { Division corp[SIZE]; for(int count = … | |
How can I take the below array and make it an in-line array? // Store user-data in array $USER = array(); // first user info $USER[1] = "username"; $USER[1] = "password"; $USER[1] = "rank"; $USER[1] = "session id"; // second user info $USER[2] = "username"; $USER[2] = "password"; $USER[2] = … | |
**How am I going to split a line of strings ang put it into an array if the strings are arranged into columns, just like the attached file then compare the first column with user's input..? ** | |
1.Create class IntegerSet. Each IntegerSet object can hold integers in the range 0-100. The set is represented by an array of bools. Array element a[ i ] is true if integer i is in the set. Array element a[ j ] is false if integer j is not in the … | |
ok now lets say we have this code import hashlib,itertools,string m=hashlib.md5() s=string.printable it=itertools.product(s,repeat=1) for i in it: ij="".join(i) m.update(ij) print ij+" "+m.hexdigest() >> 0 cfcd208495d565ef66e7dff9f98764da 1 96a3be3cf272e017046d1b2674a52bd3 2 d2490f048dc3b77a457e3e450ab4eb38 3 eb62f6b9306db575c2d596b1279627a4 4 4100c4d44da9177247e44a5fc1546778 5 d6a9a933c8aafc51e55ac0662b6e4d4a 6 124bd1296bec0d9d93c7b52a71ad8d5b 7 2e9ec317e197819358fbc43afca7d837 8 22975d8a5ed1b91445f6c55ac121505b 9 781e5e245d69b566979b86e28d23f2c7 a 343817fa02440513ce03e9d1f1e44dc7 b b60c52bf4849067f0b57c8bd30985466 c 2d31d97199fb287d6fcb4f82ebd1b3f2 d … | |
hey all I've searched all over the web and i didn't get a solution! what should i do to take the text from the 'urlT' line edit? is there another way? Nameerror "global name 'self' is not defined" whats wrong with it? [CODE] from PyQt4 import QtCore, QtGui class Ui_MainWindow(object): … | |
I'm getting an error as i'm trying to create a login page which will allow users to be directed to the right page. e.g a student will be directed to the student page and the staff will be directed to the staff page but i don't know whats wrong with … | |
hello my project is web discussion forum..i want to get some values of topic table and some values of user table. in topic table have user id field how can i get user name againts user id. user table have user id field thanks in advance .... | |
Hello ladies and gents, Was wondering if any of you could help me out, how can I count the amount of numbers(digits) there are in one integer, for example: int integer = 123; integer has three digits. int secInteger = 10; secInteger has two digits. The reason for asking is, … | |
Guys please give a simple code (specific syntax) on how can I integrate a jquery in my PHP site using codeigniter. and what configuration should be made in my other php files to make it work. I also cannot display any image in my php files inside the views folder, … | |
I'm just wondering if the below is true? I pulled this from another forum. Does this mean that a application using qt4 can be built and used in a bank without getting permission or paying fees for it's use? *The Framework is freely available for Windows, Linux, MacOS X, and … | |
Hi, I am trying to check if the username entered by the user in the textbox exists in the Access database I am using. For some reason, I am unable to get this correct. My code is as follows: Protected Sub btnRegister_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles … | |
Hello guys, I need help with the Robot class in Java. I am trying to excute a couple of keystrokes using an array so it will be less repetitive typing in the keyPress method. Here is the code: import java.awt.AWTException; import java.awt.Robot; import java.awt.event.KeyEvent; import java.io.IOException; public class RobotExp { … | |
Hi, I would like to the code below to search the contents of file1 in file2 and then output results arranged according to file1 contents. At the moment the code outputs are according to the order of elemnts in file2. I need some help to get this code working as … | |
Hi ive got a problem and im not sure how to do this one :( Im currently working on a dll and wondering on how something would work ? Public Sub CtsItemsTooltipText**(ByVal MyCustomItemsTooltipString As String)** ** MyCustomColumnsTooltipString = "This will display the Columns section for a Custom database" & vbNewLine … | |
Hi, Recently I retrieved code of my project EXE file. And it was almost same with 100s of errors. So my question is Is career in .NET is safe? And is our code safe? Can this be done with other languages? | |
I was following [this tutorial](http://www.swiftless.com/tutorials/opengl4/1-opengl-window.html) for my first attempt at OpenGL. All I'm doing is initializing an empty window. His VS 2010 code is [here](http://www.swiftless.com/?download=1%20-%20OpenGL3%20-%20Window). Using Dev-C++ as my IDE on Windows 7, and MS SDK 7.1, I get this error: [Linker error] undefined reference to `_imp____wglewCreateContextAttribsARB' ld returned 1 … | |
hi, i have this problem about reading the file's content from the back Write a program that asks the user for the name of a file. The program should display the last 10 lines of the file on the screen (the tail of the file). If the file has fewer … | |
Currently I am working on a project regarding C# and SQL and I have a problem regarding the SELECT function and I cannot find any solutions on-line. The scenario is regard searching query from C# through SQL server and display the results in a Data Grid View at C#. I'm … | |
I started with curl and now I'm able to post form data, obtain html pages and all that basic stuff. But I'm unable to analyse individual data in the obtained webpage. Like filtering all the images, videos and things like that. I can do that in Javascript, but that can … | |
What i need to do is parse an integer to a "library" of co-ordinates. This integer allows for a random co-ordinate to be chosen. The "Library" i mentioned is shown below Public Function Hit(ByVal rnd As Integer) Select Case rnd case 0 return "(0,0)" case 1 return "(0,1)" End Select … | |
I'd like to say "hello" to everyone as it is my first post. I looked for the solution to my problem on the internet for over 2 hours and I didn't find anything relevant. I hope you are able to help me. I have a bunch of invoices written in … | |
public String getCurrentDay() { if(day.getValue() == 0) { return "Sunday"; } if(day.getValue() == 1) { return "Monday"; } if(day.getValue() == 2) { return "Tuesday"; } if(day.getValue() == 3) { return "Wednesday"; } if(day.getValue() == 4) { return "Thursday"; } if(day.getValue() == 5) { return "Friday"; } if(day.getValue() == 6) { … | |
Here's my dilemma: I am creating a histogram through matplotlib and saving it in the same folder I'm running. There are a few image files that I can save it as, none of them being bitmap. So I'm trying to convert the image to bitmap. I've looked at WxImage and … | |
Hi, i want to start developing app for the andriod paltform and i want to know how to start. i have knowlegded in C#. | |
Hi everybody, I've got a code which returns to a given text an inverse index. From a list of tokens, the function produces a list sorted by the frequency. Example: inverted_index(['the', 'house', ',', 'the', 'beer']) [('the', [0, 3]), ('beer', [4]), ('house', [1]), (',', [2])] Code: def outp(txt): ind = {} … | |
Hello all, I have an application in which I have put a datagrid with update and delete buttons. What I want is when I change the contents of the columns and click on update button, it should update that particular cell value into the database. My xaml code is as … | |
I am trying to determine the backcolor of a textbox and have an event happen. I've been using: "If txtbox.backcolor = System.Drawing.Color.Red Then End if" But this dont work. Can somone help me? ml | |
Hi, I have a complete ms access system build(tables, forms, reports, query). I am in the process of using vb to re-create the system. I managed to show every fields on my vb forms without any coding. However I have some wrong information in my combo boxes. For example I … | |
my_funcs.c: int x = 0; FILE *stockIngredientes = fopen( "C:/Dropbox/Work/ISEC/P/ingredientes.txt", "r+" ); while( fgets( tmp, 100, stockIngredientes ) != NULL ){ ingredientes[x].nome = strtok( tmp, ":" ); ingredientes[x].identificadorNum = strtok( NULL, ":" ); ingredientes[x].quantStock = strtok( NULL, ":" ); ingredientes[x].limMin = strtok( NULL, ":" ); ingredientes[x].consumoMed = strtok( NULL, ":" … | |
This is the program to print all possible combination of the string. It was orginally written in C++. Now i'm trying to write it in C but stuck with this problem of strings and pointers + some warnings. INPUT is taken from argument, which is "const **char" . I tried … | |
A script I am writing on works on the DVD present in the drive at time of script execution. I want to extract merely the label of whatever appears after '/media/'; ./script.sh /media/DVDRW-43/ An obvious solution would be to get the substring by `path='echo ${file:7:9}' #renders DVDRW-43` but I would … | |
Hello I am running into an error after creating the jar file. I get a message stating that the main class to my program could not be found when in fact there is a main class. If someone could give me a hand and lead me in the right direction … | |
Hi all, I am using DataList and when i run my project the table of the datalist doesn't appear?!!! aspx.vb file Imports System.Data.SqlClient Public Class SLP_1 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' TextBox1.Text = Session(logAccount) End Sub Protected Sub DataList1_SelectedIndexChanged(ByVal sender … | |
I'm trying to create a Desktop Recording Application. When I record the full screen, the program works as it is supposed to, but in some cases when I select a specific region from the desktop to record I get an error at: `int result = AVIStreamSetFormat(psCompress, 0, ref bi, (Int32)bi.biSize);` … |
The End.