132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RafaelSousa.13

Hey, i'm recently new in this forum, so if i'm doing something wrong, please tell me! I have a problem that is driving me nuts! Here's the thing, i want to know if there is any way of remove checkboxes dynamically, with code. I know that there is a way …

Software Development vb.net
Member Avatar for RafaelSousa.13
0
210
Member Avatar for Tobias2189

I want to develope games as an indie dev. But I'm really lost in this giant sea of programming languages and terms I don't really understand. I've sorta used programs like GameMaker & ClickTeam Fusion 2.5. I was terrible with GameMaker and never touched the GM Language. I've done a …

Software Development
Member Avatar for Hiroshe
0
229
Member Avatar for pheonixkid

I'm trying to parse equations like these which only has two values or the square root of a certain value from a text file: 100+100 -100-100 -(100)+(-100) sqrt(100) by the minues signs, parenthesis and the operator symbol in the middle and the square root, and i have no idea how …

Software Development c
Member Avatar for L7Sqr
0
377
Member Avatar for Vasthor

the program is about Blob<T>, where shared_ptr<std::vector<T> > as its data members. be noted that the real problem here is about shared_ptr of my own version (simple one) but atleast (should) worked with the Blob<T>, which is the std::shared_ptr did, but not with mine. [Error Msg](http://postimg.org/image/krwflmyhx/) the error msg above …

Software Development c++
Member Avatar for mike_2000_17
0
912
Member Avatar for Stefce

Hello im trying to connect database with my java program for register/login but im not doing well, i have online database on godaddy and i cannot connect with the java program i tryed with using the `URLEncoder` and it works for registering but for loging in i cannot make it …

Software Development java
Member Avatar for Stefce
0
296
Member Avatar for moaz.amin.37

hi i can't undestanding this why the main function in java is static and static function can call using class name. And why we declare main function as public. i can not understanding this procedure of main function in java. plz help me.

Software Development java
Member Avatar for stultuske
0
314
Member Avatar for Slavi

A few days ago, i made a hangman game and I really want to complete it in any aspect. One of my ideas now is to "import" words from a file. Currently what I have is an Array of Strings (just a few words inside for testing) and what I …

Software Development file-system gui java
Member Avatar for Slavi
0
258
Member Avatar for silvercats

Tried to run ServiceServerImpl.class with rmic and got this error. Below is the command prompt text pasting. "C:\Program Files\Java\jdk1.7.0_21\bin>rmic.exe ServiceServerImpl error: File .\ServiceServerImpl.class does not contain type ServiceServerImpl as expected, but type serviceserver.ServiceServerImpl. Please remove the file, or make sure it appears in the correct subdirectory of the class path. …

Software Development java microsoft
Member Avatar for jwenting
0
2K
Member Avatar for Nebil

Hi all, I had a little problem when deploying an application having crystal reports as a reporting tool on a client pc. It works so well in my dev pc even installed.Since i'm using Access 2007 i used Microsoft.ACE.OLEDB.12.0 provider. I haven't provided any password or username for the database.But …

Software Development microsoft-access vb.net
Member Avatar for Nebil
0
1K
Member Avatar for Masood_786

Hi, I have run tuner from DirectX filter graphs. My Tv Tuner Card does not provide I/Q samples(Low frequency) as Realtek RTL2832u based USB Tuners so i need to get RF samples directly from TV Tuner Analog Audio out pin and store it in hard disk for digital signal processing …

Software Development audio c++
Member Avatar for Masood_786
0
353
Member Avatar for Jing_1

Hi everyone, can i check with you, if i want to compare time... how can i do that... i have the following code time_One = Now el_Time = time_One - time_Two Label1.Text = Now.ToShortTimeString If Label1.Text < "06:30:00 PM" Then Label1.Text = "-----" Else Label1.Text = el_Time.ToString End If I …

Software Development vb.net
Member Avatar for Jing_1
0
317
Member Avatar for marylw24

need help writing pseudocode input origprice set discount = price * 0.20 set finalprice = origprice - discount output final stop

Software Development
Member Avatar for deceptikon
0
97
Member Avatar for Jsplinter

So, I've gotten myself in a bit of a pickle. I have been serializing data I collect with: vector<myClass> mVec; ... // mVec is filled with the data to collect for (auto it = mVec.begin(); it != mVec.end(); ++it) { myfile.write(reinterpret_cast<char*>(&(*it)), sizeof(*it)); } I've wrapped this code in a templated …

Software Development c++ ios
Member Avatar for Ancient Dragon
0
2K
Member Avatar for Vasthor

[program error](http://s11.postimg.org/okbmkhwkj/Untitled.png) this code, which is directly copypaste from the book itself, is appended to Blob.h., producing the above error. template <class> struct std::hash; class Sales_data { friend struct std::hash<Sales_data>; // other members }; // specialization namespace std{ template <> struct hash<Sales_data> { typedef size_t result_type; typedef Sales_data argument_type; size_t …

Software Development c++
Member Avatar for mike_2000_17
0
1K
Member Avatar for kid.coder

Hey i was just writing a simple server i'm using accept() in a loop to emit constant greeting but i dont know why my code stucks at single send() i mean it asks for input only once --> it asks for input --> i give input--> it emits succsfully to …

Software Development c client-server socket-programming
Member Avatar for L7Sqr
0
639
Member Avatar for zachattack05

Good morning everyone! I haven't been here in a while, but I have a question that I thought someone here might be able to help with. When it comes to accessing data from a SQL server, I know the logistics of getting that data through code, no issues there, but …

Software Development client-server cybersecurity sql
Member Avatar for zachattack05
0
447
Member Avatar for ravi_14

please help me to understand the output void main() { printf("%x",-1<<4); return ; } -1 is represented as **1111 1111** so in hexadecimal form it should be FFh but compiler displays ffff ffff

Software Development c c# c++
Member Avatar for ravi_14
0
119
Member Avatar for Suzie999

I've never really tried MFC and this excercise is nothing more than trying it out. I found what seemed like a simple spoon fed tutorial to get me started [here](http://courses.washington.edu/css450/2008.Fall/web_contents/from_students/450Hints/mfc_tutorial/tutorial_2.html). Step 6 of the first part in that link says... > Inside 'Tutorial.h', change enum value of IDD to "IDD_ECHOBUTTONEVENT_DIALOG" …

Software Development c++ gui
Member Avatar for Ancient Dragon
0
194
Member Avatar for example868

My code is to open a window.(SDK)(dev c++, orwell) Instead of five seconds it takes a few milliseconds. Please help solve the problem. Just few day ago it worked but now ti does'nt. #include "SDL.h" //cool graphics API. Only works with 32 bit for me. #include <stdio.h> typedef struct // …

Software Development api c
Member Avatar for example868
0
579
Member Avatar for omar.ossama.11

` #include<stdio.h> #define MAXLINE 1000 int getline(char line[],int maxline); void copy(char to[],char from[]); /*print longest input line*/ main() { int len; /*current line length*/ int max; /*maximum length seen so far*/ char line[MAXLINE]; /*current input line*/ char longest[MAXLINE]; /*longest line saved here*/ max=0; while(len=getline(line,MAXLINE)>0) if(len>max) { max=len; copy(longest,line); } if …

Software Development c
Member Avatar for fahadkhan6302
0
169
Member Avatar for wish4129

Dear fellows, i have a problem here, is there anyway to implement the drag and drop function for users to reorder the column sequence? i have tried several ways but it still not working, any hints can enlighten me? bottom is part of my code, thanks in advance. [CODE] DataGridView1.AllowUserToOrderColumns …

Software Development vb.net
Member Avatar for Mukesh_3
0
943
Member Avatar for solutionland

hello thank you for your good solution but your solution always assume external workbook to be open, how to work with current opened workbook? Dim oxcel As Excel.Application Dim owb As Excel.Workbook Dim osht As Excel.Worksheet oxcel= New Excel.Application oxcel.Visible = True owb= oxcel.Workbooks.Open(Path) osht= owb.Worksheets(1) now I developing add-in …

Software Development gui microsoft-office vb.net
Member Avatar for solutionland
0
394
Member Avatar for Samarth_1

Hello, I am a School Boy and a bit new to vb.net 2008. I want to know about Class Form and Class Diagram in simple language. Can Anyone Help me Please? Thanks in Advance

Software Development vb.net
Member Avatar for hericles
0
170
Member Avatar for Saranika

A file is required to record the daily temperatures of a city for one week from Monday to Sunday. Write a C/C++ program to enter the daily temperatures along with the name of the day, read the file, compute the average temperature for the week and display it. The final …

Software Development c++ display
Member Avatar for ddanbe
0
156
Member Avatar for Builder_1

please tell me in how many ways OBJECT ORIENTED PROGRAMMING is different from procedural programming in JAVA

Software Development java
Member Avatar for JamesCherrill
0
304
Member Avatar for laguardian

Hey guys! So I'm writing a program that takes in a user input (1-3) and then executes the corresponding method. I keep getting the wrong output. For example, for prob1 when I input "john doe" it prints "Unauthorized!". And I'm like, foolish computer! I am your MASTER! How can I …

Software Development java
Member Avatar for JamesCherrill
0
230
Member Avatar for GuitarComet

Hi! I'm working on a hobby OS. Almost every time I try to link my files I get a 'undefined reference to' error. As I've been trying to compile with different compilers, the errors generated by the linker changes. I have only been using different ports of the GNU compilers. …

Software Development c
Member Avatar for Ömer
0
325
Member Avatar for toring

Hi, I jus want to ask why is it that the pacman will move but it will get larger when it is painted..also is that the proper way to draw?. here is the code import javax.swing.*; import java.awt.*; public class Mypacman extends JFrame implements Runnable{ int x; public Mypacman(){ setVisible(true); …

Software Development java java-swing
Member Avatar for JamesCherrill
0
492
Member Avatar for Deep Modi

I want to know, which programs are installed. and then aftEr if I Get the program theN it should find locatioN of programs... while here the user should not able to do anything accept clickIng on button 1 I mean this whole process should be dOne in background

Software Development gui vb.net
Member Avatar for Hiroshe
0
198
Member Avatar for anar.bataa

Hi guys this is really important i searched an example code about "Username and Password Validation between Server and Client" through internet a LOT and i couldn't find anything... so please guys if any of you guys have anything about this topic please show me here thanks a lot guys!!!

Software Development c++ client-server
Member Avatar for anar.bataa
0
549
Member Avatar for chaitu11

I have attached an image file i want to escape first there rows and import data from sudha---- if(isset($_POST['submit'])) { $account_type = $_POST['account_type']; $fname = $_FILES['sel_file']['name']; echo '<center class=green>Uploaded file name is: '.$fname.'</center> '; $chk_ext = explode(".",$fname); if(strtolower(end($chk_ext)) == "csv") { $filename = $_FILES['sel_file']['tmp_name']; $handle = fopen($filename, "r"); fgetcsv($handle); //skip …

Software Development file-system image php
Member Avatar for Benjamin_11
0
3K
Member Avatar for anar.bataa

Hi guys i have this code for multicast with encryption and decryption with DES(shared key) i think encryption goes ok but decryption not working and i can't find the problem both codes compiles fine without problem when i execute them encryption works but decryption not PLS HELP ME!!!... here is …

Software Development c encryption ubuntu
0
160
Member Avatar for MasterHacker110

I need to copy modified data that is stored in an char* to another char* but I get an access violation error. Here is the code int EncryptData(char *data_source, char *data_cipher, size_t sizeofdata) { char *tmp_data; long long int digit; tmp_data = new char[sizeofdata]; /* Do some calculations here with …

Software Development c c# c++ encryption microsoft-access
Member Avatar for MasterHacker110
0
6K
Member Avatar for sunnyrock24

pass the value of three textbox from one form to another form for simple windows form application

Software Development microsoft
Member Avatar for nelsonfaboan.rios
0
200
Member Avatar for lewashby

Why am I getting the above error message when I run this program? I'm running this program with an mp3 file as an argument, the mp3 file is in the same directory as the python program. There are 30 space reserved for the Title at positoin 125 from the end …

Software Development file-system python
Member Avatar for lewashby
0
4K
Member Avatar for Danieldorn1797

Ok so the last couple of days i have been atempting to make a voxel engine for a cube world, i am intermediate in c++ and beyond the basics in opengl, i have a basic thought as to how the engine will fucnction. the Engine: - programmed in c++ - …

Software Development api opengl
0
168
Member Avatar for Slavi

How can I keep track of the unguessed letters yet in my JTextArea? In the non gui version I used an arraylist, worked fine but should I leave the arraylist and use it to track unguessed caracters ? The method is still console based, just started implementing the gui made …

Software Development gui java
Member Avatar for Slavi
0
750
Member Avatar for pirat4e

![2c915acada1248ef9a1127460f5c34c5](/attachments/small/4/2c915acada1248ef9a1127460f5c34c5.png "align-left") ![163de4b108e6016cbbd130f16496ce47](/attachments/small/4/163de4b108e6016cbbd130f16496ce47.png "align-right") Well, im a beginner and im having some problems with the code. On the display it shows System.Data.Objects.ObjectQuery 1[System.String](on the left). Im trying to merge two diferent tabels by taking Naziv from a different table and adding it to the grid.Another table for the combo(three tables, …

Software Development
Member Avatar for pirat4e
0
391
Member Avatar for MasterHacker110

I was wondering something, I know that on windows you can't interact directly with the hardware, you have to use the system API. Now in Linux in the other hand, it looks to me if this can actually be done, or am I wrong? The thing reason why I say …

Software Development api assembly microsoft windows-api
Member Avatar for mathematician
0
242
Member Avatar for abaddon2031

Im working on a small block of code that compares a argumented value to a file seached value. Every time i run the code it and give it the argumented value either lower or higher than i know the searched value is it gives me the opisite answer of what …

Software Development file-system python
Member Avatar for abaddon2031
0
295
Member Avatar for silvercats

JNZ checks if the Zero flag is set or not. How does it really check it? more assembly instructions? I thought Assembly doesn't hide anything.

Software Development assembly
Member Avatar for mathematician
0
169
Member Avatar for Auroch

Good day, I've realized hierarchy of classes: Point -> LineSegment. It's necessary to realize the following methods of the class: moving, stretching, rotating, turning, change on an axis. I'm trying to realize moving at a some distance on this code . What should I correct for in my code that …

Software Development c++
Member Avatar for Auroch
0
211
Member Avatar for Yogesh Sharma

hey frnds, Firstly I pick the records from the databse into the DataGridView, Then I want that If we made changes to the records in the GridView & Click on Update Button, Changes are Reflected into the Datbase .Plz do reply back the ..

Software Development gui vb.net
Member Avatar for Venkatesh_6
0
6K
Member Avatar for dany12

Based on this ideea **You just wrote a loop allowing the input of 20 names into a list. Alas, you made an error as you entered name number 17. Redesign your input loop, so you can correct the error easily without having to retype the previous 16 names.** I wrote …

Software Development python
Member Avatar for TrustyTony
0
323
Member Avatar for asia_6969

#include<iostream> #include<fstream> #include <sstream> #include<string> using namespace std; void main() { std::ifstream fin("romanian.txt"); std::ofstream fout("output.txt"); std::string line; int i; int count=0; string word; while(!fin.eof()) { getline(fin,line); for(i=0;i<line.length();i++) { if(line[i]==' ') { break; } cout<<line; } } system("PAUSE"); } the prog get crashed ... can any one please give me help …

Software Development c++
Member Avatar for NathanOliver
0
4K
Member Avatar for gharris55

I was trying to figure out how to insert pictures into Java, but as music in the background plays, the pictures alternate. It would be really great if someone could include the music code too. Thanks for any help in advance.

Software Development java
Member Avatar for gharris55
0
213
Member Avatar for mr07th

Hi everyone, i'm working with tao framework and i trying to make animation for my models from glut libraries but animation with using glut doesn't work (after compiling program closes) :( I tried found exception by try-catch but there are not exceptions. If drawing across vertex that animation will work. …

Software Development c c# c++ opengl
0
145
Member Avatar for cypress1976

I am trying to export the current record in my app into a PDF. My current code (shown below) is exporting into Crystal Report and then into PDF format but it is exporting ALL records in the database. This program is used for entering in Purchase Requests. Each record in …

Software Development gui microsoft-access pdf vb.net
Member Avatar for Gayathri1990
0
359
Member Avatar for pirat4e

Well, im a beginner and im having some problems with the code. On the display it shows System.Data.Objects.ObjectQuery 1[System.String]. Im stuck. I will be grateful for your help. private void grdProdukti_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) { if (e.ColumnIndex == 1) { int PID = int.Parse( e.FormattedValue.ToString()) ; grdProdukti.CurrentRow.Cells["Produkt"].Value = from tretmanProdukt …

Software Development display
Member Avatar for pirat4e
0
340
Member Avatar for Exaktor

How do you delete rows from a datagridview. I have a delete button to the right in the datagridview. I want to know how to delete a single row by clicking the delete button.

Software Development c# gui vb.net
Member Avatar for ChrisHunter
0
4K

The End.