132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for serkan sendur

i created a custom installer as a custom action for my setup project in order to install some cab files to pocket pc using active sync. the custom installer class library project gives an error but i dont know how to debug it. do you have any ideas?

Software Development
Member Avatar for serkan sendur
0
224
Member Avatar for akkkk

This is probably quite obvious but i am new to .net if i create a form and then have a sumbit button that is something like [CODE] public void SubmitButton_Click(object sender, EventArgs e) { String name; Int ref_no; ref_no = this.REF.Text; name = "this.NAME.Text; return name, ref_no; }[/CODE] Then that …

Software Development
Member Avatar for sknake
0
122
Member Avatar for and12

I have a cardlayout of pictures but i want to know if i can produce some special effects like they have in MS Powerpoint where the picuture slides can fade in/out or swirl into or out of the panel or display text words one at a time, etc. Is it …

Software Development java
Member Avatar for llemes4011
0
104
Member Avatar for Nathan Campos

Hello, I'm learning C++ and i was trying to use the [i]zlib[/i], but i'm getting some errors when trying to compile my little project. Here is the code: [code=cplusplus]#include <string> #include <stdexcept> #include <iostream> #include <iomanip> #include <sstream> #include <zlib.h> using namespace std; std::string compress_string(const std::string& str, int compressionlevel = …

Software Development c++ data-structure ubuntu
Member Avatar for Nathan Campos
0
495
Member Avatar for Dajer

Hi friends My question Is not a programming question but it's related to. It's 2 days that when I run my project(Press F5 or choosing from Debug) the Visual Studio will be closed completely. what's wrong?what's my problem? plz.guide me. thx.

Software Development visual-studio
Member Avatar for jatin24
0
293
Member Avatar for PopeJareth

Is it possible to compile a single .cpp (not a project) in visual studio 2008? Also will using visual studio cause problems executing code on a unix system? I am making my first c++ "hello world" program and I am attempting to use visual studios. Am I going to have …

Software Development c++ unix visual-studio
Member Avatar for William Hemsworth
0
206
Member Avatar for lancevo3

I need to return the size of a doubly linked list and I am having trouble thinking of the logic to go about doing this. template <class T> int List<T>::size() const Returns the current size of the list; i.e., the number of data items currently stored in the list. Since …

Software Development c++ linked-list
Member Avatar for Lerner
0
87
Member Avatar for stromgren

Dear Community Members! I have written a program in plain C to carry out some mathematical calculations. Now I am trying to identify bottlenecks using a profiler (IDE: Open Watcom 1.8). I find that a very large portion (60-79%) of the running time is used by ntdll.dll. The core program …

Software Development c ide
Member Avatar for stromgren
0
365
Member Avatar for odwa

i have a problem of geting a square root in c++ using (cmath)

Software Development c++
Member Avatar for mrnutty
0
110
Member Avatar for PetuniaRose

I am trying again(!) to learn enough Python to be able to process a bunch of files, and have run into something I don't understand right at the beginning. I am using Python 2.5 IDLE on a WindowsXP machine, and going through examples given in a Python tutorial. My understanding …

Software Development python
Member Avatar for PetuniaRose
0
2K
Member Avatar for pbbhatt

This is error messages. Server Error in '/trialwebsite' Application. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that …

Software Development asp.net vb.net web-server
Member Avatar for Ana D.
0
267
Member Avatar for Jennifer84

I am doing a fuction where I want to check that a String contains only Letters between: "A-Z" and Numbers between: "0-9" and "_" Instead of checking all one by one. Is there any approach to check against all at the same time ? [code] String ThisString= TextBox1.Text.Trim().ToLower(); for (int …

Software Development c++
Member Avatar for Dave Sinkula
0
3K
Member Avatar for power_computer

Ok, I have been busting tail trying to get this simple project done. Lesson learned is do not take a break from course work during the summer, my lack of fundamentals at this moment is tear me apart. I am determined to finish this project ahead of time to finish …

Software Development c++ programming-construct
Member Avatar for VernonDozier
0
114
Member Avatar for NargalaX

Hey, I would like to call a few functions from a static method, but it seems I can't. More specifically, I would like to start or stop a timer from a static hook, called when you click your left mouse button. Here is the code [code] //When you click... public …

Software Development
Member Avatar for NargalaX
0
128
Member Avatar for synplace

I need to write few class which are to be used to validate the data. I know some validations which we will use generally. if anybody knows more please help me by providing the list of some more validations. The validations which I know are as follows: String: length isAlpha …

Software Development java
Member Avatar for ~s.o.s~
0
93
Member Avatar for jorge12745

Hey, Im having a problem with this programm. It is supoused to have a vetor (pila) that would store all the elements on the try block. When it gets to the "666" element (at the end of the try b lock) it is suppouset to throw an exception (pilallenaexception) but …

Software Development c++
Member Avatar for jorge12745
0
64
Member Avatar for usagi713

Task: Write a function called DisplayEmployeeRec() that takes EmployeeRec as a parameter and displays the value using the following format: NAME: ID: PAYRATE: HOURS WORKED: GROSS PAY: This is what I have so far: [code=cplusplus]#include <iostream> #include <iomanip> #include <string> using namespace std; struct EmployeeRec { string name; string empId; …

Software Development c++
Member Avatar for dgr231
0
271
Member Avatar for anil_t_n

my application uses a static vector which is defined as a member variable of a class. When i try to close my application then it dumps a core . On analyzing the core ,it is pointing to the static vector initialization. I am running my application in red hat 5.3 …

Software Development c++
Member Avatar for anil_t_n
0
646
Member Avatar for skelly16

Hi Im writing a script where im using the date command in this format. [Datestart=`date '+%m/%d/%Y':'%H:%M:%S'`] Is their a way to force the date variable above to go back 5minutes?? I know their is a way in perl but i prefer writing this script in ksh

Software Development display perl shell-scripting
Member Avatar for Salem
0
125
Member Avatar for Lingson

hi, is there anyway to display a .jpg (or other type) images in Tkinter with Python 3.1? From what I read here in the forum, for Python 2.6 I could use the PIL package. But the PIL packages doesnt support Pyton 3.1 yet (from what I read on the PIL …

Software Development python tkinter
Member Avatar for vegaseat
0
1K
Member Avatar for RehabReda

hi all:) i got confused in this point:( i have questions that i don't understand it well knowing that i have searched a lot but i don't know i didn't understand it yet 1-when it is really impossible to work in a program without a delegate (please give a simple …

Software Development
Member Avatar for serkan sendur
0
143
Member Avatar for kamos.jura

Hi! Can you tell me, how to pass a reference to the column in 2d vector to function with following declaration: [ICODE]void SetData( const std::vector<float> &xs,const std::vector<float> &ys); [/ICODE] This function is from wxMathPlot. My vector's declaration looks like this: [CODE=CPP]vector<vector <double> > sekce(8); vector<vector<time_t> > cas_t_all(8);[/CODE] I would like …

Software Development c++
Member Avatar for kamos.jura
0
1K
Member Avatar for chathu12

Hello every one?I have a program use to copy the contents of an array to a File.But it does not work. when it runs Visual Studio starts to debug. But nothing happening.File contents does not change.Please help me tho solve this problem.Thank you very much. Here is the program. [CODE]#include<stdio.h> …

Software Development c file-system visual-studio
Member Avatar for chathu12
0
142
Member Avatar for tarun02kumar

hello everyone, I am new to python so I need help about [B].pyd[/B] file I have a[B] xxx.pyd[/B] file which is basically a merge of many [B].h5[/B] data files. I have to use this [B]xxx.pyd files[/B](merge of simulations files) and compare it with one experiment data file which is also …

Software Development python
Member Avatar for tarun02kumar
0
435
Member Avatar for Harssh

I am developing application where I want to give a choice to user to make backup of database in case of syatem crash etc. I know how to copy a file from one location to another loaction using filesystem.copyfile but i want to get information of user system and its …

Software Development vb.net
Member Avatar for sknake
0
307
Member Avatar for EvolutionFallen

Hello, I am writing a program (for fun as well as for practical uses) that will allow me to keep track of several projects I am working on and how long I have spent working on each. My program has a class "Project" which has the following variables: [code="VB"] Private …

Software Development vb.net
Member Avatar for sknake
0
250
Member Avatar for Dimansu

I have a database which is in another machine of my office network. How can i access that database from my program running on my machine(which is also in that network).

Software Development
Member Avatar for sknake
0
88
Member Avatar for Agent-of-Chaos

hi i am making pos system i am using msflexgrid.. and i have make combo box visible when user clicks on grid... i have data combo which contains all supplier company name.... now my problem is that i want to load the combo box with relevant products as user selects …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
113
Member Avatar for stevetaylor15

Was wondering if someone could help quickly, will only take you a second as i'm sure it's easy! Firstly I just want to confirm that my method of taking a commnand line argument and passing it is correct. Secondly I want to know how to deal with argument that have …

Software Development
Member Avatar for sknake
0
101
Member Avatar for NargalaX

Is there a way to detect a variable change, and then fire an event for it? I read the article on events tutorial in C# [url]http://msdn.microsoft.com/en-us/library/aa645739(VS.71).aspx[/url] But I couldn't make sense of it, since I tried putting it in my program and it didn't work. I was trying it with …

Software Development
Member Avatar for sknake
0
2K
Member Avatar for anti_genius

Hi, I have a program that draws a line between two points when the user clicks at two points on a canvas (added in a frame) and clicks Repolot button. Each time i click the button the previous line is gone. But i want that when i click the button …

Software Development java
Member Avatar for javaAddict
0
147
Member Avatar for yon kon

I am new learner and I copy the exact code from book and run the following code . this code for MDI sample program my PC is XP system [code]//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "ViewMain.h" #include "MDIChild.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TMainForm *MainForm; //--------------------------------------------------------------------------- __fastcall TMainForm::TMainForm(TComponent* Owner) …

Software Development c++
Member Avatar for kvprajapati
0
294
Member Avatar for himgar

I am using CodeBlocks c++ compiler. I want to generate 11 digit random number as i am working on my computer project. How can i do this? and everytime a new random number.

Software Development c++
Member Avatar for Acute
0
2K
Member Avatar for pyro_junky

how do I set the value of x to 2 and y to 3? here is my code so far [ICODE]#include <stdio.h> int main(void) { int x; int y; printf( "%d", x ); return 0; }[/ICODE] thanks for any help.

Software Development c++
Member Avatar for Nick Evan
0
94
Member Avatar for chandiusjp

hi all, i am trying to add check box to my datagrid view and update checked rows to sql server. please help me. i am using vs 2005 and sql 2000 thanks in advance.

Software Development vb.net
Member Avatar for kvprajapati
0
75
Member Avatar for avirag

Hiiiiiiii i m making a C# spell check application in which i m using Microsoft word 10.0 or 11.0 object library, so in that case if i want to use 12.0 instead of 10.0 or 11.0.... So it is not support that application, and give some error and warning. So …

Software Development
Member Avatar for avirag
0
111
Member Avatar for dikx

to C guru. i dont understand why this code fail because of implicit declaration. undefined reference to `__finite' [code] #define isfinite(x) \ (sizeof (x) == sizeof (float) \ ? __finitef (x) \ : sizeof (x) == sizeof (double) \ ? __finite (x) : __finitel (x)) for (class_num = 0; class_num …

Software Development c
Member Avatar for Salem
0
128
Member Avatar for Katkot

How can i add my Programme to firewall exception during Install.. Somefreind using delphi 2009 .. and he is doing it .. without any wrrning for user ,,during install his programme it will be add itslef at firewall exception .. Please help me how can i do it using VB …

Software Development delphi visual-basic
Member Avatar for vb5prgrmr
0
70
Member Avatar for Joe Shmoe

I am trying to make a file extraction program in C and I can't get it to work. It compiles ok, but it has a run-time error. I hope you can figure out what I am trying to do here. I don't know if there is a standard way to …

Software Development c
Member Avatar for Joe Shmoe
0
148
Member Avatar for ubi_ct83

hi experts, i have some prob with my code.first,i want to query data from file in string.such as this file "constraint.txt".in this file,i have this: a1,b2,c1, a2,b1,c2, a2,b2,c1, a3,b1,c2, i open th file by using this code: char const_file[100]="constraint.txt"; FILE *in_const[100]; if ((in_const = fopen(const_file, "rt")) == NULL) { fprintf(stderr, …

Software Development c
Member Avatar for ubi_ct83
0
101
Member Avatar for aboo017

Hi guys, i've been stuck on one part of an assignment where i have to call a number 6 times from a different method/class. I thought maybe doing a for loop calling its 6 times but i'm not sure how to call the method into the other method, this is …

Software Development java
Member Avatar for aboo017
0
113
Member Avatar for treyd

I created an array, and I am trying to pass it to a method then double the size of that array. Than I would like to print the array. I am at a loss right now as to why it wont print, and what I am doing wrong. Any help …

Software Development java
Member Avatar for treyd
0
113
Member Avatar for group256

Hi everyone, I'm dealing with a linked list that is supposed to be sorted. It's consisted of a series of strings which each of these strings are associated with 4 more strings. So, I'm looking for a way to sort this linked list with optimum way possible. I have some …

Software Development algorithm c++ linked-list
Member Avatar for GDICommander
0
233
Member Avatar for Aprentchacker

Please help me undersatnd why this code does no work, even when it compiled without problems. After I have input the filename the application just hangs up and aborts thereafter. My input file contains the graph' adjacency matrix and the application is supposed to pull this data from the file …

Software Development c++ file-system
Member Avatar for Aprentchacker
0
170
Member Avatar for MaestroRage

I'm having some trouble using struct which I can't seem to figure out. it seems to be following all the examples perfectly, i've tried to break it down to it's simplest block and nothing. Can somebody please tell me why this won't compile? [code=C]#include <stdio.h> typedef struct a{ char a[25][12]={"a", …

Software Development c
Member Avatar for MaestroRage
0
139
Member Avatar for ScaryMan

Hi guys. I'm new in this community. I have to do a project which should do this: [QUOTE]Input an integer containing only 0s and 1s (i.e., a “binary

Software Development c
Member Avatar for ScaryMan
0
120
Member Avatar for nateuni

Hi, I am new to programming and I have been doing ok. I have a subject that is in C and I really need to be able to use effectively use pointers. So far my lectures are like snails with replys.. and I have 2 options.. 1. play it safe …

Software Development c
Member Avatar for mrnutty
0
214
Member Avatar for Merovingian

Hi all, I've got my restore database code working good but was wondering if there is anyway to get some feedback from the SQL server during the restore? [CODE] Dim sqlstr As String sqlstr = "restore database " + dbNameFinal + " from disk ='" + tbBAKpath.Text + "' with …

Software Development sql vb.net
Member Avatar for Merovingian
0
168
Member Avatar for riahc3

Hey Ive been asked (and I may add this to my system as well) to make a shell script that backups to all files in x location to another location in z. The thing is that the backup must only be made if one file has been changed. Example: /x …

Software Development shell-scripting
Member Avatar for sknake
0
204
Member Avatar for MaestroRage

I'm trying to understand something about 2d char arrays. How can I set up my 2d array to accept the following [code=C] char a[][] = {{"item1", "1", "1"}, {"item2", "1", "2"}}[/code] no matter what values I put in 2 brackets there are too many initializers, and putting a third dimension …

Software Development c
Member Avatar for MaestroRage
0
97

The End.