71 Topics

Member Avatar for
Member Avatar for adityatandon

Hey guys, I'm having this problem of trying to open shortcuts, i.e (.lnk) files and am also trying to open powerpoint slideshows (.pps) files through turbo c++. It didn't work so what i did was write a .bat file to open those programs and then converted that .bat file to …

Member Avatar for adityatandon
0
893
Member Avatar for anaisthitos2

Is there a way to call a visiblox chart that created with c# code in wpf? Let's say that i have created a chart like : [CODE]private Chart CreateNewChart(int num_chart, string chartName) { Chart newChart = new Chart(); newChart.Name = "Chart_"+num_chart; newChart.Title = chartName; newChart.Width = 600; newChart.Height = 120; …

0
96
Member Avatar for MousehDragon

So I have 3 classes, matrix.h, matrix.cc, and shortestPath.cc shortestPath includes the .h file, which includes the matrix.cc file. In shortestPath I've tried to call a Get method I wrote in the matrix.cc file, but I can't figure out how to call the function on the object of that class. …

Member Avatar for mazzica1
0
300
Member Avatar for efronefron
Member Avatar for efronefron

the problem is if you increase buff size and also change the buff size in a3_fgets_2 function call to more than 15, the program will run in an infinite loop, Can anybody tell me why? Thanks [CODE]#include<unistd.h> #include<string.h> char * a3_fgets ( char * str, int num, int fd ); …

Member Avatar for efronefron
0
252
Member Avatar for casey_sunako

I have this problem.. I keep getting this error: Cross-thread operation not valid: Control 'ListView1' accessed from a thread other than the thread it was created on. Here is my code: [CODE]Imports System.IO.Directory Imports System.IO Public Class Video_to_Mp3 Public folderopen As String Dim ofd As New OpenFileDialog Dim sizetext As …

Member Avatar for Unhnd_Exception
0
286
Member Avatar for hujiba

I'm new at this so sorry if my vocabulary and stuff is totally off. With the following syntax, my goal is to call the choose_number function, which, when given two arguments (integers), returns one of those two at random. I run it multiple times with a for loop but it …

Member Avatar for doug65536
0
161
Member Avatar for hackit

Hii guys.... i am a new programmer of java. i want to implement a problem using CALL BY REFERENCE as i have done in C. please help me to do this.

Member Avatar for JamesCherrill
0
187
Member Avatar for mkalinic

Hello all, I am having some trouble with my tic-tac-toe game. My main problem is that I do not know how to properly make it so that when i click a button on the form acting as spots for the x's and o's the proper letter will come up and …

Member Avatar for Reverend Jim
0
450
Member Avatar for iThaos

Hi, I was wondering whether it is possible to use a parent class' properties without calling its constructor. In the following example: [CODE]<?php class Shop { public $location; public function __construct($location = ''){ if(!empty($location)){ $this->location = $location; } else { $this->location = 'a place far far away'; } $this->location .= …

Member Avatar for iThaos
0
211
Member Avatar for thecoolman5

Hi, I have had Call of Duty Modern Warfare for a while. About 6 months ago, I updated the game to version 1.7 and when I go to the multiplayer, I click refresh and no servers come up. I have looked at infinite other threads at different websites and none …

Member Avatar for thecoolman5
0
268
Member Avatar for jonow

I was wondering if someone could point me in the right direction for what I am trying to do. I am creating this service in which I want to be able to send text messages, faxes, and automated calls from a server. I want to know the different ways of …

Member Avatar for hiddenben
0
135
Member Avatar for calebcook

Hi. I'm not sure if this is possible with PHP or not... I want to be able to have a user enter a phone number, and then the site will call the number with a message. For instance, it'll call them with their confirmation code. Is this possible? Thanks!

Member Avatar for chrishea
0
2K
Member Avatar for ajst

Hi I have an app for Android phones. It is working as intended but when I receive a phone call the app is minimised(but still running) and I have to open the app again. I was wondering how do I make it so after the phone call it restores my …

Member Avatar for ajst
0
186
Member Avatar for olegb

I feel this must exist in VB.NET, but I just can't find it despite spending time searching for it: What I am looking for is if there is a simple, easy way to see functions or sub callers. That is, if I have a function 'A', I want to know …

0
87
Member Avatar for agam360

Here is my ajax call: [CODE] new Request.HTML({ url: 'users.html', method: 'get', update: 'go', evalScripts: true, /* !! Why isn't this working!? */ onComplete: function(){console.log('ajax complete!')} }).send()[/CODE] I even check eval scripts! users.html: [CODE]<label><h3>Save data here:</h3> <br /> <section id="load" style="display:none;"> <img src="progress.gif" /> </section> <section id="log"> </section> <table> <tr><td>Data:</td><td> …

Member Avatar for agam360
0
148
Member Avatar for lacoffo

Hello everyone :) I'm learning Java and I'm creating a pong game. There is something I don't understand how to do though. It's how do I make it so that when a button in one panel is pushed, it calls a method in another panel. Let me quickly explain the …

Member Avatar for lacoffo
0
827
Member Avatar for D2008

i have a empty c++ win32 console program Peter.cpp and a window form John.h added. a error of " error C2061: syntax error : identifier 'John' " just comes out due to the code " Application::Run(new John); " when complie. could you please help me to fix the program? thank …

Member Avatar for pseudorandom21
0
185
Member Avatar for Si_Long

I'm a newbie to Java, so I'm sorry if this is a silly question. I'll post the code first, then explain my problem. [CODE]import java.util.Scanner; class CharacterOperations{ public void run(){ System.out.println("1. toUpper"); System.out.println("2. toLower"); System.out.println("3. Alphabet"); System.out.println("4. Quit"); int input; Scanner sc = new Scanner(System.in); input = sc.nextInt(); while (input …

Member Avatar for Mattox
0
161
Member Avatar for cartergarth

So I am just surfing the net when I stumbled at this forum. I found out this attention-grabbing topics where I most fascinated of. By the way, i'm garth, 24 years old and newbie here. I took up IT course and fond of reading interesting topics.

Member Avatar for AndreRet
0
119
Member Avatar for hariharans87

Hi, I have PIC32MX795F512L. I have used the "USB Host - MCHPUSB - Generic Driver Demo - PIC32 USB Starter Kit II.mcp" Firmware. I am very new to Delphi. So I have copy and paste the code from [URL="http://www.sixca.com/delphi/article/microchip_usb.html"]http://www.sixca.com/delphi/article/microchip_usb.html[/URL] It is working fine. I want to use the UPDATE_LED (change …

Member Avatar for pritaeas
0
177
Member Avatar for rhonda2010

Hi! I have a vb.net project on a jump drive that connects to an Access (2003) database (located on the jump drive). My problem is when I change computers, I have to change the drive letter the jump drive is located. Currently, I have the following code and have to …

Member Avatar for kvprajapati
0
110
Member Avatar for Gh.S

Hi, This is my first post in daniweb! I've two questions: First question: I'm currently studying about classes, and could get '=' overloading format: [CODE]​[COLOR="Red"]T&[/COLOR] T::operator =(const T& b);​[/CODE] Why we set it to return reference? what's the use? Why couldn't simply be: [CODE]​[COLOR="red"]void[/COLOR] T::operator =(const T& b);​[/CODE] I've used …

Member Avatar for Gh.S
0
263
Member Avatar for tshudyb

I have created a JFrame contaning a JTabbedPane. What I am trying to accomplish is the changing of tabs within my 'addCustomer()' class via an ActionListener. What I was trying was to call the method 'setTab(int c)' located in my 'BoatLog()' class, from my 'addCustomer()' class to set the index …

Member Avatar for tshudyb
0
1K
Member Avatar for Sunshineserene

Hi all, I'm actually equating a 2D array from a class to another class. I call it using method call. However, it seems like the 2D array is empty after I equate it to another 2D array in another class. May I know where is the problem? [CODE]import java.io.*; import …

Member Avatar for apines
0
233
Member Avatar for rlfate

I am relatively new to delphi. what i am try to do it to open a new form from the main one as a pop-up window, let the user input certain values in there (two integers and a check box), and use these values as parameters in a procedure to …

Member Avatar for rlfate
0
614
Member Avatar for jackparsana

hi, how to call code-behind function in java scrip. i am working on asp.net please help me to call the procedure with js. thanks in advance. jack

0
106
Member Avatar for sugumarclick

Hi javaAddicts I am a novice java programmer. I am in a learning process in java servlets. How to load a servlet and invoke its method from index.jsp. I want the servlet to execute first and dispatch its value to index.jsp and also i dont want to use redirect from …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for Garrett2011

take following class and two object definitions: [CODE=c++] class Rect{ public: enum centimeter; enum meter; Rect(double len,double wid,enum centimeter){ length=(len/100); width=(wid/100); } Rect(int len,int wid,enum meter){ length=len; width=wid; } //rest of implementation private: double length;//in meters double width;//in meters }; Rect obj1(10,5,Rect::centimeter()); Rect obj2(10,5,Rect::meter());[/CODE] two previous constructors have dummy enum …

Member Avatar for Garrett2011
0
2K
Member Avatar for surajrai

Hello , I need an approach for my new assignment.Thought a lot but could'nt find an approach so posting it in this site hoping that someone might have come accross this situation and can suggest me something :-) I have a console application that downloads images from IP cameras (say …

Member Avatar for sknake
0
393

The End.