199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jemz

Hello can you help me please, Is it possible to load only 30 data on my listivview?after i run my program?can you helop me please. Thank you in advance and I am hoping for your positive response

Member Avatar for jemz
0
210
Member Avatar for ajwest85

Im using awk script programming in the END state if i set the for loop i in name it would print out the values of the name array but not the sales array, If i set the for loop i in sales it would print out the values in the …

Member Avatar for thekashyap
0
150
Member Avatar for fclopez

Hi , A simple stupid question: I am to read the contents of a file that goes this way RXbytes = 0 b TXbytes = 0 b RXbytes = 3 Kb TXbytes = 2 Kb RXbytes = 119 Kb TXbytes = 6 Kb RXbytes = 189 Kb TXbytes = 5 …

Member Avatar for jonsca
0
485
Member Avatar for abhi10kumar

Query Runs in mysql but gives an error when I run in PHP here is the query [CODE]select p.pid as pid, s.sid as sid, s.status as staus, p.name as name, p.mobile as mobile, p.email as email, c.name as course from students as s, prospects as p, courses as c, batch …

Member Avatar for karthik_ppts
0
97
Member Avatar for kz13

Hi all...I am new to ajax and facing an uneven problem. I am validating login form and calling the same link (with additional parameters) through xmlhttp.open(). First the form code [CODE]<div id= "login" method="GET" > <form action="" id="contactform"> <input type="image" src="login-button.jpg" name="login_user" id="button" value="Login" alt="Submit button" onclick="loadXMLDoc(username.value, password.value)"/> </form> <span …

Member Avatar for pclfw
0
229
Member Avatar for xanawa

Hi, I have a value in a string with a semicolene and i would like to remove that semi colene and put a dot. [B]FROM[/B] string a = 10:12; [B]TO[/B] string a = 10.12;

Member Avatar for Mitja Bonca
0
118
Member Avatar for lpmike

Hi, i have a card number and i convert it into hexadecimal. After that i wan to set the format to 6 digit if the hexa card number has a length =5. so how i'm going to set the format? [ICODE] Dim value As Long value = Convert.ToInt64(CardNo) dim CNo …

Member Avatar for Luc001
0
190
Member Avatar for spence89

Hi guys, I've just managed to get 99% of a script running for my website. I am creating a system where a user can create an invoice using our billing system, and then download it via PDF. I am using Persists PDF module and I have got it all working. …

Member Avatar for spence89
0
507
Member Avatar for saffan

Hi this is my first week in vb.net I m using visual studio 2010, I am trying to show the week days in Combo box but its not showing when i run it. plz help! Class MainWindow Private Sub ComboBox1_SelectionChanged(sender As System.Object, e As System.Windows.Controls.SelectionChangedEventArgs) Handles ComboBox1.SelectionChanged Dim listofdays As …

Member Avatar for Mitja Bonca
0
123
Member Avatar for lpmike

Hi all, how to get values from checkbox in datagridview and transfer into arraylist? i'm using datagridviewcheckbox column..new checkbox will be added into datagridview when it populate from sql query. the example table is shown as below. CardNo|Name|Door Access|checkbox1|Lift Access|checkbox2 02233 |Lyn |Testing | checked | - |unchecked 01999 |Matt| …

Member Avatar for Mitja Bonca
0
302
Member Avatar for xanawa
Member Avatar for xanawa
0
288
Member Avatar for Naveed_786

Hello to all, How to print the contents of textboxes in proper formate like Student Name ABC Father Name BDC DOB 14/02/2011 Please help if any body know Thanks in advance.

Member Avatar for Luc001
0
185
Member Avatar for pinkygirl

Hi, I need to know more about oracle database. 1)Introduction. 2)Importance. 3)Advantages and disadvantages. 4)Effects. 5)Diagrams. 6)Features.

Member Avatar for pinkygirl
0
116
Member Avatar for zakir ali

function main() { if(window.XMLHttpRequest) { ab=new XMLHttpRequest; } else { ab=new ActiveXObject("Microsft.XMLHttp"); } ab.onreadystatechange=function(){ if(ab.readyState==4 && ab.status==200) { document.getElementById("progress").innerHTML=ab.responseText; } } ab.open("GET","querygoogle.php"); ab.send(); } function test(id) { if(window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest; } else { xmlhttp=new ActiveXObject("Microsft.XMLHttp"); } xmlhttp.onreadystatechange=function(){ if(xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("testdiv").innerHTML=xmlhttp.responseText; //alert(xmlhttp.responseText); } } xmlhttp.open("GET","test.php",0); xmlhttp.send(); } function …

0
160
Member Avatar for computerbear

Hi, I am trying to create a form application with console. I label my text box using, this.Test = "Assignment 8". There is a button saying press me. When button is pressed, the box that comes up needs to say Click me in the title area. I can't find anything …

Member Avatar for computerbear
0
2K
Member Avatar for Prahaai

Greetings, I'm using PyQt4 and trying to add a QGraphicsItem exactly in the center of the current screen, by clicking a menu button. So each click will add an item in the center of my screen. My QGraphicsScene is very large (10k X 10K), so the QGraphicsView cannot show it …

Member Avatar for Prahaai
0
1K
Member Avatar for bhagawatshinde

Hi Everybody, I am developed an application software in that i want to use notification Icon. But it seems to doesn't work for me. can anybody help me? Here is my code [CODE]private void button29_Click(object sender, EventArgs e) { notifyIcon1.Visible = true; notifyIcon1.ShowBalloonTip(2000, "Hello", "Hi", ToolTipIcon.Info); }[/CODE] it will not …

Member Avatar for bhagawatshinde
0
250
Member Avatar for Drakarus

I am trying to figure out how to automatically close a simple windows application in C. I know how to create the window. But I have no idea how to get it to automatically close when it has opened without user input/interaction. Basically when it is called upon, I want …

Member Avatar for chrjs
0
152
Member Avatar for abelLazm

hi... I made two class assemblies to use with my project now I want to make DLL of these class libraries so that deployment will be easy. can any one help me how to convert a class library to DLL. or com object Thanks in advance

Member Avatar for abelLazm
0
303
Member Avatar for montjoile

hi. Im trying to make an expresion tree for every ER that I read each ER will be transformed into postfix and saved in a string, which I'll be sending to arbol_expresion() to create it`s tree expression Searching on the web I found a method to convert the postfix expresion …

Member Avatar for abhimanipal
0
133
Member Avatar for adobe71

How can I upload image by checking pixel(ie 100x100) and size(ie 50kb)in MS Access and retrieve from database to show in image control using C#.

Member Avatar for sgt_toasty
0
87
Member Avatar for Trustify

I don't know what I'm doing wrong but I open my filed correctly but it doesn't display the contents in the file. Please help. [CODE]#include <iostream> #include <fstream> using namespace std; int main() { const int SIZE = 81; char input[SIZE]; fstream dataFile; dataFile.open("info.txt", ios::in); dataFile.getline(input,SIZE); system("pause"); return 0; }[/CODE]

Member Avatar for Trustify
0
163
Member Avatar for romz

I have a project in VB6 and I need help in how to get the number of selected rows in a Datagrid.. I have already tried using datagrid1.selBookmarks.count but it doesnt seem to work.. i have set the marquee style property of the datagrid into highlight rows. Can someone give …

Member Avatar for Jx_Man
0
802
Member Avatar for VernonDozier

I've done Hello World programs with Visual C++ Express 2010 before, but I always checked the "Empty Project" option. This time I selected a Console project and took the defaults. Program is below. [code] // HelloWorld.cpp : Defines the entry point for the console application. // using namespace std; #include …

Member Avatar for VernonDozier
0
1K
Member Avatar for mi2010

I want a c++ code to : play a segment of awave between two times entered by the user. for ex :to play a wave between 4 and 100 seconds.

Member Avatar for jackmaverick1
0
110
Member Avatar for makimbo

I have this function: [CODE] function card_draw ($numeroDeobjetos) { for ($i=0; $i<$numeroDeobjetos; $i++) { $aleatorio=rand (1,40); $usada[$aleatorio]=true; } for ($i=0; $i<=39; $i++) { if ($usada[$i]==false) { echo '<img src="card.jpg">'; } else { echo '<img src="'.$i.'.jpg">'; } } }[/CODE] How can I do to prevent repeated numbers in $aleatorio? Thank you.

Member Avatar for makimbo
0
135
Member Avatar for rena0514

My program is suppose to create a two dimensional array that is read from a file. And use a recursive function to find how many white areas ('w'). My program runs with no errors but i cant get any response from my recursive function. Cpp file: [CODE]/* This program accepts …

Member Avatar for rena0514
0
221
Member Avatar for james6754

Anyone let me know what is going on here? Think it is something to do with the scope. [CODE] double answer; if (sender is System.Windows.Forms.Button) { try { answer = Convert.ToDouble(answerBox.Text);//if cannot convert } catch (Exception ex) { MessageBox.Show("Enter a valid number" + ex.Message(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } } …

Member Avatar for TheJohnSpecko
0
90
Member Avatar for newbie14

Dear All, I have a page at this link [url]http://183.78.169.54/v3/addTab.php[/url]. Then you can click the Driver Employment tab and add just two rows and press the Add button. Then it will take to Driver Details and show all the fields are required. The problem here is that the Driver Employment …

Member Avatar for Airshow
0
660
Member Avatar for tikoti

Hi all, I have been doing for fun this problem in projecteuler.net. The problem is as follows: +++++++++++++++++++++++++++++++++++++++++ Peter has nine four-sided (pyramidal) dice, each with faces numbered 1, 2, 3, 4. Colin has six six-sided (cubic) dice, each with faces numbered 1, 2, 3, 4, 5, 6. Peter and …

Member Avatar for TrustyTony
0
519
Member Avatar for Suzie999

I am trying to compare a string literal with a string downloaded from a webpage. Here is my code. [CODE]using System; using System.Collections.Generic; using System.Text; namespace testsource { class Program { static void Main(string[] args) { string source = getPageSource(@"http://www.mywebsite.co.uk/index.php"); string fromsource = source; Console.WriteLine(fromsource); //Displays Text Here in console …

Member Avatar for Suzie999
0
103
Member Avatar for acxes

Hello, I am working on my new project and I need to create a table for each user dynamically. In which the user will provide the Table name in the textbox and on pressing Create button a new table gets created in the same MS access database file with the …

Member Avatar for aydinozdemir
0
2K
Member Avatar for TheBadger

Compare the two and just return how many match, don't need to know which ones matched Having a bit of brain freeze on this right now, any got any ideas?

Member Avatar for Mitja Bonca
0
119
Member Avatar for Tenaciousmug

It's only displaying the first result and not the others. What am I doing wrong? I'm selecting the items the user occupies. Then I'm selecting the name and image of that item from the item table. [CODE]echo "<table cellspacing=\"0\" class=\"news\" align=\"center\">"; echo "<tr>"; $sql = "SELECT * FROM useritems WHERE …

Member Avatar for C#Jaap
0
138
Member Avatar for peq

I don't know what I'm doing wrong, I've at it with trial and error for quite some time and still can't figure this one out. Here's the question and I'll add what I have so far at the bottom. Basically I have no idea how to meet these specifications with …

Member Avatar for stultuske
0
159
Member Avatar for shadowscape

Hello Everyone. i have created a XOR Encryption libary in c...well tried with some help. But there is something wrong with my coding as when i try and decrypt a file, it doesnt always decrypt as plain text as some charfacters seem malformed. Please could you help me fix this …

Member Avatar for rubberman
0
201
Member Avatar for gruffy321

[CODE] Private Sub Combo1_Change() With Me.Combo2.Enabled = False Select Case Me.Combo1 Case "bob" Me.Combo2.Enabled = True Case "carol" Me.Combo2.Enabled = True Case "jeff" Me.Combo2.Enabled = False Case "freeda" Me.Combo2.Enabled = false Else: Combo2.Enabled = False End Select End Sub[/CODE] Hi all , this code seems to be wrong as i …

Member Avatar for gruffy321
0
130
Member Avatar for tultul

hi! i found problem in using timers.... do anyone help me in this regard as i have no idea about it...... please.... i am sending a code which i tried but in vain. i know where the problem arises.... but cannot find any solution of solving the problem..... [CODE] package …

Member Avatar for quuba
0
2K
Member Avatar for missc

hi, can i use count and top 6 in the same sql command ?? and also, how can i use inner joins to link guest id in reservation table with guest name from guest table

Member Avatar for missc
0
124
Member Avatar for gema002

Hi you all! I hope someone here will help me, i have workt with my java-program for 14 hours and i cant get it right. Im sure im on the right way but i cant get i all right. ok.. first i have to create a dice-class that generates random …

Member Avatar for stultuske
0
213
Member Avatar for Saith

First, my program works. I'm posting my code for my own personal benefit with the help of your guidance to know of any better way of handling this code. I was considering the use of [CODE] while(cin >> grabname) [/CODE] to possibly continue grabbing from the input stream until '\n' …

Member Avatar for vijayan121
0
307
Member Avatar for marrkee

hello, i wrote a little program, but There are some problems. Can anyone help me? here is the code: [CODE]#include <iostream> #include <math.h> #include <fstream> using namespace std; bool tikrinimas(const char *filename) { ifstream failas(filename); return failas; } int main () { tikrinimas("example.txt"); bool failas; if (failas==true) {cout << "good";} …

Member Avatar for Narue
0
105
Member Avatar for gregarion

Hey guys, i been trying to tokenize a string using the boost library. [CODE]int main(){ using namespace std; using namespace boost; string s = "This is, a test"; tokenizer<> tok(s); for(tokenizer<>::iterator beg=tok.begin(); beg!=tok.end();++beg){ cout << *beg << "\n"; } [/CODE] The problem i am facing currently is that i am …

Member Avatar for vijayan121
0
416
Member Avatar for ppetree

I'm not sure where to begin on this... I have a survey engine that supports 7 types of questions and really an unlimited number of entries per question (yes/no being one exception). So, I have 7 tables and each table correspondes to one answer type so I have: response_bool (true/false …

Member Avatar for ppetree
0
154
Member Avatar for shadowscape

Hey, im trying to create a string like the following in c++ but am unable to find a example in the internet in order to help me as im new to c++ and still trying to learn. [B]XXXXX-XXXXX-XXXXX-XXXXX[/B] [QUOTE][LIST] [*]Custom Length [*]Custom Block Size [/LIST][/QUOTE] if someone would mind how …

Member Avatar for rubberman
0
155
Member Avatar for solarissf

Good Morning All, Let me start by saying I am completely new to programming in c#, however I do have some VBA experience. That being said I have hopefully a simple thing I am stuck on. On a windows form I have a textbox that I have set READONLY = …

Member Avatar for jbisono
0
295
Member Avatar for sirlink99

is it possible to incorporate a class file that is written in applet into a JLabel in application? I know it is possible to put HTML code in a JLabel, so I copied the code from my html file created when I compile and run the applet. I put it …

Member Avatar for mKorbel
0
105
Member Avatar for CrankyMero

Hello everyone, So im been looking around and i havent been able to find info of this problem that i have, so this is the main thing I have this datagridview of an inventory, and i added an extra column(unbound) to the dgv, so what i want to be able …

Member Avatar for CrankyMero
0
1K
Member Avatar for ivan3510

Hi! I have a page, and one part of this page (javascript) reads the duration of song. But what if user's javascript installed on computer doesn't support this? Do all javascript support this function? Here it is: [CODE] //for some browser this function (like IE): duration = document.sound.currentMedia.durationString; //and for …

Member Avatar for twiss
0
748
Member Avatar for Mr.BunyRabit

Hey there =) i have 2 tables with a relationship between them. a Primary key in the one table, and a secondary key referencing the primary key, in the second table. Now usually when i want to display data in my db i INNERJOIN the two tables, so i can …

Member Avatar for BitBlt
0
206

The End.