199,114 Archived Topics
Remove Filter ![]() | |
HI, I'm new to VB6 programming and i need some help of anyone to please help with my problem. I want to know what do I need to do or know before to create a code that connect VB6 to my SQL. and if you desire please give a sample … | |
Hi everyone I'm trying to connect and display data in a TDBGrid (component) from an .mdf (made in sql) and connect it to a Delphi application. the .mdf is on the desktop and my databases name is Attach. If anyone has any clues or advice please let me know! Many … | |
Hello, i hav no idea abt MySQL, but i have a program with access database. Is it possible to convert it to MySQL database?? Any HELP please.. and i wanted to know also that all the code also will need to be change?? any way how should i start..?? thanks | |
Hey, I was just testing/learning with classes and i'm stuck at how to instantiate the class. I've spent few days trying get myself out of this mess but i don't think i'm getting anywhere. The picture below shows where I'm stuck at. The sln file is attached below for reference … | |
Hey How can I send mail thru C#? It seems that it can be sent only thru Smtp (from Googling) but there has to be a way to do it thru POP3 as Windows Live Hotmail supports it and AFAIK VB.NET also supports it. If someone can give me a … | |
Morning all, Unfortunately I am currently working with Access VBA. I have a simple method; moving an object on a form: [code] button.Top = button.Top - 20 [/code] However on click, I receive the 'Invalid Outside Procedure' message, including: *The exression may not result in the name of the macro, … | |
How to create a property file in java | |
Please I just want to start VB.NET what are the tools I need, are there any open source tools that can be used, which books can I use, And other things I need to know as a beginner. Thanks in advance | |
Hi everyone, I need help in determining functional dependencies of the given entity sets below. I have also included my answers, please check and advice. Thank you. [CODE][B]OWNER[/B] ([B][U]Owner_SSN[/U][/B], Owner_Name, Owner_Address, {Owner_TelNo}) Owner_SSN -> Owner_Name Owner_Name -> Owner_Address, Owner_TelNo [B]CAR[/B] ([U][B]Car_RegNo[/B][/U], Car_Make, Car_Model, Production_Year, First_Registration, Fuel_Type, Pax_Capacity, First_Purchase_Price, Original_Price) Car_RegNO … | |
is there anyway that i can place an object in a specific coordinates in vb? | |
Sir, here is the qustion:- Nestor was doing the work of his math class about three days but he is tired of make operations a lot and he should deliver his task tomorrow. His math’s teacher gives two numbers a and b. The problem consist in find the last digit … | |
![]() | I had recently made a .bat file that read a couple lines from file.txt and assigned them as variables then went through the execution of the bat which ended up deleting the original file.txt and writing the new values to a new file.txt. Now I want to convert this to … |
Hi there I'd like to know if it's possible to combine an update and insert query into one query. What I'd like to do is insert new data into one table and update a colum in another table at the same time. For example, there are 3 different baskets (puppy … | |
Hi , i am vipin facing a problem in mysql table i hava two table, primary key of one table is used as a foreign key of another table. but when i inserting some values in first table it gives [B][COLOR="Red"]error:Cannot add or update a child row: a foreign key … | |
In the method below trying to calculate average age in each category('o','u','n'). Ages are stored in a separate class. Code: public double averageAge() // calculating average age in each BMI group { double numbers[]=new double[this.list.length]; double result=0; char[] cat={'O','U','N'}; for (int i=0;i<this.list.length;i++){ int b=this.list[i].age; for(int j=0;j<3;j++){//loop runs three times, as … | |
HI I have method object appointment ,and inside this object I have another object time and I want to get startHour method(inside the time object) (method startHour(inside TIME(object)inside Appointemt(object)) How can I do that :@ Thanks | |
I'm having a hard time looking for a tutorial over the net on how to store sound files to access database. I'm planning to make a playlist on my application where in the user will just select the filename on a listbox and will click the play button. is this … | |
I have a assignment which requires the use of multiple files. I don't believe I am linking them together correctly. I'm using visual basic 2008 at the moment. Ofter I get the program working I'll create a make file and test that. I'm also not too familiar with the string.h … | |
I am trying to store millions of records with address, city, state, zip, etc. I originally had one table with 17 different fields with the primary key being id. However, I soon realized after inserting almost a million, the website began to lag and was slow. What is the best … | |
Hey guys, Can anyone tell me what I missed in the following code? I've tried everything that came up to my mind, but I can't pass this error. Let me give you some context. My friend and I are making this program that is supposed to send message through command … | |
Need to find code for one way folder sync. I deliver a flash drive to users with an html front-end, leading them to the pdf file they need. I am creating a web site for the user to go to, click on a button and have them down load updated … ![]() | |
I wanna showing the user name in every page when they are s successfully login to the page .But dun knoe why it cannot work~~ This is for login page ~~ [CODE]<?php require_once('../../../Connections/admin_db.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION … | |
Hello, I am trying to write a algoritm that calculates the second largest divisor of a number. But i have absolutely no idea what calculations are required for this. [CODE] for (ulong i = 1; i < Number; i++) { Number = .....? }[/CODE] Already know the largest common diviser … | |
hello!!!...i want to start program a to store video record to database using vb2008 and mysql..but i dont know how to start since i still new to this whole thing about programming..can someone help me??? | |
i made this UI it works fine , but i cant make it with the OUT parameter in the arrayMath method [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ArrayManagementGUI { public partial class Form1 : Form { public Form1() { … | |
Well I have made separate programs for testing and debugging purposes and now I want to put them together. Is it possible to use one .cpp as some sort of a header file, and call it later on? I saw it done before but I think it was a makefile(which … | |
My assignment is to make a program that can resize a dynamically allocated array. But when I delete a value, the program crashes (memory leak?). Here's my code. [CODE]#include <iostream> #include <cstdlib> #include <cstring> #include <limits> using namespace std; typedef char* charPtr; typedef charPtr* strPtr; strPtr delEntry(strPtr a, int &size, … | |
Who can help me?? [B]Microsoft Visual Studio 2008 Window Form Application C#[/B] I'm want store some data and picture in access database and display the data and picture in datagridview. when the user double click the record in datagridview. it will display data and picture into above textbox for update … | |
I have 2 sortedList. The 2 sortedList code are shown below. May i know how to compare these 2 sortedList? public void Display() { foreach (String sort in lbCombinations.Items) { if (!(sortList.ContainsKey(sort))) { sortList.Add(sort, 1); } else { int Count = (int)sortList[sort]; sortList[sort] = Count + 1; } } IDictionaryEnumerator … | |
I am writing a program that steps through a number of testing steps in one of three modes. Mode 1 is simply "run as fast as the processor can go". Mode 2 is a manual "click to advance the step". Mode three is suppossed to be a "step slowly by … | |
So, here is the thing. I am dissecting some code to try and better understand how to finish my project (I'm a student. Made it to the final project without getting too lost!) and I am a little stuck. This part of the code randomly fills a 32x32 2D array … | |
Hey there i have some code i need to update multiple records at one time. can i get some help. i have a page that selects what team i want to edit the stats for. then it sends it to another page where i can make changes to the stats. … | |
I tried out this sample program [CODE]int main() { int *i=new int; return 0; } [/CODE] The return type of new is a void pointer . Pasted below [iCODE]void* operator new(std::size_t);[/iCODE] [iCODE]int *i=new int;[/iCODE] new int in the above statement should return void pointer . How can a void pointer … | |
Hi, I have to make a linked-node based priority queue for an assignment. For some reason, however, the enqueue and dequeue just won't work. I have honestly no idea why, because I think the algorithm should work. Can anyone point out the problem? It would be greatly appreciated. [CODE] public … | |
[CODE]#include<iostream> #include<stdio.h> using namespace std; int main() { for(int i=0;i<10;i++) { char *a=new char[10]; printf("%u\n",a); } return 0; }[/CODE] This is the output that i got 5377864 5377888 5377912 5377936 5377960 5377984 5378008 5378032 5378056 5378080 why the memory is increased in size of 24? | |
hi can any one suggests me how to read barcode from pdf file in java is there any library . thanks in advance actully i serached on net for that i found some library such as apose barcode reader but it is not freeware and i also found JBarcode library … | |
Hello everyone. I am looking to see if there is any possible way Visual Basic 6.0 code can run in Visual C++ 2008 Express. Any help would be very appreciated. | |
hi i want to read barcode from pdf file. that pdf file has more than one barcode i have to read second barcode then what i do for that | |
![]() | Yes, I did a search, and I understand time() better than before, but I would appreciate personal help. Initially, I wanted to make a program/function that would randomly generate a number. Next, I wanted to limit it between two defined numbers. I came across rand() yesterday, and I couldn't get … ![]() |
Hi, I'm trying to convert a string to an enum data type, and am having a bit of a hard time to do it. Basically I have [CODE] enum MyType{ Saw, Saw2, Saw3 }; [/CODE] more over I try to read from the console: [CODE] MyType m; cout << "What's … | |
please, someone please help me understand polymorphism. I need help. Thank you. Pam | |
Hi.. another post from me on how to retrieve a picture of a certain person from MS Access Database using the OLE Object.. Any one who can show me some samples how? Thanks for the time. | |
hello all. I'm relatively new here. and very much a newbie in c++, string manipulation. I couldn't solve this. it has taken me soooo long. I did search the entire forum and google but those solutions seem a bit advance for my string problem. I know this is just basic, … | |
The line "getline(cin,get_password);" doesn't repeat if the user chooses to re-enter the password. It pauses for a short while when it should run that line, refuses to accept any data, and then continues as normal. [CODE]#include<iostream> #include<string> #include<windows.h> using namespace std; int main() { string get_password; string password="abc4"; char repeat1; … | |
Could anyone please explain what memory mapped files are and why this method is better then reading a file with I/O operations when needed? i've read msdn...wiki...and im still confused at why i cant understand how this works/ what it is doing exactly -thx | |
Element.h:15: error: using typedef-name ‘Element’ after ‘struct’ TrainToList.cc:6: error: ‘Element’ has a previous declaration here I understand that Element is getting defined twice but I do not know how to fix this. I must use Element as Car (or vice-versa??:confused:). Please suggest a fix to this problem. Now here are … | |
Hi all, i was wandering if someone good explain to me about clr? what are some advantages or disadvantages of programming c++ with clr, what are the main differences if there are any? If I understand it right clr programming is using the .NET framework, but could someone please give … | |
1. Are memory adresses a certain size? I've seen some that have 6 characters after the 0x and some that have 8 after the 0x 2. A pointer like this: int *pointern does what exactly? Selects a location in the memory? Randomly? Or maybe like the first availible memory adress? … | |
What im trying is to input 'yes' to continue and reset all values or 'no' to exit the program but i have tried to figure it out but im having trouble please help.thanks [CODE]#include <stdio.h> #include <stdlib.h> #include <math.h> int main() { float num1,result; char sym; printf("Calculator Is ON\n"); do{ … | |
Hi I wrote a code for Galerkin Finite Element .The program runs with no error but have some problem breaking the loop also the results are all wrong .Can anyone please help me? This is my first time writting aprogram and I am so confused. #include<stdio.h> #include<stdlib.h> #include<math.h> #define Limit … |
The End.