199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for josephbeluan

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 …

Member Avatar for Jx_Man
0
122
Member Avatar for ReaperUser101

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 …

Member Avatar for Wolfgan
0
136
Member Avatar for manutd4life

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

Member Avatar for debasisdas
0
92
Member Avatar for mrnobody

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 …

Member Avatar for mrnobody
0
146
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
86
Member Avatar for StephNicolaou

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, …

Member Avatar for StephNicolaou
0
169
Member Avatar for bharath54321
Member Avatar for e-papa

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

Member Avatar for e-papa
0
150
Member Avatar for kay21

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 …

Member Avatar for kay21
0
138
Member Avatar for kazekagerandy
Member Avatar for kazekagerandy
0
81
Member Avatar for cse.avinash

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 …

Member Avatar for mitrmkar
0
1K
Member Avatar for khaos64

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 …

0
121
Member Avatar for Venom Rush

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 …

Member Avatar for nuraini
0
10K
Member Avatar for VipinDugaya

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 …

Member Avatar for debasisdas
0
365
Member Avatar for Deto4ka

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 …

Member Avatar for thekashyap
0
162
Member Avatar for kukuruku

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

Member Avatar for thekashyap
0
78
Member Avatar for miss_indie

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 …

Member Avatar for debasisdas
0
162
Member Avatar for Casper3912

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 …

Member Avatar for thekashyap
0
189
Member Avatar for adamworld

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 …

Member Avatar for debasisdas
0
264
Member Avatar for CrazyPixel

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 …

Member Avatar for JamesCherrill
0
294
Member Avatar for Kajeana

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 …

Member Avatar for diafol
0
130
Member Avatar for ss90

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 …

Member Avatar for ss90
0
180
Member Avatar for Nerathas

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 …

Member Avatar for ddanbe
0
2K
Member Avatar for anip1610

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???

Member Avatar for debasisdas
0
105
Member Avatar for shyla

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() { …

Member Avatar for ddanbe
0
112
Member Avatar for Dexxta27

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 …

Member Avatar for Dexxta27
0
121
Member Avatar for Doughnuts

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, …

Member Avatar for Ancient Dragon
0
169
Member Avatar for lianpiau

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 …

Member Avatar for lianpiau
0
320
Member Avatar for ashley11

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 …

Member Avatar for ashley11
0
95
Member Avatar for NOVICE3

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 …

Member Avatar for NOVICE3
0
113
Member Avatar for thecodepixie

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 …

Member Avatar for Arbus
0
164
Member Avatar for pnguin232

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. …

Member Avatar for happytogether
0
159
Member Avatar for arun srinivaas

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 …

Member Avatar for rubberman
0
213
Member Avatar for da10x

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 …

Member Avatar for da10x
0
86
Member Avatar for arun srinivaas

[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?

Member Avatar for rubberman
0
140
Member Avatar for sj5536

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 …

0
71
Member Avatar for ben25x

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.

Member Avatar for Ancient Dragon
0
433
Member Avatar for sj5536

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

Member Avatar for sj5536
0
221
Member Avatar for Smartflight

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 …

Member Avatar for Smartflight
0
267
Member Avatar for nunopedrosilva

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 …

Member Avatar for rubberman
0
6K
Member Avatar for Pamalicious

please, someone please help me understand polymorphism. I need help. Thank you. Pam

Member Avatar for frogboy77
0
80
Member Avatar for JerieLsky

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.

Member Avatar for doremon89
0
194
Member Avatar for diedie

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, …

Member Avatar for WaltP
0
186
Member Avatar for Dexxta27

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; …

Member Avatar for Dexxta27
0
151
Member Avatar for lochnessmonster

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

Member Avatar for rubberman
0
163
Member Avatar for codeyy

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 …

Member Avatar for rubberman
0
2K
Member Avatar for CrazyProgrammer

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 …

Member Avatar for CrazyProgrammer
0
157
Member Avatar for sha11e

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? …

Member Avatar for rubberman
0
215
Member Avatar for alex1050

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{ …

Member Avatar for alex1050
0
221
Member Avatar for negneg

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 …

Member Avatar for frogboy77
0
179

The End.