199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Buffalo101

Hello, I have a window's handle; with that, I want to restore the window = bring it to front, on top of any other windows I have, and set focus on it. The only way I can do that (using shortcuts, atm) is by minimizing the currently active window and …

Member Avatar for Diamonddrake
0
309
Member Avatar for eman 22

I have an integer array and I want to fill it. [CODE] int* a=new int[7]; [/CODE] but I want to check at first if the element a[i] is set before or not. Ex. a[3]=2; a[3] has value but all elements in a hasn't have any value until now, How can …

Member Avatar for Narue
0
86
Member Avatar for uselessninja

hello guys..... i need a help about javascript how to convert number (ex. 1) ----> to a word (ex, one)? here it is.... ....if i will input a number like 20 it will then displayed a word twenty.. (the numerical 20 --------> become a word "twenty") thankz in advance

Member Avatar for uselessninja
0
162
Member Avatar for PixelatedKarma

Good morning everyone, I could be crazy but I am starting to work more on both my php skills and my mySQL skills, forgive me if I am asking the wrong question in the right forum or vice versa. [B]My objective[/B] I am building a script so when I log …

Member Avatar for PixelatedKarma
0
177
Member Avatar for vishalrane

[CODE]Private Sub frmCust_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load dbSource = "Data Source=xx-B4C521B850\SQLEXPRESS;Initial Catalog=TT;Integrated Security=True" con.ConnectionString = dbSource con.Open() da.Dispose() sql = "Select * from Cust" da = New SqlClient.SqlDataAdapter(sql, con) da.Fill(ds, "Cust") da.Update(ds, "Cust") con.Close() MaxRows = ds.Tables("Cust").Rows.Count inc = -1 End Sub [/CODE] if after …

Member Avatar for debasisdas
0
112
Member Avatar for simirnov

Hi, I am new to PHP Development. I am retrieving data from my database table clf_email. I am having a mysql_num_rows error in results. I cannot understand where i am going wrong and what error i am doing in the code. Please help in removing this error. [CODE] <?php require_once("../db.php"); …

Member Avatar for simirnov
0
268
Member Avatar for asterix15

what is the use of making a variable public. After all the client is provided only with the .exe code So now whats the actual use of maling a variable private?

Member Avatar for stultuske
0
102
Member Avatar for ronnieaka

i tested the php version of the autocomplete example in ajax using PHP from here: [URL="http://www.w3schools.com/ajax/ajax_aspphp.asp"]http://www.w3schools.com/ajax/ajax_aspphp.asp[/URL] i tried the PHP veriosn, not the ASP version. It worked fine. Now i want to implement the same thing in JSP, and so i translated the PHP version of source file (which has …

Member Avatar for ronnieaka
0
235
Member Avatar for apanimesh061

I want to print all the numbers in the loop ..... How should I do it ? Please help ! [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication5._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat ="server" > void Page_load() { int counter = 0; while (counter <= …

Member Avatar for dnanetwork
0
151
Member Avatar for Nitin Daphale

I have already added a checkbox column in grid and later on dynamically adding other columns and data. I can see that column is appearing in grid with other columns but am not able to check/uncheck any individual row. Anybody can tell me whats I am missing? For more reference …

Member Avatar for dnanetwork
0
148
Member Avatar for quanzi_1507

Hi, I have to design an ERD based on these order and delivery note samples. Order sample -Order ID (random) -Customer's name -Customer's address -Date of order -table (list of item ordered) ID (ordered number, random) | Item's name | Description | Unit | Quantity Delivery note sample -Delivery note …

Member Avatar for quanzi_1507
0
217
Member Avatar for kitjo

i published my projects but it seems when i install the published setup, the application does not fetch data from the database yet the database is included in the published application. could anyone help me with this exception?

Member Avatar for Pgmer
0
164
Member Avatar for anurag.kyal

Code: FileInfo fi = new FileInfo("\\intranet.xyx.com\abc\efg\def.txt"); if (!fi.Exists) Console.WriteLine("Doesnt exist!"); Prints doesnt exist whereas this file actually exists. It works fine with files on my computer but. Is the method to access this file(on the intranet) wrong. Infact, the VB code for the same: try Dim dummy As String = …

Member Avatar for anurag.kyal
0
150
Member Avatar for Mr. pen

Hii all :D How are you ? Hope Everything is gr8 first ,sorry for any language mistakes , but English is not my native language :) This is my Code which has 5 class 1. district. 2. region. 3.MinsteryOdEducation 4.main 5.SchoolGroup all the codes are below .. I design it …

Member Avatar for Mr. pen
0
187
Member Avatar for Aamit

Hi, I want to find All no of week in any month. And first and last date of that week. Assume Month is Jan 2011 date in Y-m-d 1st week -> Start date=2011-01-01 End date=2011-01-01 2nd week -> Start date=2011-01-02 End date=2011-01-08 3rd week -> Start date=2011-01-09 End date=2011-01-15 4th …

Member Avatar for urtrivedi
0
9K
Member Avatar for arka.sharma

Hi All, I am trying to write a program that will take a straight line,circle,square or some regular geometric shape as an image.And tell which geometric figure it is.Anybody give me some idea where to start. Thanks and Regards Arka

Member Avatar for JamesCherrill
0
134
Member Avatar for goyofoyo

so I am in the process of creating a lc-3 compiler that is written in C and I am stuck on how to convert the BR command into C language, the assignment asks that i get a file and then spit it out in zeros and ones , but with …

Member Avatar for TrustyTony
0
267
Member Avatar for kha_tsn

This code is to generate excel with grid lines in it with file name as you given in the code which will disply when you opening throug the download dialog box, Regards, khaleel

Member Avatar for ngabach
0
467
Member Avatar for nonshatter

All, I have a simple question. What is the standard procedure for retrieving form values via POST method in a web form? Perl can be extremely awkward for web programming, I'd normally use something else, but in this case I need to use Perl for the CPAN module. Anyway, back …

Member Avatar for nonshatter
0
477
Member Avatar for mdpepper

Hi guys. I am an IT student currently 3 days into my work placement which is the mandatory 3rd year of my degree course. I am working for a charity in England and my first task is to transfer data from excel sheets to a microsoft sql management studio database. …

Member Avatar for pritaeas
0
201
Member Avatar for bangor_boy

Can someone please explain break statements to me, as far as i understand a break statement leaves the loop before it has ended. But i run this code and expect to get "Zero" "One" But I get "Zero" "One" "One" "Unknown number" [CODE] for (int i = 0; i < …

Member Avatar for stultuske
0
181
Member Avatar for WildBamaBoy

If you look at a bunch of files with the Details view, file types known to Windows have a greater description of the file in the Type column. For example, .exe is an Application, .txt is a Text Document, and .cpp is C++ Source. If they are not known, Windows …

Member Avatar for WildBamaBoy
0
96
Member Avatar for FiToKa

Hello, everybody. I'm having some terrible task for homework and I'm just out of my mind. Here it is: [I][COLOR="Red"]Define a class Deque that represents a deque of strings by keeping its elements in a dynamically allocated array (with maximum capacity) and make the deque as a "circular array" (the …

Member Avatar for FiToKa
0
138
Member Avatar for kaizerkiller

I got a database named file a table named product has these fields: id | name | sizes | price 1 | Shoe | 9,9.5,10 | 40.25 You can see in the sample record the field sizes. I want to display each sizes in a button, but I don't know …

Member Avatar for diafol
0
125
Member Avatar for ssesham1

Hi, I want to use a template function that is used to convert strings to numeric types in a non-templated class. I have: [CODE] class Reader { ... template <class T> T ConvertString (const std::string str); }; [/CODE] Is it possible for me to define the template function in an …

Member Avatar for thekashyap
0
437
Member Avatar for ebanbury

Hi Firstly I apologise if this is the wrong forum. The code is a mix of PHP and Javascript, but my overall page is PHP. What I have is one dropdown box, which depending on what is selected produces the appropriate second dropdown box. This is all great and works …

Member Avatar for twiss
0
149
Member Avatar for ebanbury

Hi There. I have a property website, which already has some extensive search criteria for users to filter which properties they would like to see. I need to add to the search queries that fact that only properties which are within 21 days from the date they were submitted should …

Member Avatar for ebanbury
0
119
Member Avatar for bangla

Hi, I am a beginner in php and mysql. Someone pls be kind to help me the following if possible. 1. I know the host name, database name, table name 2. The table has 3 fields-State, Name, Specialty. 3. I want to have a drop down list name ‘State’. In …

Member Avatar for twiss
0
215
Member Avatar for XMasterrrr

Hello guys as i see this is a little error and i don't know how i can't fix it so the following are the main and the header file from the book i learn from: main: [CODE]#include "../std_lib_facilities.h" int main() try { vector<int>numbers; int number; cout << "Enter the numbers …

Member Avatar for Salem
0
431
Member Avatar for brisby

Hi everyone, im still new to this forum and started to learn about visual 6, i have situation below, this program to obtain reader name and bonus point earned menu File Edit Help Points Clear About Summary __________ Exit Font Color Quesstion, For Points menu command what is a suitable …

Member Avatar for ChrisPadgham
0
516
Member Avatar for NuGG

I have made the mistake of adding a large amount of comma separated data to a specific field in a certain table without adding spaces between each! (Stupidly didn’t realise the associated application requires spaces!) Now I am trying to create a query that can add these spaces in automatically …

Member Avatar for ChrisPadgham
0
368
Member Avatar for warlord902

I have some doubt regarding how class variable gets initialized, both static and non static. I mean, suppose I have a class like below. [CODE] public class MyClass{ public static HashMap<String,Buddy> buddiesMap= new HashMap<String,Buddy>(); public static ArrayList<String> buddiesList=new ArrayList<String>(); public static HashMap<String,ImageIcon> avatarMap=new HashMap<String, ImageIcon>(); public static ServerConnection con=new ServerConnection(); …

Member Avatar for thekashyap
0
580
Member Avatar for winecoding

I am learning to use mahout by starting with a example copied from the book. However, the eclipse compiler gives me the following message: [QUOTE]Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.apache.mahout.cf.taste.impl.model.file.FileDataModel.<clinit>(FileDataModel.java:119) at mia.recommender.ch02.RecommenderIntro.main(RecommenderIntro.java:18) Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at …

Member Avatar for thekashyap
0
204
Member Avatar for vom53

------------------------------ [U][B]Problem:[/B][/U] Given a slider x-value find and plot the equation of the line tangent to a given curve f(x) together with the function f(x). ------------------------------ [CODE]from visual import * def function(): print "Type in your function." return raw_input("Enter it again, %s." % (yn)) from visual.graph import * # import …

Member Avatar for vom53
0
135
Member Avatar for Soubhik

Hi Say I want to write a header file as an exercise. It will contain a bunch of functions and some constants. Q1. I noticed that the standard header files only contain the function prototypes. a> Where are the actual functions? b> How do I write a header file such …

Member Avatar for Soubhik
0
216
Member Avatar for dyingatmidnight

My code is not behaving as I would like and I think I've just been looking at it far to long to find the errors. Its for a library database for a school project (its sort of an independent study so I don't have an instructor to bring it to) …

Member Avatar for dyingatmidnight
0
113
Member Avatar for sunnynight

Dear Friends, This is my homework, I have a text file containing the following content: [QUOTE]0 12 1 15 2 6 3 4 4 3 5 6 6 12 7 8 8 8 9 9 10 13[/QUOTE] I want to read these integers from data.txt file and save the two …

Member Avatar for hfx642
0
199
Member Avatar for sid78669

I have two tables, Episodes and Seizures, with their respective Forms. On Episodes, I have a button the user clicks to open the seizure Form and its internal working is below. The problem is when the form is opened and filtered by parent form, the seizure form instead of filtering …

Member Avatar for sid78669
0
181
Member Avatar for vomhaus

I wrote a method to read in a txt file and then return the value(s) line by line. However, the value(s) are being returned as such - [Ljava.lang.String;@6f579a30. I would have expected something different. The .txt file I'm reading in has value(s) in the file like this... A B C …

Member Avatar for NormR1
0
150
Member Avatar for Stefan_Lam88

Guys I have a question here. I write a custom validation and then my validation summary doesnt show up. Any suggestion.. I just use onservervalidation,without client validation. is that possible to show up the message? [CODE] protected void ServerValidation(object source, ServerValidateEventArgs args) { if (args.Value.ToString().Equals("Select")) { args.IsValid = false; } …

Member Avatar for Stefan_Lam88
0
116
Member Avatar for Seaboot

I am interested in learning simple 16 bit interaction of code between Turbo C++ 3 and Masm 6.11. Could anyone describe how that would basically work in terms of what statements in either contribute towards the interaction. Thanks.

Member Avatar for Ancient Dragon
0
262
Member Avatar for XMasterrrr

Hello guys as i see this is a little error and i don't know how i can't fix it so the following are the main and the header file from the book i learn from: main: [CODE]#include "../std_lib_facilities.h" int main() try { vector<int>numbers; int number; cout << "Enter the numbers …

Member Avatar for XMasterrrr
0
250
Member Avatar for merse

I would like to ignore empty line and line started with # [CODE] std::string line; while (getline(input,line)) { if (line[0] == '#') continue; if (line[0] == '?') continue; ... } [/CODE] Where ? is, I would like to put the end line character, but what is it in C++?

Member Avatar for mrnutty
0
215
Member Avatar for winecoding

I am trying to save an integer matrix to the csv file. My code is listed as follows. [CODE]try { FileWriter writer = new FileWriter("test.csv"); for(int i = 0; i < row; i++) { for (int j=0; j<(column-1); j++) { writer.append(Matrix[i][j]); writer.append(','); } writer.append(Matrix[i][j]); writer.append('\n'); writer.flush(); } writer.close(); } catch(Exception …

Member Avatar for hfx642
0
120
Member Avatar for dgreene1210

I am only a very beginner and was wondering if anyone can give me some help in determining how to fix the error messages i keep getting when i try to compile. I have been pulling my hair out for 3 days. Any help is much appreciated! attached is the …

Member Avatar for MareoRaft
0
974
Member Avatar for rino_abraham

Please review the code as i am geting the error where i have placed arrow mark on the code section. Afer editing when i click on the update the below error is fired. what i am doing wrong Error: Unable to cast object of type 'System.Web.UI.WebControls.DataGridLinkButton' to type 'System.Web.UI.WebControls.TextBox'. using …

Member Avatar for rino_abraham
0
288
Member Avatar for MareoRaft

This program refuses to take foom as input, yet if I were to put "matrix.txt" into the function instead of foom, it would work fine. [CODE]#include <fstream> #include <iterator> #include <sstream> #include <vector> #include <string> // needed? using namespace std; typedef vector<double> Vec; typedef vector<Vec> Mat; Mat readMatrix(string foom){ Mat …

Member Avatar for mrnutty
0
244
Member Avatar for dgreene1210

I am only a very beginner and was wondering if anyone can give me some help in determining how to fix the error messages i keep getting when i try to compile. I have been pulling my hair out for 3 days. Any help is much appreciated! attached is the …

Member Avatar for raptr_dflo
0
172
Member Avatar for gil_mo

Hi, Absolute newbie to cryptography. I'm looking for C++ open source code (to be compiled on Windows, Mac, linux), for doing the following: 1. Generate private+public keys (need not run on all platforms). 2. (server side) Adding a digital signature to an XML document using a private key. 3. (client …

Member Avatar for raptr_dflo
0
279
Member Avatar for localp

I am using Visual Studio 2008. I created a windows Console project and wrote my code. it compiled well and the program created a default .exe file. Now i created another project. this time its a C# project, and i am trying to access the functionality from the C++ project …

Member Avatar for raptr_dflo
0
165

The End.