199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for huBelial

I'm trying to create a program that will connect to my access database and perform a simple query. Then I want to put the data (image and other info) into active directory. But I keep getting this "Declaration expected" error when I'm setting up my connection. Can someone please take …

Member Avatar for fariid
0
194
Member Avatar for Nevillelajru

i have a form that edits contents in a database. everything is correct to my point of view but when i try to update a path of an image it gives me an error telling me System.Data.OleDb.OleDbException was unhandled Message="Incorrect syntax near 'C:'." Source="Microsoft OLE DB Provider for SQL Server" …

Member Avatar for abelLazm
0
105
Member Avatar for bhagawatshinde

Hi Everyone, I have no idea about How to check Richtextbox vertical scroll bar is ON. Means suppose Richtextbox has 3 lines displayed perfectly but when 4 line is inserted vertical scroll bar is on Now i want to check at runtime the vertical scroll bar is available now... Can …

Member Avatar for bhagawatshinde
0
1K
Member Avatar for ashvyas

HEllo, After dat RFID TAG detection program, now i want to move 1 step further. Like if TAG is Detected as 012234F13A Now weneva dis code is detected, it must fetch a name from Database For example, m designing a Library system From RFID There must be two fields, 1. …

Member Avatar for ashvyas
0
127
Member Avatar for Khoanyneosr

[CODE]/* Beginning Game Programming, Third Edition Chapter 3 Direc3D_Windowed program */ #include <windows.h> #include <d3d9.h> #include <time.h> #include <iostream> using namespace std; #pragma comment(lib,"d3d9.lib") #pragma comment(lib,"d3d9.lib") //program settings const string APPTITLE = "Direct3D_Windowed"; const int SCREENW = 1024; const int SCREENH = 768; //Direct3D objects LPDIRECT3D9 d3d = NULL; LPDIRECT3DDEVICE9 …

Member Avatar for Khoanyneosr
0
311
Member Avatar for jmcginny5

I have to write this program, and I am not sure exactly how to write the functions and where to put what. I have tried several times, and decided to start over from the beginnning. What i have so far is at the very bottom. Here is the prompt: Overview …

Member Avatar for jmcginny5
0
3K
Member Avatar for prakash_05

Guys, right now i am posting xml to a service running on certain port. my sample code is [CODE] Quote: $XPost = fread($handle, filesize($xmlfile)); fclose($handle); $ch = curl_init(); // initialize curl handle curl_setopt($ch, CURLOPT_VERBOSE, 1); // set url to post to curl_setopt($ch, CURLOPT_URL, $URL); // set url to post to …

Member Avatar for aafasihah
0
92
Member Avatar for abelLazm

I am doing my research work on computer security these days and come across an issue of what are the strategies used for CPU and OS protection and I am still unable to find strong reference or any thing related to this topic in order to complete my work.:-/:S Any …

0
61
Member Avatar for Arsench

Hello world, I need your help/advice, I have a table last_acces where inserting a few data. The table columns are: Id Name Date I want to export this data into excel clicking on the link or button from the page. Anyone could help me on this please? The action will …

Member Avatar for rpv_sen
0
159
Member Avatar for MaddTechwf

I've been trying to figure out the easiest way to populate a menu to allow for easy updating in the future. I would like to add anything to a specific folder and when the program runs it would be populated by the contents of the specific folder. Is this possible? …

Member Avatar for MaddTechwf
0
221
Member Avatar for madfase

Goal: drag-and-drop from one button to another button and have access to the following info from the original button: - Image - BackColor - Tag Problem: I can only implement one. If I try to implement all three I get null pointers. [code] private void button1_MouseDown(object sender, MouseEventArgs e) { …

Member Avatar for madfase
0
178
Member Avatar for krii017

i got a problem i have a registration and log in program the registration is fine but on log-in , the 1st entry on registration is the only accessible on log in i tried the 2nd and 3rd username with correct psw but it got an error heres my code …

Member Avatar for krii017
0
160
Member Avatar for valestrom

Not sure what the exact title should be. But at a point in my text game. I want to have multiple selections. But whenever I put the code (shown below), compile the program, and run it I get this. It goes through my main menu, new game, all the stuff …

Member Avatar for valestrom
0
302
Member Avatar for linezero

I have tried many ways to download the files in a listbox. non-seems to work. the listbox has url eg: [ICODE] [url]http://www.hahaww.com/2.pdf[/url] [url]http://www.hahaww.com/f1.pdf[/url] [url]http://www.hahaww.com/24.pdf[/url] [/ICODE] I want to download the files until ListBox.Items.Count = 0 which each file with number ording... for eg: 2.pdf will be 1.pdf f1.pdf will be …

Member Avatar for codeorder
0
738
Member Avatar for Frengerdany

Hi I have a problem with RSA encryption/decription of txt files, I have one method to create a pair of RSA keys and save them into a file, then i made two methods, one for encryt and one for decrypt, encrypt method works fine, but when I want to decrypt …

0
147
Member Avatar for ofrou

Hello, I would like help in change a bit the following code. It shows google map, but I would like to show google street view. Can you tell me what I need to do/change? I don´t understand very well code. Thanks in advance. This is the code: [code]<?php // =============================== …

Member Avatar for ofrou
0
225
Member Avatar for Suzie999

Hi I'm having some headaches trying to find how to get the process of a parent application that starts my C# console app. I've been trying a lot of things all day and come up short. The most likely candidate was this, except it does not return what I expect …

Member Avatar for Suzie999
0
648
Member Avatar for jackmaverick1

Hi, I'd like to learn some basic graphics (2D) that would be easy to use and quick (So no OpenGL, or Direct X). Also, it NEEDs to have Linux portability. I've already tried Allegro and paintlib, neither of them could I install and they didn't look quite as easy as …

Member Avatar for jackmaverick1
0
158
Member Avatar for RagingRiver

I am having a problem with left alignment after adding a second JPanel. Both JPanels are using the BoxLayout with the first set to Y_AXIS and the second set to X_AXIS. If you comment out the add(twoPanel) it results in the desired left alignment. I don't understand why the alignment …

Member Avatar for Ezzaral
0
414
Member Avatar for tmcculloch
Member Avatar for steelshark
0
152
Member Avatar for peck3277

Hi guys, Could anyone show me the best way to run a function every 10 minutes for ever? Thanks guys!

Member Avatar for darkbreaker
0
74
Member Avatar for eskimo456

Hi there I am developing a grid system that would generate non-overlapping grid cells. Upon creating a grid I want to be able to check to see if the potential grid overlaps any other grid cells. If it does then clamp the new grid cell to the already existent grid. …

Member Avatar for eskimo456
0
148
Member Avatar for raf11

i would like some help with making my search box work on my forum, at the moment when u type anything in it just refreshes the page and the same page is shown. I want it to show the thread if some types in say 'hello' it should show threads …

Member Avatar for raf11
0
128
Member Avatar for Labdabeta

I have asked this question before on a different forum without success. I would like to know how to do templated type conversions for a class. The syntax is getting me though. Here is what I want: [CODE]class Thing { public: template <typename T> T operator T(); }[/CODE] This would …

Member Avatar for Labdabeta
0
99
Member Avatar for zachattack05

I've been struggling with this for a while. It's not so much a "problem" as it is an approach. I've been working on my client/server socket program and I've reached the point in my planning (which isn't very far in) where I really need to think about how the server …

Member Avatar for mcriscolo
0
355
Member Avatar for VBNick

Hi, if anybody has a second, I have a quick question: In the following situation, Container can contain any combination of the derived classes. If I wanted to go through "Container", for example, and delete all instances of the class DerivedC, how would I do that? [CODE] class Base; class …

Member Avatar for VBNick
0
237
Member Avatar for Labdabeta
Member Avatar for Labdabeta
0
447
Member Avatar for kingjes

Hello, I have a form that I need to add the feilds together as a total but it is not working. I have a JS that is doing taking the value from a select box then multiplying by .2 after this is done it is writting the result to another …

Member Avatar for kingjes
0
97
Member Avatar for burntout

Im working on an app that takes two numbers(lower bound and upperbound)and determines all the prime numbers within the specific bounds, inclusive. [code] Public Class primeNumber Private Sub calculatePrimesButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calculatePrimesButton.Click 'declare variables Dim N As Long Dim LowerBound As Integer Dim UpperBound …

Member Avatar for Jx_Man
0
384
Member Avatar for XxPKMNxX

getting the problem ~ mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /studhome/1/0803087/public_html/RSS.php on line 14 trying to create a RSS feed no idea what is wrong, so can anyone help [CODE] <? // Connect to database DEFINE ('DB_USER', '******'); DEFINE ('DB_PASSWORD', '********'); DEFINE ('DB_HOST', '*****'); DEFINE …

Member Avatar for XxPKMNxX
0
250
Member Avatar for pato wlmc

Well, I'm really new into JS and I'm actually more into C++, but I decided to give it a try since I'd love to develop some online games, using the new Canvas element HTML5 is providing. But before that i need to get the basics. What I'm trying to do …

Member Avatar for pato wlmc
0
4K
Member Avatar for visom

Hi, I'm making a code that calculates the number of days between two dates. If you punch in 1 for month and 5 for days, and you punch in 2 for month and 1 for day, it should say "27 days between these two dates". Right now the problem I …

Member Avatar for Despairy
0
123
Member Avatar for ashley11

Hi, I have array1 and array2. I need to compare this two array. The number in array1 which is same in array2, it would not come out any output. If the number in array1 is different with the number in array2, then it will show out the number. Now my …

Member Avatar for ashley11
0
101
Member Avatar for margeaux54

ı have a question. I know which data type and its specifiers . but ı do not know that for example "int" data type how many number takes or long integer how many number takes. ı calculated their bytes but still ı do not know when ı choose them. again …

Member Avatar for Fbody
0
170
Member Avatar for josephP

This code how to find the smallest number. My question is now how to find the largest number? [CODE] int iSmallest = int.MaxValue; int iSmallestLocation = 0; int[] iArray = new int[5]; for (int i = 0; i < iArray.Length; ++i) { Console.Write("\nEnter a value: "); iArray[i] = int.Parse(Console.ReadLine()); } …

Member Avatar for josephP
0
94
Member Avatar for Sorcher

I get this error message: Insert Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'testing this thing again' at line 2 NOTE: the 'testing this thing again' is $body This is my …

Member Avatar for diafol
0
168
Member Avatar for newbieJS

Hi there, I have two prompt dialogue boxes that ask the user the enter their name and their employee number. I am experiencing two errors. The first is, if a user enters their name incorrectly, using numbers for example, there is an error message that asks the user to re-enter …

Member Avatar for tcatt
0
3K
Member Avatar for stupid guy

hi all, m new to this site and m newbee to this java thing..i have a project dnloaded from somewhere ..and now i have some problem with updating the database ..following is the [CODE] cnt=cnt+Integer.parseInt(dis.getText()); System.out.println(cnt); cnt=cnt+ Integer.parseInt(ent.getText()); System.out.println (cnt); String str="update bikeinfo set stock =" + cnt + " …

Member Avatar for Ezzaral
0
131
Member Avatar for 54uydf

I get the error #1005 - Can't create table 'db1.#sql-9e8_2c1' (errno: 150) (<a href="server_engines.php?engine=InnoDB&amp;page=Status&amp;token=3947cba14f7c39305d6f460b76698c5e">Details...</a>) I have 2 tables that I want to connect as a 1-1 relationship. table1:[U] a ,b[/U] ,c ,d table2: [U]a ,b[/U] the plan is that table2 will hold the keys of some of the records that …

Member Avatar for 54uydf
0
127
Member Avatar for jamshed ahmed

hellow and hi! i am working on billing system first i want to define purpose of bellow code this code will multiply the qty and price and assign the value to total column and validated on enter key if i press enter key and value is price or qty is …

0
104
Member Avatar for Khoanyneosr

[code] 1>------ Build started: Project: DirectXtutrials, Configuration: Debug Win32 ------ 1>Build started 3/24/2011 5:24:05 PM. 1>InitializeBuildStatus: 1> Touching "Debug\DirectXtutrials.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\Konnor\Documents\Visual Studio 2010\Projects\DirectXtutrials\Debug\DirectXtutrials.exe : fatal error LNK1120: 1 unresolved externals …

Member Avatar for Khoanyneosr
0
271
Member Avatar for lxXTaCoXxl

Okay so a new problem presents itself to me. I have an intense source code that is currently about 5,000 lines long and is quite frustrating to manage. I want to learn how to use multiple source files, like with c++ you would use include. [CODE]// It says it's C# …

Member Avatar for lxXTaCoXxl
0
178
Member Avatar for MrHardRock

Hey everyone I need to write a tic tac toe program vs the computer using an array. I have gotten almost all of it done but I am totally stuck on this error. Any help would be much appreciated, thanks in advance. My error being on line 221 and 222 …

Member Avatar for audiomatic
0
235
Member Avatar for tcollins412

i have two sub-domains pointing at the same file.the sub-domain's are test.test.com and fail.test.com and the file is index.php. Now i want to be able to work with both of those domains within the same file so i used this code: [CODE] if($_SERVER['HTTP_HOST']=='test'){ echo"test"; }else if($_SERVER['HTTP_HOST']=='fail'){ echo"fail"; } [/CODE] but …

Member Avatar for tcollins412
0
114
Member Avatar for huBelial

Hello, I'm trying to figure out how to put jpeg images from my access database into active directory. Can anyone suggest any helpful tutorials that might get me started because I really don't know where to begin? I'm currently looking at one particular tutorial but its not making any sense. …

Member Avatar for huBelial
0
162
Member Avatar for Despairy

we just started studying about linked lists and i wrote a simple code to build up a link list. than post the sum of all the numbers inside the list my problem is that i need to delete all even numbers and i cant figure out what is wrong with …

Member Avatar for Despairy
0
4K
Member Avatar for jkon

It was not time ago that I realized that those that I consider standards for MVC implementation with PHP are not standards for all. I would be very happy to read different approaches of how to implement MVC architecture with PHP, not just frameworks but the all idea that you …

Member Avatar for jkon
0
106
Member Avatar for prutudom

I try to develop the program with C# VS in Windows Mobile5.0 My application up and running, however when I scan the barcode and get the data from database it work fine. Once I keep scan the barcode for a while. Program stop working and sometime can be terminate as …

Member Avatar for prutudom
0
745
Member Avatar for hansel13

[B]The Producer Thread[/B] What does a producer thread write to the buffer? Create 20 different files (named in0.txt, in1.txt, ... in19.txt). [Testing Hint: you want to be able to tell from the text which file it is from, so the contents should be aaaaaa or bbbbbbb etc..] Vary the length …

Member Avatar for funter
0
2K
Member Avatar for rp45

Hello, I just joined this web site and i'm new to programming and i'm stuck on this program, can't seem to finish it, after couple of days of trying to figure this program out, i realize i need help. The program is pretty much done i just don't know where …

Member Avatar for VernonDozier
0
95

The End.