199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jazz1011

Hi guys i am new for the ASP.net world so help to understand new stuffs. I want to add an image as a background in my <div>. As an example, when you create a new asp.net web site. You will get few default stuffs like in this [image](http://i1.asp.net/asp.net/images/whitepapers/aspnet40/ASPNET4B1-image13.png). Now what …

Member Avatar for jazz1011
0
792
Member Avatar for Barber2012

After wrong deletion, my important files on my mac lost. I know little about Mac and data recovery, what should do to get my data back?

Member Avatar for tompatrick
0
1K
Member Avatar for MasterHacker110

I am wondering that if you can make a C# program that is like C++. My meaning with that is that it doesnt require a "Runtime" to work. I ask this becuase i want to write a operating system completely in C# (yes with very few assembly involved).

Member Avatar for Godfear1
0
203
Member Avatar for ebanbury

Hi I currently have URL's looking like this when it is coming from a link: http://www.dev.xxxxxxxxxxxxxxxxxxxxxxxx.com/findanagent_details.php?recordID=4 I would like to hide the fact that recordID=4 How can I do this? Many thanks

Member Avatar for veedeoo
0
146
Member Avatar for nicewave

I've a datagridview shown, I would like to change the font of that row to bold when a user hover over any cell on that row. I know I can use the rowenter and rowleave but some how it changed the font bold to the whole grid not just the …

Member Avatar for PatSharbaugh
0
3K
Member Avatar for memz

how to make this link alert t0 times <A HREF='javascript:window.alert("attack");'> link </A>

Member Avatar for azareth
0
101
Member Avatar for s7mo

Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not …

Member Avatar for diafol
0
2K
Member Avatar for iismitch55

I have been researching ways to make a DOS window disappear when starting a program. I have solved this, by using getconsolewindow() and setwindow(). The thing is, I still get a blip where the DOS appears for a couple miliseconds. Is there a way to fix that? Clip of code: …

Member Avatar for iismitch55
0
930
Member Avatar for klevasseur

I have some text files (actually csv) that have the extension .ROS stored on a server and I can't seem to open them in Python. If I change the extension to .txt or .csv, I can open them fine either as text or csv, but I'd rather keep the .ROS …

Member Avatar for vegaseat
0
136
Member Avatar for lxXTaCoXxl

Figured I've been working on material for a while and would throw these up for everyone that needs them in the future to use. It's very simple implementation; if I get enough people asking me to, I will write the methods for each of the instructions so you don't have …

Member Avatar for skatamatic
0
280
Member Avatar for davy_yg

Hello I am having this codes: <?php // Add new book using DOM $dom = new DomDocument(); $dom->load("books.xml"); $book = $dom->createElement("book"); $book->setAttribute("isbn", "0973589825"); $title = $dom->createElement("title"); $text = $dom->createTextNode("php|architect’s Guide to PHP Design Patterns"); $title->appendChild($text); $book->appendChild($title); $author = $dom->createElement("author", "Jason E. Sweat"); $book->appendChild($author); $publisher = $dom->createElement("publisher", "Marco Tabini &amp; Associates, …

Member Avatar for veedeoo
0
331
Member Avatar for jateshs1007

Guys i am niew for the .net site development. I have a small question. I have my personal login page created in jquery. I am not using login form of ASP.net. Now the question is how to create a session for the user. I have 4 web pages (Below are …

Member Avatar for hericles
0
167
Member Avatar for bo0ga

Hey guys. I am new at programming and would appreciate any help I can get. I want to make a program that reads the HTML code of a web page, and writes a specific line into a document. So for example, I want my code to read the source of …

Member Avatar for NormR1
0
209
Member Avatar for PeTo.

I'm having some trouble making my snake move :D I can move one point in any direction but the whole body of the snake is where I'm confused , if(a == (char) 119 || a == (char) 87 || a == 72) { y=y--; gotoxy(x,y); PrintVector(v); } thats works just …

Member Avatar for PeTo.
0
2K
Member Avatar for hwoarang69

in my index.php there is a <p> tag in form. i want to print errors there from login.php file. in login.php iam checking for 3 errors. is there a way i can print them in index.php in <p> tag? i was thinking may be i use an array in login.php? …

Member Avatar for diafol
0
643
Member Avatar for Gus_19

How can I trigger my "save" event when a user clicks the 'X' on the control box? I have code written for saving all of the information, but I don't know how to modify the control box features other than declaring it true or false.

Member Avatar for Begginnerdev
0
129
Member Avatar for priyamtheone

Hi, I'm trying to create my own numeric textbox that will handle decimal as well as whole number values. The concept is, unlike the regular textbox, this one will accept a value of 'Double' data type and show it with proper formatting e.g. Leading Digits, Digit Grouping etc. When the …

Member Avatar for Begginnerdev
0
229
Member Avatar for Iamateur

2 textboxes to accept fromdate and todate and check with the database column of ida,rda and if matches then display only that row. I tried it in the below way but not able to do. con.Open() i = DataGridView1.CurrentCell.RowIndex cmd = New SqlCommand("SELECT COUNT(*) FROM IssueMBA WHERE ida='" + TextBox1.Text …

Member Avatar for Begginnerdev
0
108
Member Avatar for GFX010

Greetings to all, I have two functions: Function 1: ImageToByteArray: Is used to Convert an Image into a Byte Array and then Store in an Oracle Database, in a BLOB Field. public byte[] ImageToByteArray(string sPath) { byte[] data = null; FileInfo fInfo = new FileInfo(sPath); long numBytes = fInfo.Length; FileStream …

0
295
Member Avatar for crash bash

Hi everyone i do not know how to do this home work +SearchFriends( char ): boolean This method is used to know if there is friends exist in friend list whose name starts with given char. For example if you called the method SearchFriends (a) and there exist a friends …

Member Avatar for corby
0
69
Member Avatar for aditya barge

in which i wnt sme small widow and data usage and speed increase n decrease can b done n v cn use a credit or atm card also

Member Avatar for Begginnerdev
0
114
Member Avatar for hg_fs2002

I am using such linked list: private Class Node { public int Num1; public int Num2; } LinkedList<Node> list = new LnkedList<Node>(); Node n = new Node(); n.Num1 = 10; n.Num2 = 100; list.Add(n); but now I don't know how to access Num1 and Num2 using my LinkedList. For example, …

Member Avatar for corby
0
131
Member Avatar for hastingo

im trying to learn mvc but i need help in mvc.. how can i get code or project written in mvc in C#.net .. email :hk20067@yahoo.com

Member Avatar for hastingo
0
2K
Member Avatar for aminevb

I can't add infromation to my Projet.mdb ! please help me ! this is my code Try Dim ConStr As String = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = C:\projet.mdb" Dim Save As New OleDbCommand Dim Conn As New OleDbConnection(ConStr) Save.CommandText = "INSERT INTO Client(Nom,Prenom,Adresse,Téléphone,date) VALUES(@p1,@p2,@p3,@p4,@p5)" Save.Parameters.AddWithValue("@p1", TextBox1.Text) Save.Parameters.AddWithValue("@p2", TextBox2.Text) Save.Parameters.AddWithValue("@p3", TextBox3.Text) Save.Parameters.AddWithValue("@p4", …

Member Avatar for Begginnerdev
0
92
Member Avatar for saadi06

Hi, I am using jquery form validation and jquery multiple file upload script but I am having problem with it. My multiple upload script works like this <input type="file" name="userfile[]" size="20" class="multi MultiFile-applied" type="file" maxlength="5" accept="gif|jpg" /> and I dont want to apply jquery validation code on this field but …

Member Avatar for saadi06
0
241
Member Avatar for RonKevin

hey guys, recently I have been watching how a game is made..But im really interested in making models...model for characters and animating them...I just dont know how..can anyone tell me what I should practice first? Im capable of drawing characters be it anime or not....Also, is there someone here that …

Member Avatar for nmaillet
0
142
Member Avatar for QuaminaIT

function validscript() { var fname = document.getElementById("fname") ; var lname = document.getElementById("lname") ; var number = document.getElementById("number") ; var email = document.getElementById("email") ; var confemail = document.getElementById("confemail") ; var street = document.getElementById("street") ; var city = document.getElementById("city") ; var state = document.getElementById("state") ; var zip = document.getElementById("zip") ; if (fname.value …

Member Avatar for fobos
0
166
Member Avatar for rahim_fayaz

Hi I am getting this error when running a very similar code like the below. I have memory problem,but i dont know how can solve it. please help. Thanks in advance. /////////////////////////////////////////// ~~~~~~~ERROR~~~~~~~~ terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted /////////////////////////////////////////// ~~~~~~~~Code~~~~~~~~~ int main(){ /** Declare …

Member Avatar for rahim_fayaz
0
141
Member Avatar for samar11

please help me coding this in c++: ï‚· Inverse matrices. ï‚· Calculate matrix determinant. ï‚· Set a row or a column of the matrix to a certain value. ï‚· Calculate performance (time and memory taken by each algorithm).

Member Avatar for samar11
0
167
Member Avatar for abulut

Hİ; I want you guys to prepare a script. I will attach output.txt file. ıt should check BSC and BCF name which are in INPUT.txt and SITE.txt. After comparing , ıt should come out a SITE column in the OUTPUT.txt and there will be site names under of that column. …

Member Avatar for abulut
0
133
Member Avatar for showman13

Good Morning... I was just wondering if it is possible to do a query based on the status of a record, and if one is found with the status of 'E'arned, then to return the relevant fields from that record while at the same time changing the status to 'P'laced... …

Member Avatar for diafol
0
174
Member Avatar for PuQimX

i have read a txt file into queue just like below example which is i can do it.. the problem is i how to read Tab Delimited Files which i want file size to multiple by 0.6... because i want to create handle a printer simulation using queue...sorry for my …

Member Avatar for PuQimX
0
161
Member Avatar for programing

here code for make new file .. how i can make it to insert data to file and open it /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package files; import java.io.*; import java.util.Scanner; public class Files{ public static …

Member Avatar for NormR1
0
792
Member Avatar for jaysb

hello sir i have python code can u convert it into java . code is below..... plz help............ # Ad-hoc algorithm for copy-move forgery detection in images. # Implemented by - vasiliauskas.agnius@gmail.com # Robust match algorithm steps: # 1. Blur image for eliminating image details # 2. Convert image to …

Member Avatar for TrustyTony
0
4K
Member Avatar for GeekTool

import java.util.Scanner; public class Interest { public void determineInterest(){ Scanner input = new Scanner(System.in); double amount; double rate1 = 0.05; double rate2 = 0.06; double rate3 = 0.07; double rate4 = 0.08; double year; double principal = 1000; System.out.println("Please choose your bank below:\na)Ziraat Bankasi\nb)Halk Bankasi\nc)Is bankasi\nd)City Bank"); String bankname = …

Member Avatar for NormR1
0
264
Member Avatar for Despairy

I have read a file with around 120k words so i try to do it fast. have seen the: int x = setvbuf(fp, (char *)NULL, _IOFBF, BSZ); assert( x == 0 && fp != NULL ); option but it takes more than a second ( 1 mb file) so now …

Member Avatar for Despairy
0
296
Member Avatar for hwoarang69

so i have a database set up. it has 3 fields. 1 is id, 2nd is uername, and 3rd is password. i already create a one username and password. in index.php for some reason it always goes inside else statment. and it skips the if part. -------------------- index.php -------------- <?php …

Member Avatar for phorce
0
462
Member Avatar for kelvinejimogu

Hi guys, **I have this error :** Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most …

Member Avatar for kelvinejimogu
0
182
Member Avatar for libathos

Does anybody know any tool that can transform automaticcally a java-program into uml?

Member Avatar for libathos
0
112
Member Avatar for drichird

In Python: #python class myClass: istat = 111 #exists as soon as import class def __init__(self): print("in ctor") self.iauto = 222 #does not exist until instance created ..... mc1 = myClass() mc2 = myClass() In C++: //C++ class myClass { public: static int istat; int iauto; }; ..... //main myClass …

Member Avatar for Gribouillis
0
808
Member Avatar for vimit

Hello, Please tell me how to use datagrid in C# windows application? How to use other controls like textbox, checkbox and combobox in datagrind and populate it from database. Thanks VIMIT

Member Avatar for faizan11
0
152
Member Avatar for Miz_LiLO

I cant display this output..how i can i declare the gender n relate it with my price..i stuck here..oop c++ i have 2 coding for this..which 1 is better..im new in this progrmmer.. void eSalon::priceCurling() { cout<<"\nYour Gender is: "<<gender; if (gender=female) { cout<<"Long Hair Rm30-RM49"<<endl; cout<<"Short Hair RM50-RM100"<<endl; } …

Member Avatar for ravenous
0
120
Member Avatar for vuquanghoang

I have a code on the Internet and I have rewritten it, but there are t and n3 variable in the odd_order function that I don't understand their meaning. Please help me to explore it. :D. This code is generating a odd order magic square. <html> <head> <title>Magic Squares</title> <script …

Member Avatar for fobos
0
223
Member Avatar for manzoor.ilahi77

I need not to focus on readonly input and when user tab it should jump to next write field. <input type="text" name="first"></input> <input type="text" name="second" readonly="readonly"></input> <input type="text" name="third"></input> <input type="text" name="fourth"></input> <input type="text" name="fifth" readonly="readonly"></input> <input type="text" name="sixth"></input> <script> $(document).ready( function(){ $('input').focus(function(e) { var readonly = $(this).attr("readonly"); if (readonly) …

Member Avatar for stbuchok
0
1K
Member Avatar for Farhad.idrees

i have this code...i m retreiveing did from selected name........ i want to assign this to varible because i want to use this variable to another place... i hope i will get help here.. [code] MyDataAdapter = new SqlDataAdapter("select D_Id from tblDepart where D_Name = '" + D_Name + "'", …

Member Avatar for vpsingh136
0
172
Member Avatar for arezz09

i need to build wedding card webased system...so i need to create a gallary for wedding card with card information. How to upload that picture into gallary and next time i can delete it back or update information about that picture information..

Member Avatar for seslie
0
96
Member Avatar for reitzscape

client.java:8859: error: class, interface, or enum expected person.updateRequired = true; ^ client.java:8860: error: class, interface, or enum expected person.hitUpdateRequired = true; ^ client.java:8861: error: class, interface, or enum expected person.currentHealth -= misc.ran dom(30); ^ client.java:8862: error: class, interface, or enum expected } ^ client.java:8867: error: class, interface, or enum expected …

Member Avatar for NormR1
0
345
Member Avatar for DaveyMoyes

Hi everyone, I have been trying to write a php script to display a div and its contents depening on a result from mysql. Inside the div is a basic input form etc, nothing special, some error & validation checking. What I would like to do is, to only display …

Member Avatar for pritaeas
0
180
Member Avatar for eagle_phoenix2

I am using visual studio 2010. I wanted to compile my cpp from cmd. I can compile it using "cl file.cpp" comand in visual studio developer command line tool. But I wanted to compile it from the built in cmd of windows. When I try to use the command "cl …

Member Avatar for eagle_phoenix2
0
703
Member Avatar for ilovejava

i have to do a pyramid with a pattern like this [iCODE] 1 1 2 1 1 2 4 2 1 1 2 4 16 4 2 1[/iCODE] i just realized dani web didnt take my center pyrmaid thing it moved to the side no matter what spacing i did …

Member Avatar for JamesCherrill
0
323

The End.