199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for adison.afonso

I have this Singleton class called ZombieLand that is supposed to represent a 2D array. This 2D array is getting constantly updated and populated by different instances of my MachineState struct, which contain x and y coordinates to help me navigate through the 2D array. #pragma once #include "singleton.h" #include …

Member Avatar for Moschops
0
239
Member Avatar for Krokcy

Hey! Im doing a project, where i have to manage a bunch of different appliences. I´ve made a custom generic collection class that has a few different search methods. Now the collection class has to hold all of the different appliances (so they all inherits from the same superclass: Appliance). …

Member Avatar for Ketsuekiame
0
258
Member Avatar for imBaCodes

DOes anybody here know how to use send key for alt+s . can you please tell me how to do it. thank you!!

Member Avatar for imBaCodes
0
909
Member Avatar for Kusno

Dear all, I can use this code to write a value in parent window control. [CODE]StrJScript = "<SCRIPT>parent.document.forms[0].TxtCustomerId.value = '" & ClearSpace(Row.Cells(1).Text.Trim) & "';</SCRIPT>" If Not ClientScript.IsClientScriptBlockRegistered("S1") Then ClientScript.RegisterClientScriptBlock(Me.GetType(), "S1", StrJScript) End If[/CODE] but, I cannot set iFrame visible to false. I use this code : [CODE]StrJScript = "<SCRIPT>parent.document.form1.iFrmCustomer.visible = …

Member Avatar for sachin.e
0
544
Member Avatar for on93

how to stop repeating the same image showing out in the image list Private Sub frmStart1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Call Timer.Start() Dim rd As New Random Dim c As Integer Dim lop As Integer = 0 c = rd.Next(0, 4) Dim pb1 As Image = ImageList1.Images(c) …

Member Avatar for on93
0
324
Member Avatar for ivanichi

i want change one word from some of the same words with respect to the position of (the first second or third) example : $string = "He had had to have had it."; echo preg_replace('/had/', 'SSS', $string, 1); output : He SSS had to have had it. i want -->: …

Member Avatar for ivanichi
0
306
Member Avatar for gladys.moyo.180
Member Avatar for davy_yg

How to create website when you click the product gallery will appears a special url for such product. The problem is the product is customizable.

Member Avatar for davy_yg
0
110
Member Avatar for yy886

This is kinda relate to my other question...but anyway long story short. I am looking into a way that I can insert a well structured paragraph into the mysql and then display it on the web later on. I have the textarea and the text can insert into the mysql …

Member Avatar for broj1
0
2K
Member Avatar for coder91

We use object data sources to access our database and having a problem at the minute, the user enters text and clicks search and the stored proc is pulling so much data back from the database that its taking over a minute in SQL, in Visual Studio the timeout is …

Member Avatar for coder91
0
110
Member Avatar for davecoventry

A little patience, please: I'm incredibly old, it's a long time since I did basic algebra so I'm a little confused. I have a line y = mx+c and a circle (x-h)*(x-h)+(y-k)*(y-k) = r*r I've expanded the circle: x*x-2*x*h+h*h+y*y-2*y*k+k*k = r*r and substituted mx+c for y: x*x-2*x*h+h*h+(m*x+c)*(m*x+c)-2*(m*x+c)*k+k*k = r*r expanding …

Member Avatar for Momerath
0
400
Member Avatar for geewebid

my've got problem like this A PHP Error was encountered Severity: Warning Message: escapeshellarg has been disabled for security reasons Filename: libraries/Upload.php Line Number: 1066 I've tried looking for solutions and one of them by adding @ the library upload.php on a tag escapeshellarg @ escapeshellarg, problem solved but the …

Member Avatar for geewebid
0
349
Member Avatar for Benji11092

Hi I am trying to create this application where I need to create a panel with different buttons. I can select a button and drag a button on to a canvas. Can anyone tell me how to create a dragging button.

Member Avatar for <M/>
0
194
Member Avatar for ryan311

I always getting this error in my dropdownlistfor: Value cannot be null. Parameter name: items View code: @Html.DropDownListFor(model => model.SiteId, new SelectList(ViewBag.ListSiteClass, "SiteId", "SiteName"), "", new { @onchange = "GetSiteid(this.value);" }) Controller Code: [HttpPost] public ActionResult Create(ServiceDTO ms, FormCollection form) { if (ModelState.IsValid) { int sid = ms.SiteId; ServiceDAO.Insert(sid); } …

Member Avatar for ryan311
0
12K
Member Avatar for emilio

hi i have a simple website that includes a WebService and a Webform page. i'm trying to call my web service from the web form using jquery. when i type the web service's url using https, i get "Access denied" error from internet explorer. the call works just fine when …

Member Avatar for emilio
0
256
Member Avatar for deepak.fugo

Hi All, How can we set a value to iframe textbox element either in JS/Jquery <head> <script type="text/javascript"> function load() { alert("Frame is loaded"); myframe.document.getElementById("user_email").value = "<?php echo $var ?>"; } </script> </head> <body> <iframe onload="load()" id="myframe" name="myframe" src="http://www.gigpayrr.com/signup" width="700px" height="600px"> <p>Your browser does not support iframes.</p> </iframe> </body>

Member Avatar for deepak.fugo
0
1K
Member Avatar for evilguyme

Hey guys, I ran into a small problem, I need to make a software that does some basic calculation and saving to a custom file. To make this software i don't know how to start, do i need to make an MFC Application? and if i do then what settings …

Member Avatar for evilguyme
0
369
Member Avatar for antwan1986

Hi everyone and thanks for reading! I use JavaScript to create sets of text boxes on the fly. I also have a hidden counter in a text box on the form which I also post to my PHP script. This hidden counter is how I tell PHP how many text …

Member Avatar for com00085
0
3K
Member Avatar for daniel1977

Dear Friends: I am struggling to overload the operators on this exercise. It was working fine when I just had the addition operator overloaded for the extRomanType but now I can't get them to work again. I have searched through the internet and I cannot figure out what I am …

Member Avatar for daniel1977
0
296
Member Avatar for Reliable

I've gone through Code Academy's beginner's JS course. I would like to not only practice what I've learned more, but now move on to interdemiate lessons. Is there a site like Code Academy offering such things for free and online?

Member Avatar for imBaCodes
0
112
Member Avatar for debasishgang7

Hi, I have a problem.I have a third party HTML/Javascript code in which they have text area.They post the content of the text area when user press enter. there is no button to submit the form. So I wanna know how can I submit that form using javascript. Thanks.

Member Avatar for imBaCodes
0
180
Member Avatar for Kmhnz201

Can anyone point me to the right direction with validating a input field like this "p99” (i.e. a letter followed by two digits).

Member Avatar for imBaCodes
0
68
Member Avatar for ankit.4aug

Please tell me if Amazon Payment Gateway Module code for Magento is available or not.Like Paypal Module code is available. i want to check its observer and model file etc.

Member Avatar for LastMitch
0
226
Member Avatar for abhi10kumar

I am sending email with attachments.. but I did not getting any extention in the email.. all the attachments having name **noname** without extention, if I attach mutiple files then the attachmment also have only one file named **noname** without extention too.. <?php if(isset($_POST['send'])) { include('db.php'); $strTo = $_POST["email"]; $strSubject …

Member Avatar for LastMitch
0
139
Member Avatar for newGains

pretty new to programming in assembly but my assignment is to write a GCD program but my program works sometimes and sometimes it doesn't work. if i put the smaller number first then the larger number i don't get the correct GCD but if i do the opposite i get …

0
161
Member Avatar for Lethugs

Hi, Im trying to load animated GIF's from a folder to my listview, I'm able to load it but not moving One more problem is, a lot of GIF are inside that folder,but the display in listview show the same image how can i fix it, is there better way …

Member Avatar for Lethugs
0
853
Member Avatar for er.durgeshkumar

hello friend i have two table studentlogin and seconed studentinfo i want that when student login i like to select rollno from student login table in student login there is four field sloginid, rollno, username and password now when rollno fetched succesfully from studentlogin table i like to fetch s_id …

Member Avatar for masterjiraya
0
355
Member Avatar for nah094020

Just wondering how do i get all the nessecary files for my project on netbeans because, when i use the add existing item, i tend to forget where i got it from and have trouble organizing it. Is there a way to find where the file is located at?

Member Avatar for nah094020
0
196
Member Avatar for peymankop

Hi...! As in the title i want to know that how i can check that all the buttons in my form are disable?!

Member Avatar for Ketsuekiame
0
223
Member Avatar for yibrahim

Is it ok to use sockets to exchange data between web application and windows application if i used MSMQ is it true that application has to be running under microsoft system. I want the web application to send message to windows application and gets the response back thanks

Member Avatar for Ketsuekiame
0
364
Member Avatar for XEN0

Ok here is the deal,i thought ImageAnimator can be controlled so im trying to do so by using the form Key Down Event,a timer,and an integer.So it fails with a An unhandled exception of type 'System.Runtime.InteropServices.ExternalException' occurred in System.Drawing.dll Additional information: A generic error occurred in GDI+. When i move …

0
200
Member Avatar for Lardmeister

This code shows how to use a minimum Windows Gui program to display the results of a bubble sort of an integer array.

Member Avatar for kplcjl
0
1K
Member Avatar for bubunchan

public class review{ //method code public void start() { int a, b; a = 5; b = methodA(a); System.out.println(a + " " + b); } private int methodA(int a) { int b = 10; a = a + 5; return a + b; } //method end } ------------------------------------------------ i compile …

Member Avatar for somjit{}
0
271
Member Avatar for G_S

Hello people. I need an explanation about inheritance I got a little confused in class: This is the modelling problem: There are two objects: doctors and patients. They are expected to have only the following attributes: Doctors have: name, age, id, and salary Patients have: name, age, id, and disease …

Member Avatar for G_S
0
197
Member Avatar for biepie70
Member Avatar for jethaya

what i am trying to do is permit the user to claim or reserve a spot with coord my table has 4 feilds id ,continent,coord,nom id is primary key what i am trying to do first i check if the coord already exist if they dont i update the database …

Member Avatar for jethaya
0
184
Member Avatar for blivori

Hi, Can anyone tell me why no 'products' are being displayed from the JSON file? This is my code: products.html: <!DOCTYPE html> <html> <head> <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> <meta content="utf-8" http-equiv="encoding"> <style>img{ height: 100px; float: left; }</style> <link rel="stylesheet" type="text/css" href="style.css"> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script> $.getJSON('products.json', function(data) { $.each(data.products, function(i, item) { …

Member Avatar for pritaeas
0
368
Member Avatar for LegateLucius

hello im lookin to create site with a login and user registration system like mediafire.com codecanyon.net and other sites could someone explain to me how to do it for example if i want when users registers they upload their profile picture meaning so im wondering how to make it in …

Member Avatar for IIM
0
287
Member Avatar for ppstyle

I am using this function to convert the contents of my richtextbox to html: Public Function myRTF_To_HTML(ByVal sRTF As String) As String Dim MyWord As Microsoft.Office.Interop.Word.Application Dim oDoNotSaveChanges As Object = Microsoft.Office.Interop.Word.WdSaveOptions.wdDoNotSaveChanges Dim sReturnString As String = "" Dim sConvertedString As String = "" Try MyWord = CreateObject("Word.application") MyWord.Visible = …

Member Avatar for tinstaafl
0
248
Member Avatar for haze man

I have putten together this code for searching a text file for a users string (User's ID), how every i am aving some error that i dont knw how to fix and was hoping someone could help me. Thanks in advance. #include<stdio.h> #include<string.h> #inlcude<stdlib.h> int main() { FILE *fpcust; int …

Member Avatar for Ancient Dragon
0
228
Member Avatar for Ashenvale

Hi, my problem is that I can't insert the value of $branch to my database, because it returns a null value. I'm still new to PHP and only started using it a couple of days ago, I still don't get much of the functions. Here's my whole code: <?php session_start(); …

Member Avatar for EvolutionFallen
0
138
Member Avatar for daniel1977

Dear Friends: I have the following issue: when I am trying to use the member variables of my header/trailer linked list, they are apparently not initialized. I, of course, am initializing the pointers in the class' constructor, but nonetheless they appear to not be making it out of the constructor. …

Member Avatar for daniel1977
0
131
Member Avatar for sim_pack

i have this code to render a locally saved html file onto a jframe. i have the following problems with how the html was rendered: 1. the texts of the 'webpage' do not wrap; 2. in order to solve my problem in 1. above, i added a JScrollPane, problem is, …

Member Avatar for sim_pack
0
570
Member Avatar for somjit{}

i basically need mySQL for learning JDBC connections. will be thankful to any information regarding this matter. didnt find anything concrete on the net...

Member Avatar for somjit{}
0
167
Member Avatar for dtharn

The requested URL /PhpProject1/index.php was not found on this server. this is the error when i am trying to execute an index.php file in netbeans IDE......plz help me...

Member Avatar for dtharn
0
82
Member Avatar for GioMazing16

Does anyone know how to properly install MySql Server? I am having trouble installing it. It's one of the last steps for the MySQL installer package.

Member Avatar for cereal
0
224
Member Avatar for Suzie999

Hi. I'm having trouble debugging a rather large project. The first issuse is not knowing how to track the bug down. Here is the text from Assertion Error popup while running in debug mode Debug Assertion Failed > Program...nga Path\file.exe > File: f:\dd\vctools\crt_bld\self_x86\crt\src\xtoa.c > Line: 105 > > Expression: sizeInTChars …

Member Avatar for Suzie999
0
378
Member Avatar for enkitosh

I'm trying to strip only path from a c string char *path = "~/folder/sometext.txt" so I would get only "~/folder/" Anyone got a hint on how to achieve this? I was thinking of something similar to std::string find_last_of so I could just indicate the last "/" or "\" in the …

Member Avatar for enkitosh
0
119
Member Avatar for coder91

Wasn't sure what thread to post this in but at university we use filezilla to upload our files to the server so we can use php code etc. However when I try to use it at home using the host name, username and password I do at uni it's not …

Member Avatar for coder91
0
120
Member Avatar for ppstyle

Dim Data1 As String Dim Data2 As String Dim sFinal As String Dim sLeft As String Dim sRight As String Dim quote As String quote = """" Data1 = rtb.SelectedText 'original string Data2 = "<font color=" + quote + codenumber + quote + ">" 'string to insert sLeft = Microsoft.VisualBasic.Left(Data1, …

Member Avatar for G_Waddell
0
166

The End.