64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Bill Purkins

Hi, Using VB 2008 Express with Compact SQL .sdf database. I have a form that at form load fills the form with a single record as selected by double clicking row header on a datagrid. This works fine. But when I change a field and hit the save data button …

Member Avatar for Bill Purkins
0
115
Member Avatar for mocasu

Hi All, I am trying to display a custom icon in my c# application. I have followed microsoft steps to add my icon but it is not being displayed. I am still getting the default icon. Any ideas? With a project selected in Solution Explorer, on the Project menu, click …

Member Avatar for ddanbe
0
102
Member Avatar for fishky

Hello guys. I'm trying to make a database about football games (results, managers, players etc.). For my Players table i want to include these stats: - first and last names, nationality, date of birth (constants through time) - games played the current season, goals scored, cards received, minutes played in …

Member Avatar for fishky
0
122
Member Avatar for veledrom

Hi, When i click on submit button, javascript is going to check a particular textbox if it is empty. If it is then don't validate the form and make a text message visible from invisible. How can i do it? No CSS please. thanks [code] <form name="form1" method="post" action="a.html" onsubmit="return …

Member Avatar for veledrom
0
134
Member Avatar for Stonehambey

Hi :) I have a problem. I have a class, called Sequence, which is a template. One of it's member variables is a vector or elements of type T. I would like to create a constructor which takes as it's argument an array of elements of type T and feeds …

Member Avatar for Stonehambey
0
144
Member Avatar for TheBeast32

Hi, I'm using WinSock, and am making a function to receive data. How can I know when I have reached the end of the data that I'm receiving. Like, if I send "GET /" to [url]www.google.com[/url] on port 80, I should receive the HTML of the index page. But in …

Member Avatar for Salem
0
91
Member Avatar for mrnutty

Hello all, I am just practicing on class. From what I have learned thus far (from the internet) I made a simple program that resembles picking a deck of cards. But my problem is that although it works. I cannot get it to generate different cards for each object. To …

Member Avatar for Salem
0
116
Member Avatar for rad!anc3

hi. im trying to create a program in which the user inputs the character and the level. this would output to a triangle and an inverted triangle. i have already figured out the triangle but i cant seem to get the right output for the inverted triangle [CODE]#include <stdio.h> #include …

Member Avatar for rad!anc3
0
177
Member Avatar for Zetlin

Hi everyone I dont know if this question has already been answer but I really need help so bare with me. So here is my problem I just downloaded python 2.6 for windows however whenever i try to open the IDLE i get this message: IDLE can't bind TCP/IP port …

Member Avatar for mn_kthompson
0
366
Member Avatar for orwell84

I've been looking for tutorials on x86 assembly language, and most that I've found have been dated. One actually says that the Pentium IV is the newest Intel processor...Anyway, the things I'm wondering are: 1. Has x86 assembly changed much in 10 years due to the huge advances made in …

Member Avatar for Evenbit
0
152
Member Avatar for PhiberOptik

Hey folks, I have a question for you. I have 4 computers that use a particular program that requires a login. But i only have 2 accounts. I have a command that works via batch file that launches the program and logs in but i dont know how to specify …

Member Avatar for PhiberOptik
0
140
Member Avatar for hageam

I have an array of doubles that is output to a file and was wondering if there is a way to output white spaces where the value is 0 without replacing the 0's another value contains? example... number1 = 100 would still read number1 = 100, but number2 = 0, …

Member Avatar for hageam
0
82
Member Avatar for mabshell

Hello, I'm just starting in the world of C# and I'm stuck in a problem. I want to create a form with some textbox in it. It ask you the path of the exe file and some other information. When I run the program it tells me a Win32Exception: file …

Member Avatar for ddanbe
0
92
Member Avatar for aodpreacher

I have set up a code in a class but i am not sure if this is the class that i would use.I have to put the logic of the game in a Class and then use the methods from the class to run the game.Right now i have some …

Member Avatar for tutti
0
1K
Member Avatar for Boyet728

I am very new to programming and I have an assignment, but I am not asking for the solution. I just want to understand what is being asked. Our instructor presented two codes using a break and continue statement. He stated that both methods are bad programming practices. Which I …

Member Avatar for ~s.o.s~
0
132
Member Avatar for Bhoot

I have been working on a program which requires to retrieve the names of all the current windows on the desktop. I can retrieve the name using the Windows API function GetWindowText(). But i require a function to retrieve the handles to all the windows. I want to know which …

Member Avatar for Bhoot
0
251
Member Avatar for emilio

hi i'm using oledb to read from an excel file into dataset. my program is showing the dataset using datagridview, when i'm trying to change the cell content and update the dataset i get an error : "Update unalbe to find tablemapping['Table'] or DataTable ['Table'] my code is: [CODE=c#]public static …

Member Avatar for emilio
0
118
Member Avatar for manoj_582033

Hi Friends I am using a datagridview, there are four columns in that, & on fourth cell i have a button field, when i click on that i want to get the text of item(0) of selected row. please help me to solve this

Member Avatar for manoj_582033
0
156
Member Avatar for desiguru

I accidently inserted a lot of my data wrong in mysql. Its something like this 32-Bit versions • Windows Vista • Windows XP • Windows Me • Windows 2000 • Windows 98 • Windows NT 4.0 • Windows 95 • Windows NT 3.5 64-Bit Versions • Windows Vista x64 • …

Member Avatar for desiguru
0
83
Member Avatar for suley04

First of all, let me just say that, this is the 1st time I have ever programmed in C, so please be gentle :S (although it shouldn't be that bad). With regards to the program, I have been set a scenario to create a sales system where the user enters …

Member Avatar for Ancient Dragon
0
470
Member Avatar for PomonaGrange

hey folks, I have a question. I have several mysql tables and I'd like to fetch data from a few of them to create a <select> <option> list. How could this be done. I can get the info from one table, but don't know how to get the data from …

Member Avatar for PomonaGrange
0
305
Member Avatar for Terry McKenna

I am teaching myself pseudo code and I'd like ask for help to clear up my mind so I can understand the syntax and semantics a bit better. Would appreciate any help. (8 people must decide on one F*!) I am trying understand [B]var int F1=0;[/B] in the sample below …

Member Avatar for Terry McKenna
0
103
Member Avatar for Lukezzz

I have the ambition to make a List, Global so it can be reached within other Threads. When compiling the code with the declared list like this the compiler says: [I]syntax error : missing ';' before '<'[/I] Should I declare the List in any other way than this ? (The …

Member Avatar for Lukezzz
0
133
Member Avatar for MaracKoMarac

I have a simple Tkinter program that has a button and an entry. Now, how do I run code from the entry? For example: Entry -> print 'Hello!' Button -> Run the entry command

Member Avatar for MaracKoMarac
0
81
Member Avatar for cointosser

Hi i have a python program project its to make an arithmetic program with difficulty levels -essentially a calculator - that throws out addition, subtraction, multiplication, division and combined math problems at random (depending on which function the user chooses) -also has three difficulty levels, which can be chosen by …

Member Avatar for Murtan
0
120
Member Avatar for kischi

Hi, I am trying to copy som data from an excel document that I have on the server into a table in my ms sql server. I think the problem now is that I am having trouble connecting to the sql server. I'm using sql server 2005. You can see …

Member Avatar for kischi
0
172
Member Avatar for jbrock31

Hello everyone. I have been studying VB on my own in prep for my class next semester. I am trying to update a label on form1 from form2. Below is just a "test" example i created to figure out what im doing wrong. It is not the actual project i …

Member Avatar for jbrock31
0
152
Member Avatar for dreamer14
Member Avatar for dreamer14
0
102
Member Avatar for ryan311

how can i determine that may text1.text is equal to my product code?? heres my code Set cn = New ADODB.Connection cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Administrator\Desktop\Inventory System\PharmacyInventory.mdb;Jet OLEDB:System Database=system.mdw;", "admin", "" Set rs = New ADODB.Recordset rs.Open "Select * from Product", cn, adOpenKeyset, adLockPessimistic If rs.Fields!pcode = Text1.Text Then MsgBox …

Member Avatar for ryan311
-1
106
Member Avatar for queenc

hi i have an error when i try tio insert special characters ' insert into lydia(id,resume)values('$ids','$i') idis int,resume is a varchar ERROR3:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Degree please do …

Member Avatar for queenc
0
100
Member Avatar for Manutebecker

What I want to do is make a grading system. There is a vector for schools and classes and students, all of these which have their own class, derived from a class called system. [CODE]class System{ School * p; //School Pointer vector<School>sSort; public: //Splash Screen Function void Splash(); }; /*-School …

Member Avatar for Manutebecker
0
105
Member Avatar for randr

How do I display multiple questions per day? Also, I am using Visual Studio 2005 and am using a database to retrieve the data. This is the sample code: [code] private string GetCurrentQuestion() { string str = ""; DataAccess da = new DataAccess(); DataSet ds = new DataSet(); da.Connect(); ds …

Member Avatar for randr
0
190
Member Avatar for wookinhung

Umm, I'm a newbie in VB6, so I am currently facing the procedure being too large during the run of the program. For example: If txt6 > 0 Then lblItem6 = "W6~ Jane Doe" lblItemprice6 = "9.00" lblItemquantity6 = txt6 lblTotal6 = TotW6Price ElseIf txt7 > 0 Then lblItem6 = …

Member Avatar for QVeen72
0
113
Member Avatar for alan72

Does anyone have any code or links that shows how to interact with Web Pages with VB6? I'm trying to find button/image files (.gif, .jpeg) within the HTML and have VB send a command to press that button with code. I read a lot about Web Browser Control, but can't …

0
58
Member Avatar for serkan sendur

i have also similar problem with getline : [CODE]int Books::InsertBook() { string authorName; cout << "id_code :" << endl; cin >> bookrec.id_code; cout << "info_title :" << endl; cin >> bookrec.info_title; cout << "author :" << endl; getline(cin,authorName); int authorID = train_Author::s_add_author(authorName); if(authorID==0) { cout<< "Operation cancelled!" << endl; return …

Member Avatar for serkan sendur
0
2K
Member Avatar for dnmoore

have to creat a geosolid class that has 3 sub class i choose sphere cylinder and cone, i got the first two to work but my cone class works except when it calculates the volume it keep getting 0 no matter what number is use for the hieght and radius …

Member Avatar for quuba
0
186
Member Avatar for ripper1510

I am really stuck with any idea on how to do this. It is really confusing. Is there any way in PHP that i can select only one day of the week. My scenario is that people are only allowed to make reservations on a Friday. Is there any way …

Member Avatar for ripper1510
0
204
Member Avatar for Lukezzz

With this code I am setting a backgroundimage to a button. [code] mybutton1->BackgroundImage = Image::FromFile("D:\\pic1.JPG"); [/code] What I need to do is to also be able to remove this image from the button as it was before I did put the image to the button so the button doesn´t have …

Member Avatar for Lukezzz
0
97
Member Avatar for serkan sendur
Member Avatar for Narue
0
109
Member Avatar for aparnesh

I need to automatically and dynamically generate an organization tree. The Data comes from an Oracle Database, where the hierarchy is well defined. But I can't seem to find any good way of generating the Tree Structure. Using a tree-view won't work as there are some designations having 2 or …

Member Avatar for aparnesh
0
520
Member Avatar for karang
Member Avatar for Agni

This code here is giving segmentation fault. Any clues why? also any general tips for writing good multi-threaded code are welcome. [code=c++] #include <windows.h> #include <process.h> #include <iostream> using namespace std; unsigned __stdcall Display(void* p) { Sleep(500); cout << "Display" << endl; cout << *((int*)p) << endl; return 0; } …

Member Avatar for Salem
0
192
Member Avatar for gilroda

Hello, I need help with embedding links within a Jquery Accordion. The code I am using is based on [URL="http://jquery.bassistance.de/accordion/demo/"]Jörn Zaefferer's JQuery Accordion plugin[/URL], with some modifications to allow for an embedded link within each accordion div. The accordion effect looks and works just fine when viewed in Safari and …

Member Avatar for gilroda
0
185
Member Avatar for emilio

hi my code is using javascript to dynamically build an html table and fill the table with html buttons. my code: [CODE=javascript]<html> <head> <title>javascript1</title> </head> <script lnaguage="javascript"> function Init() { var table = document.createElement("tbody"); var newrow,newcol,tmp; var array = new Array(16); for (var i=0 ; i<16 ; i++) array[i] = …

Member Avatar for emilio
0
338
Member Avatar for suley04

i just want to know, if you are using an argv statement in your code, and you are defining two files (one for input one for output), called inFile and outFile, and you open the first in "r" mode and the second in "w" mode...... can you apply it to …

Member Avatar for suley04
0
109
Member Avatar for lepetitevoddy

I have this wierd kink in this program, it keeps telling me that there is a "missing return statement for public static question. i'm kind of new to JAVA and i've tried everything! please can someone help! import javax.swing.JOptionPane; public class arithmetic { public static void main(String[] args) { JOptionPane.showMessageDialog(null, …

Member Avatar for ~s.o.s~
0
268
Member Avatar for serkan sendur

how it is logical to get this to work? [CODE]#include <iostream> using namespace std; int main() { int a; if(a = 0) { cout<< "oldu" << endl; } else { cout << "olmadi" << endl; } return 0; }[/CODE] whereas in c# you can not do something like below : …

Member Avatar for Narue
0
117
Member Avatar for suley04

Yesterday I created a thread called "File Handling Problems!!"..... today within the first half an hour I have moved forward a bit (which is a relief)..... but I still have a problem..... [CODE] 1.#include <stdio.h> 2.#include <string.h> 3. 4.int main() 5.{ 6. int week = 0; 7. int units = …

Member Avatar for suley04
0
102
Member Avatar for leb

Do any of you know a function to play a playlist in PyGame? The music files on the playlist should be played one after the other in the order they occur. Any type of help would be appreciate it.

Member Avatar for hupa_nguyendinh
0
190
Member Avatar for roadToNowhere

right, so ive got this problem, basically, ive got a bunch of text files and i want to use the scanner to go through every single file, and seperate every single word from all the text files, i tried everythnig, and ive scoured this forum my code looks like this: …

Member Avatar for roadToNowhere
0
110

The End.