132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for danimischiu

Hello everyone:).I am curently developing a C# application and I need to make it check for updates. I've never done something like this before in C#.My application output type is windows application.So in need for some help please:D..

Software Development
Member Avatar for tinstaafl
0
95
Member Avatar for nullifyQQ

I have this weird problem. If my constructor is [header] class Book { private: vector<string>Entry; public: Book(); [cpp] Book::Book(){ Entry.push_back("0"); Entry.push_back("1"); Entry.push_back("2"); The weird thing is that it does not update when I do more .push_back. I use: void Book::addItem(vector<string>newItem) { for(int f=0; f<Entry.size(); f++) { Entry.push_back(newItem[f]); cout<<Entry[f]; } } …

Software Development c c# c++ oop
Member Avatar for L7Sqr
0
295
Member Avatar for lukecalland

I need to program a way of storing and deleting multiple objects so that they stay around even after the program has been closed and that when you re-start the program you can search for an object? I'am using python 3.0 not 2.7. i.e. I create A class with different …

Software Development python
Member Avatar for vegaseat
0
167
Member Avatar for chamnab

When i placed Crystal ActiveX Report Viewer into VB.NET Form, it became like this [Click Here](https://www.dropbox.com/s/n8x5p8hnwrvaev5/error.png) . How can i resize it ? I try to resize it many time , but it always reset to zero. Thank you for answers.

Software Development vb.net
Member Avatar for SouthernImp
0
380
Member Avatar for GDICommander

Hi, everyone! When I'm building my project on Visual Studio 2008 that uses Xerces, I have the following linker errors: [CODE=text] 2>XmlPersistingService.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_8::PanicHandler * const,class xercesc_2_8::MemoryManager * const,bool)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_8@@SAXQEBD0QEAVPanicHandler@2@QEAVMemoryManager@2@_N@Z) referenced in function …

Software Development c++ seo xml
Member Avatar for Dazza2
0
1K
Member Avatar for sciwizeh

Hello all, I have not tested the code I'm posting here to see if it compiles, but I have an issue in a large codebase and I believe that this should be the simplest program to demonstrate the issue; class base { public: shared_ptr<base> clone()=0; }; typedef shared_ptr<base> baseptr; class …

Software Development c++ oop
Member Avatar for sciwizeh
0
21K
Member Avatar for MasterHacker110

I know you are suppose to use GetPrivateProfileString(); But I dont know what the arguments for the commad is.

Software Development c++
Member Avatar for Doogledude123
0
86
Member Avatar for nullifyQQ

Please bear with me. This is my first post. For some reason, I can only display the strings if I put the cout in the same loop. But since I have to separate addString() and displayAllStrings(), I can't do that. My displayAllStrings() keeps failing. BUT when I write a separate …

Software Development c c# c++
Member Avatar for Lucaci Andrew
0
1K
Member Avatar for anestistsoukalis

I think that the problem is in lines 59-63 #include <stdio.h> #include "genlib.h" #include "ctype.h" #include "simpio.h" #include "string.h" typedef struct{ char name[30]; long sell; double supply; }domiT; void ypologismoi(domiT stx[],int *p,FILE *infile); void emfaniseis (domiT stx[],int *p,FILE *outfile); main() { int p; FILE *infile,*outfile; domiT stx[100]; ypologismoi(stx,&p,infile); emfaniseis(stx,&p,outfile); system("pause"); …

Software Development c
Member Avatar for tinstaafl
0
226
Member Avatar for tensity

I am trying to populate a vector of strings and then remove any duplicates within that vector. Here is what I have so far. I am getting an error saying: Error 2 error C2064: term does not evaluate to a function taking 2 arguments . void removeDup() { vector <string> …

Software Development c++
Member Avatar for vijayan121
0
322
Member Avatar for pooja.singh.3950

How to find this series without using power function in c 1+x/1!+x2/2!+x3/3!+x4/4! please help me out i'm unable to solve these type of questions

Software Development c
Member Avatar for corby
0
138
Member Avatar for ThatBitchYeah

I have an assignment in which i have to add, subtract, multiply and divide two complex numbers and i am very confused as to how to create the program. This is what i have got so far.. #include <stdio.h> #include <complex.h> int main (void) int real, imag; { complex a, …

Software Development c
Member Avatar for ThatBitchYeah
0
1K
Member Avatar for mumaga

Hi, sometimes when I run my application the cmd pops up with the following list of errors! I am sorry to just drop them like this but I dont know how to deal with them, as the application is working just fine! Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException at javax.swing.LayoutComparator.compare(LayoutComparator.java:75) at …

Software Development java java-swing
Member Avatar for mumaga
0
198
Member Avatar for FtKShadow

I am trying to get my homework assignment to work for class, but I cant seem to get it. Heres the assignment. [QUOTE]Write a program that asks the user to guess the next roll of a six sided die. Each guess costs $ 1. If they guess correctly, they get …

Software Development c c# c++
Member Avatar for StefanRafa0
0
3K
Member Avatar for madlan

Hi, I'm trying to get some progress feedback from the following (Restore DB using SMO): [CODE]Sub DoRestore() Dim svr As Server = New Server("Server\SQL2008") Dim res As Restore = New Restore() res.Devices.AddDevice("C:\MyDB.bak", DeviceType.File) res.Database = "MyDB" res.RelocateFiles.Add(New RelocateFile("MyDB_Data", "C:\MyDB.mdf")) res.RelocateFiles.Add(New RelocateFile("MyDB_Log", "C:\MyDB.ldf")) res.PercentCompleteNotification = 1 AddHandler res.PercentComplete, AddressOf ProgressEventHandler res.SqlRestoreAsync(svr) …

Software Development vb.net
Member Avatar for Reverend Jim
0
593
Member Avatar for dr_iton

I need to create a software that manages a bank account. I created 2 forms. Form one (Form1 "in reality is KlientetForm") has 5 textboxes, 6 buttons and a listbox. Form twoo (Form2 "in reality is GjendjaForm") has 3 textboxes (the same name as in Form1), 2 listboxes and 3 …

Software Development data-protection
Member Avatar for tinstaafl
0
362
Member Avatar for Subha1983

Hi All, This is with regard to winforms application. My assignment requires to create 23 dynamic controls based on the 80 fields in the database. At a time i should be able to display 23 controls in a form Those fields can be edit box, comobo,listbox etc. Please suggest me …

Software Development
Member Avatar for Ancient Dragon
0
373
Member Avatar for Rahul47

Suppose we are coding a messagebox on closing event of a form. It Shows three buttons Yes,No and Cancel. Now I wish to code for CANCEL button. How can I achieve this ?

Software Development vb.net
Member Avatar for lolafuertes
0
891
Member Avatar for nosfa

Hi. I needed to change two fields in my database and now my application doesn't start. What do I need to do to the dataset? The error is: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. I changed the type of one …

Software Development dataset vb.net
Member Avatar for lolafuertes
0
113
Member Avatar for killer88

For instance , i need store a database of a student.i will get all the details through the respective fields like name , no , mark1 , mark2 , mark3 etc.. nw i need to save this information . how do i do it ?. thanks :)

Software Development visual-basic
Member Avatar for tinstaafl
0
149
Member Avatar for mumaga

public void paintItems() { ArrayList inRoomItems = ((Room) scenery.getCurrentRoom()).getItemsArray(); Point origin = new Point(380, 10); int layerNumber = 50; int numberHorizontally = 0; int n=inRoomItems.size(); for(int i=0; i<n; i++){ image = new JLabel(((Item) inRoomItems.get(i)).getImageIcon()); imagePane.add(image, new Integer(layerNumber)); image.setOpaque(false); image.setBounds(origin.x, origin.y, 100, 100); origin.y += 90; numberHorizontally++; if (numberHorizontally % 3 …

Software Development gui java
Member Avatar for mumaga
0
165
Member Avatar for joshl_1995

Hello, I was wondering if there is a way to display formatting in a richtextbox eg. If i put **test** the word "test" would be i bold (only the word "test" and the rest would stay the normal). or if i put `test` the word "test" would be i size …

Software Development vb.net visual-basic
Member Avatar for Dani
0
461
Member Avatar for BTW8892

Hello, I am currently trying to develope a perl CGI script that will allow a user to enter a name on an HTML form, and it will search the database with that name. Once it finds the matched names, it will display their name and telephone number on the screen. …

Software Development perl
Member Avatar for kordaff
0
193
Member Avatar for sanket044

hello, I am going to create a project which is having multiuser configration, So i decided to take vb.net as frontend and oracle as backend. So the database will be on server and all client willhave software installed. Questions are : 1. Do i need to install oracle in all …

Software Development client-server oracle vb.net
Member Avatar for sanket044
0
249
Member Avatar for mumaga

I need to work on error handling and recovery for the World of Zuul. I was wondering where usually try catch exception should be used, which processes that need them? I know that I have to use them for opening and writing to a file,,,

Software Development java
Member Avatar for mumaga
0
171
Member Avatar for sunnyy221

hi friends java does not support multilevel inheritance. what is the reason behind this?? is this for security reason??

Software Development java
Member Avatar for peter_budo
0
207
Member Avatar for neoanomally

I am trying to figure out how to use fork() with exec(). I read through the perl docs on how it works, but I can't figure out how to implement it. For example if I wanted to fork a custom sh script: if (this_condition is true) { $mypid = fork(); …

Software Development perl
Member Avatar for kordaff
0
1K
Member Avatar for biscayne

My code has a couple of "multiple assigments" and somehow I think there should be a nicer way to do this in Python. This is how it currently looks like: # sum price fields paf = paf + float(pa) pbf = pbf + float(pb) pcf = pcf + float(pc) pdf …

Software Development pdf python
Member Avatar for biscayne
0
251
Member Avatar for jealii.jealii

I have a volunteer database and having trouble with genuine password protections. I have a "delete" button with this current code under Build Event: Private Sub delete_Click() On Error GoTo Err_cmdDelete_Click DoCmd.SetWarnings False If MsgBox("Delete this VounteerRecord. Are you sure?", vbQuestion + vbYesNo + vbDefaultButton2, "Delete?") = vbYes Then DoCmd.RunCommand …

Member Avatar for Begginnerdev
0
2K
Member Avatar for ynmly

how to change image when button is clicked? my gui is consisting of three Button(NEXT,PREVIOUS,AUTO-CHANGE) and 1 Jcombobox. when you drop-down combobox list of image is shown.so i want when i clicked on "next" button image of jcombobox should be change.

Software Development gui java java-swing
Member Avatar for stultuske
0
187
Member Avatar for glad024

hey guys just need some help here..i don't know how program it in C#.. i need a class file in C# using Microsoft Visual Studio 2008 that will save inputted data to the MySQL database..and also a class file that will transfer data from a table to another table in …

Software Development c# visual-studio
Member Avatar for ChrisHunter
0
396
Member Avatar for DarWar

Hi everyone! So I have this code to modify. I need to write a code inside the **int main** field, that would cause 37 launches of the constructor called M_48(). I have no idea how to solve this. Any ideas?

Software Development c++ oop
Member Avatar for deceptikon
0
197
Member Avatar for Mr.M

Hi I' haven't started this project yet so I'm just doing a research on how to modify a file on a server side via a client side. Just to enlighten what is my question. I want to create a server which will create: 1) the File (as a Directory) of …

Software Development client-server file-system vb.net
Member Avatar for Begginnerdev
0
294
Member Avatar for engy.adel90

hi i have that code and this function gives me static overflow when i run the problem and stopped to work can anyone tell me why is this happening public bool declaration_List() { // sc.token(); if (declaration_List()) { if (declaration()) return (true); } else return (false); if (declaration()) { return …

Software Development
Member Avatar for Ketsuekiame
0
143
Member Avatar for Rachna0309

I want to display image in crystal report from path given in database table.My code runs well but nothing is displayed in report.Below is my code.Please help me to find out the problem. Dim Con As OdbcConnection = New OdbcConnection Dim sql As String = "Select * from Image" Con.ConnectionString …

Software Development display image vb.net
Member Avatar for Begginnerdev
0
367
Member Avatar for joshl_1995

Helllo Community, I was wondering if there is a way to get all the second nodes from an xml file example: <?xml version="1.0" encoding="utf-8"?> <!--XML Comment--> <Main-Node> <Second-Node> <Third-Node>Node</Third-Node> </Second-Node> <Second-Node> <Third-Node>Node</Third-Node> </Second-Node> </Main-Node> Please Help...

Software Development vb.net xml
Member Avatar for Begginnerdev
0
191
Member Avatar for wolwayne

After playing for 5 or more times the total scores are going out or range (In the table generated at the end). I tried using long but didnt helped. #include<conio.h> #include<iostream> #include<stdlib.h> #include<string> #include<windows.h> #include<time.h> using namespace std; unsigned flag=0, ply_m,ply_t,ply_s,zz,i; //funct for gotoxy void gotoxy(int x, int y) { …

Software Development c++
Member Avatar for wolwayne
0
123
Member Avatar for onlyremedy

I accidentally closed my Toolbox in VC++ IDE.. now I donno how to bring it back. Please help...

Software Development c++ ide
Member Avatar for RaajiManju
0
179
Member Avatar for brock.holman.7

i would like help making a little piece of code that just counts down from a number, example 30 to 0. the program shouldnt display the previous numbers counted. thats it, any hel-p would be great.

Software Development c++
Member Avatar for Gonbe
0
138
Member Avatar for avk24

I am using excel 2007. In my file 6 sheets. 4 sheets is data record & 1 sheet is recorder sheet & monthly. Data record sheet name is : FY_2009, FY_2010, FY_2011, FY_2012 & FY_2013. In all above sheet : Part numbers mentioned in column "C2:C60000" Quantity in column "D2:D60000" …

Software Development mathematics visual-basic
0
132
Member Avatar for ImZick

Hello its me again... sorry to keep on posting about my problem well here it goes.. If you see in the attached file. ![Sum](/attachments/large/4/Sum.jpg "Sum") I have an AM Ervielette, Marriane etc. now i need to add their Total Calls for Ervie and Total Visits same goes to the other.. …

Member Avatar for ImZick
0
283
Member Avatar for xxwikkixx

Hey everyone I was working on a small tool and also refreshing my programming skills. my problem is I want to pick a random number from 60,000 to 200,000. it does that but the number it displays are not dramaticly changed. For example if it out puts 062045, i hit …

Software Development c c++
Member Avatar for vijayan121
0
198
Member Avatar for monching

Hello My sample program has many buttons. I want my two button's `pausebtn` and `continuebtn` will perform click when a letter on the keyboard will be pressed, let say letter C or P. Private Sub pausebtn_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles pausebtn.KeyPress pausebtn.PerformClick() End Sub This are …

Software Development vb.net
Member Avatar for monching
0
480
Member Avatar for teckforce

I was wondering the best way to implement a square root button. Below has everything from 0-9, the four functions, and a decimal and clear function. Dim valueOne As Single Dim valueTwo As Single Dim operation As Integer Dim answer As Single Private Sub Button1_Click(ByVal sender As System.Object, ByVal e …

Software Development gui vb.net
Member Avatar for teckforce
0
258
Member Avatar for Fedhell

**edit** I just realized that Im on a single core machine atm (stupid work machine), so theortically the server isint actually executing on the CPU 50% of the time (while the client is running), so packets would be lost right? Or is there something else im missing alltogether? Ill post …

Software Development client-server java tcp-udp
Member Avatar for Fedhell
0
1K
Member Avatar for godzab

I am trying to write a selection sort, but I am getting a outofbounds error. How do I fix this? public class SelectionSort{ public static void selectSort(int[] arr){ int least = 0; for(int i = 1; i < arr.length - 1; i++){ for(int j = i + 1 ; i …

Software Development java
Member Avatar for jalpesh_007
0
91
Member Avatar for rotten69

Hi there, I've been reading a book on c# and come across a method that is EnsureCapacity on StringBuilder which from understanding it makes sure that how much capacity a variable can hold. What I made is a variable and then tested it. StringBuilder st = new StringBuilder("string builder"); // …

Software Development
Member Avatar for rotten69
0
262
Member Avatar for sblass92

I'm setting up a finite state machine structure as a proof of concept to be used in other projects. The states have function pointers that point to actions they are allowed to perform during certain events and transitions. I'm trying to restrict these pointers to be a part of a …

Software Development c++
Member Avatar for sblass92
0
2K
Member Avatar for skp03

Hi Actually i had a doubt regarding How to design a application where we can protect specific folders with the help of password I Hope i will be responded as soon as possible Thank you With Regards Syed

Software Development
Member Avatar for BobS0327
0
146
Member Avatar for Slayer_Dude_420

Dear Internets, I am currently trying to write a program that can extract the "header" from a FASTA file. and then output a portion of the header to a new file. The part of the header i need is the "CONTIG_X" part. When I run this program it prints duplicates …

Software Development c
Member Avatar for Slayer_Dude_420
0
110

The End.