43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for matiasrad

Hi, is there a way to get the FTP Welcome banner (not the welcome message, but the banner)? What I'm trying to do is to discover several AXIS security cameras over a network using FTP. When I try to FTP into a camera using cmd.exe, the camera answers like: C:\>ftp …

Software Development vb.net
Member Avatar for Reverend Jim
0
252
Member Avatar for MeSam0804

hi, I am recently very curious to know how I can make a connection between two computers which are not in a local network. I googled a lot but there are always solutions for local IPs Now I know that I should make a server and a client to send …

Software Development client-server lan-wan vb.net
Member Avatar for MeSam0804
0
1K
Member Avatar for jtodd

Hey guys! I am recieving this error on the code posted below: "Operator '&&' cannot be applied to operands of type 'int' and 'int'. I do not understand why this is not working. is there a workaround or a better way I should be doing this. Thanks in advance! C2, …

Software Development
Member Avatar for jtodd
0
1K
Member Avatar for lahidzi

Hii.. I am doing project in java and i want to convert it to c#.is it any option available? Thank you..

Software Development c# java
Member Avatar for lahidzi
0
54
Member Avatar for imarc

Hello all! I have hit a small bump in my development of a program I am working on. Basically what I need to happen is this; for each item in the listview it executes a SQL query to input values into a database. In this case it pulls the quantity …

Member Avatar for imarc
0
292
Member Avatar for Kristjon

Hello guys ! Hope you're doing well. I have faced a problem in declaring linked lists inside a linked list. I made a picture because it speaks more than 1000 words ![list1](/attachments/large/3/list1.JPG "list1") Here's my structure declaration: typedef struct author *link; struct author { char name[20]; link next; link down; …

Software Development c linked-list
Member Avatar for Kristjon
0
331
Member Avatar for Zeref

Hi guys, So I'm busy writing an application that needs to update a list from the web after a certain amount of time. main.py file class Gui: def ...... def ...... def ...... def on_update_click(): update() app=Gui() Gtk.main() So when the program loads up, user will click the update button …

Software Development gui multithreading python user-interface
Member Avatar for Zeref
0
318
Member Avatar for modesto916

Hi, I'm writing a small C program to clean the radius radacct table, removing ended sessions records and inserting on a separated database. The problem is that MySQL C API doesn't have an easy way to insert the result of a query on another database/table directly, you have to build …

Software Development api c data-structure mysql
Member Avatar for modesto916
0
2K
Member Avatar for shanki himanshu

#include<iostream> #include<math.h> using namespace std; int main() { long int t,n; cin>>t; while(t--) { cout<<"abc"; } return 0; } i am getting run time error for t>10000. how to solve it. range of t>1000000

Software Development c++
Member Avatar for shanki himanshu
0
233
Member Avatar for phoenix_2000

hey people, I've been experimenting with some new (for me) java techniques, like keybindings. i've got a small app, where the bindings work fine, untill i press a JButton with actionListener. the actionListener doesn't do anything at all, but keybindings fail after i press one of them. here's my code …

Software Development java java-swing
Member Avatar for phoenix_2000
0
548
Member Avatar for paulsoncole

**i have problem in setting an alarm program, when i write the code to set with the alarm with the system it did not goes through so what should i do to fix the problem. pls i need to fix it if you can send me the code i will …

Software Development c++
Member Avatar for deceptikon
0
110
Member Avatar for np complete

How can I make my program generate random number between two given integers ? I use `srand ( time(NULL) );` `x = rand() % i;` to generate numbers modulo i. But I can't figure out how to generate between two numbers, suppose 1 and 3.

Software Development c++
Member Avatar for deceptikon
0
218
Member Avatar for kenth21v

Hi guys ! Anyone familliar with planetsourcecode? I downloaded a simple inventory sysyem and calculator to study the codes. But I don't know how to open them using Eclipse.. Help me pls ! Thanks!

Software Development java
0
122
Member Avatar for kenth21v

Well I have a background in using Java 3yrs ago, a long time. We've used Jcreator for school. Now I want to review and study Java again but I saw too many types or kinds of JAVA and I am confused. What JAVA can you recommend? And what application should …

Software Development java
Member Avatar for kenth21v
0
236
Member Avatar for HibaPro

how i can make the cell on my DGV linked to other DGV ???

Software Development vb.net
Member Avatar for HibaPro
0
130
Member Avatar for deepthought

Hi All, I am trying to run a second script from my first script and this works ok i can send it a variable and recieve back my answer however I am using Tkinter for my forms but when i start the main my program both scripts run although i …

Software Development ide python tkinter
Member Avatar for deepthought
0
162
Member Avatar for napninjanx

i want to design apps and software any kind of software for desktop computers.. like photo editing software video editing software basic software with photo effects etc

Software Development
0
63
Member Avatar for emurf59

I have a project where I need to get and count distinct values in tags in an XML document. If you look at the XML, I am specifically trying to count the distinct number of WorkOrderNumbers for Tuesday. Later I will do Monday and so on. I have tried the …

Software Development xml
Member Avatar for emurf59
0
586
Member Avatar for vishu.bhavsar

Hi All, I am developing a Java Swing application where I am using MS Access database. The problem is when I want to move this project to another location or machine or workspace, I need to change the data source properties in "Administrative Tools". Is there any work-around for this …

Software Development java java-swing
Member Avatar for Ezzaral
0
175
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> int i=-1; main() { int a[30],n; printf("enter the no of terms: "); scanf("%d",&n); store(a,n); } int store(int a[],int y); { if(i==y) { return \\it should return and terminate exit(0); } i++; printf("enter the number: "); scanf("%d",&a{i]); store(a,y); i know i had made a mistake but where …

Software Development c
Member Avatar for rithish
0
162
Member Avatar for shanki himanshu

i have made a queue using STL. the queue contains strings only. how to check for a particular string if it present in queue or not?

Software Development c++ queue
Member Avatar for Ancient Dragon
0
92
Member Avatar for rithish

can we store array value like this a[-50]; a[-49]=80; a[-2]=90;

Software Development c
Member Avatar for deceptikon
0
129
Member Avatar for akkbkht

Hello Everyone. I am making a tool in which I want a button to do the following job e.g; A=(1,2,3) Signature Guide B=(1,2,4) File Signature In short I am making an antivirus, every thing is done, except "clean" button. I want that the clean button should do the following job. …

Software Development gui vb.net virus-malware visual-basic
Member Avatar for saseless
0
690
Member Avatar for hughesadam_87

Hi, I have several functions that I'd like to operate on both mutable and immutable containers (mostly tuples vs. objects) and I'm looking for the optimal way to test for mutability in these objects. I can think of many ways to do this. For example: try setattr: do mutable stuff …

Software Development python
Member Avatar for hughesadam_87
0
116
Member Avatar for DrEinstein

Hi everyone, I'm new here. I have a problem and I hope someone can help me with it. Actually, my problem involves arrays but its about the Gregorian Calendar class. I am trying to output a series of concentric circles . I have created two classes with two different types …

Software Development java
Member Avatar for DrEinstein
0
143
Member Avatar for trishtren

Hey, I was hoping someone can help me convert a piece of php code, im not really sure where to start pack( 'v', $test ); The pack php function above takes in an integer and converts it to an unsigned long. V - unsigned long (always 32 bit, little endian …

Software Development java php
Member Avatar for keith.pastorek
0
1K
Member Avatar for triumphost

I keep getting "None of the 6 overloads could convert all arguments". I only get this problem in visual studio though. When I compile with g++ or codeblocks, it works perfectly fine. The code I'm calling my templates with is: `MemDeSerialize(ListOfItems, SerializedData, size_t(Data[2]));` The definitions: template<typename T> void MemDeSerialize(T& Destination, …

Software Development c++ visual-studio
Member Avatar for mike_2000_17
0
186
Member Avatar for manhthaodn

Hi, I have load data method as follows: public List<SalesOrderHeader> Load_SaleOrderRelatedInfo() { try { using (var context = new AdventureWorksEntities()) { return context.SalesOrderHeaders.Include("SalesOrderDetails").OrderBy(so => so.SalesOrderNumber).ToList(); } } catch (Exception ex) { throw ex; } } and method for data binding: public static DataTable Binding_SaleOrderInfoRelated() { using (var services = new …

Software Development
Member Avatar for Mike Askew
0
602
Member Avatar for napninjanx

For Windows Mac Linux etc How Do I make awesome applications and what do i meed to know when designing them? like what skills do you need?

Software Development
0
87
Member Avatar for userIT

Given the trace program below. I basically need to store a 1 or a 0 to the corresponding `a[r[i]]` the problem is I need to be able to keep track of the index of vectors zero and one to check the last index that was used for each vector. For …

Software Development c++
Member Avatar for userIT
0
184
Member Avatar for phorce

Hello, I'm trying to read the header information of a .wav file and I'm kind of stuck. Basically, the header information is located at different offsets in the file. So for example: (0-4) = ChunkID (4-8) = ChunkSize (8-12) = Format .. .. .. .. .. .. From this: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ …

Software Development c++ file-system
Member Avatar for np complete
0
280
Member Avatar for triumphost

What are some safe sized datatypes? Inother words, stuff like size_t, uint32_t. They don't seem to change no matter what machine I use. I'm asking because the confusion comes in here: I'm not sure when to use long vs int. I did a sizeof(int) and sizeof(long) and they are both …

Software Development c++
Member Avatar for deceptikon
0
161
Member Avatar for vikingsheepman

Hello all! I have used this forum many times in the past to solve a variety of programming related problems, but am truly stumped on a segfault within a binary search tree. I have isolated the segfault to a fscanf statement that look legitamate to me. The following code blocks …

Software Development c data-structure
Member Avatar for vikingsheepman
0
267
Member Avatar for Mike Askew

Say I have the below example, the syntax is based off constuctor chaining for clarity (and my cluelessness). public static void Feed() : this("Unknown"){} public static void Feed(string FoodType) { if (Food != "Unknown") Console.WriteLine("{0} eats some {1}.", Name, Food); } How would I actually implement this for methods? It …

Software Development
Member Avatar for Mike Askew
0
145
Member Avatar for ezekel

I need some help on how can i put some Event handler on my Button mybtn using code. private void button1_Click(object sender, EventArgs e) { Button mybtn = new Button(); mybtn.Text = "First"; FlowLayoutPanel flowlayoutpl = new FlowLayoutPanel(); flp.Controls.Add(mybtn); panel.Controls.Add(flowlayoutpl); }

Software Development
Member Avatar for ezekel
0
113
Member Avatar for boiishuvo

I made a simple program - conservative sequence integers with a sum, for example input: 15, the output should be 1, 2, 3, 4, 5 I made this program in c++ and it worked successfully, see below: #include <iostream> #include <string> using namespace std; int main() { int num, i, …

Software Development c++ java mathematics
Member Avatar for Taywin
0
266
Member Avatar for kb2k8

Hello, I need some help with these simple questions. I am a first year IT college student and I do not know how to apply math.pow to these statements. Given the following expressions, re-write them as Java expressions using some parentheses to indicate a sequence of operator evaluation. 1. v …

Software Development java
Member Avatar for kb2k8
0
145
Member Avatar for prancode

Hi, i'm working on a grid, where the data can be saved, modified and deleted from the grid and effects in the database. I have a problem,i.e after I enter data in one row and goto the next row, the next row automatically gets filled by the same data as …

Software Development vb.net
Member Avatar for prancode
0
300
Member Avatar for themaj

I have a dataset (GrindItems) with 4 datatables successfully populated from dbf files. If I understand the concept of a dataset, I no longer need an open connection to the source db and I should be able to query my dataset. My first question is whether I need a Connection …

Software Development dataset sql vb.net
Member Avatar for themaj
0
2K
Member Avatar for phorce

Hello, wondering if someone can help me. I'm working with a .wav file, and, I need to collect the header information. The header contains (roughly, 20 bits/bytes) before the actual data. And, each of this data is contained at different locations in the file. I need to read a particular …

Software Development c++
Member Avatar for phorce
0
179
Member Avatar for brylle

In DataGridView, how can i input data then add row

Software Development vb.net
Member Avatar for brylle
0
296
Member Avatar for rahul.ch

A question that I came across: Q: Can you pass a double to a method when it's argument is a float? A: No. Regardless of the double value, a double-sized variable is too big to fit in a float, so it can't be implicitly cast. Doubt: Shouldn't narrowing happen implicitly?

Software Development java
Member Avatar for JamesCherrill
0
208
Member Avatar for 111100/11000

#include <iostream> #include <string> #include <cmath> using namespace std; //global varibals: char entered_characters[9999]; int direction_of_rotor1; int direction_of_rotor2; char alphabet_of_rotor1[26]; char alphabet_of_rotor2[26]; char rotor1_backward(char Letter); char rotor1_forward(char Letter); char rotor2_backward(char Letter2); char rotor2_forward(char Letter2); char print(char print_char); int main() { cout << "This is enigma machine:" << endl; cout << "*NOTE:This …

Software Development c++
Member Avatar for WaltP
0
217
Member Avatar for alaa sam

Hi everyone well currently I am working on a simple malloc and free implementation but I am facing some problems . I get a segmentation fault this is my output inserting node 0 0xc87000 inserting node 1 0xc87014 inserting node 2 0xc87028 inserting node 3 0xc8703c inserting node 4 0xc87050 …

Software Development c linked-list
Member Avatar for alaa sam
0
213
Member Avatar for Gé48

Hello I am new here as well as with vb2008xpress and I have a question. I have a datagridview with 12 columns and 30 rows I want to use as a scoreboard for a game (no need to input or save data). Columns are for the players and rows for …

Software Development vb.net
Member Avatar for arcjamesneo
0
268
Member Avatar for chotep

class Nines { public static void main(String[] arguments) { for (int dex = 1; dex <= 200; dex++) { int multiple = 9 * dex; System.out.print(multiple + " "); } } }

Software Development java
Member Avatar for chotep
0
171
Member Avatar for triumphost

I currently use this to serialize data, write it to shared memory so that another program can reconstruct it and use it: template<typename T> void Serialize(unsigned char* &Destination, const T &Source) { CopyMemory(Destination, &Source, sizeof(T)); //Destination += sizeof(T); //Not sure if to add this or not. } template<typename T> void …

Software Development c++
Member Avatar for triumphost
0
106
Member Avatar for yeeitsneo

soooo. i saw a working code for a hindu arabic - roman numeral converter. the thing is. i need to fully understand the code. so i need someone who could explain the code clearly to me. line by line as for me to fully understand the program. newbie here. you …

Software Development visual-basic
Member Avatar for yeeitsneo
0
500
Member Avatar for hughesadam_87

Hi, I have an object subclass that I am using with a cusom __repr__() method. class NewClass(object): def __repr__(self): return ', '.join('%s=%s'%(k, v) for (k,v) in self.__dict__.items()) This works fine (leaving out some more details about my program): test=NewClass(a=1,b=2) print test a=1, b=2 But what I really want for reasons …

Software Development python
Member Avatar for hughesadam_87
0
184
Member Avatar for glao

I am trying to implement periodic boundary conditions for 2d lattice. I did: int boundary2d(int xpos,int ypos,int stepx,int stepy){ int x=4,y=4; //grid size int **matrix; //the grid matrix int i=stepx+xpos; int j=stepy+ypos; if (i<0) { do { i+=Nx; }while (i>Nx-1); } if (i>Nx-1) { do{ i-=Nx; }while(i>Nx-1); } if (j<0) …

Software Development c++
Member Avatar for glao
0
1K

The End.