132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ishaanarora

Hi guys I m trying my hand on some program::where there is a function like this::[CODE] void IVR_AL_GET_VM_RETRIEVAL_PROFILE_REQ(ds *pline, char xmlToken[e_LASTCOUNT][5000]) { strcpy(xmlToken[e_MESSAGETYPE],"GET_VM_RETRIEVAL_PROFILE_REQ"); strcpy(xmlToken[e_MSISDN],pline->user_info.msisdn); strcpy(xmlToken[e_TRANSACTION_ID],pline->transactionId); return; } [/CODE] where ds and user_info are structures:: [CODE] struct user_info { int msisdn; char redirReason[17]; //Used in GET_VM_DEPOSIT_PROFILE_REQ char *caller_no; //To be used …

Software Development c
Member Avatar for ishaanarora
0
139
Member Avatar for Piya27

Hi All, How to add a [b]candidate key[/b] in a table in SQl?? Please Help. Thanks.

Software Development vb.net
Member Avatar for Piya27
0
327
Member Avatar for sandli28

Hi, In vb.net2008 if we want to disable/enable the groupbox as per condition.Then how its possible when we used save button.how its insert into database.following is the code: Imports System.Data.OleDb Public Class addcust Dim da As OleDbDataAdapter Dim ds As DataSet Dim cmd As OleDbCommand Dim cmd1 As OleDbCommand Dim …

Software Development dataset vb.net
Member Avatar for Piya27
0
378
Member Avatar for pepcoder

Step: 1I have a class Mytest [code] class MyTest { public string Name { get; set; } } [/code] Step2: Created a class Demo to use the member variables of the class myTest [code] class Demo { public void GetNames<T>(IList<myTest> info) { foreach (myTest test in info) { Console.WriteLine(test.Name.ToString()); } …

Software Development c c# c++
Member Avatar for sknake
0
134
Member Avatar for Himani_29

Hi, i completed my coding which was related to searching files with .cap extension and then making out folders with a number contained in the file and then putting the files in their respective folders. now when i checked it ,it worked fine and created folders and sorted about 1.5GB …

Software Development c++
Member Avatar for Himani_29
0
332
Member Avatar for shtikk

can anyone help me create a typing game of falling letters(randomly), and as the player presses the key of the falling letter, the letter pressed will vanish and the player will gain points...thanks...help me,please...

Software Development c++
Member Avatar for pspwxp fan
0
273
Member Avatar for Acidburn

Hey guys, I'm really puzzled about this error: [quote] Error 1 Feature 'generics' cannot be used because it is not part of the standardized ISO C# language specification C:\Documents and Settings\John Rudd\Desktop\dissertation\custom_plugin\myProtocolPlugin\myProtocolPlugin\Commands.cs 9 54 myProtocolPlugin [/quote] Generics IS supported, I've done it on more than one occasion in the same …

Software Development
Member Avatar for sknake
0
145
Member Avatar for compovet

I have a problem with datagridview I have three columns . 2 of them are combobox and the last one is textbox. the seconed combobox is depending on the first the problem is when i'm trying to fill the seconed combobox in the second row the DataSource of the second …

Software Development
Member Avatar for Ramy Mahrous
0
98
Member Avatar for colmcy1

Hey all, I am having some trouble trying to open a dialog window. Firstly I am using MFC in MSVC 6. I have a main dialog window and I am trying to open a second dialog window by clicking on a button("second") in the main dialog window. When I am …

Software Development c++
Member Avatar for jencas
0
2K
Member Avatar for sureronald

I am using gcc on Suse Linux Enterprise Server 10 to compile my C++ source files. The problem I have is that when I invoke the command [INDENT][B]g++ source_file.cpp[/B][/INDENT] the file source_file.cpp is compiled as a C source file. I realized the problem when I was trying to set up …

Software Development c c# c++ suse
Member Avatar for sureronald
0
116
Member Avatar for sibotho

Hi guys, I have a code that sends sms through clickatell gateway, but now I am getting the NotSupportedException with the message "this stream does not support seek operations". Anyone who has used clickatell gateway for sms successfully please help me. Please help me eliminate this exception and get my …

Software Development api windows-api
Member Avatar for nivS1978
0
256
Member Avatar for alfaximena

My application in C + + uses winsock2.h It use the send method to send the frames to the server developend on java. My application send a string so: #define MAXLONGITUD 10000 char bufEnviados[MAXLONGITUD + 1]; bufEnviados[0] = (0xff & (longitud >> 8)); bufEnviados[1] = (0xff & longitud); send(sock, bufEnviados,strlen(bufEnviados), …

Software Development c++
Member Avatar for ithelp
0
156
Member Avatar for sdmahapatra

Hi all C++ expert, I'm new in this field. I've written a program but I need to write it using class. I'm not able to understand where I'll define [quote]a = new double[numElement];[/quote] etc.... and [quote]delete [] a;[/quote] etc... I'm confused where and why I'll define 'new' & 'delete' using …

Software Development algorithm c++
Member Avatar for csurfer
0
230
Member Avatar for osan

Hi, I am now working with MFC and I have a main window, but I want to create a button, and when clicked, a new window to apppear, and also I want to draw in the new window. I created the button, and when cilcked is drawing a rectangle..it was …

Software Development c++
Member Avatar for jencas
0
91
Member Avatar for tugce

Hi, I have a combo box that takes its values from a database. I need to make unique items in the combobox. I could do this in database part, but I need other attributes of values. Let me explain: There is Surgery table in my database with id,name and clinic …

Software Development
Member Avatar for tugce
0
155
Member Avatar for anusha88

i want to create a moving graph whose y value progresses with the slider value.i am confused whether to implement it using JFreechart.Is there a simpler method? How should i go about doing this?

Software Development java
Member Avatar for di2daer
0
192
Member Avatar for nitsy

Hi, I need to try AJAX in my future Applications. Can anyone here help me with use of ajax, advantages, need of ajax. and it would be very appreciable if anyone can help with simple example of ajax using asp.net 2.0 (vb) and sql server 2k. thanks, Nitsy...

Software Development asp.net vb.net
Member Avatar for nitsy
0
114
Member Avatar for eXsolved

Hey Guys/Girls I'm creating a C++ application. So far I have created 2 projects, under one solution. The first is a native win32 project and the other is a DLL. Now my problem. How do I include this DLL I create, in my win32 application? So far I have tried: …

Software Development c++ visual-studio
Member Avatar for Utte
0
173
Member Avatar for MonicaClare

hi.. this is my new program .. i want a fix or constant answer like, when the answer in: Student Name: Monica Clare then it proceed to another question.. but when.. Student Name: blah blah then. it shown error_message that it is invalid answer,, .. please help me debugging this …

Software Development java java-swing regex
Member Avatar for masijade
0
151
Member Avatar for emint

hi Is there any way of making the input to a inputbox show as astrix? Im entring a password and dont want it to be shown on the screen. Any suggestions would be great. Thankyou!

Software Development vb.net
Member Avatar for Piya27
0
84
Member Avatar for himanshukec

Hi, I upgraded Perl 5.8 in Unix to Perl 5.10.0 I am using WWW::Mechanize package in my scripting. But I am not able to locate WWW::Mechanize in Perl. Can any help me ???

Software Development perl unix
Member Avatar for Prakash_8111
0
73
Member Avatar for Nowayz

Was recently asked to convert some code, but I have a minimalistic ammount of knowledge of delphi and I wasn't able to convert this code. If you could help me out it would be great. [code=c++] void TypeStr(char *lpszString) { char cChar; while((cChar=*lpszString++)) // loops through chars { short vk=VkKeyScan(cChar); …

Software Development c++ delphi pascal
Member Avatar for Duoas
0
221
Member Avatar for firoz.raj

when i press cancel button.it still prints.Kindly let me know .any help would be Highly appreciated.here is the following code what i have written. [code=vb] Private Sub btPrint_Click() Dim frm As IspecialForm Set frm = Me.ActiveForm frm.GetTextBoxInvisible frm.Refresh 'CommonDialog1.Flags = cdlPDReturnDC + cdlPDNoPageNums CommonDialog1.Action = 5 CommonDialog1.PrinterDefault = True CommonDialog1.CancelError …

Software Development printer visual-basic
Member Avatar for firoz.raj
0
2K
Member Avatar for hwaterboys

Can someone please tell me how I would wrap my array. Lets say that it is of size 10. What I want it to do is count the number of letters in the name then mod it into the array (This is working properly). If a name has the same …

Software Development c++
Member Avatar for hwaterboys
0
123
Member Avatar for shizu

Hi all, I'm using microsoft visual C++ 6.0 with SP4 and SP5.. I had a program which content a CScrollView.. Now I would like to add in a image into CScrollView.. but my image is buffer..not from resource.. I can save my image, bitmap form, into local drive.. but I …

Software Development c c# c++
Member Avatar for shizu
0
142
Member Avatar for oopg

hihi, when I open a file using ofstream or fopen, the memory cannot be released after I call [B]close() [/B]function. how can I release the memory? P.S. the memory can be released after remove the files. the program code: [CODE] int main (int argc, char **argv){ ofstream file1; while (true){ …

Software Development c++
Member Avatar for Ancient Dragon
0
279
Member Avatar for nova2177

wow, haven't been here for sometimes due to the business aspect of my course. would like some help in understanding what is set, get, change and return in c++. have an assignment with topics the class haven't covered as yet, but I'd love to understand it before we reach those …

Software Development c++
Member Avatar for Ancient Dragon
0
158
Member Avatar for denniskhor

My question is :' if my "[2009'07'12 @ 22'49'47] main page.jpg" store in "C:\image folder\", but the timestamp [2009'07'12 @ 22'49'47] will be inconsistent, so i wan use behind "main page.jpg" to find "[2009'07'12 @ 22'49'47] main page.jpg", and print the link like "C:\image folder\[2009'07'12 @ 22'49'47] main page.jpg" as …

Software Development python
Member Avatar for denniskhor
0
227
Member Avatar for bnekolny

Hello, So I've got a code where I'm wanting to make sure that there is nothing in this class variable "finalgrid". To do this I've got an if statement: [code]if(canvas->finalgrid) OR if(finalgrid)[/code] Sorry for the confusion with the two statements, but I'm working on modifying one project to fit in …

Software Development c++
Member Avatar for bnekolny
0
107
Member Avatar for nanchuangyeyu

Hi, I am a C++ newbie and had never written even a very simple C++ class before. Now I intend to do such a job. My objective is quite simple, a matrix class with the following features is just OK: [COLOR="Red"]1. The object of such a class can be initialized …

Software Development c++ ios objective-c
Member Avatar for Ancient Dragon
0
388
Member Avatar for sal21

Hi friend i use this code to connect via vb6 a mysql database in local. Is possible to connect other pc with the same code on the dsn on original pc where reside the dsn? Tks for all and sorry for my bad english i'm italian. Sub uno() Dim conn …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
174
Member Avatar for shiv0013

how to delete a particular record in all the tables? i am not sure wat r the tables as i wil create them at run time i am maintaining an attendance for employees. a table wil be added for every month and when i delete a employee, his record should …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
116
Member Avatar for ladykaelin

Hi: How can I write a program using pointers and classes. My program suppose to translate dollar amounts in the range 0 through 9999 into an English description of the number. For example, the number 710 could be translated into the string seven hundred thirteen, and 8203 would be translated …

Software Development c++
Member Avatar for monkey_king
0
114
Member Avatar for b89smith

I have a few computers one acts as a server and the rest are clients. They are all on the same LAN. I need to write a program that when I enter data into one of the clients it sends it back to the server which is constantly listening. The …

Software Development c++
Member Avatar for b89smith
0
99
Member Avatar for sravan953

Hey guys, I want to make a Python program which I will use to automate certain tasks like opening TweetDeck and Skype everytime I boot up my laptop. The problem is, I know how to open the programs(using subprocess.call), but I don't know how to pass the user ID and …

Software Development python
Member Avatar for zachabesh
0
278
Member Avatar for sid78669

I'm working on a web browser that will have the option to block ad components such as 1. <img src="your block url" /> 2. <script src="your block url" type="text/javascript"></script> 3. <iframe src="your block url"></iframe> 4. <embed src="your block url"></embed> 5. <frame src="your block url" /> 6. <div> tags Now I …

Software Development web-browser
Member Avatar for Ramy Mahrous
0
150
Member Avatar for emilio

how can i compare between two objects using getType method i want to know if two objects are from the same class or from the same base class

Software Development
Member Avatar for serkan sendur
0
112
Member Avatar for bringoutthejams

I saw a similar problem to this, but couldn't understand the solution the guy used. I have to sort this tunes program in order by title. It seems like there is a problem with my sort algorithm, but I cannot figure it out. Here are the classes. [code] public class …

Software Development algorithm java
Member Avatar for JamesCherrill
0
126
Member Avatar for brainbox

Hi I am totally new to crystal reports and i need to print invoices from C# with the data stored in SQL. Now i can retireve the data and display it in the report however, i cannot properly display it. The problem is that e.g. i want to print out …

Software Development c c# c++ sql
Member Avatar for Ramy Mahrous
0
100
Member Avatar for BlackIP

Hi Im learning C# lately. Im working right now on a project that should help me learn some new stuff about C# programming... I'm programming a simple accounting software, that can be used by small businesses, especially by small shops. This software should register products, it will have a form …

Software Development pay-per-click
Member Avatar for Ramy Mahrous
0
321
Member Avatar for chewy81

I have a C# remoting app that has 2 pieces. One runs in the current user context and is a Windows Application. The 2nd piece runs as a windows service and they communicate just fine with each other using Remoting. However, I cannot find a good solution to my problem. …

Software Development app-store virtualization windows-vista xml
Member Avatar for Ramy Mahrous
0
98
Member Avatar for sbala_810
Member Avatar for adelphe

Sorry for all the trouble. Fixed it cus of some stupid mistake. thanks for the time.

Software Development c++
Member Avatar for adelphe
0
96
Member Avatar for waleed_cs2000

hi I have some code of ADO.net to dynamically detect the database schema, [B]what I need is how to get Unique columns constraints and Primary key constraints using SqlConnection GetSchema() method.[/B] thanks

Software Development
Member Avatar for waleed_cs2000
0
88
Member Avatar for headedtomexico

i'm a little back wards with my c++ knowledge. I kinda got thrown into a maintenance project on an existing project so I know how most of the software works, but I find myself lost on some simple entry level things sometimes. That was my disclaimer for not feeling foolish …

Software Development c++
Member Avatar for Hiroshe
0
157
Member Avatar for GWalk612

I am getting the error "error C2228: left of '.push' must have class/struct/union" when I try to push a random double onto the stack. Here's my driver... [CODE]#include <iostream> #include <string> #include <stdio.h> #include <stdlib.h> #include <time.h> #include "DynStack.h" using namespace std; int main() { double dblCatch; //holds values popped …

Software Development c++ data-structure
Member Avatar for Tom Gunn
0
126
Member Avatar for drake2212

So this is my first time on here asking for help but I do visit this forum every now and again when I am taking a programming class. I am trying to get my doubly linked list to work correctly. Also I am having issues with parsing an input file. …

Software Development c++ linked-list
Member Avatar for drake2212
0
111
Member Avatar for urs.karuna1218

Hi Folks, Can anyone explain me whether we can use multiple predicates in the path expression. In the below path, // indicates searching for the node in XML document irrespective of its position, but I didn't understand why 'starts-with' function is placed in [] brackets. Even though it's working fine, …

Software Development xml
Member Avatar for urs.karuna1218
0
147
Member Avatar for nccsbim071

Hi, Recently i have been creating a Generator. That extracts all the names of the tables from the database tables and generates the class file for each of the tables in the database. I have successfully extracted the names of database tables and their corresponding column names with thier data …

Software Development asp.net sql
Member Avatar for sknake
0
405
Member Avatar for kimbula...

I want to validate a textbox so that only numeric values can be inserted in to it. This validation should done while user enters the values. For example. Consider following keys had been pressed in a sequence 12345abcd678 only numeric values should appear in the textbox so value which should …

Software Development vb.net
Member Avatar for kimbula...
0
144

The End.