43,549 Solved Topics
Remove Filter ![]() | |
Hi guys i was trying to integrate a very basic Client/Server chat software with Caesar Cipher. i just wanted to encrypt the communication using Caesar cipher. the Client/server chat software is using TCP sockets.i tried and integrated the cipher on client side but it encrypted all texts and its not … Software Development c# client-server encryption monitoring-software | |
Hello, I have been fiddling around with this and no luck so far. So I am hoping someone can help me. I am making a time clock application. When you add an employee it creates a new directory using their name along with a .txt file used to store their … Software Development file-system vb.net | |
As for my assignment I had to write a program to swap 2 digit number Example:- If user input 12 the swaped number Would be 21. Along with ALgorithm, and a short description on this program(As how will you solve this program or what measure you'll take to get desired … | |
I am trying to use such a hexadecimal floating constant "0x0.DAB789B" in java but it gives me java.lang.NumberFormatException. How can I convert hexadecimal float constant to decimal? I know how to convert hexadecimal **int** constant but that does not work for float constant. Software Development java | |
Hi, I'm new to Python and am having trouble with this. Here's my code: import urllib, urllib2, re import xml.etree.ElementTree as ET from bs4 import BeautifulSoup # The get_zipcode(address) function will be called with an address string with # no zip code, such as 'Lowell Observatory, Flagstaff, AZ', and it … Software Development api google-api json python | |
i want to loop through each avaiable color in Color struct. Is that possible? Software Development | |
I'm writing a VB.NET software application in which I want to plot some placemarks on a google map which is in a webbrowser control in the application. weburl = applicationpath & "/googlemaps.html" WebBrowser1.Navigate(weburl) To accomplish this I call a javascript function from VB.net in this button event: Private Sub Button1_Click_1(ByVal … Software Development java javascript vb.net | |
public class ClickListener implements ActionListener { public void actionPerformed(ActionEvent e) { System.out.println(e.getSource().setText("Changed")); } } Eclipse tells me that `setText()` is undefined for type Object. This tells me that `getSource()` doesn't actually return the JButton object. How do should I do this then? How I change the text of the clicked … Software Development java | |
Hi, Can anybody help me out to solve string handling without using predefined spilt function , here come the questions for eg i have a input string as "hai welcome to the sample " so i should display as follows hai welcome to the sample pls advice, thanks for your … Software Development display | |
Hi guys, I have this code - I am trying to find if a number is present in a given array using recursion. The thing is, I get the error "not all code paths return a value". I don't know how to fix this. Please advise. using System; namespace checkArrayForValue … Software Development | |
(Just to preface this, I am a Python noob, so parts may be stupid/less obvious to me) I am trying to compile a Python script to exe, with the following setup.py file: from cx_Freeze import setup, Executable includes = ["re", "PyVMF"] setup( name="Wall Tile Randomizer", version="1.2", description="Wall Tile Randomizer", executables=[Executable("WallRandomizer.py")], … Software Development python | |
I have doubt that what we are using in java as String, is it class or datatype? String str = "hello" String s1 = new String("Hi") What is the difference in above two statements? Which is object of String class and which is varialble of datatype String? Because as i … Software Development java | |
hey, just looking for a bit of advice on code readability, i've figured out a new and i hope better way to handle collisions but the when reviewing the code it all just blurrs together for me so is there some format teckneuqies i can use so its easier for … Software Development c++ | |
My code is rather basic so excuse my lack of shell scripting experience. I keep getting errors for line 3. I have tried changing "$1" to `echo $1` `cat $1` and even turning the whole line into a variable which i read in another forum and then calling that variable … Software Development file-system shell-scripting | |
Hello I have made a simple program, but I have a problem with my IF...ELSE statement. Il explain under the code. Main Class: public class Learnt { //Main void in Learnt class public static void main(String args[]){ //Ask's user for name then prints it String AskForUsersName = "What is your … Software Development java | |
Hey guys ineed help on how to install or which is first to install using VS 2008 and MS SQL server & and IDE server management tool for MSSQL 2005 Software Development mssql vb.net visual-studio | |
Hello, I would like to build my application which is interacting with my localhost database. In netbeans before I run the program I need to turn on Wamp and "Start all services" in order for the program to run properly. My question is, when the jar file is made, will … Software Development java | |
Hello,,, Im trying open flash file on button click event, but its didn't open, when i write Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click AxShockwaveFlash1.Movie = "D:\My Project\Practice Projects\SWF-File_As_SplashScreen\SWF-File_As_SplashScreen\Resources\back_blue.swf" AxShockwaveFlash1.Play() End Sub then its properly work and play,, but i build this app and published … Software Development vb.net | |
I want to access some data in an Access MDB but I want to make sure that nothing can be accidentally altered. I have tried: conn = New OleDbConnection(Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Test.MDB;Mode=adModeRead;") I've also used conn = New OleDbConnection(Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Test.MDB;Mode=Read;") I then run a quick UPDATE WHERE query and it still alters … Software Development microsoft-access vb.net | |
Hi there, I have to calculate the pithagorean triplets up to 500 (it's an exercise I found on the deitel and deitel book) and I got a little stuck, in that it looks like I am getting an infinite loop. The exercise says to use a triple for loop, but … Software Development java | |
Hi Im using windows form applicaton and try using a method that returns a value and have a parmeterlist input. I try to creat a program that converts a number of kilobytes (KB) to byte. The program's user to specify the number of KiB and the program will print the … Software Development | |
I have problem updating specific record(s) selected to edit from a DataGridView into textboxes ,where the data can be edited and then update to the database. Now my update statement must have a where clause ,but it's not working,right now the code I'm about to post does updated record(s),but not … Software Development open-source vb.net visual-studio | |
Hello, Here is my code so far: TempCommand.CommandText = "SELECT Lenscode FROM Products WHERE (Lenscode LIKE '%@Input%')" TempCommand.Parameters.AddWithValue("@Input", "5") When using a datareader this does not work. but when the code is like this it works: TempCommand.CommandText = "SELECT Lenscode FROM Products WHERE (Lenscode LIKE '%5%')" So my question is … Software Development vb.net | |
Hi, I'm just settign up boost on my desktop (ubuntu) after a reinstall and am having some problems. I set it up last w/e on my laptop (knoppix) and did exactly the same thing and it works fine. I'm sure its something increadably simple I'm missing. I'm following http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html I'm … | |
Hello all! Ok, I'm writing an app that creates a specific folder tree on my FTP server. The app asks for a customer name and a project ID. When that is given and button is clicked, I want to create a folder name based off of the customer name, a … Software Development | |
Hi i am trying to write the contents of textboxes to a spreadsheet. The code i have does work but at the moment i have to specify what cells to write to. What i would like is for the text to get written to a different row each time but … Software Development microsoft-office vb.net | |
Hello Community, I was wondering if there is a way to backup my mysql database. | |
is it going to be possible to have a connection if I create a J2ME (netbeans) as client and vb.net (2010) as the server? Software Development client-server java vb.net | |
Hi everyone i have a connection to my sheet like this Dim da As New OleDbDataAdapter("Select * from [EBU 2 LOB$]", con) but i want to use this Dim Sheet1_EBU as string = "EBU 2 LOB$" so that the code will be something like this i think? Dim da As … Software Development microsoft-office vb.net | |
Hello need help i have a listview and a textbox I have this code ListView_LOB.Focus() For i = 0 To ListView_LOB.Items.Count - 1 If ListView_LOB.Items(i).SubItems(1).Text = TextBox1.Text Then ListView_LOB.Items(i).Selected = True End If Next it will highlight the item in Listview it seen in textbox1 for example "Erick" but if … | |
hi, good day! I have problem in coding this; combo box list - positions like Manager & supervisor and a label for the Rate of each position. When I click the manager, the label below will auto display the rate for Manager which these two data, Position and Rate, are … Software Development display visual-basic | |
Ok so, question about opening an application from python..is there a command that will force an app to open, while at the same time leaving the tkinter GUI open? The app I am trying to open is Snes9x. import os from tkinter import * try: import Tkinter as tk from … | |
I have to find which of the following values can be the degrees of an undirected graph with 6 vertices: a) 3 2 2 2 3 3 b) 4 2 2 2 3 2 c) 5 2 2 2 0 3 d) 5 2 2 2 1 2 I only … Software Development c++ | |
Hello all! Hope to be a very active nad productive member here as I learn. Currently in a python class and have a problem to solve. Not quite sure where my mistake is.... I am to put the inputs in the main function pass to the processing function and call … Software Development python | |
Hi everyone. I'm tying to understand the instruction below. I wish someone could explain me what it means: tree->destroy(((AvlNode*)(*position)->data)->data); // destroy the left branch of the binary search tree starting from the specified node static void destroy_left(BisTree* tree, BiTreeNode* node) { BiTreeNode **position; // can't remove from an empty tree … Software Development c data-structure seo | |
-->>Hello World of VB 6 Programers... -->>I've been using a block of Branching statement that worked fine in all the places I've used it... -->>Now I came to develop this form thats when things started to look bad... -->>I just check for the availability of a record in a database … Software Development visual-basic | |
Can any one please tell me how to connect a simple java web application to Oracle10g Express edition? Which driver should I use? Thanks in advance. Software Development java | |
I cant figure why my program is not running it compiles with no errors but doesnt run, am bearly starting to learn c , am more proefficient in java but its wierd changing, i use vi to write my code. heres a snipet #include <stdio.h> #include <stdlib.h> #include <time.h> #include … Software Development c | |
I am a novice in programming. I have a project where I have to get data from a website (I ll be posting the website below). But it happens that I first have to select a date and press a 'Go' button and then click on another Button/Link 'View in … Software Development c# | |
Hi, The Windows API function to select a directory is really bad, so I'm trying to use GetOpenFileName() instead. For that, the idea is to set a hook function, so that when the user hits the OK button without having actually selected a file, the hook function retrieves the currently … Software Development api c++ windows-api | |
hello everyone.. I am trying to connect a simple application to Oracle XE database. But when I run this program , the else part of program is running. Can Anyone tell whether I hav ewritten the code correct or not. import java.sql.*; public class jbc { public static void main(String … | |
In the following program how or the two while statements working, `while(szTarget[targetIndex])` & `while(szTarget[targetIndex])` since the their first element is initialized to zero? Zero is false and one is true so how are they getting even one iteration? The book I'M reading also made a point of saying this: "It … Software Development c++ | |
I have been programming in Windows with C++ and I am tiptoeing linux (mainly because of its most up-to-date C++ and also because of it's open source). I want to do multi-platform programming. The programming part is easy: I don't need help there. The part I need help is in … Software Development c++ open-source | |
Runtime error 2147467259(80004005): The changes you requested to the table were not successful because they would create duplicate values in the index, primary key..How to catch the exception? Software Development visual-basic | |
Is anything wrong with this code? I ask because in the past, I included the text file with the installer. In an attempt to simplify the installer, I decided to make the app generate the text file and put it where it needs to go. Here's the code (simplified) First … Software Development file-system vb.net | |
Basically I'm supposed to make a program that copies the Unix -wc command. Flags -l, -w, -c, and -L are supposed to display # of lines, # of words, # of characters, and # of characters in line, respectively. I am having trouble reading in a text file (first time … Software Development c file-system unix | |
Hi, Below code snippet belongs to copy constructor implementation. my question is in both cases (without and with copy constructor) if i execute this programme ,it will print the diff-2 memory addresses for both objects. 0x22ff20integer=0 (for object s1) 0x22ff10integer=0 (for object s2) but i believe in case of without … Software Development c++ | |
Hi guys i have this code which insert the data in the textbox Dim FilePath As String = "C:\Users\ezekiels\Desktop\New Folder\EBU 6.mdb" Dim conn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & FilePath & "") conn.Open() Dim myadapter As New OleDbDataAdapter("SELECT * FROM Table_EBU6", conn) Dim dtset As New DataSet myadapter.Fill(dtset) myadapter.Dispose() Dim table … Software Development dataset microsoft-access open-source vb.net | |
hi all i am reading excel file from c# into dataset everything working fine but the problem is it takes first row of excel as header's of column and i have "TRANSACTION DATA FOR CDs MANAGED BY TCBILs FOR THE MONTH OF DECEMBER 2012" in first row of excel ant … Software Development asp.net c# microsoft-office | |
can anyone plese tell me how to make installable file of a java program using visual studio 2010 professional.? Software Development java visual-studio |
The End.