199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for valsaraj

Which is the best method to get response from a web service URL? for example, we can use cURL, file_get_contents, file, .. to get response. Can anybody help me to find a best one?

Member Avatar for mschroeder
0
100
Member Avatar for dvsConcept

I'm trying to simulate the spin of a slot machines [reel1][reel2][reel3] so they look like they are in motion. i'm getting this error: Error 2 error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion) [code=c++] //rotation of …

Member Avatar for dvsConcept
0
701
Member Avatar for millsy007

I have recently changed my page so my date that is held in a textbox is in the European Format, ie DD/MM/YYYY The problem is all of my other javascript functions expect it in the 'normal' format. Is there a way I can change the format I now have it …

Member Avatar for essential
0
106
Member Avatar for rak4u

Hi i am using .net 2.0 & a window application which is connected to sql server there is checkbox in the application. i want to bind the checkbox with database field which is bit type 1 or 0 please tell how to ? in my window form there is three …

Member Avatar for JerryShaw
0
176
Member Avatar for gagan22

Hello everyone, I have changed hosting my website. But at the time of connectivity to database , i have changed mysql_connect( ) parameters. still i am facing some problem in opening website. what can be problem . please suggest me. thanks, gagan

Member Avatar for mschroeder
0
95
Member Avatar for reptar

Hi i have a querystring value which is use to locate a record from a database. I have set up a validation which redirects the user to a URL if they input an incorrect querystring value in the address bar. My question is, how do i redirect the user if …

Member Avatar for reptar
0
106
Member Avatar for jayli27

[code=cplusplus] #include<fstream.h> #include<stdio.h> #include<conio.h> #include<string.h> #include<iostream.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> void deposit(void); void addrecord(); void delrecord(); void modrecord(); void disprecord(); void dispall(); void withdraw(); float w,z; class account { int accountno,cls; char name[30],type; float deposit,withdraw; public: account() { deposit=withdraw=0; } int giveaccountno() { return accountno; } void getdata(int …

Member Avatar for siddhant3s
0
366
Member Avatar for millsy007

I have a query that brings though a list of passenger names, is there a way in which I can set the length of each of these names to equal 10 characters. So even if I have shorter names eg "bob, demarcus, adam and scott" they would display with the …

Member Avatar for manojjena1982
0
88
Member Avatar for ksanthoshmail

error in open exe application in vb.net Please Help me: While open exe in my vb.net Project i got a error your were middle of somthing it.... and it throws invalid operation exception. My code: Dim strexe As System.Diagnostics.Process If strexe IsNot Nothing AndAlso Not strexe.HasExited Then strexe.Kill() Else Dim …

Member Avatar for ksanthoshmail
0
174
Member Avatar for millsy007

I am using the syntax: REPLACE(str,from_str,to_str) to replace data in my table. However I have a slight issue I would like to address, when I have the following records jon | jonathon | jonas | jonny and I do the replace with REPLACE(names, jon, '') I am left with | …

Member Avatar for manojjena1982
0
89
Member Avatar for cljlxwater

if i define a array, for example private int[] lendMoney = new int[10]; do i can use a use property to match this private array? thank you

Member Avatar for Rashakil Fol
0
112
Member Avatar for SlyMaelstrom

This actually pertains to Visual Basic for Application in Access 2003, but I imagine that this forum should yield accurate information for a simple query such as this. Naturally, the event in the title does not exist. Not for the pre-defined text box control in VB, anyway. However, it is …

Member Avatar for SlyMaelstrom
0
155
Member Avatar for jaasaria

hi guyzz im using crystal report for my application... i have problem in making formula in details parts of my report.. i access two tables in making the details, but my problem is to display the amount by subtracting or adding the details amount.(for getting the running balance.) plss see …

Member Avatar for jaasaria
0
135
Member Avatar for PinoyDev

Good day.! I have created a menu editor with a name File. This file menu contains a popup menu which is(back-up database,restore database,logout). With this popup, i want to add an icon on the left sides all of them. Does any one there can help me pls. this is how …

Member Avatar for PinoyDev
0
464
Member Avatar for VBNick

right now, I am allocating a dynamic 2D array for my rasterizer's edge list. My setup looks like this: [code="cplusplus"] struct EDGE { float x, dx; float uvws[4]; //u, v, 1/z, shade float duvws[4]; float y_limit[2]; bool active; }; struct EDGERECORD { EDGE *left_edge; EDGE *right_edge; EDGE edges[9]; UINT16 num_edges; …

Member Avatar for VBNick
0
140
Member Avatar for GeoffC

I am using the following to set up a textarea for the input of the body of an email. [code] <td valign="top"><textarea name="zbody" id = "zbody" class="stylefont_textarea" tabindex = "3" onfocus="gotostart()" cols="40" rows="10"><?php echo $sig?></textarea></td> [/code] the php inserts a "signature" into the textarea. When I tab to it, the …

Member Avatar for GeoffC
0
85
Member Avatar for RahulV

Consider this VB6 source code [code=visualbasic] Public bc As Boolean Dim x As Long Private Sub Command1_Click() If bc Then MsgBox x Exit Sub Else Call exec End If End Sub Private Sub Command2_Click() bc = True Call Command1_Click End Sub Private Sub Form_Load() bc = False End Sub Public …

Member Avatar for hkdani
0
171
Member Avatar for pythononmac

name = caffé print name Python gave me an error on print: ascii' codec can't encode character u'\xe9' in position 5: ordinal not in range(128)

Member Avatar for pythononmac
0
684
Member Avatar for besktrap

Hi everyone! I am currently creating somewhat of a platformer/puzzle game in pygame and ran into a problem with creating levels. I really don't want to take the time to program collisions with the player and each platform on the game, because that would obviously take forever. I was thinking …

Member Avatar for besktrap
0
145
Member Avatar for eD_2525

Hey Everyone! My name is Ed and I am new to programming and your community. Thanks for the warm welcome and I hope you can follow me with my coding problems. My code is for a project that simulates a simple vending machine. When the program is run three buttons …

Member Avatar for BestJewSinceJC
0
731
Member Avatar for Eager_Beever

I am creating a website using ASP.net with C# 2005 as the language. In my ASP.net page, I have displayed a GridView. I have dynamically populated the GridView during runtime using Dataset and SQLDataAdapter. Since the GridView displays ALL columns at a fixed width, it does not look pretty to …

Member Avatar for serkan sendur
0
883
Member Avatar for ppraj

Hi, I have folder which is deep rooted (i.e many folders and files under it) My requirement is to execute a command on each file on the above folder recursively and it should be fast. My approach was to use to the Directory Get Files method to get the files …

Member Avatar for LizR
0
422
Member Avatar for ppraj

Hi, I need to match the following full string using Regular Expression : [code] load "\fiostvmercury\Src\fiostv\server\Admin Console\Build" [/code] Let me know

Member Avatar for LizR
0
150
Member Avatar for BruenorBH

I am creating a program in Dev-C++ v. 4.9.9.2 using Win32 API that loads from a file and saves to a string. The only issue is that I cannot split the string to the requested variables... Here is what is in the file... 08:00:00 PM, 08:00:00 PM, 08:00:00 PM, 08:00:00 …

Member Avatar for BruenorBH
0
114
Member Avatar for c0dex

Hey all, for quite some time I've been working on an inventory management program for work, and I'm having a bit of an issue with the rendering of a JFrame notification window, I'll do my best to explain below (including screenshots). So my program works with a remote FTP server …

Member Avatar for JamesCherrill
0
204
Member Avatar for Andrieux

I have three tables: posts, topics, and forums. Each row in post table has a topic id and a author name. Each row in topics has an id that corresponds with the topic_id in posts, and then it has an id for the forum that it (the topic, containing the …

Member Avatar for Andrieux
0
169
Member Avatar for me_ansh

Hi all, I want to find the size of proc file using C....can somebody help!!!!

Member Avatar for MosaicFuneral
0
122
Member Avatar for wrxhokie

I have a C static library that I need to link to a new DLL i'm creating. I'm using Visual Studio 2005, and created a console application that outputs a DLL. But when I try to compile I get unresolved external linker errors: Error 2 error LNK2019: unresolved external symbol …

Member Avatar for wrxhokie
0
325
Member Avatar for freddan007

Hello, I've started learning how to make simple GUI programs in cpp using theforgers tutorial. However I was going to add XP style to my program and I found a page that showed me exacly how to do it for VC++ 6. The problem when I had added the lines …

Member Avatar for freddan007
0
763
Member Avatar for ahfrey85

Hi, while doing my assignment im somehow stucked somewhere which i didnt know why and i need some help. i have jus started learning abt c++. so im jus using some basic syntax [code] #include<iostream> using namespace std; int main() { int selclass,i,position; char ch; int seats[100]={0}; //array while(true) { …

Member Avatar for ahfrey85
0
125
Member Avatar for karthik.c

hi guys i've problem in tcp:client/server program when i run it: this program is to print the contents of a file in other m/c connected to LAN im sure that i've given the correct IPAdress,and also path of the file in other m/c but still its not printing the contents …

Member Avatar for Ancient Dragon
0
182
Member Avatar for bluemm87

I'm trying to learn C++ with a book and it has this example program in it, but when i try to compile it, it comes back with error C2065: 'localVarable' : undeclared identifier. What's wrong with it? [code=cplusplus] // allocating and // deleting a pointer #include <iostream> int main() { …

Member Avatar for bluemm87
0
76
Member Avatar for BobLewiston

Is there a way (perhaps via EventArgs) to signal the app when a user tries to enter out-of-range input into a WinForm control? (Specifically, a number in a NumericUpDown control numericUpDown1 that is larger than numericUpDown1.Maximum?) Yes, I know the control won't allow the input, but I want to display …

Member Avatar for dickersonka
0
168
Member Avatar for risa

How can i prevent a dialog closing by Alt+F4 ? I am using PreTranslateMessage(),,,,what is the Virtual key #define for Alt+F4 or is there any other way?,,,,thank you

Member Avatar for mitrmkar
0
249
Member Avatar for acejones109

I have been using python since the last few months. I am trying to telnet into one router and then telnet into another router from the first router. I know how to use telnetlib to telnet into a router but I have no clue on how I should proceed if …

Member Avatar for leegeorg07
0
114
Member Avatar for onaclov2000

I have a home server with DynDNS setup, when I go to my dyndns page it loads my webpage specified, what I'd like to do is click a button on my webpage and the [B]server[/B] runs a specified program possibly with parameters i.e. someprog.exe, I don't want the Local computer …

Member Avatar for onaclov2000
0
117
Member Avatar for charlie81

I think i have everything write except for the Input statements. It is telling me that JOptionPane can't be resolved. Here is what I have so far. public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber; String …

Member Avatar for charlie81
0
193
Member Avatar for swearword

Hello everyone, I am not sure what I am wanting to do is possible, but thought I would ask here to find out. I want to use a PHP redirect script to load balance my website as it is starting to get hammered so I want to redirect say 1 …

Member Avatar for justinmichaels
0
1K
Member Avatar for clayiam

Hi All, This has been doing my head it and i expect its not as hard as i'm making it out to be. I'm creating a WorkFlow Management app which is made up of Workflows, Task and Subtasks. All i want to do loop through all Tasks in the Workflow. …

Member Avatar for miculnegru
0
150
Member Avatar for yuvaraj.tr

Hi friends i am doing the snake game program for Set top Box . I am Facing problem when i get the remote control keys. if i press the up,down,right,left keys when program is running ,program does not response .once game is over then it is taking the values from …

Member Avatar for nucleon
0
102
Member Avatar for crewxp

For some reason, I can't get scanf to work. I did it just like the book said. Try it. I'm supposed to enter (FirstInitial)(LastInitial)Grade Ex: TB100 For Tom Brady got a 100. It reads: FirstInitial: NOTHING LastInitial: T Grade:0 Then it skips to the second student and did this FirstInitial: …

Member Avatar for siddhant3s
0
296
Member Avatar for 10Pints

Just started using this compiler - with my old VC6 code, but it seems to think a directory is readonly when it isnt? - any ideas? this is at/after the last the line of the file compiler output: c:\data\dev\cms\3.0.0.0\code\word\src\word.cpp(220) : fatal error C1083: Cannot open include file: 'c:\data\dev\cms\3.0.0.0\code\word\src': Permission denied

Member Avatar for 10Pints
0
253
Member Avatar for nidhijain

i need to type the words i speak in a test box....on the recongnition event it gets fire randomly and pick up words randomly from grammar file..could you please help?

Member Avatar for ashsingh
0
90
Member Avatar for millanskie

Is it possible to change the default [B]click once[/B] installation path, I want to change the click once installation path to C:\Program Files\[program name], how can i do it? where could i find the settings for it to be able to change the default path?

Member Avatar for waynespangler
0
155
Member Avatar for serkan sendur

is there anyway of distinguishing between whether the button is clicked directly by a mouse or its click event has been triggered logically? [code]<input type="button" id="someID" value="dene" onclick="alert('something');" /> <input type="button" value="dene2" id ="someID2" onclick="document.getElementById('someID').click()" />[/code] now guys i want some kind of thing : when you directly click on …

Member Avatar for serkan sendur
0
123
Member Avatar for serkan sendur

hi guys, i wonder if there is technically any difference between using break or return in order to quit a loop without reaching its condition?

Member Avatar for Narue
0
1K
Member Avatar for emilio

hi I'm trying to execute a stored procedure which returns a datatable my code is: [CODE=asp.net]try { string conStr = WebConfigurationManager.ConnectionStrings[0].ConnectionString; SqlDataAdapter adapter; DataTable ans = new DataTable(); SqlConnection connection = new SqlConnection(conStr); SqlCommand command = new SqlCommand(); command.CommandType = CommandType.StoredProcedure; command.CommandText = "usp_GetUserDetails"; command.Parameters.Add("@UserName", SqlDbType.VarChar); command.Parameters.Add("@Password", SqlDbType.VarChar); command.Parameters["@UserName"].Value = …

Member Avatar for emilio
0
239
Member Avatar for oramars

hello all.. im a newbie..in both complex database design and oracle pl/sql ,and im very unsure/confused about the structure of my tables and how to normalize some info. ok so heres the situation. i have a company,employees are distributed according to dept and section and category.each category has number of …

Member Avatar for vimotaru
0
138
Member Avatar for vicky_dev

Hi, I need a control my native application written in C++ that provides a functionality similar to the SplitContainer control of .NET (System.Window.Forms.SplitContainer). I couldn't find any native control that does the job. Can I get such control or do I have to write it myself? Thanks in advance

Member Avatar for vicky_dev
0
95
Member Avatar for joejoe55

Been working on this little thing for a few months now, having some issues with some structs. This compiled correctly in vs 2003 but doesnt work properly in c++ 2005. (Most of this is others work and open sourced stuff) Any help is appreciated with why I ths doesnt work. …

Member Avatar for mitrmkar
0
192

The End.