132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dualzNZ

Hi all i am obtaining game stats data through c# using HttpWebRequest and am returning chunks of data which is passing through class variabled held in dll files. my question is which i am unsure of is i would like to add a progress bas to show the players current …

Software Development
Member Avatar for Mike Askew
0
144
Member Avatar for rony001

hi I want to list all tables in sql server compact 3.5 database and total of a specific column (I have a column name "total" in all tables).when i run the code I get no error but it does not work. can some tell me what is wrong with the …

Software Development open-source
Member Avatar for castajiz_2
0
217
Member Avatar for IsaacMessi10

How do you link to a Database in VB.NET? Say you need to record Name, Password and Email Address. What shall I write in the db?

Software Development vb.net
Member Avatar for IsaacMessi10
0
168
Member Avatar for zubair_z

Guys Plz help me out of this.... i have to take common values from three arrays and if there is repetition of values code should display value only 1 time... plz help? here is my code` #include<iostream> using namespace std; int main() { int count=0; const int size=5; int arr1[size]; …

Software Development c++
Member Avatar for tinstaafl
0
208
Member Avatar for kimangel

Hi experts,gud day! Here I am again needing your help. How will I code condition that textbox will only be enable after 6 months from date of hired or textbox will be disabled after typing certain amounts because it is not yet 6 months from date of hired. A message …

Software Development visual-basic
Member Avatar for AndreRet
0
190
Member Avatar for rony001

hi friends I am trying to search a table with last and first name and update table after changes .I can retrieve rows and display in datagridview, I would like to know how do I update table after changes, i would appreciate any help Private Sub TextBox1_TextChanged(ByVal sender As System.Object, …

Software Development vb.net
Member Avatar for rony001
0
137
Member Avatar for michelleruth

I'm trying to use an array to print out 6 numbers out of 42 since it's a lotto code Here's the question the lecturer wants me to do: Write a Java program to achieve the following:  Declare an array of type int of size 6  Randomly generate your …

Software Development java
Member Avatar for radhakrishna.p
0
24K
Member Avatar for hazzag1995

Hey guys, i am developing an android app using Java, using eclipse on a windows PC. The building of the app started off very well, and we managed to get a working prototype working on a android phone using the USB debugging option. I have come across a big problem …

Software Development android-development ide java
Member Avatar for peter_budo
0
464
Member Avatar for Gus_19

I'm trying to specify that multiple conditional statements need to be met before saving. If either of the statements are not met, then their respective error messages will pop up. The problem I'm having is I cannot get the error messages to show independantly. Am I on the right track …

Software Development vb.net
Member Avatar for fuerer_g
0
220
Member Avatar for zoraster01

hello daniwebscoders.. can you help me with my project?? i want to save a finger print file to a sql server table and then i also wanted to read it when you tap the finger print reader and it will input a time in :) sry for my grammar

Software Development sql vb.net
Member Avatar for jake0813
0
1K
Member Avatar for Grandiago

How come when i update my database using access(I forgot to add something) I need to add another data source to my program to make it show. It floods my Data Sources window. Is there an alternative way to do this?

Software Development vb.net
Member Avatar for Grandiago
0
155
Member Avatar for BleepyE

Is there a way to see if the user is using Windows 7. If yes, can we change their theme when the Form loads, and change it back when it closes? Thanks

Software Development vb.net
Member Avatar for nilesh7136
0
209
Member Avatar for misheng

hello can I ask question about syntax error in insert into statement?

Software Development vb.net
Member Avatar for Lethugs
0
63
Member Avatar for hg_fs2002

I want to store '\092' (which is backslash ASCII code) in a char variable but Java does not allow me. Does anyone know what the problem is and how I should store that?

Software Development java
Member Avatar for tux4life
0
132
Member Avatar for skliz

Please I am new to the ADO.NET connected layer. But I have been able to learn how to communicate with my db effectively on the connected layer. But I notice that wen I execute an insert, update or a delete sql. I dont see the changes in the database. I …

Software Development visual-studio
Member Avatar for skliz
0
256
Member Avatar for ryan311

txtNetPrice.Text = ((Convert.ToDouble(txtLength.Text) * 0) + Convert.ToDouble(txtPriceCut.Text)).ToString(); I'm getting error in this line. please help.

Software Development
Member Avatar for castajiz_2
0
227
Member Avatar for JohnKelly

We have a sensor on our local network that is sending a data telegram using UDP Broadcast. How do we use Winsock to capture these messages. The Port number that the data is being sent on is 42567. I tried the following code WinSockControl.Protocol = sckUDPProtocol WinSockControl.RemotePort = 42567 WinSockControl.Bind …

Software Development ide tcp-udp visual-basic
Member Avatar for TnTinMN
0
366
Member Avatar for John-Ellis

Hi, I have started my new college course this week and received my first assignment, it is to create a simple noughts and crosses game. So far all is well, I have created all of my procedures for checking for winners, reseting the game board and so on, the only …

Software Development vb.net
Member Avatar for adam_k
0
242
Member Avatar for hg_fs2002

When a simple-escape-sequence like '\n' is evaluated, what would be the result? Is it ASCII 10? How I can show ASCII 10 as a character? Isn't it '\n' again? I am confused! Can someone please help me with the issue?

Software Development c
Member Avatar for deceptikon
0
227
Member Avatar for dbalas

Hi! I just started using LightSwitch and i am amazed how great this tool is! However, i worked with php up until a week ago so im really new in vb programming language. I started making an application for warehouse management and got stuck with reducing part quantity after placed …

Software Development vb.net
Member Avatar for dbalas
0
953
Member Avatar for cisumma

systemFolder.targetFolders.dir=LoginInfo.getTargetFolderSystemDir() systemFolder.ser.dir=LoginInfo.getSystemFolderSystemDir() bookMarkDB.name=bookMarkDB.xml bookMarkDB.dir=bookMarkDB bookMarkDB.home=$(ViewResources.systemFolder.targetFolders.dir)+File.separator+$(ViewResources.bookMarkDB.dir)+File.separator+$(ViewResources.bookMarkDB.name); is it possible to concat bookMarkDB.home and bookMarkDB.name ? is the +File.separator going to work? thanks

Software Development java
0
107
Member Avatar for vin24

Hi! I would like to ask if it is possible to insert a GIF image on my form? If possible, would you mind to show me how by posting its codes? Thank you in advance......

Software Development image visual-basic
Member Avatar for alex.mur.946
0
205
Member Avatar for cisumma

Hello. Could someone translate this? I have yet to effectively use these expressions. sometimes I use the if statement to evaluate if a var has a certain value. most of the times it works. is the ternary expression used to handle other possibilities that could come up? 1 m != …

Software Development java
Member Avatar for deceptikon
0
165
Member Avatar for FelineHazard

Hi guys What's the default pointer value in c++? Can I count on the compiler to set an uninitialized pointer to NULL? Is it compiler dependant? What's the "consensus"? Thanks! -FH

Software Development c++
Member Avatar for FelineHazard
0
793
Member Avatar for cisumma

ViewResources.properties Hello I have a a properties sheet I would like to know how to make bookMarkDB.home reference other properties from the ViewResources.properties sheet below. how can "bookMarkDB.home" create a systemDir by using the properties already defined? The only example I have seen uses $ but I have no clue. …

Software Development xml
0
92
Member Avatar for davecoventry

Depending on a variable 1-7, I am interested in ANDing a byte value to to get that number of bits. Currently I'm doing this: function getMaskedBits(num, Bit_location: Byte): Byte; var masks: array[1..7]of Byte=(127,63,31,15,7,3,1); begin Result:=num and masks[Bit_location]; end; is there a better (or more efficient way of doing this?)

Software Development pascal
Member Avatar for davecoventry
0
113
Member Avatar for faysal.ishtiaq

> /* This code works when the added chracter's value is less than or equal to 9. I mean when there is a carry,what will i do to print that. And there should not be used any library function. Run the program and you will understand clearly. */ #include "stdafx.h" …

Software Development c
Member Avatar for ken_taiken
0
139
Member Avatar for Violet_82

Hi I wonder if somebody can help me with this. This programs simulates throwing a die 20 times: import java.util.Random; // program uses class Random public class RandomIntegers { public static void main( String[] args ) { Random randomNumbers = new Random(); // random number generator int face; // stores …

Software Development java
Member Avatar for Violet_82
0
532
Member Avatar for apanimesh061

#include <stdio.h> #include <conio.h> #include <stdlib.h> #include <process.h> #include <string.h> #include <math.h> int count = 0; typedef struct bitmap24 { unsigned char header[54]; unsigned char* pixels; }BMP; void readBMP (char* filename) { int i; FILE* f = fopen(filename, "rb"); FILE* f1 = fopen("save.bmp", "wb"); FILE* pixelVals = fopen("vals.dat", "w"); unsigned …

Software Development c image
Member Avatar for Adak
0
560
Member Avatar for xcarbonx

Hello, I am having an issue with sending an email message to multiple recipients on a private SMTP server. Currently, my program sends a message to the first recipient listed, but not the second. I am getting the email addresses from a text box right now that is separated like …

Software Development email vb.net
Member Avatar for G_Waddell
0
331
Member Avatar for sundog1

Hi again guys... I have a little but of an issue with a select statement I cannot seem to fathem out. Below is the code: else if (radioButton3.Checked == true) ; { //Looks at the row Selected in the GridView and then takes the Account Number and Stores in a …

Software Development asp.net dataset open-source sql
Member Avatar for sundog1
0
170
Member Avatar for sundog1

Hi Guys, Have a random problem as to why my headers are not being shown properly in the form? Possibly a simple anwser but can't see the wood for the tree's at the moment and another pair of eyes is always great. Code below: private void radioButton1_Click(object sender, EventArgs e) …

Software Development dataset open-source
Member Avatar for sundog1
0
190
Member Avatar for Petranilla
Member Avatar for softswing
0
109
Member Avatar for emmas4impact

Hello, I am writing a chat server application in eclipse ide how i wish to change the jar default image icon but all attempt end either in error or the line of code running with change the icon. here is where i put the code. setIconImage(new ImageIcon(ClassLoader.getSystemResource("chatbutton.jpg")).getImage()); and here is …

Software Development ide image java java-swing
Member Avatar for softswing
0
345
Member Avatar for miles.sifflet

I am new to this forum so please excuse any errors i make! I have recently started programming in c++ and one of my first projects is making a console trainer for AssaultCube (FPS Game). I have some errors and have not been able to fix them. Here is the …

Software Development c++ legal
Member Avatar for miles.sifflet
0
411
Member Avatar for IsaacMessi10

If (TextBox1.Text <> Bookmarks.ListView1.Items) Then NoResultsFound.Show() End If I want to display another class when the user's results dont match anything from the list. Help would be really appreciated. Thanks. ^The code above gave me this error: > Overload resoluton failed because no accessible '<>' can be called with these …

Software Development vb.net
Member Avatar for Reverend Jim
0
226
Member Avatar for pri.chakraborty

Hi all.. I m a begginer in java... i want to write a series like 1 to the power 2, 2 to the power 3 as so on... i can print its value only line 1 , 8 , 81... but i cant write the series where all to the …

Software Development java
Member Avatar for radhakrishna.p
0
4K
Member Avatar for requimrar

Hi guys. First of all, I am aware that there is a somewhat similar thread over here. However, it was never really answered and the code given was obscure (I don't like copying stuff anyway) Either way... I want to balance a chemical equation. However, I don't need help on …

Software Development apache java mathematics
Member Avatar for bguild
0
1K
Member Avatar for nova37

i want to know that how can we download file in visual basic silently without notifying users .... its my application update , also how could we create thread in visual basic so that this thread always check for updates and downloads silently

Software Development visual-basic
Member Avatar for AndreRet
0
2K
Member Avatar for dipankar_pr

1. database in access 2. ADO is in use 3. Datareport is designed. 4. I have 40 records in Recordset. 5. I want create one page per record in recordset. It just create one page report for only first record Private Sub Command1_Click() Dim cnString As String Set rs = …

Software Development visual-basic
Member Avatar for AndreRet
0
153
Member Avatar for mexabet

I successfully created a C++ window but got an error message when I tried to add menus. I will surely appreciate any help to fix the issue. As follows is the code: #include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class …

Software Development c++ data-structure queue
Member Avatar for mexabet
0
185
Member Avatar for xavier.diazsanchez

This keeps popping up http://sidetrack1.deviantart.com/art/Javadocs-Not-Generated-353650496?ga_submit_new=10%253A1360562461 Here's the code for the things that need javadocs import java.util.Scanner; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author ufe-c122-pc05 */ public class Lab2 { /** * @param args the …

Software Development java
Member Avatar for stultuske
0
117
Member Avatar for TheComputerGuy

I've been reading quite a few threads about creating new files if one doesn't exist...but I need it specifically for windows, in the current directory we are in. I've seen ` ifstream file; file.open("TehLeetFile"); if(!file.is_open()) cout<<"Tehleetness is busted!"; else cout<<"it work!!!!11!!!11!one!"; ` That's just checking to see if the file …

Software Development c++ file-system
Member Avatar for tinstaafl
0
331
Member Avatar for ryan311

Hi can anyone help me on how i can achieve this? I want to have a real time result on two textbox. double a, b, c, result; if (txtPriceMetre.Text == "") { txtPriceMetre.Text = "0"; } else { a = Convert.ToDouble(txtPriceMetre.Text); } if (txtLength.Text == "") { txtLength.Text = "0"; …

Software Development
Member Avatar for tinstaafl
0
184
Member Avatar for bbt2d

I am new to c# and I am working with a xml file. I have appended to an existing sample file, but the formatting is off and some of the xml elements are missing. What I am working toward is appending to it 10 times just changing the number for …

Software Development c# xml
Member Avatar for tinstaafl
0
252
Member Avatar for gunjan.vora.9

I'm writing a program to multiply two 4-bit number using add and shift method in C language. The code is as follows: #include <stdio.h> #include <math.h> int main() { int d,p=0, y=1010, x=1101, c, i; for(i=0;i<=3;i++) { c = x % 10; y = y << i; d = c*y; …

Software Development c
Member Avatar for Tumlee
0
153
Member Avatar for djcrab

Hello. I'm hoping someone will be willing to help me out. I'm pretty much done except for one part I've been scratching my head over. I'm sure this headache I have is not helping. Below are the instructions and the code for my problem area. Output the sum of all …

Software Development java
Member Avatar for djcrab
0
248
Member Avatar for cyberdaemon

Good day, I have a module that upload a record using excel file, and that excel file will be save into the table.. actually i already created that but one ofmy requirement is to clear first the record in excel before it will be uploaded.. how could i clear the …

Software Development dataset file-system open-source
Member Avatar for cyberdaemon
0
391
Member Avatar for jemartalaban_1

i was planning to convert my vb6 program to vb2010 but sometimes the codes from vb6 was unable accept in vb2010. like adodc.recordset.xxxxxxxx help me please

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
180
Member Avatar for stacey.sell.3

Hello I am having problems completing thi code in C# can someone please tell what I am doing wrong.I ge Error Error 1 Program 'C:\Users\stacey ann loretta\documents\visual studio 2010\Projects\EmployeeEceptionDemo\EmployeeEceptionDemo\obj\x86\Release\EmployeeEceptionDemo.exe' does not contain a static 'Main' method suitable for an entry point EmployeeEceptionDemo using System; using System.Collections.Generic; using System.Linq; using System.Text; …

Software Development c c# c++ visual-studio
Member Avatar for tinstaafl
0
265

The End.