199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for runjel

hello.. kind of confusing how to make it work.. i want to use a one button for hiding and showing div.. [CODE] $(document).ready(function() { $(".Email").hide(); $("#change").click(function () { $(".Email").slideDown("slow"); $("#change").html("Hide");[/CODE] im using jquery .. when you click the button it will show the div then the button caption will be …

Member Avatar for Thirusha
0
525
Member Avatar for dansnyderECE

Im trying to open a file, and then read a user defined number of characters from said file. I want to do this using scanf but I can't quite figure out how it works. I can get scanf to work just fine but I can't determine how to specify the …

Member Avatar for dansnyderECE
0
96
Member Avatar for tskellyfla

Hello again, YOu guys have been such a big help in helping me understand what I'm doing wrong in my programs I'm hoping that I can get help again. I am currently writing a code in C. I'm supposed to be writing a code that has the Fibonacci Series up …

Member Avatar for tesuji
0
106
Member Avatar for lf.gene

Hi all! I'm not a very good coder and i'm down here with a question for you all. Firstly, is it possible to code php within javascript? How? function confirmation() { var answer = confirm("Delete class?") if (answer){ window.location = "deleteClass.php?id=<?php echo $row['idClass'];?>"; } else{ alert("Delete unsuccessful!") } } i'm …

Member Avatar for rajarajan2017
0
228
Member Avatar for gispe

Hi all, i started programming with .NET (i have express edition) and wanted to make a conection to an SQL Server.. the problem is that i cant conect :( previously i had .net 2005 - i started having the issue there - i unistalled it, n installed visual studio 2008. …

Member Avatar for finito
0
246
Member Avatar for urbangeek

hi guys, can't understand why the answer of the following program is 7? Please explain.. [CODE]#include <stdio.h> #define SQ(x) x*x int main() { int a,b; a=5; b=-SQ(a+2); printf("%d",b); return 0; } [/CODE] thank you..

Member Avatar for urbangeek
0
163
Member Avatar for jerryjerry

hi, Through getter setter methods we can indirectly access private data members of the class as shown in the below code. Then what is the significance of encapsulation in OOPS concept. I am not getting the appropiate answer for that. Can anyone help me? Thanks in advance [CODE] #include<iostream> using …

Member Avatar for Fbody
0
155
Member Avatar for monaprerita

[code]import java.awt.*; import java.awt.event.*; import java.applet.*; public class AL extends Frame implements WindowListener,ActionListener { TextField text = new TextField(20); Button b; private int numClicks = 0; public static void main(String[] args) { AL myWindow = new AL("My first window"); myWindow.setSize(350,100); myWindow.setVisible(true); } public AL(String title) { super(title); setLayout(new FlowLayout()); addWindowListener(this); …

Member Avatar for NormR1
0
1K
Member Avatar for elvis1

Hi guys ! I am willing to ask you if you could think of a py script that loads a text file and just joins the data contained in there following this example This could be an input: ssms smsmsms sksksskkks ppppplkl ndndndnd kdkdkdkdkppp And this an ouput: ssmssmsmsms sksksskkksppppplkl …

Member Avatar for elvis1
0
332
Member Avatar for rohit83.ken
Member Avatar for btbam006

Alright, I am in college started last year for programming in C++. Not even a year ago, I took fundamentals which was basically pseudocode and flow charts. 3 months ago, I finished my programming 1 class and this 11 week quarter is my Programming 2 class. Well the final project, …

Member Avatar for packetpirate
0
138
Member Avatar for LordWEB

Hi, can someone give me idea how can I get information about namespace, class and method name and all parameters names for all public methods in class that extends MyMainClass? For example, I have script like this: [CODE] <?php require 'MyMainClass.php'; namespace myNameSpace; class MyClass extends MyMainClass { public function …

Member Avatar for LordWEB
0
92
Member Avatar for ayesha789

I can easily change settings in IE6 for printing Background Colors and Images. But How I can do same in Google Chrome. Please see attached image ...

Member Avatar for ayesha789
0
92
Member Avatar for dansnyderECE

I have a vector full of decimal values and I want to convert each element of the vector to ASCII represented strings (or char arrays). How do I do this? Each element of the array is 8 hex bits long and has been converted to it's decimal representation. So... HEX(41424344) …

Member Avatar for daviddoria
0
208
Member Avatar for ravi25a

i have created a delete.jsp page which checks for datatype entered in the fields and when user enters the student id will delete it from database.i am succesfull while following insert.jsp but i am geting proublem while updating and deleting. i have linked insertiion,updation and deletion jsp files to 1 …

Member Avatar for parry_kulk
0
197
Member Avatar for jonoj

Hey guys :) I'm making a code and testing it in drjava but at this stage there is just one function I am having trouble with. Here is my code so far [code=java] import java.util.ArrayList; class Player { //instance fields, a name, a place, and an inventory String name; LocationID …

Member Avatar for JamesCherrill
0
157
Member Avatar for K?!

Hi all This is what I want to achieve: a fixed positioned div next to my content area where the text changes depending on the section of the content area the user is reading. Can this be achieved, and how? Greetings and thanks in advance, Kenny

Member Avatar for K?!
0
146
Member Avatar for djbsabkcb
Member Avatar for WildBamaBoy

How do you make Python distinguish from files and folders if they are dragged and dropped into the program's window? [CODE] import os import string newDrag = raw_input("Drag and drop the file or folder you want to add.\n") newStrip = newDrag.strip('"') #Removes the quotes Windows randomly adds for some reason …

Member Avatar for WildBamaBoy
0
143
Member Avatar for maria_mj

In my gridview, there have a few column that contain number. At the bottom of the gridview, I want to add one row to display the total of the number for that certain column. How to do that? i have no idea. can someone help me??

Member Avatar for rohand
0
671
Member Avatar for cubekid

Is there a way in VB6 where I could get the file's "Size on disk" (not the size). I cannot achieve this by using the FileSystemObject's size property which only returns the file's size. If this cannot be done, maybe a help on how to achieve these other options will …

Member Avatar for cubekid
0
773
Member Avatar for chandruswami

In c#.net, I had form 1,.. (contains Server and Database name) in form 1 i had a button,..While clicking that button,.. the exe of form1 is called,.. so it will call twice,.. another instance is opened while opening this instance,.. i can't do the debug,.. it directly executes (being an …

Member Avatar for Ketsuekiame
0
110
Member Avatar for like_bilal02

Dear Freinds Kindly help me about these problems that what a coding for lock the form in runtime and user no adjsut form witdth or length 2)my 2nd question is that what the query if i want that the price of any other table come into current forms and match …

Member Avatar for like_bilal02
0
85
Member Avatar for tungnk1993

I'm pretty new with VB.net and I'm working on a project modelling the traditional FlashCard to learn words. What I want to do is to replace existing buttons and forms in Visual Studio with my own photoshop version. FYI, I'm not familiar with WPF yet but I'm willing to learn. …

Member Avatar for tungnk1993
0
118
Member Avatar for shuhana84

hi,i want to know how to export sql server 2005 database to access through vb.net coding..no need to select n insert table one by one,just save package...

Member Avatar for shuhana84
0
939
Member Avatar for mr_scooby

Just wondering if someone can give me some insight to understand how the hidden type works on a form. This form has 3 types of controls for storing the value of $id a radio button, check box and a hidden input(which has a button for each loop also). When it …

Member Avatar for mr_scooby
0
120
Member Avatar for Alfarata

I need to read in a csv file created by MSExcel into an array. The file contains 750 rows of 5 sets of numbers some int. some float. the format looks like this: 301,36,0.285,2.88,15.000 302,88,0.247,2.88,75.500 How do I read this data in a 'C' program without the commas, and then …

Member Avatar for sinju
0
153
Member Avatar for vipin narang

I am trying to make the dynamic table can any one tel hoe to make the table which get data from the database as data from database delete the table row and column also delete

Member Avatar for vipin narang
0
68
Member Avatar for tyson.crouch

G'day, Hopefully someone here may be able to help me solve my little dilemma. I have a check box set up, and along side it i have a text input. When a user enters a value into either text field i'd like to automatically check the given checkbox. If someone …

Member Avatar for fxm
0
145
Member Avatar for ajwei810192

Hi, I have the following code that I would like to get working, but for some reason, it keeps giving me the wrong output, and I wonder if anyone on the list might be able to help me fix it. Here is the code, [CODE] Sub submit(ByVal sender As Object, …

Member Avatar for ajwei810192
0
104
Member Avatar for danizobin

Hi, New to this forum. Will be happy for explanation for the next phenomenon: [CODE] class Base { protected: void add(void *); }; class Derived : public Base { public: void add(int); } void Derived::add(int num) { add(new int(num)); } [/CODE] This fails with the message: Invalid conversion from 'int*' …

Member Avatar for danizobin
0
194
Member Avatar for riu

hi evrybdy.... how can i generate a unique code against the user input in c++...

Member Avatar for oz_engineer
0
230
Member Avatar for ChargrO

Hi, i was wondering if someone could help me out here. from the below code i get the following error "TclError: couldn't open "H:\SDD12\Images oses.gif": no such file or directory" but i dont understand why the r is vanishing from the filename... [CODE] root = tk.Tk() root.title('background image') # pick …

Member Avatar for TrustyTony
0
332
Member Avatar for EverydaySunday

Hi everyone, i encountered this error when i want to forward user to different page according to different situation. The error occurs if the login is null and the cash is null :( seems like the it does not know where to forward because there is two forward. is there …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for phpDave

Hello, I created an online forum where users can post comments but when a link is posted it appears on the board in text and not as a link. Any suggestions on how to change this. I would like links that are posted to be links not just text. Thanks!

Member Avatar for almostbob
0
79
Member Avatar for Starfighter330

I am trying to set up some common dialogs but some how forgot how to do it. I have a menustrip set up just need to know how to apply a fontdialog and colordialog. Can anyone assit me with this, I need some help as soon as possible. I am …

Member Avatar for kvprajapati
0
170
Member Avatar for rhari_81

Respected Sir/Madam, Hii Guys?I am harish here and i am just a starter in vb.net.I am interested to develop some applications in vb.net. So, I have to start things right from scratch i.e designing and coding etc... I need a sincere suggestion on what type of applications can i try …

Member Avatar for kvprajapati
0
233
Member Avatar for albahr

Peace be upon you:::::: I want to convert HTML lists to the TreeView [CODE]<body> <DIV id=content> <UL> <LI><a href="aaa">aaa</a> <LI><a href="ccc">ccc</a> <LI><a href="ddd">ddd</a> <LI><a href="ooo">ooo</a> <UL> <LI><a href="vvv"> vvv</a> <LI><a href="bbb"> bbb</a> <LI><a href="ttt"> tttt</a> </LI> <LI>www<ul> <li> <a href="zzzz"> zzzz</a> </li> </ul> </LI></UL> <LI><a href="yyyy">yyyy</a> <LI><a href="uuuu">uuuu</a> <UL> <LI> …

Member Avatar for adriangana
0
124
Member Avatar for onlinessp

Hi, Any one tell me how i can find that which files is changing it's behavior or or want to run. Thanks on your Comments

Member Avatar for onlinessp
0
56
Member Avatar for Duki

Hey Guys, Here's my code - for some reason, the message boxes aren't showing when I run the application. However, it shows up fine when I click the button on the form. Any idea why this would happen? Thanks. [CODE=c#]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using …

Member Avatar for kvprajapati
0
332
Member Avatar for MrAlshahawy

Hi all , I got two questions : How to convert the time of a message from "127558161.23" to 03/06/2010 12:42pm ? When I receive a message and I want to know the number of the sender so I can resend him a message it returns me his name - …

Member Avatar for MrAlshahawy
0
206
Member Avatar for sowmiya

:confused: how to create a payroll processing using VB and MSacccess.i want guidelines for that would anybody plz help me.In VB with all the deatails of an employee,facility to add new member,to edit,hv option to display all the parcticular abt certain employee in detail.plz help me

Member Avatar for kvprajapati
0
162
Member Avatar for yaya_star

Hi all i just wanna ask if any one can give me the related function with colordialog(vb.net) and if i can change backcolor of form with it?how? Thanks:confused:

Member Avatar for kvprajapati
0
219
Member Avatar for avarionist

its a wrapper class. it combines stl stack class with a custom user class. i made it so that i could rename push and pop if i wanted or size and top :) best of all it combines stack and classes :) something i made to see if i could …

Member Avatar for avarionist
0
123
Member Avatar for Adaltino

Hello! My service ([U]not windowed application[/U]) for winXP (32) creates a list of processes (like task manager) and setts every process to run in just one CPU in multiproccessor system. 1) when I try to get the [B]handle[/B] of the process I get error: "The handle is invalid". If I …

Member Avatar for Wolfgan
0
861
Member Avatar for SerjSagan

I am throughly confused....why does this seemingly simple deal not work? [code=javascript] <script type="text/javascript"> <!-- window.onbeforeunload = function (){ var checkboxImg = new Image(); var checkboxImgUrl = "checkbox.php%3Flonger%3D" + reviews-chk-longer.checked + "%26discrete%3D" + reviews-chk-discrete.checked + "%26natural%3D" + reviews-chk-natural.checked + "%26thicker%3D" + reviews-chk-thicker.checked + "%26permanent%3D" + reviews-chk-permanent.checked + "%26stamina%3D" + reviews-chk-stamina.checked …

Member Avatar for SerjSagan
0
165
Member Avatar for John888

Hi, I'm trying to build an Access database on Access 2007 and I'm unsure of how to do a few things. I have 2 fields: field1 and field2. Both are dates. I want field2 to change to exactly a month after the date in field1 and I want it to …

Member Avatar for ChrisPadgham
0
104
Member Avatar for bruno386

Hi guys, I need to sort an array by date created. Please take a look at this code thus far [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace listboxarraysortexample { public partial class Form1 : Form { string[] …

Member Avatar for bruno386
0
2K
Member Avatar for fawad123

I have this data in JSON: object(stdClass)#1 (2) { ["noun"]=> object(stdClass)#2 (2) { ["syn"]=> array(59) { [0]=> string(5) "drama" [1]=> string(13) "dramatic play" [2]=> string(8) "maneuver" [3]=> string(9) "manoeuvre" [4]=> string(3) "bid" [5]=> string(12) "child's play" [6]=> string(14) "playing period" [7]=> string(14) "period of play" [8]=> string(9) "free rein" [9]=> …

Member Avatar for digital-ether
0
121
Member Avatar for ajwei810192

Hi, I have an XML snippet as in the following: [CODE]<music_songs> <song> <title>(I Just) Died In Your Arms</title> <category>Rock</category> <album>80 Popular Hits</album> <artist>Cutting Crew</artist> <date added="03-24-2009"/> </song> </music_songs>[/CODE] Thiis is one of the songs out of 5 categories I have, and currently I use XPath expression as in the following: …

Member Avatar for ajwei810192
0
6K

The End.