199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mykar_88

Hi Please help me out in providing connection string for the SQL datasource at runtime...i need to connect to different database based on the login option....i removed the connection string in the web.config file and tried to select the connection string during page load but it shows an error...can this …

Member Avatar for CrappyCoder
0
171
Member Avatar for severman

hi all is it possible to find with jQuery an id that start with something, then a specific string, and then something. for example lets say that i have this divs [code] <div id="first_search_div1"></div> <div id="second_search_div2"></div> <div id="third_bla_div3"></div> [/code] i want to find this patern: *search* the result should the …

Member Avatar for Airshow
0
154
Member Avatar for soroushc

Hi:)the problem im facing is that i created a control Textfield.Example :the user types in 75000 in the textfield and after he or she presses enter the List view appears. But i want them to hit a button so after hitting the button the list view appears?plz help

Member Avatar for CrappyCoder
0
139
Member Avatar for crimes

Hey all, I'm creating a text-based RPG and am just now getting to the fighting mechanics. I want to use the rand function to choose a random number within a certain range but am having trouble getting it to execute correctly. [CODE]#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; …

Member Avatar for crimes
0
106
Member Avatar for jludeman

This is not a real program but a feasibility test. The purpose is to: 1. create a bunch of bitmapbuttons on a scrolling window from the contents of an image directory. 2. When the user clicks on their favorite button something should happen. The nice part is that 1 is …

Member Avatar for jludeman
0
274
Member Avatar for perryg30313

Hello all, I have an app that I've developed that has a vb.net front end and a SQL Server 2000 database backend. I currently have it running fine on my machine and it also installs fine on all the users that are inside the domain that the app was written …

Member Avatar for perryg30313
0
281
Member Avatar for Erslich

Hi all, I am currently working on a "game of life" program. Which basically updates a grid and forms interesting patterns. Now part of the program means it has to have a "start" and "stop" button. The idea being that the user can click one button to start the game …

Member Avatar for PierlucSS
0
1K
Member Avatar for thatguy2

I am trying to pre-populate form selections by evaluating a string. I will import a dynamic string later, but wanted to focus on the search function. If the value has a match in the string then write "selected" in the input tag to select it for the viewer. What am …

Member Avatar for thatguy2
0
165
Member Avatar for rick.eavans

[code] Imports System.Data.SqlClient Imports System.Data.SqlClient.SqlDataReader Imports System.Data.SqlClient.SqlConnection Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Inherits System.Windows.Forms.Form Dim myConnection As New SqlConnection Dim myCommand As New SqlCommand Dim ds As New DataSet Dim cmdtext As Integer Dim action As String Dim view As DataView Dim dr …

Member Avatar for rick.eavans
0
1K
Member Avatar for invisal

I am looking for an article publishing script that support multiple-pages articles similarly to devpapers.com. I have searched for many scripts already and all of them are only able to post an article in a single-page. Thanks before hand Visal .In :P

Member Avatar for Ezzaral
0
129
Member Avatar for keeda

Hi All, I want to transfer a html file generated by my VB application to my account in Unix Server, please let me know if this is possible and if yes, how can I achieve this? Thanks in advance!

Member Avatar for ANXIOUS117
0
135
Member Avatar for SgtMe

Hi there. I have made a program in Python with PyGame and PyOpenGL to test out vertex and pixel (fragment) shaders. I would like to be able to right click on the shader file (just a text file with a custom extension) and choose Open With... and then open with …

Member Avatar for SgtMe
0
235
Member Avatar for Dr.Cooper

So I have problem with a code I am writing, when I write a string to a text document, I get the following error; "Conversion from string "1, 1, 2, 3, 5, 8, 13, 21, 34, 55" to type 'Integer' is not valid." Please help; code below. Thanks in advance! …

Member Avatar for ANXIOUS117
0
183
Member Avatar for helpfullProgram

Hello everyone! I need to be able to check if a "username" exists in one table in the database, and if not then create a row with that "username" and various other bits and bobs. I have it so I can input a username into a database but when I …

Member Avatar for helpfullProgram
0
165
Member Avatar for MaC-CK

Could use some advice, as always it's greatly appreciated. I know I could have ripped this code off from anywhere but I'm really trying to learn this the right way. Not sure what I am doing wrong here to make my If Elif part of function not work correctly. It …

Member Avatar for SgtMe
0
80
Member Avatar for mbarandao

I'm working with this form which has js calendar. unfortunately, I can't get the calendar to work onclick. It produces the following error: [CODE] Uncaught SyntaxError: Unexpected token [/CODE] can't make out the error. Not sure if this is related to another onclick function. Here is the actual code: [CODE] …

Member Avatar for mbarandao
0
145
Member Avatar for vaskar

Hi ALL, When i run this query it's take too much time to execute. SELECT ptnt.*,ptntF.familyName FROM -> (SELECT ptntPatientDetails.*,ptntPatientDetailsLang.occupation,ptntPatientDetailsLang.notes,pracStatusMasterLang.statusDesc, -> IFNULL((select countryName from genCountry where ice_global.genCountry.countryID = ptntPatientDetails.country),'') as countryName, -> IFNULL((select stateName from genState where ice_global.genState.stateID = ptntPatientDetails.state),'') as stateName -> FROM ptntPatientDetails,ptntPatientDetailsLang,pracStatusMasterLang -> WHERE ptntPatientDetails.patientID = ptntPatientDetailsLang.ptntPatientID …

Member Avatar for smantscheff
0
120
Member Avatar for iWarrior

I'm having some problems with the UPDATE statement in VB.NET. Not the UPDATE statement directly, but when it comes to incrementing a field's value by 1. Below is the code that I'm using for writing to the database, as well as the two UPDATE SQL statements that I've tried. Any …

Member Avatar for GeekByChoiCe
0
237
Member Avatar for suncica2222

I need to compress monochromatic bitmap with modified huffman algorithm here's the algorithm: [url]http://www.iet.unipi.it/m.luise/HTML...n%20Coding.htm[/url] as you see i need to replace pixel (bits) sequence with some bits sequence variable length so im not sure which type to use for bits manipulation iI found this class for bits [url]http://www.codeguru.com/cpp/cpp/cpp_...nipulation.htm[/url] and this …

Member Avatar for suncica2222
0
180
Member Avatar for elsiekins

Hi, I have a method call say some fucntion that takes in a pointer of an array of char [CODE]char anArray[32]= {'1', '2', '3', '4', '5', '6'}; // the function call someFunction(&anArray[0]) [/CODE] I don't think I have quite grasped the concepts of pointers yet, does the code i have …

Member Avatar for Ancient Dragon
0
130
Member Avatar for MairiRobertson

I'd be interested to hear your views on which IDE is best for developing in C++ - Eclipse orMS Visual Studio. What are the positives of each and what are the negatives? Many thanks Mairi

Member Avatar for mike_2000_17
0
163
Member Avatar for halien

Hi, I have data which begins with TEXT which is exactly 13 lines (variable number of characters) followed by BINARY DATA (exactly 262144 chars). It looks like: [QUOTE] BASELINE NUM: 258 MJD: 54270 SECONDS: 28321 CONFIG INDEX: 0 SOURCE INDEX: 2 FREQ INDEX: 0 POLARISATION PAIR: RR PULSAR BIN: 0 …

Member Avatar for woooee
0
117
Member Avatar for +_+man

[COLOR="Red"][U]Need Help Making Keylogger[/U][/COLOR] Hi everyone, My name is hayzam and i want to make an advanced keylogger and what to put it in a USB So when I connect my usb it will open automatically and it must be invisible one more thing i am a newbie to C++ …

Member Avatar for bhanumaurya
0
382
Member Avatar for stevenfagan

I am having a problem calling a stored procedure from a sql database that inserts variables into a database. The stored procedure is: PROCEDURE [dbo].[sp_test_table_testInsert] @NameStr varchar(50), @Qualifier bit, @Notes varchar(50) AS BEGIN insert into test_table (NameStr, Qualifier, Notes) values (@NameStr, @Qualifier, @Notes) END the call I have on the …

Member Avatar for hielo
0
292
Member Avatar for infinitus

Hello i'm having a problem with a program. Let me tell you first what program should do. The program should allow the tutor to enter in the various marks which the students have been awarded, until the tutor enters in a mark exceeding 100. At this point the program should …

Member Avatar for jon.kiparsky
0
452
Member Avatar for efregoso

Hi, Im trying to make a brick game, im only allowed to use vpython, not pygame. I am having trouble getting the ball to change direction and to bounce off the bricks, could you look over my code, and lemme me know? if you could email me at <EMAIL SNIPPED> …

Member Avatar for TrustyTony
0
152
Member Avatar for McCurry0x77

In an assignment, I have to use four different files in a single program. I know doing so has something to do with inheritance (which we're studying now), but I don't understand how to write each file to use the others. How do I use multiple files in this single …

Member Avatar for hanvyj
0
3K
Member Avatar for emaduddeen

Hi Everyone, Can you look at this code because I am sure I'm missing something. I am trying to reset a Dataset. I have a form that has 1 text box and has 2 queries that locate the data. One is by customer ID and the other is by customer …

Member Avatar for crapulency
0
219
Member Avatar for TGeorge824

Hey everyone, I was assigned a project where we have to simulate virtual memory page replacement algorithms. I decided to use a Queue ADT I made in a previous project, and modify it to enqueue page reference strings of a process, character by character. However, when I initially create the …

Member Avatar for gerard4143
0
848
Member Avatar for super_alex
Member Avatar for ChristinaS

Hi! I have a program I'm working on for class (CSC 150). I have to read a pgm file into an array, copy it to a second array, manipulate the image and then output to a second file. I'm having a heck of a time figuring out how to do …

Member Avatar for Clinton Portis
0
206
Member Avatar for moose333

hi I have been trying to draw a grid to a picture box. I have the grid drawn on the windows form itself but when I try to draw to the picture box it doesn`t work. instead the grid draws around the area of the picturebox rather than within the …

Member Avatar for Mitja Bonca
0
2K
Member Avatar for Naggelos

Hi, I'm a newbie in php.. having some trouble getting a simple contact form to work, could someone help and explain what the problem and a possible solution to this: contact.html [CODE]<form method="post" id="customForm" action="contact.php"> <div> <label for="name">Name</label> <input id="name" name="name" type="text" /> <span id="nameInfo">What's your name?</span> </div> <div> <label …

Member Avatar for dietdew12z
0
179
Member Avatar for cshemby86

I have to load two arrays, merge the two arrays into a third array, then create a control break report on name while outputting the most frequent style, then sort the array by style and to a control break on style. Can someone look at my code and see if …

Member Avatar for cshemby86
0
259
Member Avatar for mrhankey

hi, i need to do a query which joins multiple tables but i need to join the same 2 tables multiple times. is that possible? [CODE]SELECT timeline.TimelineID, timeline.SIPPorCASH, timeline.clients_ClientID, timeline.UserID, timeline.IFAID, timeline.RegionalSalesManager, timeline.AreaSalesManager, timeline.AgencyTradingAgreementSigned, timeline.DateOfClientMeeting, timeline.EstimatedPensionFundAmount, timeline.DateAuthorityMandateSentToIFA, timeline.DetailsOfPensionFunds, timeline.ProductID, timeline.PropertyRef, timeline.NPW, timeline.CaseComplete, clients.ClientID, clients.App1FirstName, clients.App1LastName, clients.App2FirstName, clients.App2LastName, users.UserID, users.FullName FROM …

Member Avatar for smantscheff
0
121
Member Avatar for judithSampathwa

hi there, i have a question in coping a file to machine in the network i use the below code [CODE] public string UploadFile(string ID,string Phase,string source,string fileName) { string path = @"\Server-003\F\Details\Reports\" + ID + @"\Phase" + Phase + @"\Proposal"; Directory.CreateDirectory(path); //string folderPath = path.Substring(0,slashIndexLast); string[] files = Directory.GetFiles(path); …

Member Avatar for PierlucSS
0
185
Member Avatar for ajireland

Hello, everyone. I'm having a hard time trying to figure out how to declare and initialize my dynamic array of objects. Here is the class definition and constructor definition: [CODE=C++]class SavingsAccount : public BankAccount { public: SavingsAccount(char, int, string, double, int, double=2.00, double=0.0, double=0.0); double getinterestR() const; double getaverageDailyBalance() const; …

Member Avatar for mitrmkar
0
240
Member Avatar for problematic:)

hi! i'm using a ms access 2003 and vb6. I have a textbox and a datagrid controlled by an adodc. can anyone tell me how can i display the data that I need in the datagrid. example: i entered a lastname "cruz". I want the datagrid to display customers that …

Member Avatar for AndreRet
0
1K
Member Avatar for Keidi

I am trying to call a php script through a shell script.The script is to be called as the run on receive directive of gammu-smsd.My php script executes as expected when I call it using[CODE]/opt/lampp/bin/php myvarsreader.php[/CODE].However on trying to run my script(From terminal): [CODE]#!/bin/sh PROGRAM=/opt/lampp/bin/php myvarsreader.php eval "$PROGRAM \"\${SMS_${i}_NUMBER}\" \"\${SMS_${i}_TEXT}\"" …

Member Avatar for ckoy
0
396
Member Avatar for David 78

Hello guys...actually it's going to be a pretty hard question and probably hard to solve. Here it goes: I have a table of added members and the same table exists in "remove_members" page where I added a checkbox to each user's picture. The pic/user is supposed to be deleted when …

Member Avatar for David 78
0
131
Member Avatar for scoob

i am trying to import into a 2d array the following: line one : gpa e.x.[2.3,5.1,....] ^ ^ | | line two : id e.x.[1 ,2 ,....] and after that to sort the gpa in a descending way but in the same time the id to follow each ones gpa. …

Member Avatar for scoob
0
231
Member Avatar for puretnaant

Hi, Im trying to run this program using dynamic memory i cant seem to get it to keep running it crashes on me. I have the working program so the code is correct im just haveing trouble trying to convert it correctly. Thank You, [CODE]#include <iostream> #include <fstream> using namespace …

Member Avatar for daviddoria
0
172
Member Avatar for ak47kumar1

hey guys, I am a beginner and am having trouble loading data from an external data file and then loading it to the screen. It is supposed to be the temperatures from everyday for a year for 2 years. 1 column is 1930 the other 2000 This is my script, …

Member Avatar for ravenous
0
114
Member Avatar for stripe

Ok, so I have most of the code working but I've been up for over 24 hours and I just cannot seem to get the test score to come out. Here's my code, hopefully someone with fresh eyes can spot my error, I know it has to be something simple …

Member Avatar for stripe
0
154
Member Avatar for Diogo Martinho

[CODE]void BinarySearchTree::inorder(tree_node* p) { if(p != NULL) { if(p->left) inorder(p->left); cout<<" "<<p->data<<" "; if(p->right) inorder(p->right); } else return; } [/CODE] This sample of code works fine if I use it to test valuables that are primitive, example: integer I wanted to be able to transform that, so, if for example …

Member Avatar for Diogo Martinho
0
100
Member Avatar for yuri1969

Howdy, I need to print given path to a file. The problem is that my app is platform independent -> I can get a Win32 style path: [CODE]C:\foo\bar.dat[/CODE]. The problem is with printing single backslashes '' -> single char converts to "\char" style. I need to convert it somehow to …

Member Avatar for yuri1969
0
157
Member Avatar for moose333

Hi, having a small problem whilst trying to draw a fractal to a bitmap. this is the code ive got it all seems fine but i get an error message every time I try to compile it. The error being. ArgumentNullException was unhandled Value cannot be null parameter name: image …

Member Avatar for moose333
0
408
Member Avatar for kiranbvsn

hi all i developed one application in .net which i've used both javascript (on button clicks) and jquery (using script manager) my problem here is i've disabled "Edit and Delete" buttons in my page when clicking the "Add" button so far the application worked fine with in my system (i.e. …

Member Avatar for Airshow
0
66
Member Avatar for aaronmk2

My program runs, but I am getting this message which I am fairly sure means that I have a memory leak and it is coming from my destructor. Assignment2(779) malloc: *** error for object 0x100100120: pointer being freed was not allocated I don't know what I am doing wrong. Since …

Member Avatar for iopp
0
1K
Member Avatar for NightFire91

Having problems with completing this code to a working program and running it. What is the final value of sum? What is the value of i when the loop terminates? [CODE]public class SumLargestToSmallest { int n = 2147483647; float old_sum = (float) 0.0; float sum = (float) 1.0; // already …

Member Avatar for NightFire91
0
88

The End.