64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Joshua Kidd

Hello, I am making a program for Microsoft Flight Simulator X, and When you are in Multiplayer in most games there is a Chat room, or Chat Box. Do you think that there is any way I can reach maybe an API or possibly monitor the Screen so If someone …

Member Avatar for Joshua Kidd
0
79
Member Avatar for GDICommander

Hello, DaniWeb community! I want to know how I can delete environment variables in Python so that I can no longer see them outside of the execution of the Python script (on Windows, in "Advanced System Settings/Environment Variables...") This is what I tried: os.unsetenv deleting entries in os.environ, but it …

Member Avatar for GDICommander
0
2K
Member Avatar for bklynman01

I'm relatively new with VB.net, so please bear with me... I have a tabpage with 28 textboxes in it. These textboxes will be loaded with data and maybe changed. There is a Save button on the form that will take the data from these textboxes and save them in a …

Member Avatar for CodeWord
0
173
Member Avatar for carlitosway17

Hi its me again, I have an error on the highlighted line below :Error 1 'BankLibrary.Record' does not contain a constructor that takes 4 arguments [CODE] // Fig. 19.8: Record.cs // Class that represents a data record. namespace BankLibrary { public class Record { // auto-implemented LastName property public string …

Member Avatar for Momerath
0
292
Member Avatar for MagicMedia

I'm creating a forum like this one and I need to display my topics by last post. I want to create it so that the topic gets bumped back to the top whenever someone adds a new reply, like most forums including this one. I have a timestamp on both …

Member Avatar for MagicMedia
0
159
Member Avatar for fab2

[ICODE]Hi, I am following a C course on a book, that's good. Now I am studying the functions, the different type of variables, such as static, local and global variables. There is in the chapter an example of how these types of variables behave when they are on a program, …

Member Avatar for fab2
0
220
Member Avatar for blee93

This problem was from the book C++ Primer Plus Chapter 4 #8. The point of the code is to create a structure and use the new keyword to dynamically create a new structure. This problem makes me alter my code for the previous problem in the book so that I …

Member Avatar for blee93
0
123
Member Avatar for libathos
Member Avatar for ztini
0
168
Member Avatar for NewOrder

i have got an exception, i dont understand why? basically, below there is the bottom part of my server code that i try to use. In short, i built 2 Dictionaries of streamWriter and StreamReader and one List of names. Exception is thrown there: [CODE] Some of the collections that …

Member Avatar for NewOrder
0
181
Member Avatar for eduard77

i have the next code that compiles without problems but when I run it after I put in the input data it gives me the next error: line 128 vector iterator not decrementable I use visual c++ 2010. [CODE] #include <iostream> #include <iomanip> #include <vector> #include <iterator> #include <algorithm> #include …

Member Avatar for mike_2000_17
0
442
Member Avatar for kischi

Hi, I'm kind of new to AJAX, but heard this might be the way to go for what I wanna do. I wan't to create a link, and when a user presses the link it's creating another text box underneath with some text in. so ofcourse there'll be multiple link …

Member Avatar for johnsteve.bravo
0
158
Member Avatar for eduard77

The output of the vector that you helped me make is a little hard to read. Can you help me make it a little more readable like: Input: Enter number of different sizes: 5 and the inputs are : 35 x 2.36 23 x 1.23 12 x 4.23 16 x …

Member Avatar for eduard77
0
97
Member Avatar for al2henry

I have created an .xml file with 2 items linking to 2 announcements/news stories on the Conservation News page that I intend to update frequently in the near future. This .xml file has been validated. I would like visitors to the page to be so entranced with the range of …

Member Avatar for al2henry
0
267
Member Avatar for sing1006

well,this is my college assignment question.the question ask us to write a program that can compare 3 number,who is the biggest and smaller.the output should be like this: Enter 3 numbers. Number1: Number2: Number3: Main Menu 1)Find the biggest value among the 3 value you have enter juz now. 2)Find …

Member Avatar for ravenous
0
388
Member Avatar for vbnetworker

My Form have a multiline textbox. In this textbox, theres lines like that: name1 - phone1 and i have to convert every line in 2 variables (or array). eg: name = "name1" phone = "phone1" how could i make it?

Member Avatar for vbnetworker
0
169
Member Avatar for Gazzmonkey

Hi all, I've got a small problem with a database I'm working on, the project was given to me by college kids & their Teacher to complete. They created the database using Access 2007 and I'm left building a Windows App user interface in Visual Basic. Anyway I can't figure …

Member Avatar for Gazzmonkey
0
136
Member Avatar for tsbrownstone

I am attempting to run a delphi 7 developed application on a windows 7 64bit laptop. I've placed the redistributables in the system32 folder, like always. the application has been installed in the program files (x86) directory (it didn't work at all under the program files directory) when I go …

Member Avatar for tsbrownstone
0
350
Member Avatar for gauravk_bhanot

[ICODE]select eid from(select count(*) cnt,eid from certified group by eid)as foo where cnt=(select max(cnt) from (select count(*) cnt,eid from certified group by eid)as goo);[/ICODE] This query displays the eid with maximum no of entries in the table certified. Which in this case is no. of aircraft licensed to an eid. …

Member Avatar for gauravk_bhanot
0
103
Member Avatar for designalex

Hi,i have a small problem with the following... a users posts a vehicle to the database, the form allows for posting with 3 images. when i display the form using a while loop i need to display the images, my problem is that i want to check 3 images 0r …

Member Avatar for designalex
0
213
Member Avatar for alex55

i have this function that should compare values and return a string based on input from the main function. However it returns no value at all does anyone see and issue with it? have checked all the input it is getting the correct values highestMontName and averagedMonth are declared globally …

Member Avatar for alex55
0
124
Member Avatar for ronthedon

How do i get the loop to go back and prompt using for a valid number? #include<iostream> #include<conio.h> #include<iomanip> #include<string> using namespace std; int main () { string firstName; string lastName; int score1, score2, score3, score4, score5; float totalpoints; cout<<fixed<<showpoint<<setprecision(2); cout<<"Please enter the student first and last name: "; cin>>firstName>>lastName; …

Member Avatar for ntrncx
0
137
Member Avatar for jakizak

I've seen over the last few days many people on the internet and various forums asking for how this is done. Now there is plenty of posts out there that explain how to do this. However I have yet to find one that explains how you work it into a …

Member Avatar for jakizak
0
160
Member Avatar for katmai539

Hi there, In a form i have a datagrid with two columns. The columns are about 40 pixels wide and i can't find a way to have them larger when the program loads. Does anyone know a way to do this? Greets, K

Member Avatar for katmai539
0
376
Member Avatar for Mr. K

What is wrong with my code? My fps time is not working.I found two errors in my code. Error 1 error C3861: 'install_timer_ex': identifier not found. Error 2 error C3861: 'textmode': identifier not found. [CODE]#include <allegro.h> BITMAP* buffer = create_bitmap(480,480); volatile int fps = 0; volatile int avg_fps = 0; …

Member Avatar for rxlim
0
211
Member Avatar for TIP.Synergy

I am using update query statment but is not working for this code [CODE]Dim myConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= Provider=Microsoft.Jet.OLEDB.4.0;Data Source=../lms/DBLMS.mdb") Dim item As Integer myConn.Open() myComm = New OleDbCommand("UPDATE tblVehicles SET Vehicle_Type = " & cboVehicle_Type.Text & ", Vehicle_Model = " & txtVehicle_Model.Text & ", Plate_No = " & …

Member Avatar for DONPAWPAW
0
5K
Member Avatar for new_developer

Hi there, I am new in web development. I think this problem is related to javascript. My javascript script is below which changes images after 2 sec. But when i call my start function in img tag in my third row div of my layout, it does not show images …

Member Avatar for SolidSolutions
0
234
Member Avatar for Shodow

when i try to add a record [CODE]Private Sub cmdDone_Click() Dim Rs As New ADODB.Recordset Set Rs = New ADODB.Recordset Call ServerConnect Rs.Open "SELECT * FROM list1", conn, adOpenStatic, adLockOptimistic Rs.AddNew Rs!CustomerName = txtName.Text Rs!ContactNumber = txtContact.Text Rs!Date = dt.Value Rs!TimeStart = cmbStart.Text Rs!TimeEnd = cmbEnd.Text Rs!Event = cmbEvent.Text Rs!Guest …

Member Avatar for AndreRet
0
198
Member Avatar for fugmag

Hi, I have set up pydev in eclipse from the download site, but when I try to add a new pydev project I get the following error i the new-project wizard: [CODE] .project found in C:\workspace(use import project) [/CODE] But I have no project called that in my workspace. I …

Member Avatar for fugmag
0
72
Member Avatar for Shodow
Member Avatar for Shodow
Member Avatar for elsiekins

Hello, I have a program that uses getchar() and slightly confused and tried googling and it made it worse [ICODE] cout << ">What is the expected letter <<"\n>"; expectedLetter = getchar(); putchar(expectedLetterl); string exletter = expectedleter + post; cout <<">Do you wish to enter another letter (Y/y)/(N/n)\n>"; repeatIn = getchar(); …

Member Avatar for elsiekins
0
162
Member Avatar for luweegee

I cant update my data i know theres something wrong in my code...pls help me guys i need this code ASAP... :( [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); ?> <html> <head><link rel='stylesheet' type='text/css' href='Style.css'/></head> <body> <table border=0 align='center' width=900 cellpadding=20 cellspacing=0> <tr><td class='title' colspan=2><h1>Update Record</h1></td></tr> <tr> <td class='borderBaba' …

Member Avatar for luweegee
0
166
Member Avatar for Roldy

Is it possible to change the event of a button click within different subs? For example, have the button take me to the main menu in one sub, but in another sub have the same button take me somewhere else.

Member Avatar for AndreRet
0
206
Member Avatar for red angel

Hi all, Can anyone help me ragarding my new project, im having a hard time working on the report part, computing the subtotal of the quantity per device!! thanks in advance attach is my code

Member Avatar for Shanti C
0
533
Member Avatar for ryathegr8

hi em trying to fetch Employee information from db and load it in Gridview....i select departemnt name and Grade from dropdownlist and pass it in query buh it returns Invalid column name 'InformationTechnology' and Invalid column name 'Grade17' [CODE]String strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection objcon = new SqlConnection(strCon); objcon.Open(); // String …

Member Avatar for ryathegr8
0
159
Member Avatar for ryathegr8

hi i am doin with Employee Management System... scenario is when Emp login Employee Name is stored in session[UName] variable and redirected to the employee home....there when he choose to view his profile, query it using sesseion variable.... code is given below: [CODE]string strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection objcon = new …

Member Avatar for ryathegr8
0
117
Member Avatar for threwup

I am having trouble with the "for loop" of a 32 bit Adder program. I am suppose to take 2 arrays of 32 bits and sum them together. The 2 errors I get are on line 37 and 38 called "called object is not in function". I don't know how …

Member Avatar for griswolf
0
118
Member Avatar for frank33

Is it possible that when a user clicks, the fact that she may have clicked on two overlappping labels, for instance, be responded to ? In other words could the Sub for a click on Label1 check that Label2 has actually been clicked simultaneously ? Thanks.

Member Avatar for Pgmer
0
108
Member Avatar for Diamonddrake

I have an object that i use in a generic list, i need to expose a property in that object that will return the index position of the object in the list plus one. example Items in list myobject1 myobject2 myobject3 myobject2.indexValue would equal 1 any idea how I can …

Member Avatar for Diamonddrake
0
162
Member Avatar for amir malik
Member Avatar for ebanbury

Hello I would also like to have a form, where users can input their search criteria and then the results show on the same page in a table. Currently absolutely nothing happens.:-( [CODE]<?php require_once('Connections/iwalletc_localhost.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if …

0
90
Member Avatar for kangkan_14

How to read only integers from a file in java? Suppose the file has something like this: (14,2,3),(2,3,4) (2,6,78) Now I want to read only the integers not the brackets and commas.How do I do it?

Member Avatar for ztini
0
3K
Member Avatar for bLuEmEzzy

i want to get the row(s) when the checkbox is check/uncheck in the listview.. thank u... [ICODE] For Each Item In CheckedItems If (Item.SubItems(4).Text) = "Cash" Then 'Code Here ElseIf (Item.SubItems(4).Text) = "Check" Then 'Code Here End If Next If (e.CurrentValue = CheckState.Checked) Then If LstvwBankDeposits.Items(0).SubItems(4).Text = "Cash" Then 'Code …

Member Avatar for codeorder
0
3K
Member Avatar for yamot47

[CODE]# <form name="Item Search" method="post" action="search1.php"> # Item Search:<br> # <label> # <input name="swords" type="text" size="30" maxlength="30"> </label> <br> <label> <input name="search" type="submit" id="search" value="Search"> </label> <a href="logout.php">Logout</a> </form> <?php if(isset($_POST['submit'])||isset($_POST['swords'])||isset($_GET['swords'])){ if (isset($_POST['swords'])) { $search=$_POST['swords']; }else { $search=$_GET['swords']; } $newurl = "search.php?swords="; $searchwords = addslashes(htmlspecialchars($_POST['swords'])); { $words = explode(' ',$searchwords); …

Member Avatar for yamot47
0
79
Member Avatar for kxpatel29

Requirement 1) Modify the code to find and print sum of the same series from 1/2 through 1/n multiple times, where each n is read from data file. Requires nested loop with the inner loop summing up series and outer loop allow inner code to repeat once for each n …

Member Avatar for kxpatel29
0
181
Member Avatar for mikecolistro

The question is as follows: Write a program to read in a word that is up to 10 characters long. See if any 3 consecutive characters in the word are found somewhere else within the word. If they are, echo those characters to the screen. For example, if the word …

Member Avatar for WaltP
0
133
Member Avatar for danuz

Hi, Can anyone please tell me how to solve this calculator code with using [B]cases[/B]? I really don't know how to conclude it. It doesn't matter if code is long cuz of cases. Code: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Calculator { class Program { static void …

Member Avatar for danuz
0
224
Member Avatar for Progr4mmer

I'm trying to make a program where you enter the number you want to find primes up to which then lists all the primes up to that number... But I enter 100 then it just sits there... Here's my code so far: [CODE]#include <iostream> #include <cmath> int prime(int); int main() …

Member Avatar for Progr4mmer
0
201
Member Avatar for Torm7311

I am in the process of taking my first java programming class, and this question may be simple for some of you. Here is the question.. Write an application that reads five numbers between 1 and 30. For each number that is read, your program should display the same number …

Member Avatar for Torm7311
0
171
Member Avatar for Progr4mmer

could someone please explain to me the differences of these languages (C, C++, C#) and when i would use them. (i know a little C++)

Member Avatar for ddanbe
0
108

The End.