132,726 Archived Topics
Remove Filter ![]() | |
I have begun to wonder whether frequenting this Board and trying to answer pleas for assistance is worthwhile... I have posted several working solutions and there is no evidence that the requestor has even looked at them... If a "possible" solution isn't what you were looking for at least clarify … Software Development visual-basic | |
Hello !! I am making a simple windows application. In one of the forms, I have buttons with various names and datagrid that displays the table. Now, what i would like to do is if I click on a button titled "softwares", i want only those elements from my table … Software Development vb.net | |
Hello all, This is my first post here. I've exhausted every resource I can think of in hopes of figuring out what I'm doing wrong, but I can't seem to get it right. I'm doing a homework assignment where I have to solve the 8puzzle problem using BFS, DFS, Iterative … | |
I am not sure why but this code (an attampt at a point and click game engine using Allegro 5) throws up an unhandled exception. The program starts and displays a picture, but as soon as the mouse is moved the exception pops up and the program crashes. I have … | |
In the following example: [code] public class JavaExample { public static void main(String[] args) { system.out.println(args[0]); } }[/code] when no parameter is passed Exception given is java.lang.ArrayIndexOutOfBoundExpection So my Question is that Why is that Exception is thrown , why not NullPointerException. (I know when both expection thrown) But in … Software Development java | |
Hi all, How to find the offset of a structure member just by knowing the structure name and the address of that member????? For ex. [CODE]Struct cook { int a; int b; char c; }eat; void func(int *ptr) { //how to find the base address of structure. //I know only … | |
Hi all, I am attempting to connect to a MS SQL Server Express Edition with Advanced Services (MS SQL10) on a remote Windows NT 5.2 machine on the LAN. My driver is [B]net.sourceforge.jtds.jdbc.Driver[/B] My url for the connection string is [B]jdbc:jtds:sqlserver://127.68.0.201:1433/LOD[/B] My user is [B]d[/B], password is [B]d[/B]. Now, when … Software Development client-server java sql | |
how to execute a java program when we try to delete it....???? Software Development java | |
I am getting this message: value of type "System.data.datacolumn" cannot be converted to "System.windows.forms.datagridviewcolumn" when I am trying to add a column to the dgv [code=vb.net] Dim dtcCheck As New DataColumn("Select") dtcCheck.DataType = System.Type.GetType("System.Boolean") dtcCheck.DefaultValue = False Dim sa As New SqlDataAdapter("SELECT * FROM therapy", myconnection1) sa.Fill(ds, "Therapy") dgvther.DataSource = … Software Development vb.net | |
basically i have a header full of function prototypes(util.h) and a cpp file with the functions body [CODE] // util.h #include <ctime> uint32_t GetTime( ); uint32_t GetTicks( ); // util.cpp #include <util.h> uint32_t GetTime( ) { return GetTicks( ) / 1000; } uint32_t GetTicks( ) { return clock( ); } … Software Development c++ | |
I am creating a java program that will take 10 user input grades from 1-100 and display them as a letter grade, then calculate the percent of how many letter grades there are in total. The last step is to figure out how to get each letter grade, lets say … Software Development java | |
Hello guys, My question is not very direct and clear but i'll try to explain it nicely. I have a database running on MySQL with 1 important table which i need to use. Then I put this table into my C# application (I'm using Microsoft Visual Studio 2010). The only … Software Development visual-studio | |
Hey everyone one I have some code and I need to change the address to the function I want to go to. I need to change the address of normal in the menufunc array to administrative. I have constructed this string that puts me in menufunc[2]: xxxxxxxxxxxxxxxxxxxx111111111122222222223333333333444444444455555555556680487d2 The address of … Software Development c | |
The Board Game I have in mind is Game of the Generals. It's somewhat similar to Stratego, but I'll just give a quick description of the game; every piece has a rank from Private all the way up to 5-star general, as well as a Spy and a Flag. The … Software Development gui | |
[CODE] #include <iostream> #include <string> using namespace std; int getNumAccidents(string); void findLowest(int, int, int, int, int); int main() { int counter, num, crash1, crash2, crash3, crash4, crash5; string n = "North", s = "South", w = "West", e = "East", c = "Central"; for (counter = 0; counter < 5; … Software Development c++ | |
[CODE] Imports System.IO Imports System.Data.OleDb.OleDbException Public Class Form2 Inherits System.Windows.Forms.Form Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Dim username As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … Software Development dataset open-source vb.net | |
Hi all, I have a data which looks like this, Input: man1 car man1 wallet man1 shirt man1 shirt man2 truck man2 house man2 jacket man2 jacket man2 jacjet man2 computer I want to collect the data, but while collecting I want to count them as well So the the … Software Development python | |
Hi, I am working on a calculator using Java Swing, and have it done, but I was wondering how you would make it so, say when a certain keyboard button is pressed, that number will appear in the text box. Currently, it works so when you press said JButton, that … Software Development java java-swing | |
hi I have one form in which there are different combobox.I want to fill these combo boxes from one tables one column name valve_type and other column is Id. I hve to fill valve type in different combobox as per id. suppose if id=1 then fill in combobox 1 Software Development | |
Hi I want to load data from a flat file into a SQL table. The file has a header row and detail rows, all of which need to be loaded. I've tried various suggestions I came across in forums and EndOfStream is the one that loaded all the rows. The … Software Development file-system open-source sql | |
Hello, There are many tutortial about it, but all are olds or are for C.. if someone know any FRIENDLY site/forum/pdf to learn c++ please give it, for my c++ window programming is like chines, because there is no any help like in VB/C#/F#/Java and things work totaly diferent, example... … | |
Hi, I am also stuck with a problem in writing into the file .below explanation also helped me but my issue is yet not solved .I want to edit my file which looks like IG_UDP_CPORTS="22,5060,5062" TG_TCP_CPORTS="1,2,3" EG_TCP_CPORTS="50,2" IG_TCPP_CPORTS="60,62 IG_UDP_CPORTS="5060,5062" I want to delete any value written in first line ( … Software Development c file-system | |
hi, Please help me with my listview. The listview did'nt show any list items. here's my code: [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged Dim strSearch As String strSearch = "SELECT * FROM tblMobileTracking WHERE accountNumber LIKE '" & txtSearch.Text & "%'" myConnection.Open() Dim … | |
Hello, So I'm attempting to do a bulk creation of users into Active Directory (Server 2008) using Powershell. I have a script but every time it runs it throws a exception error. I have tried to go through and find what is wrong, but I am having little luck. Any … Software Development shell-scripting windows-api windows-server | |
i am stuckin the printing the listview items.i have already displayed in the listview.i would like to printpreview and also print it. please help people. | |
I've seen threads on this topic but it didnt shed any light on my case so here it goes I am trying to rename a file as such; [CODE]Dim loc_path = "D:\Test" Dim filenames() As String = Directory.GetFiles(loc_path, "*.mp3") For i = 0 To ListBox1.Items.Count - 1 filepath = Path.Combine(loc_path, … Software Development vb.net | |
hi guys,, this is my problem first im going to scan into a scanner, after that it loads into a picture box and when i save it i got an error said "A generic error occurred in GDI +" Can you help me guys Thanks for your assistance all comments … Software Development vb.net | |
Hi all, can anybody please tell me whether is it possible that through windows service we can able to move file from one machine to another....??? what i made is first i checked with normal windows application ,by creating a mapped drive to my machine. ex:- Y:\ and i was … Software Development file-system | |
I have created a contextmenu (cnt_hys) and am adding items to it as program runs based on the user input in textbox1. when the user clicks button1 the contextmenu shows up and when the user clicks an item on the contextmenu strip i want to get the text of the … | |
![]() | Hi, I'm starting to code in python and would like some advice. I'm fairly competent in coding and have been doing alot of VB and shell scripting lately but as python is cross platform I've decided to switch. How do I get python to run programs I have saved in … Software Development python shell-scripting |
Hi all, How to find the base address of a structure ,just by knowing the name of the structure and a address of one of its members. Thanks in advance Software Development c++ | |
i have a list of record that already populated but my problems is How to find out if there are any duplicates? VB.NET | |
Hello mates, I was wondering if in that vast amount of knowledge floating around here if any of you knew how I could save an image using Python 3.x. I know that PIL is a great, and easy option for Python 2, but I assume there must be some way … | |
How to isolate digits in a long variable for JAVA? long 122343434434 how to isolate the 2nd number? Software Development java | |
ok so I am practicing with a basic carpet calculator , but when I came midway into it I noticed the " (double) " data types , I know its used to shift a value's decimal places two places but in this case it is acting the same way how … Software Development | |
Hello people! Got a project due tomorrow been at it the whole day still no luck hopping one of you guys could help me out before tomorrow :/ First one...... This is the code [CODE]int main() { const double Tax = 0.0825, Rate = 0.15; int PartNum, Units; double Price, … | |
heyy all :)) So im working on a new piece of code here..take into consideration that I love while loops and that's what I really want to use! so here is how the program would go read: # then read: base print: decimal representation thanksss :)) Software Development c++ | |
What I want is when I type "calc;" (without quotes), The calculator opens. Else, if I didn't type it correctly (example: "calc" (without quotes)) it will generate an error. [CODE]#include <iostream> #include <string> using namespace std; int main () { string calc; char end; end = ';'; cin >> calc … Software Development c++ | |
Hi, how do I exactly do this? [quote]1) Read an integer from the input. (Reading will automatically stop after the first non-digit character, accounting for possible sign characters.) 2) DO read the next character WHILE the read character is whitespace, then validate it as an operator and store it. 3) … Software Development c++ | |
[CODE] Rectangle::Rectangle() {length = width = 1.0;} Rectangle::Rectangle(double len) {setLength(len);} {setWidth(1.0);} Rectangle::Rectangle(double len, double wid) {setLength(len);} {setWidth(wid);} [/CODE] I get this error: Error 1 error C2447: '{' : missing function header (old-style formal list?) H:\C++\Programming assignment one\Programming assignment one\programming assignment 1 member functions.cpp 19 on line 5 and 9 and … Software Development c++ | |
where does eclipse get installed, i know ive choose the folder for the workspace, but not the IDE in its whole. why? im on win32 and i need to drag a shortcut on my desktop thx Fund it, nevermind, it's the uncompress folder and it doesn't install itself. DarkMonarch | |
Hello, first this is not a homework assignment so please respond whenever you have time as a speedy solution is not exactly needed. I have been learning C# recently from a microsoft book and had an idea of a program i want to make. Basically i want to be able … Software Development c c# c++ multithreading | |
My problem is that the image is not showing on my java. here is my code MyGame.java [CODE]package mygame; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class MyGame extends JFrame { Container c; Player p; MyGame() { this.setTitle("My Game"); this.setSize(600, 400); this.setLocation(100, 100); this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); c = this.getContentPane(); p = new … Software Development java java-swing | |
Hi! I'm trying to learn some C in order to make some changes to some existing programs that are written in C. For what it's worth all my experience to date has been with PHP, so this is quite different for me. Basically, I want to have an array, (patterns … | |
I havent programmed in C++ for about 3 years.. Since i started uni actually.. Now i gotta implement some stuff for Algorithms and Complexity.. I've got a vague idea of how to do that but thats not my problem.. According to my memory and old programs that i dug up … Software Development c++ visual-studio | |
is it possible to make a button click event open a window? if so how should i do this? i mean a window that has already been created and marked up, im using wpf and am a staring programmer with not so very much knowledge of the language Software Development | |
how can i print specified number of records in using data report?? example, i enter number 5 in a text field. then, when i click a button, the first five records will be generated into a data report with their corresponding data and has it's templte per record. meaning, the … Software Development visual-basic | |
Hi! I'm running the latest OpenSuse 11.4. I have knowledge of C++ programming and I think I'm ready to start using graphics. I have downloaded [URL="http://sourceforge.net/projects/alleg/files/allegro/5.0.4/allegro-5.0.4.tar.gz/download"]allegro-5.0.4.tar.gz[/URL], extracted it and tried to include allegro.h file in my C++ code. Here is my testing file for allegro. [CODE]#include <iostream> #include "/Documents/Allegro/include/allegro5/allegro.h" int … | |
hey guys, I have this simple set a codes that opens a form as a child in MDI container. [CODE] Private Sub BarButtonItem1_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem1.ItemClick frmConfirmShipment.MdiParent = Me frmConfirmShipment.Show() ''Dim NewMDIChild As New frmConfirmShipment() With {.MdiParent = Me} ''For Each ChildForm As Form In Me.MdiChildren … Software Development vb.net | |
The End.