199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for techlawsam

Alright So I want to know when looking at the code below: every so often with each method argument there is an "identifier" starting with the first one: "Inside() , Show(), Outside(), Display() " I know the names can be made up literally but what do the parenthesis signify ? …

Member Avatar for techlawsam
0
173
Member Avatar for abhishekkp

Hello I'm doing a mini project of student management system. i need to take the attendance of all the students and store it in sql server. plz help me i need to submit my project on 25th of this month. i am left out with only this form :( or …

Member Avatar for Netcode
0
760
Member Avatar for domh87

I have to make a calculator on a site to determine a lump sum payout on life insurance, the user would enter all of 1. Gender, 2. Smoker or Not, 3. Monthly Payment. For each of the different variables there is a unique lump sum amount but no way of …

0
119
Member Avatar for SpiritualMadMan

I have begun to wonder whether frequenting this Board and trying to answer pleas for assistance is worthwhile... I have posted several working solutions and there is no evidence that the requestor has even looked at them... If a "possible" solution isn't what you were looking for at least clarify …

Member Avatar for Netcode
0
191
Member Avatar for suley04

Hi everyone, First of all let me just tell you that I have never done database programming myself, and this is the first time I'm setting up a MySQL database via phpMyAdmin, so I could be missing something small but I'm sure someone will know the answer, anyways... I have …

Member Avatar for suley04
0
346
Member Avatar for Dumb Fish

Hi, everyone... I have a question about sql .. Question: Customer | jan-april | may - august| september - december A |quantity | | B | | | C | | | How to use the SELECT command to retrieve data and the output is show like above. please give …

Member Avatar for Netcode
0
147
Member Avatar for Tinito16

Hi, I'm new to jsp, and right now I'm doing a school project. I want to change the part of my page that has the login fields to say the username of the person who logs in (as opposed to just leaving them there and having the person wonder whether …

Member Avatar for Mindpowerh
0
163
Member Avatar for Ruchi224

Hello !! I am making a simple windows application. In one of the forms, I have buttons with various names and datagrid that displays the table. Now, what i would like to do is if I click on a button titled "softwares", i want only those elements from my table …

Member Avatar for Ruchi224
0
158
Member Avatar for neomatrix248

Hello all, This is my first post here. I've exhausted every resource I can think of in hopes of figuring out what I'm doing wrong, but I can't seem to get it right. I'm doing a homework assignment where I have to solve the 8puzzle problem using BFS, DFS, Iterative …

Member Avatar for neomatrix248
0
955
Member Avatar for terrymold

Hi everyone I have developed a PHP page which uses a few JavaScript functions and other JavaScript code to initially display today's date (and plus other data as well!). At the top of the PHP script is a PHP include file which determines whether or not today is BST - …

Member Avatar for banizdaymov
0
404
Member Avatar for aldm

Hi, I work on website which have large number of users in php. I wonder which is the best way to handle database connection in this case. Every database object have it's related class and on the start of every class method database connection opens (for example GetLatestNews(), GetNewsOfType($type) etc). …

Member Avatar for mschroeder
0
195
Member Avatar for kutuup

I am not sure why but this code (an attampt at a point and click game engine using Allegro 5) throws up an unhandled exception. The program starts and displays a picture, but as soon as the mouse is moved the exception pops up and the program crashes. I have …

Member Avatar for kutuup
0
270
Member Avatar for de.ICeman

In the following example: [code] public class JavaExample { public static void main(String[] args) { system.out.println(args[0]); } }[/code] when no parameter is passed Exception given is java.lang.ArrayIndexOutOfBoundExpection So my Question is that Why is that Exception is thrown , why not NullPointerException. (I know when both expection thrown) But in …

Member Avatar for de.ICeman
0
223
Member Avatar for marirs07

Hi all, How to find the offset of a structure member just by knowing the structure name and the address of that member????? For ex. [CODE]Struct cook { int a; int b; char c; }eat; void func(int *ptr) { //how to find the base address of structure. //I know only …

Member Avatar for Narue
0
160
Member Avatar for dangari

Hi all, I am attempting to connect to a MS SQL Server Express Edition with Advanced Services (MS SQL10) on a remote Windows NT 5.2 machine on the LAN. My driver is [B]net.sourceforge.jtds.jdbc.Driver[/B] My url for the connection string is [B]jdbc:jtds:sqlserver://127.68.0.201:1433/LOD[/B] My user is [B]d[/B], password is [B]d[/B]. Now, when …

Member Avatar for mKorbel
0
789
Member Avatar for Jessurider
Member Avatar for Ole Raptor

I am getting this message: value of type "System.data.datacolumn" cannot be converted to "System.windows.forms.datagridviewcolumn" when I am trying to add a column to the dgv [code=vb.net] Dim dtcCheck As New DataColumn("Select") dtcCheck.DataType = System.Type.GetType("System.Boolean") dtcCheck.DefaultValue = False Dim sa As New SqlDataAdapter("SELECT * FROM therapy", myconnection1) sa.Fill(ds, "Therapy") dgvther.DataSource = …

Member Avatar for concepcionmark
0
5K
Member Avatar for minbor

Hello, I need to connect to a DSN on a remote computer. I have found a lot of a lot of info on how to connect to a remote database from a local DSN, but nothing on connecting to a remote DSN. I am using asp.net, but help on solving …

Member Avatar for minbor
0
472
Member Avatar for dospy

basically i have a header full of function prototypes(util.h) and a cpp file with the functions body [CODE] // util.h #include <ctime> uint32_t GetTime( ); uint32_t GetTicks( ); // util.cpp #include <util.h> uint32_t GetTime( ) { return GetTicks( ) / 1000; } uint32_t GetTicks( ) { return clock( ); } …

Member Avatar for Fbody
0
2K
Member Avatar for Josem

Hi everyone I'm trying to extract an address in three lines. But its giving it to me in one line. I'm creating a pdf form using mysql and php. e.g: 252 westend drive Sommerset west 0185 I don't want it like this. 252 westend drive Sommerset west 0185 I want …

Member Avatar for suley04
0
102
Member Avatar for nikki05

Hello, Could someone suggest me the ways to redirect a website from one server to another website in another server? I have one website "X" (IP based e.g [url]http://x.x.x.x/example.html[/url]) in one server using IIS and another website "Y" (domain based e.g. [url]www.abc.com[/url] ) on another server using Apache. I linked …

Member Avatar for suley04
0
543
Member Avatar for crazybeaner

I am creating a java program that will take 10 user input grades from 1-100 and display them as a letter grade, then calculate the percent of how many letter grades there are in total. The last step is to figure out how to get each letter grade, lets say …

Member Avatar for mitchiexlolz
0
1K
Member Avatar for Xdwardo

Hi everyone 8) I'm new around here but thought it's about time I joined a good PHP forum! I'll introduce myself properly on the right section, but for now, I'll my post my coding problem on here. I wonder if any has any knowledge or can help. I'm setting up …

Member Avatar for Xdwardo
0
174
Member Avatar for pepyrs

Hello guys, My question is not very direct and clear but i'll try to explain it nicely. I have a database running on MySQL with 1 important table which i need to use. Then I put this table into my C# application (I'm using Microsoft Visual Studio 2010). The only …

Member Avatar for pepyrs
0
167
Member Avatar for functionalCode

Hey everyone one I have some code and I need to change the address to the function I want to go to. I need to change the address of normal in the menufunc array to administrative. I have constructed this string that puts me in menufunc[2]: xxxxxxxxxxxxxxxxxxxx111111111122222222223333333333444444444455555555556680487d2 The address of …

Member Avatar for Narue
0
143
Member Avatar for zack_falcon

The Board Game I have in mind is Game of the Generals. It's somewhat similar to Stratego, but I'll just give a quick description of the game; every piece has a rank from Private all the way up to 5-star general, as well as a Spy and a Flag. The …

Member Avatar for thines01
0
191
Member Avatar for KillingKiller

So, i need help to do couple of things: [B]1.[/B] To change the hyperlink into a button. The link downloads the file from the server, which is pointed in the database. Below is the actual code of the hyperlink, and what I tried to do, to change it to a …

Member Avatar for diafol
0
235
Member Avatar for olybobo

Dear all; I have googled everywhere but still cant find a good robust code for this. I would like to use an XML to create a menu and submenu in asp.net in the master page. This is the design I would like About Me|Interest now if About Me is clicked …

Member Avatar for Netcode
0
100
Member Avatar for suley04

Hi Everyone, I have a BIG problem right now. I am currently learning ASP.NET to fulfil my job role, as an IT Manager. Although I have programming experience in other languages, I have never done ASP.NET before. I am currently working on a website called [snipped]. I recently uploaded the …

Member Avatar for suley04
0
179
Member Avatar for sandman64

[CODE] #include <iostream> #include <string> using namespace std; int getNumAccidents(string); void findLowest(int, int, int, int, int); int main() { int counter, num, crash1, crash2, crash3, crash4, crash5; string n = "North", s = "South", w = "West", e = "East", c = "Central"; for (counter = 0; counter < 5; …

Member Avatar for sandman64
0
154
Member Avatar for vasim jada

[CODE] Imports System.IO Imports System.Data.OleDb.OleDbException Public Class Form2 Inherits System.Windows.Forms.Form Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Dim username As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Member Avatar for Netcode
0
117
Member Avatar for dnyansagar

Hi all, I have a data which looks like this, Input: man1 car man1 wallet man1 shirt man1 shirt man2 truck man2 house man2 jacket man2 jacket man2 jacjet man2 computer I want to collect the data, but while collecting I want to count them as well So the the …

Member Avatar for TrustyTony
0
402
Member Avatar for SUBZERO-08

Hi, I am working on a calculator using Java Swing, and have it done, but I was wondering how you would make it so, say when a certain keyboard button is pressed, that number will appear in the text box. Currently, it works so when you press said JButton, that …

Member Avatar for JamesCherrill
0
163
Member Avatar for Ingska

Hi guys, I am still kind of struggeling with my upgrade from php4 to php5, my site is almost there but I can't figure out how to set my http_referer. This is how it looks like today: [CODE] <?php $_SESSION["referer"] .= $_SERVER['HTTP_REFERER']; $my_web = $_SESSION["referer"] ?> [/CODE] The error message …

Member Avatar for Ingska
0
299
Member Avatar for patel28rajendra

hi I have one form in which there are different combobox.I want to fill these combo boxes from one tables one column name valve_type and other column is Id. I hve to fill valve type in different combobox as per id. suppose if id=1 then fill in combobox 1

0
74
Member Avatar for silvercats

I mean,How do they 1.Compile an English written High level language to Binary and understand,execute it 2.How computers do calculations using these 1s and 0s or electricity differences ? etc.... Name the books or give the links thanks

Member Avatar for silvercats
0
227
Member Avatar for gotboots

Hi all, was just wondering what is the difference between $_GET[''] $_POST[''] $_REQUEST['']? I normally use $_REQUEST[''] to get my values from a form or url, but not too sure why there is 3 different types. from what i understand, they are all the same and do the same thing …

Member Avatar for broj1
0
319
Member Avatar for ppzm78

Hi I want to load data from a flat file into a SQL table. The file has a header row and detail rows, all of which need to be loaded. I've tried various suggestions I came across in forums and EndOfStream is the one that loaded all the rows. The …

Member Avatar for ppzm78
0
184
Member Avatar for vuyiswamb

Good Day All i am creating Textboxes at Runtime with something like this [CODE]Dim cnt As New TextBox cnt.ID = "cont_" & x If multiline Then cnt.TextMode = TextBoxMode.MultiLine End If [/CODE] These are dynamically created fields. so what i want to do is to use this following JQuery on …

Member Avatar for vuyiswamb
0
733
Member Avatar for Panathinaikos22

Hello, There are many tutortial about it, but all are olds or are for C.. if someone know any FRIENDLY site/forum/pdf to learn c++ please give it, for my c++ window programming is like chines, because there is no any help like in VB/C#/F#/Java and things work totaly diferent, example... …

Member Avatar for Ancient Dragon
0
352
Member Avatar for deepmala8

Hi, I am also stuck with a problem in writing into the file .below explanation also helped me but my issue is yet not solved .I want to edit my file which looks like IG_UDP_CPORTS="22,5060,5062" TG_TCP_CPORTS="1,2,3" EG_TCP_CPORTS="50,2" IG_TCPP_CPORTS="60,62 IG_UDP_CPORTS="5060,5062" I want to delete any value written in first line ( …

Member Avatar for Ancient Dragon
0
917
Member Avatar for khentz

hi, Please help me with my listview. The listview did'nt show any list items. here's my code: [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged Dim strSearch As String strSearch = "SELECT * FROM tblMobileTracking WHERE accountNumber LIKE '" & txtSearch.Text & "%'" myConnection.Open() Dim …

Member Avatar for khentz
0
182
Member Avatar for Proloe

Hello, So I'm attempting to do a bulk creation of users into Active Directory (Server 2008) using Powershell. I have a script but every time it runs it throws a exception error. I have tried to go through and find what is wrong, but I am having little luck. Any …

0
199
Member Avatar for ericko10kip

i am stuckin the printing the listview items.i have already displayed in the listview.i would like to printpreview and also print it. please help people.

Member Avatar for lolafuertes
0
209
Member Avatar for raaif

I've seen threads on this topic but it didnt shed any light on my case so here it goes I am trying to rename a file as such; [CODE]Dim loc_path = "D:\Test" Dim filenames() As String = Directory.GetFiles(loc_path, "*.mp3") For i = 0 To ListBox1.Items.Count - 1 filepath = Path.Combine(loc_path, …

Member Avatar for lolafuertes
0
1K
Member Avatar for comsci2

hi guys,, this is my problem first im going to scan into a scanner, after that it loads into a picture box and when i save it i got an error said "A generic error occurred in GDI +" Can you help me guys Thanks for your assistance all comments …

Member Avatar for Maduri M
0
2K
Member Avatar for Nareshp_123

Hi all, can anybody please tell me whether is it possible that through windows service we can able to move file from one machine to another....??? what i made is first i checked with normal windows application ,by creating a mapped drive to my machine. ex:- Y:\ and i was …

Member Avatar for JerryShaw
0
2K
Member Avatar for raaif

I have created a contextmenu (cnt_hys) and am adding items to it as program runs based on the user input in textbox1. when the user clicks button1 the contextmenu shows up and when the user clicks an item on the contextmenu strip i want to get the text of the …

Member Avatar for raaif
0
7K
Member Avatar for MarcusMaximus

Hi, I'm starting to code in python and would like some advice. I'm fairly competent in coding and have been doing alot of VB and shell scripting lately but as python is cross platform I've decided to switch. How do I get python to run programs I have saved in …

Member Avatar for TrustyTony
0
209
Member Avatar for marirs07

Hi all, How to find the base address of a structure ,just by knowing the name of the structure and a address of one of its members. Thanks in advance

Member Avatar for marirs07
0
3K

The End.