132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for thwias1b3008

Hi, I used PostgreSQL and i want to populate its fields in combo box. Is anyone know how to make it. . Please help me. . . it is for my project. . :icon_sad: Here is my code: Dim conn As ADODB.Connection Dim rst As ADODB.Recordset Dim sSQL As String …

Software Development open-source postgresql sql visual-basic
Member Avatar for vb5prgrmr
0
221
Member Avatar for Denxerator

So on my last post, I asked about how to make C++ codes to work. This time I want to ask. How should I get started? Where should I get started to learn C++. Or what should I learn before I learn C++? Everything please XD. Oh and, I'm 12 …

Software Development c++ operating-system
Member Avatar for jencas
0
150
Member Avatar for avisek_cts

I want to draw a graph in vb6 thta will take data from the database (here it is MS ACCESS) .The databse has a table with 2 columns,How to draw the 2d graph dynamically, I am connecting the databse and vb 6 but an error is occuring Please tell me …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
912
Member Avatar for dub4theworld

Well technically I don't know how to make it quit. I am very new to programming. I wrote my first program three weeks ago and I must say it is a wonderful mix of highs and lows, especially when your code compiles. Anyway, I have been trying to figure out …

Software Development c++
Member Avatar for jencas
0
155
Member Avatar for jbfsantelices

Hi to our community! Just want to get some idea regarding the connection setup of SQL Server 7.0, I've been doing an application written in VB6 and I used SQL Server 7.0 as a storage of my database. On my local pc I can successfully connected to SQL and manipulate …

Software Development sql storage visual-basic
Member Avatar for vb5prgrmr
0
211
Member Avatar for gispe

hi all, i've written a program, n almost works, it just gives me this errors and dont know how to solve them :$ thanks for the help in advanced :D [code=cplusplus] 1>Compiling... 1>VersionFinalTpProg1.cpp 1>e:\esba\2cuat\programacion1\tpfinalaentregar\versionfinaltpprog1\versionfinaltpprog1\versionfinaltpprog1.cpp(199) : error C2676: binary '[' : 'art' does not define this operator or a conversion to …

Software Development c++
Member Avatar for gispe
0
170
Member Avatar for exzibit23

this is the code for tje fading effect of a form.. can anyone explain this code to me.. i really wanna learn this thing.. or do you have any site or ebooks to read related to my problem?? I dont know what book should I read. Is this all about …

Software Development api visual-basic windows-api
Member Avatar for vb5prgrmr
0
104
Member Avatar for sandli28

Hi, In vb.net2008 if we want to disable/enable the groupbox as per condition.Then how its possible when we used save button.how its insert into database.following is the code: [code=vb.net] Imports System.Data.OleDb Public Class addcust Dim da As OleDbDataAdapter Dim ds As DataSet Dim cmd As OleDbCommand Dim cmd1 As OleDbCommand …

Software Development dataset vb.net
Member Avatar for Piya27
0
1K
Member Avatar for gretty

Hi My program is rather simple, or I thought it would be rather simple :P My program reads a text file & saves each line of text into an array called buffer. [B]The problem is[/B]; each line of text is not in a separate array, the whole text file is …

Software Development c++
Member Avatar for iamthwee
0
384
Member Avatar for massivefermion

Hi I'm trying to write a heap data structure but I have no idea how to do this.Could Someone help? thanks

Software Development c++ data-structure
Member Avatar for tux4life
0
202
Member Avatar for swarupa_shet

<CCAddMFADetailsRequest> <accounts> <tp_account> <tp_account_id> 28 </tp_account_id> <questions> <question> <text>Enter your first pet's name:</text> <answer>tiger</answer> </question> <question> <text>Enter your first pet's name2:</text> <answer>tiger2</answer> </question> <question> <text>Enter your first pet's name3:</text> <answer>tiger3</answer> </question> </questions> </tp_account> <tp_account> <tp_account_id> 29 </tp_account_id> <questions> <question> <text>Enter your 9</text> <answer>dsftiger</answer> </question> </questions> </tp_account> </accounts> </CCAddMFADetailsRequest> How to …

Software Development xml
Member Avatar for xml_looser
0
178
Member Avatar for CppBuilder2006

hi I know C++ & I can write almost every console program with C++. How long will it take me to learn C#?

Software Development c c# c++
Member Avatar for Ramy Mahrous
0
146
Member Avatar for CForsyth68

I need some help creating an XSLT to group RSS-like data by unique category (sorted alphabetically) and then sort each item by date under each sorted category. (Yes I realize this will produce a Cartesian product). Here is a trimmed down version of the XML source... [CODE]<channel> <item> <title>test1</title> <pubDate>2009-07-16</pubDate> …

Software Development xml
Member Avatar for xml_looser
0
131
Member Avatar for 666kennedy

is there a method, using C# that i can open a file, then copy the data from it into another file in a different folder? the file doesnt need to be opened, just the data inside moved to another file. any help would be great, and thanks to all the …

Software Development
Member Avatar for 666kennedy
0
315
Member Avatar for danielagaba

hi, i'm using VS2008 and used the database wizard to make sure my database table and dataset datatable match. I used following code to transfer data from my windows form to my dataset then database. I keep getting an error saying "Invalid Object name 'Housing'" and I cant find the …

Software Development dataset open-source vb.net
0
64
Member Avatar for am_valentin

Hello guys, Is it possible to build an application for authenitcating on a domain, without actually providing the password? For example gesture recognition. I have read on msdn and they were talking about building a "custom authentification package" but this package calls MSV1_0 package afterwards. I am interested in a …

Software Development c++
Member Avatar for am_valentin
0
145
Member Avatar for DaveTul

Thanks for at least reading. My assignment is to prompt for a filename, change the contents to caps, and print. I have the following, and it's giving me the error at line 25 (the inside loop) Assignment makes integer from pointer without a cast What does that mean, and how …

Software Development c
Member Avatar for iamthwee
0
138
Member Avatar for babbu

the code doesnt retrieve any data from the database datagridview1 always remains blank [code] Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select * from customer where company like '*?*'" oledbcom.Connection = oledbcon oledbcom.Parameters.Add("?", OleDb.OleDbType.VarChar) Dim company As String = txtSearch.Text.Trim oledbcom.Parameters(0).Value = company.ToString Dim da As New OleDb.OleDbDataAdapter(oledbcom) Dim dt …

Software Development vb.net
Member Avatar for babbu
0
98
Member Avatar for rayken1

FT CDS complement(join ( 14006...14068, 19351..20068)) FT /locus_tag= TP01_0004” FT /note=”go function: nutrient reservoir activity [goid FT 0045889] The above statement is been read as a string and I would a REGEX as follows: /^FT \s CDS \s \ / complement[0-9]/ # search line 1 /^FT \s .* \ / …

Software Development perl regex
Member Avatar for rayken1
0
194
Member Avatar for kerek2

Hi, I',\m already success to display value from mdb database into crystal report.....i got some problem that is ... how to display item with own format into crystal report..The situation is..in my database the field is like this = EPS0000000 with autonumber function. But when display in crsytal report it …

Software Development display vb.net
Member Avatar for kerek2
0
89
Member Avatar for Rockpile

Is there a better than what I have done below to get an integer from the console? I tried to write this so if the user enters anything 0 or less, or non-integer, the prompt keeps asking until it gets an integer. Is there a different or better what than …

Software Development
Member Avatar for Rockpile
0
103
Member Avatar for danielagaba

hi i'm tryin to get data from my windows form that is 1st stored in a dataset then stored later in a local database(.sdf). this is the code i'm trying to use on the save button clock event. [code] Dim houseType As String = me.housingType.selectedValue Dim desc As String = …

Software Development dataset vb.net
Member Avatar for danielagaba
0
95
Member Avatar for lotrsimp12345

why do i get undefined reference to error in my main with regards to isvalidname. It says undefined reference to... in my isvalidname i check if they enter in first name, char ws and then last name. Then i want to print out everything that i have deleted on that …

Software Development c++ file-system
Member Avatar for lotrsimp12345
0
122
Member Avatar for biofly

Hi Friends I am new to Java Swings. I am trying to add JTable. But the table is not displaying. I have the following java code (2 files) **************************************************************************************** package edu.ucsc.genome.qa.sigGateWay; import java.io.*; import java.util.*; import java.awt.Color; import java.awt.Container; import java.awt.BorderLayout; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.BorderFactory; import javax.swing.JButton; import …

Software Development java java-swing
Member Avatar for kvprajapati
0
167
Member Avatar for laghaterohan

Hello, I have written a javascript function for email validation . On the click event of the validate button am calling the function however, the function is not called and returns nothing....so please help me out....plz help me out and do let me know where am going wrong...! here is …

Software Development java javascript
Member Avatar for kvprajapati
0
107
Member Avatar for mustafaneguib

hi all, this is my first time using JAVA. i know other programming languages, such as, c++, PHP, Assembly. this is a basic personal schedular. for saving the data i am using a custom designed linked list, and for the gui i am using custom gui. the program runs fine …

Member Avatar for mustafaneguib
0
167
Member Avatar for BlinkOnly

Hello, Im programming an image reader and I need to print out a histogram that shows how many times a given pixel value is present in a image - actually it doesn't have to be the graph, just a table with two columns would be enough i have written a …

Software Development c++
Member Avatar for Salem
0
121
Member Avatar for wicked357

I started this macro that does the following in MASM, 1. takes the user input for character entered 2. copies character from AL to _char variable 3. converts to ascii value and outputs to console I was able to do the first 2 having issues with the conversion process. Here …

Software Development assembly
Member Avatar for NotNull
0
277
Member Avatar for majc

[CODE] private void Record_Click(object sender, EventArgs e) { string[] eventsName = getSelectedEvents(); string[] controlName = getSelectedControls(); for (int i = 0; i < controlName.Length; i++) { Control ctrl = controls[controlName[i]]; foreach (EventInfo eventCtrl in ctrlEvents) { foreach (string eventName in eventsName) { if (eventCtrl.Name == eventName) { Type tDelegate = …

Software Development
Member Avatar for sknake
0
376
Member Avatar for thEhAckEr

[code=splusplus]#include<iostream> #include<iomanip> using namespace std; int main() { int a[10][10],b[10][10],c[10][10],i,j,k,r1,r2,c1,c2; cout<<"Enter the order of I matrix\n"; cin>>r1>>c1; cout<<"Enter the order of II matrix\n"; cin>>r2>>c2; cout<<"Enter the "<<r1*c1<<" elements for I matrix \n"; for(i=0;i<r1;++i) for(j=0;j<c1;++j) cin>>a[i][j]; cout<<"Enter the "<<r2*c2<<" elements for II matrix \n"; for(i=0;i<r2;++i) for(j=0;j<c2;++j) cin>>b[i][j]; for(i=0;i<r1;++i) for(j=0;j<c2;++j) { c[i][j]=0; …

Software Development c++ matrix-multiplication
Member Avatar for thEhAckEr
0
92
Member Avatar for Stefano Mtangoo

I'm practing with Akrip32.dll for a time now and I can get the DLL version as DWORD. The Version is divided as HIWORD and LOWORD Can anyone help me interpret these Buzzwords? I have no Idea of what they are

Software Development c++
Member Avatar for Stefano Mtangoo
0
444
Member Avatar for wicked357

I have read a lot of examples on 32-bit division and I have seen a lot of, mov edx, hiword ;load edx with hi word of dividend mov eax, loword ;load eax with lo word of dividend mov ebx, divisor ;load ebx with divisor div ebx ;quotient goes into eax, …

Software Development assembly
Member Avatar for NotNull
0
84
Member Avatar for cougarclaws

Hi All, I Think I am close. I am trying to write a small user function that gives "roundCalc" to the main as a rounded number UP to the nearest 1000. (If 1011 should round up to 2000). I have "calcTotStat" reading in, and I thought I had it right, …

Software Development c++
Member Avatar for cougarclaws
0
4K
Member Avatar for jbrock31

Hello Everyone, Please move to the correct forum, i wasn't sure where to put this. I also posted this to MSDN, but wanted to post here as well. I am using VS 2008 Pro Edition Yesterday i was able to create projects using the Add new Data Source Wizard just …

Software Development vb.net
Member Avatar for kvprajapati
0
128
Member Avatar for ravikiran032

[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label2.Text = "before" Sleep(3000) Label1.Text = "after" End Sub[/CODE] When i click the button1, the above code executes. Actually i should display label2 with string "before" and after 3 seconds label1 with string "after". But this is …

Software Development vb.net
Member Avatar for ravikiran032
0
86
Member Avatar for fallopiano

hi all. I know that when you create a class, you put all arguements for that class in a __init__ functions, but what about for actaully making classes? confused? this is what I mean: [CODE=python]class Aclass(Object): insert code here...[/CODE] what is the purpose of 'Object'?

Software Development python
Member Avatar for fallopiano
0
116
Member Avatar for ecedano

Hi Guys: I am making my own program but lost the updated code from my latest version. I just have the executable. I try to use reflector to recoup it, but unfortunatelly I do not know why it doesnt create the code/design/resources normal files to be used. Can anyone help …

Software Development puzzle vb.net
Member Avatar for ecedano
0
132
Member Avatar for wicked357

I am having a problem with my loop not function right and I think I have narrowed the problem down to the MACRO I made for reading in integers the ECX register isn't obtaining a value and stays at 0 while EAX get the value of 1, so when I …

Software Development assembly
Member Avatar for wicked357
0
137
Member Avatar for Orusaka

Okay, so I'm completly new to programming, and I've been using Sams Teach Yourself C++ in one hour a day over the last two days, admittingly taking in more than a days worth per day, though. This morning I decided I was bored of reading theory, and decided to get …

Software Development c++
Member Avatar for VernonDozier
0
84
Member Avatar for Nada_ward

Hi I want to write program , part of this program show to me form , this form has multiple picture Box and when I click on picture Box ,the program will show small form that it show information by label this form takes information from Dinamic array(the user determine …

Software Development vb.net
Member Avatar for Nada_ward
0
104
Member Avatar for Stefano Mtangoo

Hi All, I'm having trouble with my code. When I compile I get Undefined reference to class::method where by class and method are my class and method. I get my methods from akrip32.dll I,m at work so I have no source files, but I will attach them later when I …

Software Development c++
Member Avatar for Stefano Mtangoo
0
228
Member Avatar for sab786

i have the following snip of data from i file i read in: li=[[4, 27, 6, 22, 0.81186094, 1.12214581, 2], [1, 9, 22, 28, 0.69887889, 0.989934, 2], [4, 27, 100, 30, 0.74796748, 1.04485376, 2], [6, 27, 22, 31, 0.91040724, 1.26681591, 2], [4, 1, 30, 45, 0.485223, 0.77061901, 2], [8, 27, …

Software Development python
Member Avatar for sab786
0
129
Member Avatar for pltndragon

I have to drop the lowest score, and i can't include it in the calculation of the average. for input validation cant accept negative numbers for test score. #include <iostream> #include <iomanip> using namespace std; void arrSelectSort(float *, int); void showArrPtr(float *, int); void showAverage(float, int); int main() { float …

Software Development c++
Member Avatar for NathanOliver
0
2K
Member Avatar for codedhands

Hello,i am writing an application which involves invoking multiple threads to pick data from a queue and then delete or pop the retrieved data.My codes work well for this purpose but then my application suddenly crashes with a dialog with the following error message: Debug assertion failed! Program:.... Expression:_BLOCK_TYPE_IS_VALID(pHead->nBlockUse) ------------------------------------------------------------------------------ …

Software Development c++ queue regex
Member Avatar for codedhands
0
214
Member Avatar for drt_t1gg3r

[CODE]struct boardType { int boardNumber[8][7][7]; int numberOfBoards; }; //note: int main() is assumed as standard "bloodshed DEV-C++" compiler boardType totalBoards; totalBoards.numberOfBoards = 8; totalBoards.boardNumber[0] = {{0,0,0,0,0,0,0}, {6,6,6,1,6,6,1}, {6,6,6,6,6,6,1}, {6,6,6,6,6,6,1}, {6,6,6,6,6,6,1}, {6,6,6,6,6,6,1}, {5,5,5,5,5,5,5}};[/CODE][QUOTE]expected primary-expression before '{' token expected ';' before '{' token[/QUOTE] Above shows the script I am trying to make …

Software Development c++
Member Avatar for Salem
0
107
Member Avatar for debasishbasak

hi i am from bangladesh and read in ruet.i want to convert two dimensional array into one dimensional array.pls help me

Software Development c++
Member Avatar for csurfer
0
125
Member Avatar for sab786

can anyone help please? i have a snip of my file below can the the numbers be sorted as in excel? 27 4 220 16 0.76151102 1.06059456 27 4 220 17 0.61465055 0.90107796 27 4 221 22 0.81186094 1.12214581 27 4 223 28 0.69887889 0.98993400 27 4 225 30 0.74796748 …

Software Development python
Member Avatar for bumsfeld
0
89
Member Avatar for revski

Hi please help me. On my form i have a memo and 2 buttons, one is to load a .txt file into the form the other is to save. I want to use these buttons using the VistaSave and load dialogs. The save button i want to take the contents …

Software Development pascal
Member Avatar for FlamingClaw
0
134
Member Avatar for loozax

can some1 help me wid diz?! [code]import java.io.*; public class looping1{ public static void main(String args[])throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader (System.in)); int value = 1; for (int i = 1; i<=11;i++ ){ System.out.println(value); value = i + value;} }} [/code] the output should be: 1 2 4 …

Software Development java
Member Avatar for JamesCherrill
0
113
Member Avatar for jvd401

1)Design a class named BankAccount to hold the following data for a bank account: - Balance - Number of deposits this month - Number of withdrawals - Annual Interest rate - Monthly service charges The class should have the following methods: Constructor : The constructor should accept aruguments for the …

Software Development java
Member Avatar for jvd401
0
10K

The End.