132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for afrozajb

I am facing problem with vb 6.0 and crystal report 12.0

Software Development visual-basic
Member Avatar for kousarrabiya
0
50
Member Avatar for deepukng

dear friends, I am using MS access as back end and vb.net as front end. in one of my table i have a auto increment field.(for ex:orderid). Please tell me how can i insert new row to the table with auto increment field. Thanking you,

Software Development vb.net
Member Avatar for mrnileshagrawal
0
132
Member Avatar for swapna7999

1.Dim d As String 2.d = Format(Now(), "dddd, yyyy mmmm dd") 3. MsgBox (d) 4.If Dir("c:/", Photos & d) = "" Then 5.rspCreate = MsgBox("Directory doesn't exist, do you wish to create it?", vbYesNo) 6.If rspCreate = vbYes Then 7. MkDir "My Documents/swapna" 8. End If i want to create …

Software Development visual-basic
Member Avatar for Jx_Man
0
115
Member Avatar for vdmsugar

[B]I need code for login verification form, which gets the username and password from the user and verify it in database(sql server) ,if its correct means connect to next form. [/B] help me plsss durai

Software Development vb.net
Member Avatar for les"ego"
0
92
Member Avatar for supra87

Hey guys, I recently started an online Python course as I had some interest in it, this is the second assignment I have received (first one was a purely text based Python solver), and I have become really stuck as I haven't found much on GUI. Basically its about class …

Software Development gui python video web-design
Member Avatar for left_shoe
0
353
Member Avatar for veledrom

Hi, [code]Label6.Caption = rcsetFran.Fields("franchiseid")[/code] generates an error"Method item of object Fields failed". If i do [code]Label6.Caption = rcsetFran(0)[/code] then doesn't accept '0', i need to give '1'. In this case i can't return first column in the table. 1 returns second column. How can i solve this problem. Thanks

Software Development visual-basic
Member Avatar for veledrom
0
100
Member Avatar for linux0id

Hello everyone! I am learning sound programming on Linux. In my app I am using ffmpeg to decode the audio, and then ALSA to pass it on to speakers. So far everything is fine - the packets are retrieved, stored in a queue. After that, the packets are read from …

Software Development audio c++ queue
Member Avatar for linux0id
0
123
Member Avatar for savinki

I want to split a string into token depending on different delimiters. e.g. char * temp = "asfs:ggd,oper:eger,ropptujnsdn:hfhgw"; and firstly I want to split data by using "," (lets call a block). and then each block should again split using ":" and save each token's value. then finally I want …

Software Development c
Member Avatar for saandeep_jan
0
1K
Member Avatar for monkey_slap

I ran into a roadblock developing my code for an assignment to sort a linked list as it is entered (insertion sort). We've had sketchy classes lately so the idea of linked lists is really rough for me at the moment because it's a little hard to understand. This assignment …

Software Development c++ linked-list storage
Member Avatar for Lerner
0
173
Member Avatar for guest7

Hi, Following is my code : i=3 j=3 while [ $i -le $count1 ] do i=`expr $i + 3` head -n 60 file1.imp >> s27.txt [COLOR="Red"]while [ $j -le 60 ] [/COLOR] do head -n 3 file2.imp >> s27.imp ./prog1 s27.txt > result.txt if grep OUT result.txt then head -n …

Software Development shell-scripting
Member Avatar for eggi
0
370
Member Avatar for lahom

hi i have an application where the user need to save his information. the first time he saves...a save dialog appears and the process goes as normal . but here is my question.. if he add any modification to his info and press the save button again ...i dont want …

Software Development c++
Member Avatar for Duoas
0
71
Member Avatar for Aldayne

Hello, everyone. I need help with a bank account class. I was supposed to create a class called Account which houses an attribute called balance that is protected and returns a double data type. There are some other things required of me which have been completed in the coded below. …

Software Development c++
Member Avatar for Aldayne
0
150
Member Avatar for wellibedamned

Okay, so i have an idea...that looks like it should work. I'm supposed to be able to multiply for example: 1234567812345678912345678*1234562345673456. My idea was to put each number into a string, and then make a matrix to store the values of each digit multiplied by each digit... i'll put an …

Software Development algorithm c++
Member Avatar for iamthwee
0
412
Member Avatar for TeCNoYoTTa

Hello all I am beginner in C++ and i have some questions In many languages there are included libraries for many uses such as libraries for downloading files / uploading files using ftp connection ...etc but in C++ i cant find these libraries my question ....... must I use libraries …

Software Development c++
Member Avatar for TeCNoYoTTa
0
156
Member Avatar for mfran2002

hi everybody, i'm going to set the procedure for OnTimer event runtime but i don't know how... i've written the following (WRONG) program, can someone help me? var Timer1: TTimer; procedure PROC(Sender: TObject); begin .. end; begin Timer1.Create(Timer1) ; Timer1.Interval := 2000; Timer1.OnTimer := PROC; end;

Software Development delphi pascal
Member Avatar for luis_ramos
0
3K
Member Avatar for johnkurtz

Hey, could anybody lend me dijkstra's algorithm in pascal? (commented please). I have searched for it on Internet and I haven't find it. Thanks.

Software Development algorithm pascal
Member Avatar for luis_ramos
0
181
Member Avatar for Grub

Hi, I have the following class and main method: [code=cplusplus] class Employee { vector<string> v; string name; int i; public: Employee(){} Employee(string &n): name(n), i(0){} void read(vector<string *> &vec) { string n; for(int i = 0; i !=3; i++) { cin>>n; Employee e(n); vec.push_back(&n); } } }; int main() { …

Software Development c++
Member Avatar for Grub
0
265
Member Avatar for lalalu

Hi I am wondering about the syntax to convert the value in address.sin_addr.s_addr into readable ip value (ie reverse of inet_addr?). btw I do know we can just use address.sin_addr to get the ip, but i need to use s_addr to pass ip infos between clients thanks in advance

Software Development c socket-programming
Member Avatar for jephthah
0
105
Member Avatar for QuantNeeds

Help - I am having the following errors repeatedly so I know it is a consistent mistake I am making but I just can’t see what it is. I already fixed many other errors and now it’s just this.....so close...... :confused: My errors are the following. I did not put …

Software Development c++
Member Avatar for QuantNeeds
0
198
Member Avatar for lllllIllIlllI

Hi I have the source of a webpage that tells the weather and i want to extract the data and my only hurdle left to jump is to remove all the formatting HTML marks inside and including the <> bracket. I have the web page source stored as a string …

Software Development python
Member Avatar for bumsfeld
0
106
Member Avatar for Anita Jennifer

What are the major differences between C and C++ programming languages??

Software Development c++
Member Avatar for Anita Jennifer
0
100
Member Avatar for suriname0

Hello, I have been self-teaching myself Java for the past few weeks and I would like a little help. Without an instructor or ample code snippets that are readable to me, I've been finding it difficult to know if my coding lacks the polish and efficiency necessary. Here is the …

Software Development algorithm java
Member Avatar for suriname0
0
112
Member Avatar for ice661666

I am working on code to calculate the factorial using below function: int factorial (int num) { if (num==1) return 1; return factorial(num-1)*num; // recursive call } And I need to calculate the numbers from 1 to 255… The problem occurs when it reaches number 35 and above, it starts …

Software Development c++
Member Avatar for ice661666
0
162
Member Avatar for nickm

Hello All, first. I would like to say this is first time in forums, so if I show bad manners/form, please let me know. I do learn quickly! I have created a small utility that removes software from the system. At the present time, the app will download and install …

Software Development vb.net
0
47
Member Avatar for Jennifer84

I have a code like below that when pressing a button, panel1 and labelText1 should be seen. Then I will put the process to "Sleep". After this, labelText1 should be emty ("") and labelText2 should write "TextMessage2": Then I wil put the process to "Sleep" again. And last put panel1 …

Software Development c++
Member Avatar for Jennifer84
0
133
Member Avatar for dummbe

hi , i have this problem, which i cannot figure it out. This problem has been day now,and reached does not seem to help. How do u pass an integer value form one class to the other class. Here my code. The integer that summited by the user which is …

Software Development java java-swing
Member Avatar for orangehead911
0
286
Member Avatar for jrkeller27

First time posting, this seems like a wonderful community. Okay, so I'm new to C++ (mostly worked with java) and I'm trying to write a program that will read in a plain text file (a short paragraph) and take and place each word in the text file and place it …

Software Development c++ data-structure
Member Avatar for William Hemsworth
0
1K
Member Avatar for people123

Hello, I have recently installed Microsoft Visual C++ 2005 Express Edition, and right off the bat when trying to make a new project I find myself unable to make a Win32 Windows Application, when I go to check the bullet that says "Windows Application", the option is grayed out. I …

Software Development c++ windows-server
Member Avatar for ismetteren
0
133
Member Avatar for prakasnisha

hi, thanku for your help. I need some more help with the perl scripting. i have to write a script which compares two files. now thw files have the data like File1:- .title 'title:VDDL_switched.meas0' max_rush_current = -5.4316e-02 at = 4.9415e-09 powerup_time_u_switch_ring/u2_hs65_ls_sw3l60 = 6.3951e-09 targ = 6.9051e-09 trig = 5.1000e-10 temper …

Software Development file-system perl
Member Avatar for Major Major
0
224
Member Avatar for nash_ph_41

I'm searching some method how to backup the database to thumb drive while the database (system) is running It mean like once i click the button it automatic fire the events in vb.net but the problem is the database is still running.. is there any method to do that?

Software Development vb.net
Member Avatar for nash_ph_41
0
94
Member Avatar for savinki

How can I type cast char* to a long value? e.g. char * abc ; long xyz; xyz = abc????

Software Development c++
Member Avatar for Radical Edward
0
231
Member Avatar for ymf

Hi all, I tried to write in a fibonacci sequence using python: [ICODE] unum = int(raw_input('Enter Limit Number to run Fibonacci sequence: ')) numlist = [1,1] for i in range(unum): fib2 = numlist[i+1] + numlist[i] numlist.append(fib2) print "Here's Fibonacci!" for w in numlist: print w, [/ICODE] This works fine. But …

Software Development python
Member Avatar for ymf
0
115
Member Avatar for sktr4life

ive doing a homework which we need to provide buttons (GUI) for a vending machine. the vending machine takes dollars, quaters, dimes, and nickels, and the vending machine has drinks (60 cents) and snacks (45 cents). we done a code were it does work through "SCANNER", but now we have …

Software Development gui java
Member Avatar for peter_budo
0
2K
Member Avatar for siripong153

I am making a game and i want to to have multi player support. What i mean is that.... When you load from the save file, you have to write the file name right? Eg. [code] FILE *out; out = fopen("datafile.dat", "r+b"); [/code] How can you let the player choose …

Software Development c
Member Avatar for siripong153
0
106
Member Avatar for pavanikatari

i want to retrieve record basing on date. i have used backend as ms access and frontend as vb.net. cmd = New OleDbCommand("select * from orders where qdate= '" + TextBox2.Text + "'", cn)

Software Development vb.net
Member Avatar for Jx_Man
0
57
Member Avatar for nagguns

HI I am facing some (lot of, actually) problems porting a legacy program from UNIX to WINDOWS... I see a lot of errors like this error LNK2001: unresolved external symbol Can some one help how to get rid of these errors.. Thanks in advance

Software Development c unix
Member Avatar for jephthah
0
269
Member Avatar for SonxQ7

here's my code [code] #include <math.h> #define M_PI 3.14159265358979323846 // Calculate Constant double constant() { const double figure = 7.9454E-18; double number = log (figure); return -10 * number ; } [/code] The value in number should be -17.099... But i get -39.379... What's the problem here?

Software Development c
Member Avatar for jephthah
0
221
Member Avatar for Driklyn

I'm trying to create a class inside a header file so that all my files can access that 1 class and only use that one. This is what I have so far. ---------- Window.h: [ICODE] class Window { public: Window(); ~Window(); /* FUNCTIONS */ HWND OpenWindow(LPCTSTR, int, int); /* VARIABLES …

Software Development c++
Member Avatar for Driklyn
0
96
Member Avatar for zawpai

Hi, Why the program skip 'read value' in second time? First time reading value is ok, but the problem will get after pressing 'Enter key' for the next time read. [CODE] //array of pointers to person objects #include<iostream.h> class Person { protected: char name[40]; public: void getname() { cout << …

Software Development c++
Member Avatar for zawpai
0
112
Member Avatar for Kabooom

Just starting Python and I have a question about how to run it just by double-clicking. With simple things like [ICODE]print "Hello World"[/ICODE] the wait for user input clause can be added and it will run by double clicking and give the desired output, but when I try it with …

Software Development python
Member Avatar for Kabooom
0
3K
Member Avatar for tondeuse34

Hey guys again, but i got another question. With this code here: [CODE]if choice == 'help' or '/help': print "Test"[/CODE] what if you entered anything else besides '/help' or 'help' and you have defined other things in the code you want to go to from input? any ideas/suggestions, Thanks

Software Development python
Member Avatar for jrcagle
0
122
Member Avatar for hazmatt

I have been searching for days to find an Http Client in C++ that I can use. I am assisting in a research group involving camera recording based on sensor detection and am responsible for making the interface with the cameras. I have some work that was done before I …

Software Development api c++
Member Avatar for hazmatt
0
338
Member Avatar for wellibedamned

could someone please check this code and tell me where i went wrong... it always gives the result 1.00000 but as you can see in the for loop it shouldn't be like that. [CODE]#include <cstdio> int main(void) { int n; float s = 0; scanf("%d", &n); for(int i = 1; …

Software Development c++
Member Avatar for wellibedamned
0
113
Member Avatar for charkac

Hi, I want to know how to capture and store images using a webcam in C? I searched this many places I did not get it.If somebody knows it please tell me.

Software Development c webcam
Member Avatar for jephthah
0
2K
Member Avatar for cobaltbass

Whenever I start my program from the command line, it works perfectly. When I try to use the icon on the desktop, it gets to the last cin statement and terminates. I have no idea why this would happen. Any insight?

Software Development c++
Member Avatar for Duoas
0
284
Member Avatar for nlsna17

:!: Write a program that reads in an m by n matrix row by row, then reads in an n by p matrix row by row, and then computes the product matrix and displays the two matrices, as well as their product matrix on the screen. Use integer values for …

Software Development c++ first-post
Member Avatar for Bitto11
0
176
Member Avatar for cyruski

Hello everyone, I woke up this morning with a list of unanswered calls on my mobile which was coming from my younger brother who is freshman in computer engineering. anyway he desperately needs a small coding in C [B]Project [/B] A XOX (Tic tac toe) game coded in C (very …

Software Development c engineering
Member Avatar for jephthah
0
131
Member Avatar for dantastik

Hi everybody - first post. I did look around a bit but couldn't find a relevant answer, if it's a duplicate post apologies! Anyway, using Ubuntu 7.10, NetBeans and MySQL libmysql-java 5.0.4+dfsg-2 installed ( JDBC drivers ) I also downloaded mysql-connector-java-5.1.6.tar.gz but not quite sure what to do with it. …

Software Development java java-netbeans ubuntu
Member Avatar for peter_budo
0
173
Member Avatar for AqAbAwE

lets say I have a class named MyClass, and a variable named val, what does the following statement mean? i know its dynamic allocation, but what does the ** indicate? MyClass **p1 = new MyClass*[val]; thanks for your help.

Software Development c++
Member Avatar for AqAbAwE
0
74
Member Avatar for it2051229

I'm trying create a simple C# program that runs hidden on back ground.. and when i hit some keys on my keyboard, the interface of the program will appear... yup, thats it.. and also, how do i disable some keys on the keyboard? and what about fullscreen applications?

Software Development
Member Avatar for Jx_Man
0
83

The End.