64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for FlashCreations

Hello, I am working on a login script for a personal site. The problem is though, I need to have the best and most secure protection there is for the login system I am creating (I will not go into specifics but the users will have access to very sensitive …

Member Avatar for kanaku
0
120
Member Avatar for tom_jerry042

Hi [B]snprintf [/B]is working fine when i am not using [B]append [/B]function . But as soon as i use [B]append [/B]function [B]snprintf [/B]crashes . Please suggest why [B]snprintf [/B]is crashing after [B]append [/B]. What is special with [B]append [/B]function which is crashing this program Below is the program. #include<string> #include<iostream> …

Member Avatar for iDeveloper
0
158
Member Avatar for mrnutty

hi, I am curious, how can I read a int from a text file( ex. num.txt). but this text file contains numbers without spacing (ex.1212132132313... 23156897984969.. 583852935792...) The problem is that this file has no spaces between numbers and when i try to read it into an arry, the result …

Member Avatar for VernonDozier
0
151
Member Avatar for Ghostenshell

First time I've asked for help so please bear with me... ***Brain Freeze*** OK Supposed to open a txt file. Assuming the txt file is formated properly. The file is a what I am assuming a list of names and ages. I created my own file... kick me 989 bodybody …

Member Avatar for Murtan
0
105
Member Avatar for somename

Hello. Maybe someone can help me with this, here is my code: [CODE]#include <windows.h> #include <stdio.h> #include <wininet.h> #include <shlwapi.h> #define mb(x,z) MessageBox(0,x,z,0) #define REGKEY "PATH\\to\\my\\key" #define REGNAME "zzzzzzzzzzzzz" #define EXENAME "zzzzzz.exe" void Reg() { HKEY hkey; DWORD dwDisposition; DWORD m_dwMaxFileSize = 16 * 1024; TCHAR m_szLastFileName[MAX_PATH]; DWORD dwType, dwSize; …

Member Avatar for somename
0
181
Member Avatar for freshfitz

How would I select everything from last month in a sql statment my cell has a time stamp in it [CODE]SELECT DateTimeStamp from Get_estimates[/CODE] Ouput [DateTimeStamp] 2008-02-28 11:39:35.247 2008-03-09 13:15:12.513 2008-03-09 13:16:53.700 2008-03-26 13:30:20.077 2008-03-26 13:30:51.810

Member Avatar for freshfitz
0
150
Member Avatar for death_oclock

My application creates a window in the main thread, but I want the message loop in a separate thread. Is there any way to catch the messages from that window while an another thread? I tried giving GetMessage that window's handle, it didn't work. I could just create the window …

Member Avatar for death_oclock
0
108
Member Avatar for edgar5

All these New Object()s are identical (and in fact, much longer!) How do I declare a single instance then reuse it in each ComboBox .Items.AddRange()? I am using Visual Studio 2008/Visual Basic. [CODE] verticalBarComboBox.Items.AddRange(New Object() {" single space", "- hyphen", " - <single space>hyphen<single space>", "` open single quote", "=", …

Member Avatar for edgar5
0
193
Member Avatar for chrischavez

I have an application which is supposed to move the mouse based on input like that from a keyboard. the code listens for the direction keys to see if they are pressed. the code works but only in 2 direction it can only move to the right and down. is …

Member Avatar for William Hemsworth
0
3K
Member Avatar for ilokana

Hi, I'm new to PHP. Is there a way to create a listbox without the submit button and not using Javascript? Can I use href instead? Thanks in advance. Ilokana

Member Avatar for php-freelancer
0
462
Member Avatar for edgar5

Does this leak memory? [CODE]Dim Public strBldr As New StringBuilder("test", 5) ‘alloc a StringBuilder MsgBox(strBldr.ToString()) ‘use the StringBuilder strBldr = New StringBuilder("a", 2) ‘did the destructor of StringBuilder holding “test” 'free up its memory? [/CODE] As StringBuilder does not implement a Clear() method, and I am having timing issues with …

Member Avatar for Comatose
0
135
Member Avatar for RahulV

Hello, Im trying to create an application, where its upto the user to create and delete the database dynamically and at runtime. But i don't know how to make it. Can anyone please help?? Whenever i tried to contact u people for help u all have always helped, hope u …

Member Avatar for RahulV
0
76
Member Avatar for protonix

I wrote a perl script to decode a file and it keeps giving me a weird out put. I have zipped my script and the encoded file. Can any one make any since or tell me what I am doing wrong?

Member Avatar for KevinADC
0
75
Member Avatar for kanaku

I'm trying to make a membership system where users can 'approve' or 'disapprove' another member only once. If they have approved the member previously or disproved the member previously, I want to be able to detect it. I also want to display the average user approval for each member on …

Member Avatar for kanaku
0
130
Member Avatar for DiGSGRL

I am building a site search that involves a union of two tables in two databases and needs to have relevancy factored in. I do not want to use a full-text or boolean search. I can search one database and one table using relevance fine. I can union the two …

Member Avatar for DiGSGRL
0
96
Member Avatar for Reliable

Hey everyone, I've just created a pop up window, but as opposed to launching it in response to a link I want it to launch with the home page. I believe I've seen it done, but don't know how it is done. Can someone assist, please? Thanks

Member Avatar for freshfitz
0
296
Member Avatar for cam875

this is a really strange one since it doesn't make sense why the program just starts running then shuts down without executing the system("PAUSE") at the end. here is the source code, thanks in advance to any help. [code=cplusplus] #include <iostream> #include <fstream> #include <vector> using namespace std; int main() …

Member Avatar for cikara21
0
97
Member Avatar for cam875

When i compile this code i get an error which states main.cpp|38|error: no match for call to ‘(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >) (long int&)’| I am going to assume that this is something to do with trying to put the string in a different kind …

Member Avatar for cam875
0
110
Member Avatar for peter_budo

I have two questions ( these may be very simple, but I'm concentrating on different things so I need somebody push me in right direction as not to waste time, bold said but that is reality) [LIST=1] [*]Passing object from top component to lower ones I have GUI where after …

Member Avatar for BestJewSinceJC
0
166
Member Avatar for bimaljr

Hi I have an Image Gallery on my site. When a user click on thumbnail image, a JavaScript function will load/change image on the imageView area. Here is the JS function : [CODE]<SCRIPT language="JavaScript"> function changeimage(img_name,img_src) { document[img_name].src=img_src; } </SCRIPT>[/CODE] Here is the ImageView area code : [CODE]<IMG NAME="imageloader" SRC="image_1051.jpg" …

Member Avatar for bimaljr
0
198
Member Avatar for Blackeagle

hello, i'm new with scripts and linux and need a little help. i made a text file called colors using a vi editor and contains as follows: red green blue gold now i want to delete the 2nd line with the word green using a script file. well i know …

Member Avatar for Salem
0
123
Member Avatar for andrepezzo

Hi, I have a simple class with 2 constructors.(It's very long so I won't paste it..). I assign the value of a boolean static field according to the used constructor. I also have implemented serialize/deser methods. My problem is the following : I have to perform different serialization/deserialization actions according …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for saalvi

Write a C++ program that contains a structure named “Account” having four data members 1) Account number 2) Account holder name 3) Account type 4) Account Balance Account type may be Saving, Current, etc. In main function, declare an array of structure “Account” of size 10. Populate this array by …

Member Avatar for death_oclock
0
130
Member Avatar for dfs3000my

Hi all, I have managed to get my average using cross tabs but only if I have grouped it by their categories. If I remove the GROUP BY clause, the cross tabbing doesn't seem to work. Can anyone help me? I would need to get something like:- [CODE]Year | Month …

Member Avatar for dfs3000my
0
148
Member Avatar for bdicasa

Hello all, I looked around with google for a while and couldn't find an answer to my question. I'm trying to use php to get the name (or ID) of an html tag. I need to do this because I am creating a shopping cart which has a checkbox beside …

Member Avatar for bdicasa
0
114
Member Avatar for yoyoaz77

I have a form written in vb6 that the user is able to show listed items in a listbox from criteria from 4 different comboboxes. The data is being connected to an Access db. Where I am stuck at is after the search lists the data in the listbox the …

Member Avatar for yoyoaz77
0
117
Member Avatar for mn_kthompson

I'd like to write up something that will generate random numbers that would plot into a triangle distribution. I know how to get a normal distribution, which is similar. [CODE=python] import random for i in range(200): print random.normalvariate(3,1) [/CODE] But there doesn't seem to be anything in the random module …

Member Avatar for mn_kthompson
0
2K
Member Avatar for mrnutty

hi, I was trying to implement the sieve of eroathoses (I know I spelt this wrong) and it works. But i was trying to find all prime under 2 million. The .cmd for visual studio just corrupts if I try to find all prime under 2million. I am guessing It's …

Member Avatar for Freaky_Chris
0
366
Member Avatar for mmxbass

I am currently storing a hypermatrix of not very many objects over a 4d hyperspace. I am working with a 100x100x100x100 hypermatrix that is VERY sparsely populated. Only about 500 cells actually contain anything. The problem is that this matrix takes up huge amounts of memory even when it's mostly …

Member Avatar for mmxbass
0
157
Member Avatar for tymk

Hi all. I wanted to run this class by some experienced programmers to see if I have any obvious errors and to get any advice otherwise. I created a test suite and everything seems to function properly so I'm interested in feedback on overall class design, choice of data types, …

Member Avatar for tymk
0
132
Member Avatar for kischi

Hi I am trying to upload an excel file to the server. But it won't work, every time I am trying to upload an xls file and press the button. it writes: No file was uploaded. as if i had no file. you are welcome to try on: [url]http://radio.web.surftown.dk/admin/indset_program.aspx[/url] the …

Member Avatar for kischi
0
110
Member Avatar for Phillip_Hess

Greeting When it comes to SQL I'm a novice and I think what I want to do is WAY outside my expertise. I have a file management system called ProjectWise. Everything to create the folder path is located in a single table. You start with the lowest folder then you …

Member Avatar for Ramy Mahrous
0
161
Member Avatar for daz1034

Hi My first post yaa lol. This will lily be the 1st of many posts as i trty to get my head round things. Basically i am going to need to post info from a form in to a database but all so post it to a remote api url …

Member Avatar for openwave
0
119
Member Avatar for WJSwan

Hi, I have an application where I would like to add the following: When the user clicks on a button the FileOpenDialog must activate and allow the user to select an EXE file. When the user clicks OK, the selected EXE should execute. I am new to C# so I …

Member Avatar for Ramy Mahrous
0
100
Member Avatar for smnadig

Hello, The Hexadecimal value of EBCDIC has to be converted to corresponding character as the user inputs it. The following table shows the hexadecimal value of characters in ASCII and EBCDIC. Can anybody help me with an efficient C-Algorithm for this conversion? Char----Deci-------Hex.ASCII---Hex.EBCDIC A ------65---------41------------- C1 B-------66---------42-------------C2 C-------67---------43-------------C3 D-------68 ---------44-------------C4 …

Member Avatar for ArkM
0
1K
Member Avatar for saswati_mishra

Hi , I have an ajax code which works well in IE. I receive the responseText and thus the alert messages. However, i receive no responseText in Firefox. The code snippet is as follows. function pingip() { var ipaddress=document.baseform1.serviptxt.value; var xmlHttp; try { xmlHttp=new XMLHttpRequest(); } catch (exception) { try …

Member Avatar for khaisarpasha
0
169
Member Avatar for smile4evr

hey all! please help me to check for validaiton such that... i hv few textboxes and combo boxes and if data is not entered in them then the submit button should be locked... and also tell me where should i write the code as in .... in form_load or submit_click... …

Member Avatar for smile4evr
0
203
Member Avatar for srs_grp
Member Avatar for Manutebecker

Learn how to fully use the windows header with help from [URL="http://www.winprog.org/tutorial/simple_window.html"]Windows.h Tutorial[/URL], I'm pretty well along in the Programming world and was wondering if this would be really useful in becoming a programmer in the future.

Member Avatar for Manutebecker
0
91
Member Avatar for roberteregina

I have developed, along many years, a system using VB6 for Windows, using XP Professional. Now, I purchased a iMac, that uses an Intel Core 2 Duo 2.66 Ghz processor, so that installing Windows Vista Home Premium 32 bits edition, I could use resources from Windows and OS X Leopard, …

Member Avatar for roberteregina
0
124
Member Avatar for agentkirb

I'm making a program, and I'm at the beginning where I'm just reading the information in. The goal of this short bit of code is to read in a date (when I finish the program it should be able to read in multiple dates from a file, but I'm keeping …

Member Avatar for agentkirb
0
128
Member Avatar for presario

Where should I include other header files, in header file or source file? What is the difference between the below two: Example: [code] //file1.h #include "file2.h" ... [/code] OR [code] //file1.h class class2; ... [/code] [code] //file1.cpp #include "file2.h" ... [/code]

Member Avatar for grumpier
0
127
Member Avatar for masterOFwww

Hello, my script is giving me headache for two days. I have a paid to click site, when user clicks on paid links my script displays surf page, where i have a timer and an iframe that displays sponsored site below the timer. After the timer loads users have to …

Member Avatar for masterOFwww
0
115
Member Avatar for Lukezzz

I wonder something about adding a .DLL file to a project I am doing in a Win Form. I have rightclicked the Project ant choosed "Properties". Then under "Common Properties" I have "Add New Reference" and Added the Graph.DLL file to my project. This .DLL is a GraphControl. My question …

Member Avatar for Lukezzz
0
87
Member Avatar for yoyoaz77

Ok I have a form with 4 comboboxes and 1 listbox, this form searches the db for the corresponding record to the search, the user then selects an item in the listbox, clicks a command button to open an new form with various textboxes corresponding to the db fields. On …

0
79
Member Avatar for xander85

The Javascript first... (Purpose: When a user hovers over any link that is contained inside of a <li> tag, then change the background color of the <li>...) 1 - May have an issue with my elements, being that it is not possible to change the background on <li> elements... 2 …

Member Avatar for ~s.o.s~
0
625
Member Avatar for Clockowl

Hey guys, I'm stuck on some undefined references to glut and OpenGL, even when I linked my projects with the correct libraries. Well apparently they aren't correct... I'm trying to compile this: [code=C] /* Copyright (c) Mark J. Kilgard, 1994. */ /* This program is freely distributable without licensing fees …

Member Avatar for Lerner
0
459
Member Avatar for PhiberOptik

hey guys, I was wondering if there is anyway that my java app could retrieve the computer name. IE My computer could be named [ICODE]"PhiberOptik-desktop"[/ICODE] I want to retreive [ICODE]"PhiberOptik-desktop"[/ICODE]! Thanks PO.

Member Avatar for PhiberOptik
0
116
Member Avatar for dreamer14

I am just wondering if i want to delete a file using coding how can i do it using jsp? Example i have a file name pig.jpg in my root folder and I wish to delete this file as i no longer use this any more how can i do …

Member Avatar for peter_budo
0
2K
Member Avatar for jmasta

Hello everyone, I ran into an issue that I could use a little help with. I need to search a large string, match certain parts of it, and replace a certain part of the certain part. The entire string is made up of spans, tables, and images, to build a …

Member Avatar for jmasta
0
138

The End.