64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Lioshenka

I have two pages, both extremely simple. One of the has some code on it which is literally an iframe with some basic CMS controls which allows the user to enter some text in it (by default it reads some pre-written text from a file and pastes it into the …

Member Avatar for Lioshenka
0
167
Member Avatar for AngelicOne

I read some articles with regards on watermarks in windows app, but I found it to be quite complicated. What is the best way to implement watermark in textboxes?

Member Avatar for Momerath
0
122
Member Avatar for Zephyr-

Hey all, I am trying to use a numeric up down object. But the problem is that I need the output to be an int since I need to feed the value as an argument for an int. Example: [CODE]public void ExampleMethod(int lala) { //stuff } ExampleMethod(numericUpDown1.Value);[/CODE] By the way, …

Member Avatar for Mitja Bonca
0
3K
Member Avatar for ChieftanBill

I am currently building a program where the user inputs up to 1000 numbers (-1000 to indicate the end of input), and a number of equations are to be applied. However I have encountered a problem with the "for loop" in case 1. The variables initialized and modified within the …

Member Avatar for ChieftanBill
0
143
Member Avatar for AngelicOne

I'm having difficulty to implement a select query for my database using datagridview to bind to and textbox for searching a particular value in my table. I have this stored procedure [CODE]CREATE PROCEDURE usp_searchvisitor @keyword nvarchar(20) AS SELECT * FROM tblVisitor WHERE lastName = @keyword OR firstName = @keyword OR …

Member Avatar for Mitja Bonca
0
166
Member Avatar for twsmale

I have been stuck on this problem for a while, and I just can't figure it out. I'm sure there's an incredibly easy way to do it, but I'm at a loss... I need to take in this text file: Smith, M.N., Martin, G., Erdos, P.: paper name Erdos, P., …

Member Avatar for twsmale
0
219
Member Avatar for Zephyr-

I have a couple of questions about tab controls. 1. How do you access the specific tabs and edit their properties? For example if I want to change the name of tabPage1 to "blank". 2. How do you create a new tab page with code? So if I press button1 …

Member Avatar for Zephyr-
0
132
Member Avatar for Mr.BunyRabit

Hey there. ahh again its the LIstbox... I have a dropdown box. with "Name" "Surname" and "student number" When the "name" option is clicked i want the listbox to show all the Names in the name field of my DAtabase in my STudent table. and then when "surname" is clicked, …

Member Avatar for Mitja Bonca
1
453
Member Avatar for ChieftanBill

This programming project/assignment had me write a program that lets the user play rock paper scissors with a computer until the user decides to quit, at which point their score(wins, loses, ties) will be displayed. The program I have so far works, aside from the "loop until the user decides …

Member Avatar for ChieftanBill
0
92
Member Avatar for mikecolistro

Hi there, I'm writing a function that fills the array with numbers from 1 - 52 with no repetitions basically my main problem is the second set of loops or the nested loops are, check to see if it is repeated and if it is it puts a new number, …

Member Avatar for mikecolistro
0
154
Member Avatar for sravan953

[CODE]# A simple calculator x=input("What do you want to do? \n 1) Add \n 2) Subtract \n 3) Multiply \n 4) Divide \n") #This is a comment, note that single line comments start with a hash '#' """'x' is a variable. The 'input' statement accepts a number where as the …

Member Avatar for mak.smash
0
958
Member Avatar for carlitosway17

Hi I am supposed to create a program that prints out a rectangle made of asterisks using Turtle Graphics in Java I have attached a document describing the project. My code works fine and prints fine but the problem is I cant seem to get the right sequence to print …

0
422
Member Avatar for Craftknight

Hello, I just wrote my first code with a while loop and I am getting strange results. The program is supposed to give a Fahrenheit (TF) to Celsius (TC) conversion for every 5 degrees Fahrenheit increases between 0 and 100. It increases the value of TF just fine but in …

Member Avatar for Craftknight
0
99
Member Avatar for Aser Gado

Hello everyone, I would like to know how to create a PHP file to create the following database: Database name: "dbUsers." [CODE]Name Type Addition id int(10) Primary Key, AUTO_INCREMENT username varchar(16) Unique password char(16) email varchar(25)[/CODE] Thanks :)

Member Avatar for luweegee
0
113
Member Avatar for Jessurider

hey i've a form given below.........with minimize,maximize,close button........ how can i remove all that and display the form with only the picture as shown below

Member Avatar for Jessurider
0
84
Member Avatar for AngelicOne

How can I resize the height of a textbox? I know that you can do it by setting the multiline to true but whenever the text reaches the right edge it will make a new line. I just want to make a large textbox and behaves just like a normal …

Member Avatar for AngelicOne
0
122
Member Avatar for indr

how do i find the foreign key and primary key constraints of a particular table through a sql query?

Member Avatar for indr
0
94
Member Avatar for bd338

Hi everyone! I feel like I've come a long way in my "quest" of creating a 16-bit toy os, since I last posted in these forums. Currently, the problem is that my CPU encounters an error, trying to switch to protected mode, and therefore shuts down the computer. This is …

Member Avatar for beddu
0
216
Member Avatar for IWDesigns

hi everyone...im having an issue with collecting the data using HTTP_REFERER the problem is if i paste or type a referral url into the url bar it gives an error :- Message: Undefined index: HTTP_REFERER but if i click the link from another site it works perfect... i understand that …

Member Avatar for IWDesigns
0
138
Member Avatar for sophanox

Hey guys, this is my first project since learning the python basics so please bear with me! I am trying to either portscan a host or ping sweep a class c network based on what the user specifies. The code is very basic I know but what's giving me issues …

Member Avatar for sophanox
0
6K
Member Avatar for luweegee

Hey guys i seen this script in a tutorial but he never explain how this script function $_SESSION how can i use this script in a project or in any situation. can anyone elaborate this code

Member Avatar for luweegee
0
99
Member Avatar for dolly_olaide

Hello, I would like to confirm if I have the correct way of calculating the mean and standard deviation of an image. I am not sure I have the right answers. Please can someone please confirm this. Also, I would like to ask if anyone knows how I can obtain …

Member Avatar for dolly_olaide
0
5K
Member Avatar for VB_CMI

anyone know how to do the backspace coding? example. textbox1.text with abc i click a button it remove "c" i click again it remove "b" i click again it remove "a" something like this?

Member Avatar for VB_CMI
0
569
Member Avatar for yousafc#

can i make myself simple game in c#. if yes then please[COLOR="Red"]send me code[/COLOR] for [COLOR="[B]red"]Tic Tac[/B] Toe[/COLOR]

Member Avatar for yousafc#
-1
213
Member Avatar for jay_el_em

Hi I need to access a label's properties from a method that I will be running inside the label's click event handsler. I have no clue??? I suppose I need to add a bit more info. I have 25 labels, when you click on one label, this method will check …

Member Avatar for Mitja Bonca
0
146
Member Avatar for cbcg

Hi, I am trying to copy/paste a structure to the clipboard the copy appears to work but the paste errors with "COMException crossed a native/managed boundary ErrorCode = -2147467259". The error occurs on the highlighted code line below. Is it possible to put a structure on the clipboard? If so …

Member Avatar for cbcg
0
502
Member Avatar for Smithers

What is the fasted way to delete rows based on a condition in Column A using VBA? Anybody have an example? Thanks.

Member Avatar for Smithers
0
146
Member Avatar for MrKnowNothing

Hello, I am knew here and not sure how to ask but I guess I will ask it here and if this is not where it goes feel free to tell me where to post it.....THANKS I am trying to write a recursive function Python program that will ask the …

Member Avatar for Rehab A
0
313
Member Avatar for Prosammer

How do i get the threadid of a window. I know it explains a bit "(HANDLE Thread)" but still how? Regards, Prosammer

Member Avatar for Prosammer
0
912
Member Avatar for blueciel

please help me. anyone know a way to make words from numbers in Access or VB? > Example: 45 = forty five > Example: 167 = one hundred sixty seven > > I would like to have a program that reads the number and turns it into words. I have …

Member Avatar for AndreRet
0
147
Member Avatar for Joshua Kidd

how do i open a menu to exit the application when i right click on notifyicon in the systemtray? thanks.

Member Avatar for Joshua Kidd
0
429
Member Avatar for tomtetlaw

I've seen macros like this: [icode]#define $Line #__LINE__[/icode] and I was wondering what the effect of the $ symbol has in a macro?

Member Avatar for tomtetlaw
0
128
Member Avatar for BioJavaPhobic

Below is part of some code I have written. I am trying to see whether nodes in a network are connected, and thus finding 'failurepoints'. I have a vector containing node Ids which I loop through to check for connections using a hasPath method. This all works fine, but my …

Member Avatar for BioJavaPhobic
0
649
Member Avatar for Katana24

Hello - I've used a for loop to fill an array of JButtons with text. Each JButton contains a letter of the alphabet. I've been successful in doing this and adding each button to a panel I created. But my problem is that I've tried, unsuccessfully, to add ActionListener's to …

Member Avatar for ztini
0
2K
Member Avatar for manongjulius

so. . . i guess you could say i'm kinda new here but. . . this site really helps me alot this past few days and i decided to join... i was surfing all over the internet and i can't find what's the problem with my program. this always says …

Member Avatar for manongjulius
0
289
Member Avatar for carlitosway17

Hi am trying to create a random sentence generator for my Java Class the only issue is it builds successfully and rans fine but the output is not what is expected of the program. It should randomly generate 20 sentences. Here is my code [CODE]// Exercise 16.5 : Sentences.java // …

Member Avatar for carlitosway17
0
6K
Member Avatar for emaduddeen

Hi Everyone, I have a table that has a 2 column primary key. I set up the key where the 2nd column is an identity column. When I ran my VB application I discovered the ID (2nd column) did not increment the correct way. I was hoping it would increment …

Member Avatar for emaduddeen
0
183
Member Avatar for sketchiii

I figured out how to use time in C since the last time I asked a question here. :cool: My new dilemma is that I was wondering if its possible to save user input in a C program so that when the program is closed and executed again it will …

Member Avatar for sketchiii
0
194
Member Avatar for 24x24

I am to write a program that converts either binary, hex or octal to decimal. We are to use methods for the first time (Not a problem). I have written almost all of the code but the conversion. We can't use int.toDecimal or any shortcut. All must be long coded …

Member Avatar for 24x24
0
238
Member Avatar for carlitosway17

Hi guys am creating a Binary Search Tree Program so far it works fine and everything but I am trying to arrange the random numbers generated after the in order transversal in ascending order here is my code [CODE] // C // This Binary Search Program inputs 25 Random workers …

Member Avatar for carlitosway17
0
2K
Member Avatar for scarlettmoon

Hi All ~ So the program actually compiles without using arrays or global variables, outputs the correct user input, however average score and lowest score values that compute are wrong. I have no idea where the heck I'm messing up but I am hoping you can help me. The findLowest …

Member Avatar for scarlettmoon
0
303
Member Avatar for Mike Bishop

i have this code and it kinda works but not properly. i need it to look at the coloum in a datagrid and make the back colour red if over 1.6(in sql this field is saved as Varchar(10)) but at the min, i have a value of 1.5 and it …

Member Avatar for msrd
0
72
Member Avatar for drewpark88

Hey Guys, I know there has to be a way to automatically delete a row in a MySQL table on a specified date. I am just brain dead today :icon_confused: Let's just say I have CMS that I input posts and want one of the fields in the table to …

Member Avatar for drewpark88
0
188
Member Avatar for Hoff123

Hi! I am kind of new at pygame and I can't use functions. I define the "screen" variable outside of all functions(the "screen" variable is the "window"), and I can't use it in functions. I know it has to be global, but that won't work. Anyway the best i can …

Member Avatar for Hoff123
0
5K
Member Avatar for mgorecki

Hello, I have a class (Class.vb) that has a variable dimmed (newOption) as a String. I've created a Form with 3 radio button options and OK/Cancel buttons. The form code has Subs for each option as follows: Friend Class dialogArraySelection Public Event notifycomplete() Public bgaSelection As String Public Sub radFullArray_CheckedChanged(ByVal …

Member Avatar for mgorecki
0
79
Member Avatar for Michael27

I have hard-coded this array of ints [CODE]int[] numbersToSort = {100, 23, -1, 3, 99, 0};[/CODE] I want to use Console.Readline() to take input from the user, but it only takes string input. I can't use Convert.ToInt32() because it doesn't take array for parameter. How can i convert array of …

Member Avatar for Mitja Bonca
0
135
Member Avatar for jsfrocha

Hi, I just installed Dev-Cpp for a IT class and started up with a basic program to see if all was alright: [CODE]#include <stdio.h> int main() { printf("Ola Mundo"); system("PAUSE"); }[/CODE] Still, when i tried F9 (Compile & Run), appear this errors: [Linker error] undefined reference to `__dyn_tls_init_callback' [Linker error] …

Member Avatar for jsfrocha
0
354
Member Avatar for MacUsers

Dear all, I was trying out OptionParser() and didn't quite understand who to use it correctly. This is my sample script: [code=python]#!/bin/env python from time import strftime from calendar import month_abbr from optparse import OptionParser # Set the CL options parser = OptionParser() usage = "usage: %prog [options] arg1 arg2" …

Member Avatar for MacUsers
0
209
Member Avatar for WASDted

If anyone is interested in attending/covering GDC on behalf of DaniWeb please contact our editor-in-chief, Eyal Akler at [email]eyal@daniwebmail.com[/email] You must have plenty of experience in Game Development and good reporting / interviewing skills. [url]http://www.gdconf.com/[/url] [ATTACH=left]18963[/ATTACH]

Member Avatar for WASDted
0
333
Member Avatar for tommy123

Hi, I'm new to this forum and I am also new to programming. A sales shop want to have an an application that will enable them know their product inventory at any point in time. Basically, they want to be able to know their product stock per time and for …

Member Avatar for BitBlt
0
87

The End.