199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for michaelzip

Hi. I just want to ask if it is possible to create a function that accepts an expression into its arguments. Just like what IIF do. Ex: [CODE]Dim strResponse as String = IIF(Msgbox("Select Yes or No", vbYesNo) = vbYes, "Yes", "No")[/CODE] I forgot the code, but its the thought that …

Member Avatar for michaelzip
0
173
Member Avatar for divyakrishnan

Is it possible to run an exe file directly onto the server without downloading/saving into client machine? I had used that exec() function .But it is showing no display. <?php echo exec("d:\example\php_exe\1436.exe"); ?> Also I tried it using backticks operator

Member Avatar for bibiki
0
383
Member Avatar for Tinee

Hi, I need help finding the problem with my program. I believe everything is working but when I input the the tolerance, the program suddenly terminates. Please help me spot the problem. By the way, as a warning my program is very long but redundant. hehe. [CODE]#include <iostream> #include <string> …

Member Avatar for mike_2000_17
0
134
Member Avatar for Labdabeta

How can you play videos in C++, I am quite willing to use more than less any headers, I basically need a code that will work like this: [CODE]#include "PlayVideos.h" int main(int argc, char *argv[]) { SDL_Surface *screen=SDL_SetVideoMode(WINWIDTH,WINHEIGHT,WINBPP,SDL_SWSURFACE); ShowVideo("MyVideo.avi",0,0,screen);//play a video at position 0,0 and apply it to the screen …

Member Avatar for mike_2000_17
0
186
Member Avatar for Razer_90

i want to do in my program that i can drag and drop any video file and it will drag their's name one after one in the first column and when i will drag srt files (subtitles files) it will drag and drop them one after one to the other …

Member Avatar for abelLazm
0
138
Member Avatar for P.manidas

Dear Sir/Madam, I have a small programe developed in VB 6.0 and database MS Access. Where user can insert their only name & address and can retrieve the existing records. Just for test, I have kept this programe (.exe file and database file) in the share document of a computer …

Member Avatar for debasisdas
0
548
Member Avatar for romz

Im creating a desktop application in Visual Basic 6.0 and im having trouble getting the data from datagrid. Im used to using DataGridView commands in Visual Basic .Net but its not available in VB6. I already tried using datagrid1.textmatrix but its not available for the datagrid controls. I think .textmatrix …

Member Avatar for romz
0
5K
Member Avatar for extemer

hi friends i want to apply javascript on the the go-btn so if i do give wrong password the alert box should pop up itryed but i didnt figure it out....please help me out.. below is the code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta …

Member Avatar for urtrivedi
0
151
Member Avatar for maybnxtseasn

typedef struct _FOO { int blah; int blah2; int blah3 } FOO, *FOO; 1.) Does this create 2 objects of type FOO and another that is a pointer to a FOO? 2.) OR does it just typedef the names so you don't have to do the following struct __FOO fooStruct; …

Member Avatar for abhimanipal
0
117
Member Avatar for packetpirate

I'm not sure if it's the way I'm sorting this ArrayList or the way I'm constructing new Term objects. Can anyone tell me what's wrong? My program is too long, so I'll narrow it down to the parts that are giving me trouble: The declaring of the terms and new …

Member Avatar for packetpirate
0
247
Member Avatar for cafegeo

I have a data file which includes an employee name, hours worked, salary and age. I have to manipulate this data: Print out the data as it is read in. Compute overtime(over 40 hours) Compute tax paid per employee using a specific formula. Sort the list by name. And a …

Member Avatar for cafegeo
0
3K
Member Avatar for newbi11

i came across a jquery slide out menubar here [url]http://tympanus.net/Tutorials/UIElements/SlideOutMenu/[/url] . its a mouse over menu bar made with jquery . however i would like to know if the slide out can be brought out through a click rather than a mouse over . here is the source : [CODE]<!DOCTYPE …

Member Avatar for kekkaishi
0
220
Member Avatar for MasterBerd

Hey Guys! i'm trying to start making a php based word translator. Do i need to retype every word in dictionary or is there a way to download "library" type thing, or copy and paste from sources (could not find)? thank you for your help

Member Avatar for chrishea
0
336
Member Avatar for jackmaverick1

Hi! I'm looking to be able to add a user created extension to a program I'm making. The extension should be able to execute on it's on accord, then pass control back to the program when it's done. So, Say I click a button (it's got a GUI on it), …

Member Avatar for jackmaverick1
0
223
Member Avatar for jimmymack

[CODE]#include <iostream> #include <string> // Declare the BaseClass. class BaseClass { public: // Constructor. BaseClass(); // Destructor. ~BaseClass(); // Simple method. void doSomething(); }; // Declare a SubClass that // inherits BaseClass. class SubClass : public BaseClass { public: // Constructor. SubClass(); // Destructor. ~SubClass(); }; // Define the functions. …

Member Avatar for mike_2000_17
0
101
Member Avatar for Jsplinter

I'm having trouble overloading the operator< for a class that I want to use as a key for an stl map. It works fine for a comparison test, but when I try to use the std::map.find() function I get an error: [I]binary '<' : no operator found which takes a …

Member Avatar for mike_2000_17
0
2K
Member Avatar for judithSampathwa

hi there, i am using a code to back (downloaded) up a database in a server and when i run the application it gives me an error saying operating system error 3 [CODE=C#] //Use this line if you have already created a bakup file. File.Delete(DBpath + "\\backup.bak"); this.Cursor = Cursors.WaitCursor; …

Member Avatar for BitBlt
0
628
Member Avatar for Griff1990

Hello everybody, hope you're all good. I'm making a quiz and I've got a set of questions and answers being loading into two different arrays, the idea is to answer a question with a choice of 4 buttons, so on a button click the answers checks to see if it …

Member Avatar for Griff1990
0
199
Member Avatar for alexaaxela

Hi guys, basically im writing a program where the user inputs the number of coffees they require from a number of drop down boxes, one for cappucino, espresso, iced coffee and latte. after this, there is a 'calculate' button which totals these up and displays them in a textbox. my …

Member Avatar for Jx_Man
0
88
Member Avatar for Iamthecheese

Okay, so I have a rather easy problem that I can't seem to figure out. I'm getting cannot find symbol errors for T item=(T)input.next(); The program is a test file for a Binary Tree program. I was told the input 'item' has to be in T type. Obviously they have …

Member Avatar for Ezzaral
0
2K
Member Avatar for novice20

Hi, I am working with [B]python2.4 on windows[/B], and want pysnmp to be imported. Have downloaded [B]pysnmp-4.1.14a.tar.gz[/B] and [B]pyasn1-0.0.12a.tar.gz[/B] and put it under [B]D:\Python24\Lib\site-packages\[/B]. Still i am getting the import error. from pysnmp.entity.rfc3413.oneliner import cmdgen ImportError: No module named pysnmp.entity.rfc3413.oneliner What should I do to make pysnmp importable?

Member Avatar for snippsat
0
2K
Member Avatar for miguelsan

Hello guys I have been staring at this code for an hour and cant get it to work. My for loop on the bottom is not working. For some reason the array values keep resetting (value[row][col1]. This supposed to be Gauss-Seidel method so basically its an iterative method that relies …

Member Avatar for miguelsan
0
92
Member Avatar for jxe217

I'm having an issue with my program when I call the "drawCardFace" and "drawCardSuit" functions. The function calculates and gives one answer the first time I call it. And then uses that same answer the next 4 times I call it. Can someone explain what I need to do to …

Member Avatar for jxe217
0
213
Member Avatar for CelticWhisper

Hi all, First-time poster and netadmin/infosec guy trying to get into coding. My company uses a SQL Server 2005 database to store customer information and the like, and I'm hoping to learn to interact with it programmatically so I can write and/or customize software to make life a bit easier …

0
157
Member Avatar for rEhSi_123

Hi Guys, I need some advice on reading an integer from a file. The file would always have one integer. Once the integer is read in, I would use this in 'if else' statement to find the outcome [CODE]f = fopen (fileName, "r"); if (f == NULL) return 0; fread(); …

Member Avatar for rEhSi_123
0
85
Member Avatar for cppjosh

Hey everyone! I was recently assigned this program in class and have finished it but i have some compiler errors i cant fix. I was just hoping that some of you could give it a shot and share what kind of code you came up with. Well here it is …

Member Avatar for Akill10
0
365
Member Avatar for sciprog1

I am testing a program in C++ Templates (from the Deitel Textook) and I have the typical three files: Array.h: [CODE]// Exercise 14.7 Solution: Array.h // Class template Array definition. #ifndef ARRAY1_H #define ARRAY1_H #include <iostream> using namespace std; template < typename elementType, int numberOfElements > class Array { public: …

Member Avatar for sciprog1
0
148
Member Avatar for Anark10n

Apologies if this question has been asked before, but all other threads are so old that it was advised to start a new thread. As the title suggest, i'm having trouble linking files in Code::Blocks(Linux OS). I had the same problems back when i was using Windows. Error message is …

Member Avatar for Anark10n
0
2K
Member Avatar for thekiddy

I am selecting an image as part of a html form. Once selected, jQuery assigns a user-defined attribute of the image to a hidden form variable and passes it to form handler. Neat. Problem is when I dynamically add images that can be selected. I am using live function to …

Member Avatar for Airshow
0
678
Member Avatar for Trle94

Hey guys i need help with this error: Error 1 'All' is a 'variable' but is used like a 'method' 60 [CODE] int Plength = 0; Random Generate = new Random(); int rdmNumber = 0; string Password = ""; string All = ("aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789`~!@#$%^&*()_-=+[]{};:'|/?.>,<"); if (RB_All.Checked) { if (rbttn_eg.Checked | rbttn_tn.Checked …

Member Avatar for Mitja Bonca
0
171
Member Avatar for bia

hey i m new to C#.. if want 2 store word document in Access in C# ???? How it can be done???????? PLz help me i have to submit my assignment but i m stuck with this point all my assignment is ready so plz help me as soon as …

Member Avatar for Mitja Bonca
0
565
Member Avatar for jswain323058

I have this Code written but I am having problems with the While loop I need it to recognize if the password has less then 5 characters and if there are spaces. I just cannot get it working for the spaces. Can anyone help?? [CODE]#include <iostream> #include <vector> #include <string> …

Member Avatar for jswain323058
0
91
Member Avatar for miskeen

Hello, I need to random generate some values in c++. I know that I can use rand() but I need to generate values with the following condition: the generated values must be equal to 2^n (0, 2, 4, 8, ...). Is that possible? Kind regards, M.

Member Avatar for vijayan121
0
227
Member Avatar for bhallarahul

Is it possible to write java program for controller or programmable interrupt controller?

Member Avatar for bhallarahul
0
76
Member Avatar for israruval007

ok my getData() function reads a text file and stores it into an array called info, and everytime it reads a letter from that file it calls a member called addRear which comes from my link list class "slist". what i need help on is how could i display this …

Member Avatar for Lerner
0
157
Member Avatar for xanawa

How can i make [COLOR="Green"]ColumnHeaderName to HH:mm [/COLOR] format? [CODE]string columnHeaderName = dgvSchedule.Columns[i].HeaderText.ToString(); DateTime timeColumn = Convert.ToDateTime(columnHeaderName);[/CODE]

Member Avatar for xanawa
0
216
Member Avatar for gayansameera
Member Avatar for AMADH

Hello, I hope somone can help me. I have a form that a user use to search for their pay, and it will dispay it for them as both with dependents and without. Right now they can search and it will display their pay, but it displays it as two …

Member Avatar for AMADH
0
165
Member Avatar for John Linux

Hi, If i have a vector in MATLAB v; [CODE]v = [1 2][/CODE] How can i push a value say '7' to the vector. ie. v = 1 2 7 I am currently doing it in a loop: count = 0 ie. for 1 to 10 count = count + …

Member Avatar for Thisisnotanid
0
380
Member Avatar for karlamadeus

Hello all. I am trying to write a short little game, mainly to boost my knowledge of classes and objects, and of course I am starting to encounter problems. I have several classes for different types of creatures in this game. Most of them take the form of: [CODE] class …

Member Avatar for griswolf
0
229
Member Avatar for Frankey

When i do a select on my db. example. a row with the column 'animal' has the value of 'Horse' select * from table where animal = 'horSe' doens't work?! How to make it work full all variations with capital or non capital?

Member Avatar for mwasif
0
108
Member Avatar for c#Programmer

hi, im designing a form that updates a customer details. when the user enter an id, the form displays all the fields of that customer. my problem is that i have a combobox that displays the status of the customer, i filled the combobox with four items and when the …

Member Avatar for Mitja Bonca
0
170
Member Avatar for ashwinshenoy

HI Guys, I have completed my VB project using vb 2008 express edition.. I am not able to create a set up file for my project and I think it is because of the file path i have provided in my program dbSource = "Data Source = C:\Documents and Settings\cfadmin\Desktop\Lead_management\Lead_Management_Project\Lead_Management_Project\London.mdb" …

Member Avatar for Mitja Bonca
0
267
Member Avatar for stan_l

After reading a reply to a post regarding importing modules, help("modules") was suggested as a means to display what is currently available. I tried it and got errors after only performing a basic install of Python 2.7 and Python for Windows. Can these be repaired [see attached]

Member Avatar for snippsat
0
489
Member Avatar for NPDA

how can i solve this error.?? incompatible types found : java.lang.String required: int num=userIn.readLine(); :)

Member Avatar for JamesCherrill
0
91
Member Avatar for masterjiraya

ALL THE FILES ARE HERE. [URL="http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar"]http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar[/URL] THERE'S A PROBLEM IN THE FILE RECEIVER.PHP I can't solve why I cant upload with restrictions, what I want is to upload multiple files in one deploy... it's an array of files. I want these each files of every array element is checked and …

Member Avatar for masterjiraya
0
209
Member Avatar for ChrisHunter

Hi, i'm having a problem trying to print out a list of strings. i can get them to print out using rectangles successfully but when the bottom of the page is reached it wont go onto the next page, instead it just stops printing. I've done this so far which …

Member Avatar for ChrisHunter
0
950
Member Avatar for Xcelled194

Hello guys, for a School assignment, I need to code a program in VB.NET or C#. The only requirements of this program are: [LIST] [*]It must use file IO in some form [*]It must take between 1 and 4 weeks to finish (assuming that I work on it 1-2 hours …

Member Avatar for BitBlt
0
201
Member Avatar for Devildawgg

Good morning to all:zzz: I am a beginner programmer in Java, and I am having an issue I don't quite understand for a program I am working on. I am hoping that someone here with some more experience than myself could take a look at my code and see what …

Member Avatar for Tarkenfire
0
373
Member Avatar for zachattack05

Need some help with this one. Is it possible to define a class constructor in an interface? I need to ensure that any classes that use a specific interface all have at least one constructor with specific parameters. Is there a different option that can yield the same outcome?

Member Avatar for zachattack05
0
63

The End.