64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for qk00002

I am new in VB.NET. Can any tell me how a[U] richtextbox [/U]query MySQL table. i.e select * from table test where name= 'Bowser' then the richtextbox will display the results. Thank you!

Member Avatar for kvprajapati
0
145
Member Avatar for noey699

if I wanted to do for example this [CODE]class MyClass{ float x,y; void SomeFunction() }; void MyClass::SomeFunction(){ MyClass A = this;//???? } [/CODE] How would I do that? I have virtually no experience with pointers so please help me out. I basically want to make the new class I am …

Member Avatar for noey699
0
98
Member Avatar for alipica

I have no clue why this is happening. When I load a certain page on my site, my content loads twice. Basically, my content appears to flash once. I can't figure out what's going on, but it seems to deal with the following code. The page calls urlCheck(). [CODE] // …

Member Avatar for alipica
0
2K
Member Avatar for tryphy

A): First I have a company form, which i create a company name and it is saved in a company table..with an autoincrement id as 001( I used Zerofill in it.) Creating the company --> I did this.. B): Then, I have a project form which create project details, in …

Member Avatar for vsmash
0
119
Member Avatar for Leigh Reed

Just started my first unit in Java and my lecturer has set some code with logical errors in it. I think I have found them all bar one. the problem that I am having is that when I run this script it should calculate the Tax for the dollar amount …

Member Avatar for Leigh Reed
-1
134
Member Avatar for beforetheyknew

Hi guys for my first piece of work on javascript i have to check a few html form questions which is provided. But im pretty clueless on how to do it, or even start it. First of all how would i check like a drop down menu had the right …

Member Avatar for alipica
0
205
Member Avatar for azegurb

hi all PHP masters and newbies i have a question about pagination. this news script displays 4 little images and links at the right side and one large image at the left side. and all the links submitted shows below. i need let at the page displays 8 news with …

Member Avatar for azegurb
0
101
Member Avatar for Salem

[I]<<thread split>>[/I] Who exactly? The OP left the forum 4 YEARS ago. And there the thread lay, nice and quiet until a day ago.

Member Avatar for Ancient Dragon
0
110
Member Avatar for Carrots

Hi there, I'm trying to return base class pointers from the two classes 'base' and 'child', but I keep on getting a build error of "1 unresolved externals". I think it may be because I am linking all the files together incorrectly. When I comment out the problem line in …

Member Avatar for Ancient Dragon
0
240
Member Avatar for turbomen
Member Avatar for lecotti

Hello all, long time since i've posted anything here. Working on a small project and nearing the end; however i am having some trouble regarding pointers to 'multidimensional' arrays, hopefully somebody can help me out. :) I have what i think is an array of 2D arrays of which I …

Member Avatar for lecotti
0
134
Member Avatar for shanboy

I,m a novice in ASP.net programming. I wonder how to use functions and events associated with each control. I have seen few books and couldn't get it. Can anyone help me out.??

Member Avatar for apegram
0
133
Member Avatar for sexyzebra19

I've followed an example from a website on how to use diff time, however its telling me that it took 0 seconds which obviously isn't right...can anyone please explain what I'm doing wrong? Thanks in advance! [code=php]int main() { time_t t1, t2; double dif; Matrix A(2); Matrix B(2); A.SetElement(1,1,1); A.SetElement(1,2,2); …

Member Avatar for Salem
0
421
Member Avatar for katwalatapan

Hello, I have observed a data access misaligned error in my code. I am trying to isolate the issue and find reason for its occurrence. [code=c] float *mul; int main(void) { int i; mul=(float *)malloc(36000); *mul=0; for(i=1; i<9000; i++) { *(mul+i)=*(mul+(i-1))+(1/(float)(72000/2)); printf("%f\t", *(mul+i)); } free(mul); return 0; } [/code] Please …

Member Avatar for katwalatapan
0
339
Member Avatar for teh_m

I am new with ASP.Net and C#. I have problem with drop down list. How to declare drop down list and how to save user selection from drop down list into SQL database using C# ?

Member Avatar for jbisono
0
72
Member Avatar for vinothkumarrvk

Friends i have one doubt: Who invented the [B]spring framework [/B]and when they invented it? Please help me to know this.

Member Avatar for vinothkumarrvk
-1
68
Member Avatar for luap599

Hi I have a mysql table name ( Discriptions ) that holds many normal text discriptions (doh'). How do I write a mysql query to search this table! Example: the description 'red paint': If I enter 'paint red! My query will not find it! Thanks for any help! Paul

Member Avatar for Simon Tite
0
94
Member Avatar for drewpee

Ok so i have a couple of [B]Strings[/B] and [B]Dates[/B] I'd like to use in making my reports. I can't seem to make it work. any help? This was my latest failure. [CODE]SELECTCCIF_No, Date_Recieved, FROM serviceRS WHERE Date_Recieved >= '" & DateFrom & "' AND Date_Recieved <= '" & DateTo …

Member Avatar for vb5prgrmr
0
114
Member Avatar for Mridula J

Hi All, What all the difference between Macros and Inline functions. Why do they prefer inline functions? When Do macros come in use? What are the disadvantages of Macros and inline functions? thanks in advance

Member Avatar for mattjbond
0
132
Member Avatar for halluc1nati0n

I was trying out a 2-dimensional integer array on a UNIX box. I hit up a 'Segmentation Fault' on trying to run it. [CODE]#include <iostream> #include <cstdlib> using namespace std; int main() { int matrix[2000][2000]; int i, j; srand ( 1 ); for (i=0; i<2000; i++) { for (j=0; j<2000; …

Member Avatar for halluc1nati0n
0
209
Member Avatar for muralibobby2015

here is my code. this is working fine but small prblm is here.fading text is working only one time. it is not working multiple times. can anybody check what is the prblm is der? rotation not working.just copy paste this codeand see what is the prblm is there.first time loop …

Member Avatar for pushpakalpana
0
121
Member Avatar for tchiky

Hello I would like to create a reference field. I would like it ti have a fixed number of charaters/numbers, just like the videos reference of YouTube. Is there a mysql/php function to handle that? I mean a function that generates a unique string that doesn't exist already in the …

Member Avatar for tchiky
0
171
Member Avatar for turbomen

Dear All, Could you tell me what is wrong or missing for my coding? Cheers, [CODE] unit Example3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Edit1: TEdit; Edit2: TEdit; Edit3: TEdit; Edit4: TEdit; Edit5: TEdit; Button1: TButton; Button2: TButton; Edit6: TEdit; …

Member Avatar for finalist
0
185
Member Avatar for slyme

I don't want slashes in my $_POST values. I want to deal with that kind if thing myself. I am having problems getting rid of said slashes. You can see the results of the following code here: [URL="http://www.slyme.co.uk/sanitise.php"]http://www.slyme.co.uk/sanitise.php[/URL] View the source - htmlentities seems to work, stripslashes doesn't unless I …

Member Avatar for slyme
0
171
Member Avatar for kedarm

Hi! I'm trying to build a Python extension with C/C++. I'm following the steps given in the documentation [URL="http://docs.python.org/extending/extending.html"]here[/URL]. I've followed the steps mentioned and written my first code. However, I have no clue on how to compile the project! I do not know how to create the .pyd file …

Member Avatar for kedarm
0
5K
Member Avatar for solarb

hi! I have a form to add content in database(addcontent.php) and one file which shows the content(content.php).Database has id,title,content columns. IS it possible to make the content.php to "$_GET" the id's from the database and show them on the page as : content.php?id=1 And other thing. i have buttons in …

Member Avatar for solarb
0
109
Member Avatar for shubhamshah

Hey Guys, Im not so good at VB.NET , and ive been learning for about 3 months. I would really appreciate it if you guys would help me tackle this problem down. Well , im helping a school run a Spelling Bee aimed at children in year 7. And to …

Member Avatar for kvprajapati
0
267
Member Avatar for jose385

Hello, I've been working with C trying to get factorials which I've successfully accomplished but my code needs to output an error message when inputting negative numbers, unfortunately my code outputs an error when using 1 and 0. This is what my code looks like (keep in mind I'm a …

Member Avatar for jose385
0
114
Member Avatar for manal

Salam... I need to get value that has been selected from combobox .. the values in combobox is taken from column's contents of one of tabel in database..so once i write if x=combobox.selectedvalue..i got error that i Additional information: Operator is not valid for type 'DataRowView' and string

Member Avatar for kvprajapati
0
8K
Member Avatar for lisles

i want to display a confirmation message when a user clicks delete.can any1 tell me how i could do it with javascript and php here's my code [code=php] $id=$r["sr_no"]; if($r['district']==1 || $r['district']=='North') { $r['district']=North; echo "<tr><td >{$r['sr_no']}</td><td >{$r['name']}</td><td >{$r['designation']}</td><td >{$r['dte']}</td><td >{$r['ph_o']}</td><td >{$r['ph_m']}</td><td >{$r['ph_r']}</td><td >{$r['district']}</td><td >{$r['taluka']}</td><td >{$r['pan_name']}</td><td><a href='edit.php?cmd=edit&id=$id'>Edit</a></td><td><a href='edit.php?cmd=delete&id=$id' >Delete</a></td></tr>"; echo …

Member Avatar for muralibobby2015
0
6K
Member Avatar for xuexue

[code=php] <?php mysql_connect("10.237.200.202", "root", "r00tb33r") or die(mysql_error()); mysql_select_db("spc_grinding_c1_dbo") or die(mysql_error()); $qt=mysql_query("SELECT DataReading FROM SPC_DataReading WHERE StationNumber = 'STATION2' && MachineName = 'GN-07' && ParameterName = 'outside diameter (2.4912)' && Date_Captured = '02-25-2010' && ReadingType = 'AVERAGE'") or die(mysql_error()); header ("Content-type: image/jpg"); $x_gap=40; // The gap between each point in y …

Member Avatar for maba001
0
132
Member Avatar for prem2

Hi, I need to insert a new value in middle of array. For ex, $arrayvariable=arrray("a","b","d"); I need to insert C in between b and d. Thank you in advance.

Member Avatar for prem2
1
177
Member Avatar for Ryman

Hello, I have been trying to use the ID3tool to organize a list of MP3 files in a windows bat file. I have completed it in bash and I'm trying to convert to batch right now. Anyway, here is my problem: I'm trying to get the album name for the …

Member Avatar for Salem
0
230
Member Avatar for Broseph

Hey guys. I hate to have to ask for help but I've run out of ideas. The program I'm trying to write is supposed to write a random list of numbers 0 - 4 and then count the occurrences of each number. The only thing I can't get to work …

Member Avatar for Broseph
0
86
Member Avatar for student02

Hi guys, I just want to ask if its possible to print some desired fields or data that is within database or vb used on MS word.. like this one example: First Name: (Field_FirstName on db) Last Nane: (Field_Lastname on db) scan by: (Text1.Text on vb) is it possible? if …

Member Avatar for student02
0
118
Member Avatar for maria_mj
Member Avatar for apegram
0
4K
Member Avatar for jemz

hello, can you help me..is it possible that i will change the default font of the messagebox?....can i make it bold or using any fon..please help me on this ...thanks in advance hoping for your positive responds.

Member Avatar for vb5prgrmr
0
89
Member Avatar for v_janssens

Hi, I'm trying to find a way to calculate the eigenvalues and eigenvectors for a square symmetrical matrix. I have used MATLAB to do this before and the solution was as simple as; [V,D] = eig(A) I'm wondering if there is a simple solution like this in c++. I am …

Member Avatar for DavidB
0
302
Member Avatar for vampgirl13

Hi Guys, So I'm trying to fix a small problem with my code. It does everything correctly but when reading from the file I want to not count the space between words. For instance if the line is Hello world the output should be: 11: Hello world but instead it …

Member Avatar for vampgirl13
0
109
Member Avatar for kartouss

Hello, I need to a browse button to be able to open an image in the image control and also be able to get the path for the image... Can anyone help...

Member Avatar for chrisjake
0
647
Member Avatar for lobstar

Hi, I wrote a small piece of javascript a while ago to add some text to a text box and mark it as read only if a check box was checked. If the checkbox was unchecked, the text would be removed and the field writable. It was working great until …

Member Avatar for lobstar
0
3K
Member Avatar for hondros

Okay, so I have about 6 GB of music on my iPod. I don't want to go through and copy everysingle file and rename it manually, so I am making a python script to do it for me. I would just like to have some feedback on my code, make …

Member Avatar for hondros
0
555
Member Avatar for OnTheRadio

My assignment is: Your goal is to write a program that sorts a list of 4-letter words using different sorting algorithms and report the fastest method. First your program should prompt the user to indicate the number of words to generate. Your program should then generate a list of random …

Member Avatar for OnTheRadio
0
117
Member Avatar for iman_shani

Hej i am trying to create a simple game as homework from my school. now i just stuck on one stage. see the picture on this link how it looks like. [URL="http://jobbalert.se/"]http://jobbalert.se/[/URL] i have created a module here is the code for module file [CODE] Module Module1 Public Sub bknapper() …

Member Avatar for iman_shani
0
326
Member Avatar for dan4domination

Hello, The first part of the script works regarding updating however for some reason and I cant figure out why its not inserting into my bookings table. Any ideas? [code] <?php session_start(); // is the one accessing this page logged in or not? if (!isset($_SESSION['logged']) || $_SESSION['logged'] !== 1) { …

Member Avatar for dan4domination
0
118
Member Avatar for YingKang

I am writing a PHP program with sticky form. I want to use Text area for the "comments" part, but I couldn't make it work. Can anyone help? thanks. [code] <html> <head> <title>guestbook</title> <style type="text/css"> .error {color: #FF0000;} </style> </head> <body> <?php extract($_REQUEST); $errors = array(); if(isset($_REQUEST['submit'])) { validate_input(); if(count($errors) …

Member Avatar for YingKang
0
490
Member Avatar for rockstar8577

For some reason i cant output to a file unless it was already created. Here's my code. [code] fstream myfile; myfile.open (filename.c_str(), ios_base::in); if (!myfile) { myfile.close(); myfile.open (filename.c_str(), ios::out); avatar.name = name; avatar.init(); myfile << "Name = " << avatar.name << endl; myfile << "hp = " << avatar.hp …

Member Avatar for rockstar8577
0
118
Member Avatar for Don_k

Hi guys here is what I aim to do : Create a program which 1. reads in a string of less than 25 characters from the user 2. prints out the string followed by its reverse i.e. if the user enters "hello", the program should print "helloolleh". I can do …

Member Avatar for abhimanipal
0
126
Member Avatar for jasystweb

I am creating controls which are added to the page at run time. As these controls are added I separate them into a UL/LI list by injecting literals assigned as (<ul>, </ul>,<li>,</li>). The page in question uses a master page template. The ul/li function is called in the page_load event …

Member Avatar for jasystweb
0
254
Member Avatar for AJW

hello all, I'm taking a C++ class at my local community college. A project that was assigned was to make a menu program. I am about 90% done (I think), when I ran into this issue: when making a selection, the program doesn't know how to handle decimal numbers. The …

Member Avatar for AJW
0
110

The End.