132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zachattack05

So, the question is, if I have a table on a SQL server with 20 columns, and I need to retrieve just 4 columns for a form, and I am using stored procedures to do most of my queries, should I create a stored procedure to retrieve just the 4 …

Software Development sql
Member Avatar for zachattack05
0
155
Member Avatar for behrad kiani

i am working in Dijkstra code.which i want to get the vertexes from user by using Array list.but there is a problem in computepath method i can't solve it. [CODE] public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("insert the number of Vertexes:"); int nv=input.nextInt();//nv = number …

Software Development java
Member Avatar for NormR1
0
246
Member Avatar for C++ programmer

Hey guys, Recently I started learning win32 api using C but I am pretty scared of the Long and confusing Variables used in it. It appears alot difficult for me to learn those as I am learning myself. Will such kinds of variables will appear in future or not. Thanks. …

Software Development api c++ microsoft windows-api
Member Avatar for thines01
0
254
Member Avatar for biojet

Hi all, I am trying to make the script to sort the data at the max to min at the decided position. [CODE] in put : 10 0 20 0 24 0 26 0 34 0 39 0 49 0 55 0 56 0 65 0 65 0[/CODE] [CODE]I hope …

Software Development perl
Member Avatar for d5e5
0
270
Member Avatar for Matjame

Hi. I have the below code that update a 'dirpath' and 'cobdate'(calendar) field from a website. When I look at the results from my python script. I can see the correct 'dirpath'. The date value selected is correct(as 2012-01-16) but when it posts or submit, the date comes up incorrectly(20120116) …

Software Development python
Member Avatar for joehms22
0
219
Member Avatar for Xytheron

Hello all, Long time reader, first time poster here. I've been a web programmer for some time now but really never got into any scripting languages, I guess you could say I was just a web designer. Either way I want to write a little web server in Python to …

Software Development python web-server
Member Avatar for joehms22
0
327
Member Avatar for jaimin4829
Member Avatar for ahoysailor

Hi, I want to search a managed list, List<String^>^ list, for a variable substring (i.e. the substring changes it's contents every time it is looped). The list is populated by a Unicode (UTF-16LE) text file. The substring to be searched for is basically an ID for the Strings that occurs …

Software Development c++
Member Avatar for thines01
0
239
Member Avatar for doomhades666

How can i get selected text in web page and put it on textbox? This is the text that i want to copy. [URL="http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png"]http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png[/URL] This the page source of the web page [CODE]<div class="output"> <h1 class="titlebar">Calculator Output</h1> <div style="padding: 1.2ex;"> <pre>Simplifying -2x + 3y = 8 Solving -2x + 3y …

Software Development html-css vb.net web-browser
Member Avatar for codeorder
0
1K
Member Avatar for jkembo

I am stuck, I know how binary tree works, but I don't have any clue how to add data recursively in a binary tree. The user needs to enter a formula with logical operators. If the user presses to a button e.g NOT(unary operator), then it should display at follow …

Software Development java programming-construct
Member Avatar for jkembo
0
290
Member Avatar for iamthesgt

In building an application, I can make the project on one computer, but I can't on my other one. The thing that is holding me up is: [ICODE]#include <cppconn/resultset.h>[/ICODE]. I've searched but I can't find the package I need to install to get this library on my computer. I'm running …

Software Development c++ ubuntu
Member Avatar for iamthesgt
0
133
Member Avatar for raj.mscking

Hi Gentles! My Self Raj, I am a new user of this site, i wants to create an application (with concept of Ecryption & Decryption) for transfer image with hiding (media file eg.mp3) Any one can help me how can do it, and how much possibilities combine hided media with …

Software Development image java
Member Avatar for JamesCherrill
0
151
Member Avatar for gedas

hey guys, i am trying to create an app that would review text file that is on the server, how would i go around in doing that? i believe i need to login to the server for example root@123.123.123.123 and eneter the password, later i need to navigate the file …

Software Development java
Member Avatar for DavidKroukamp
0
141
Member Avatar for anders10

Hi! I'm new to assembly coding and I have an assignment in Intel/AMD where I'm supposed to code a file that consists of different subroutines and another file that produces the code to take care of. But first, as a start, I think I have to start with small pieces …

Software Development assembly
Member Avatar for angah
0
376
Member Avatar for fmasroor

I am trying to make a program that couts characters in alternating colors. [CODE]#include <iostream.h> #include <windows.h> #include <dos.h> #include "Random.h" void main() { randomize(); HANDLE hcon = GetStdHandle(STD_OUTPUT_HANDLE); int basecolor1=random(256), basecolor2=random(256); char board[4][4]; int x, y, k; for(x=0; x<4; x++) { for(y=0; y<4; y++) { k=(x%2); k+=(y%2); k=k%2; if(k==1) …

Software Development c++
Member Avatar for deceptikon
0
154
Member Avatar for renzlo

Hi all, Please see attached for my query. Hope someone can help me. Thanks in advance. -renzlo

Software Development vb.net
Member Avatar for renzlo
0
315
Member Avatar for tony75

[B]Hiding .exe file inside JPEG using python3[/B] Hi I would like to hide calc.exe inside the jpg and when I click to my JPEG I would like the calc.exe will execute. My python script do this 1.hide calc.exe file inside jpeg. 2.run calc.exe when I open my jpeg. [B]I will …

Software Development file-system python
Member Avatar for sun_2588
0
237
Member Avatar for jackbauer24

What is the difference between "[CODE]return[/CODE]" and "[CODE]messageBox.Show("whatever")[/CODE]"? Also explain(efforts will be appreciated): What does [CODE]retern[/CODE] do?

Software Development c#
Member Avatar for EBS.VivekGupta
0
196
Member Avatar for jackbauer24

I've got to explain this to my ten year old son, so please explain this in an easy way. (If you can, each and every thing about [ICODE]this()[/ICODE].) Thanks in advance.

Software Development java
Member Avatar for jackbauer24
0
174
Member Avatar for andur92

I have been trying to understand these methods so hard but have failed so far. Please, if you can, give me a example with the explanation. Thanks for your time. Following methods of StreamWriter class: 1)Read(); 2)Peek();

Software Development
Member Avatar for kamilacbe
0
189
Member Avatar for mehnihma

Can you help me with this problem I have a class and I need to create separate class justo fro reste button, but I am not sure how to do this? Here is what I have done [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class MyEventC extends JFrame implements …

Software Development java java-swing
Member Avatar for peter_budo
0
1K
Member Avatar for charlybones

Greetings. In my Console Application, I have a process that connects to a Access Database File. After closing the connection I copy the file to another folder, and delete the original. Lately this is failing a lot. For some reason the File is still being used, even if the connection …

Software Development
Member Avatar for charlybones
0
252
Member Avatar for harinath_2007

Hi , I developed an application which checks mail(gmail) all the time and alerts me whenever new mail has come. In short its a email notifier or email alerter. The application uses IMAP protocol .The application opens the connection once and it continously checks whether a new mail has come. …

Software Development java
Member Avatar for harinath_2007
0
129
Member Avatar for Fixxxer

Hi there I have written the following code to read some data from a file and bin the data into bins of equal size so I can plot this data easily. [CODE]#include <stdio.h> #define N_HITS 1800 #define N_TIME_BINS 78 int main() { int i, time_bins[N_TIME_BINS],j; double event; double hit[N_HITS],value; FILE …

Software Development c
Member Avatar for Gaiety
0
243
Member Avatar for groff

I have two combobox in a form: Cb1 and Cb2 When I load the form, Cb1 and Cb2 are connected to a bindingsource. When I change Cb1, the code (below) changes Cb2 to show only the items according to Cb1 This is working fine. The problem is when I change …

Software Development dataset vb.net
Member Avatar for groff
0
174
Member Avatar for Gaiety

[CODE] #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main( void ) { int fd,nob; char str[1024]; fd = open("test.txt",O_RDWR|O_CREAT,S_IRWXU); if (fd < 0) { perror("open:"); exit(0); } nob = write(fd,"hello first",1024); close(fd); printf(" %d nob written",nob); fd = open("test.txt",O_RDWR); nob = read(fd,str,1024); close(fd); printf(" %d nob …

Software Development c
Member Avatar for Gaiety
0
124
Member Avatar for dashawk

Hi guys, I have a project that reads a json data and parse it. The program is working properly except that I cannot get its individual rows and view it in separate panels. Here is my code: [CODE] Imports System.Net.Json Public Class Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal …

Software Development json mysql vb.net
Member Avatar for dashawk
0
263
Member Avatar for C++ programmer

Why should a person learn win32 api? What things I can do when i have learnt it? Some people tell "There is no need to learn win32 api because literaly you will only design Window(box, messagebox etc), which you can easily do by MS Visual studio tools!". Is this true? …

Software Development api c++ microsoft visual-studio
Member Avatar for Ancient Dragon
0
142
Member Avatar for furqanishaq

hiya i stuck on this can anyone help please Result1 = (Val1*Val2)/Val3; Result2 = (Val1+Val2)-Val3; write a sperate method to print the result of the above calculation and then write a main app class to create an operator object set it up with some test data to calculate the values …

Software Development java
Member Avatar for DavidKroukamp
0
116
Member Avatar for andur92

"Inheritance increases the functionality of a base class by adding additional features to its derived class." This is a direct statement from my text book's true/false question section. This is given as false and I know this is false but still I don't understand fully why. Any explanations would be …

Software Development c#
Member Avatar for mani-hellboy
0
205
Member Avatar for macdunk11

I REALLY need help. ThIs program works - except I have one fatal error that I can't seem to figure out how to fix. The players can play where other players have already played. I tried to use the switch statement at the bottom in method checkMove where if result …

Software Development java
Member Avatar for hiddepolen
0
599
Member Avatar for wissam.ashkar

Hello, I created a C# project using Teletik Winforms trial, the project contains about 30 forms and 10 reports using Telrik reporting trial. I decided to uninstall Telerik and go back to basic visual studio components and styles. Can i convert my project from telerik components and references to Visual …

Software Development c# visual-basic visual-studio
Member Avatar for mani-hellboy
0
133
Member Avatar for jackbauer24

Please explain all these four pages- Open the images in paint. Only then will you be able to view it. Thanks in advance.

Software Development java
Member Avatar for JamesCherrill
0
173
Member Avatar for edfinley

I have a form with a recordset which is filtered on some controls on the form. In the code behind page I want to loop through the records as filtered on the form. I can set up another SqlDataSource and refilter it on the same controls, but I'm wondering if …

Software Development
Member Avatar for mani-hellboy
0
74
Member Avatar for HNaik

Hi All, I have many DateTimePicker (DTP) in a windows form (Say atleast 15 DTP) I need to do following things in the form 1)A Dataset is field with values from database (MS SQL) which contains the DateTime data and now i want to assign it to DTP and Doing …

Software Development dataset
Member Avatar for mani-hellboy
0
180
Member Avatar for subrata_ushasi

Hi, I am trying to develop a autocad like software in C/C++. Can any one suggest me how to start it with ? Subrata

Software Development c++
Member Avatar for myk45
0
300
Member Avatar for clerisy

hello :) tell me The name of Best C# tutorials book available online.........

Software Development c#
Member Avatar for mani-hellboy
0
210
Member Avatar for ReshmaRajan

How can i Check a static method result using If else statement? for eg: IsPostponed is a static method and it returns a bool value. because of a static method we can call the method without an object. then how can i check it?

Software Development
Member Avatar for mani-hellboy
0
129
Member Avatar for Ismatus3

Hello all , I just need to create a folder in an other machine using ssh or samba ; for example i execute : [CODE]os.mkdir( rachid@rachid:/home/rachid/Bureau/new, 0777 ); [/CODE] but It shows the next error : [QUOTE]OSError: [Errno 2] No such file or directory: 'rachid@rachid:/home/rachid/Bureau/new'[/QUOTE] Thank you for answering .

Software Development python samba
Member Avatar for Ismatus3
0
2K
Member Avatar for saneeha.nust

I want to retrieve information from the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\27F43CBD97D1DB04CA142624E98D6717\features But the values of this registry key are encrypted.. any one know how to decrypt them? example : value = F_FTP_COMMON value data = ZC]++I3{!@.!lfp,?=DHHvyyfa8fj@(6d@fnEE32eWl_`4R(h@AZId-+a?DW

Software Development encryption microsoft-windows
Member Avatar for mani-hellboy
0
62
Member Avatar for Johan__

Hello [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class WholeNumbersFor { private int numOfInPut; private int sum; public void start(); WriteProgramInfo(); ReadInPut(); SumNumbers(); ShowResults(); } private void ReadInPut() { Console.Write ("Number of Values to sum?"); NumOfInPut = int.Parse(console.Readkey()); console.Writeline(); } private void WriteProgramInfo() { console.Writeline("\n\n ++++++ …

Software Development
Member Avatar for mani-hellboy
0
94
Member Avatar for R_K

I display the progress bar for downloading attachments and it works fine … but when I am downloading some attachments I get the exception message: [QUOTE] Exception in thread "main" com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream: needed 4 valid base64 characters but only got 1 before EOF, the 10 most …

Software Development http-protocol java session
0
175
Member Avatar for sah

I have loaded some images in a listview using imagelist in c#. Now I want to copy any image and replace into another image in the same listview using drag and drop. How could I do this? sample code would be helpful. Thanks in advance.

Software Development listview
Member Avatar for sah
0
898
Member Avatar for Jigs28

Hello, I have created project in c# and i want to use connection string stored in app.config file in all my form. I have wrote that connectionManager code but it gives different output (not proper output) and sometimes it gives exception what to do?

Software Development
Member Avatar for mani-hellboy
0
274
Member Avatar for 47pirates

How can i update my Jpanel with the labels from another class in certain intervals?

Software Development java
Member Avatar for 47pirates
0
278
Member Avatar for PF2G

Can someone tell me what's wrong here: [CODE] Dim sql As String = "SELECT * FROM courses" Dim con As New MySqlConnection Dim dt As New DataTable(sql) Dim cmd As New MySqlCommand(sql, con) con.Open() ComboBox1.Items.Add(dt)[/CODE] It doesn't show the courses.

Software Development vb.net
Member Avatar for jbutardo
0
116
Member Avatar for SindhujaNagaraj

hi, how to call a button click event programmatically in web application C#. Thanks, Sindhuja.K

Software Development
Member Avatar for mani-hellboy
0
202
Member Avatar for funfullson

I am trying to convert a 2d image to 3d one in python. please introduse me some good source or if there is an open source program. Thanks alot.

Software Development image open-source python
Member Avatar for funfullson
0
4K
Member Avatar for Kalle21

[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class While { private double sum; public void Star() { WriteProgramInfo(); ReadInPutAndSumNumbers(); ShowResults(); } private void ReadInPutAndSumNumbers() { double num = 0.0; bool done = false; while (!done) { { } } } private void WriteProgramInfo() { Console.WriteLine("\n\n ++++++ …

Software Development
Member Avatar for mani-hellboy
0
124
Member Avatar for arathy nair

I want to delete the strings file1 and file2 after its merged to a single pdf merge12. Please suggest your valuable ideas.. Thanks in advance package com; import java.io.FileOutputStream; import java.util.ArrayList; import com.itextpdf.text.Document; import com.itextpdf.text.pdf.PdfCopy; import com.itextpdf.text.pdf.PdfImportedPage; import com.itextpdf.text.pdf.PdfReader; /* * author * @282532 */ public class PdfMerger { public …

Software Development java pdf
Member Avatar for arathy nair
0
445

The End.