132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for milindchawre

how to use file operations using C like fopen,fclose,fread,fwrite,fseek,delete,modifying.

Software Development c file-system
Member Avatar for Ancient Dragon
0
303
Member Avatar for amitash

Hi, I want to change the numeric value in a cell to a string with 1000 Separator(,), e.g. numeric 1000 will to string "1,000" and 123456789 will change to string "123,456,789". How to do that in VBA? Thanks

Software Development microsoft-office visual-basic
Member Avatar for QVeen72
0
429
Member Avatar for HydroPlume

I want to make a program that saves the states of about 50 checkboxes, so that I can keep track of the states I have been in. I also want to have four different save and load buttons, so that I can keep track of the states the 3 other …

Software Development vb.net
Member Avatar for HydroPlume
0
268
Member Avatar for Majestics

I am working on a project, i am using threads over here.. I run a thread and waiting for its isAlive status to become false but my thread is not terminating... Here is the Code Sample. Thread t = new Thread(new ThreadStart(print)); t.start(); while(t.IsAlive) { } console.writeline("Thread is Dead Now"); …

Software Development
Member Avatar for Mike Askew
0
320
Member Avatar for rokokmalboro

hello forumerz .. i have some issue here about my visual studio 2008.. the problem happen when i want to change example like :: -change background picture for splash form then when i am debug the picture is still same -Also have error when is compile "Error debug target is …

Software Development vb.net visual-studio
Member Avatar for G_Waddell
0
204
Member Avatar for manishanibhwani

can anyone tell me whether we can use const variables for case ...eg I wrote the following code: const int i=2; int j=0; switch(1) { case i:printf("hii"); } now ...this snippet is running properly in turbo c but not in dev cpp... likewise if we use this const variable as …

Software Development c
Member Avatar for deceptikon
0
188
Member Avatar for DeeperShade

I cannot for the life of me see where i'm going wrong. I've got a winsock class, the SOCKET is defined in the Header, but when I try to use it in a function I get a first exception crash. It's ground me to a halt (btw, for anyone who …

Software Development c++
Member Avatar for DeeperShade
0
238
Member Avatar for ashking

After hours of searching, I still can't seem to find a solution. What I need to do is read a .mdb file into seperate listboxes. The database file has seperate tables within it, all containing a column of data in each table. If anyone could point me in the right …

Software Development vb.net
Member Avatar for ashking
0
241
Member Avatar for LuckyBec

Hey all. Does anyone know how to program a one question survey that goes something like this: -->'Question' "enter response" 0 - Disagree 1 - Neutral 3 - Agree Also a display results option that shows the number of responses and the max min and average? Any help would be …

Software Development
Member Avatar for ChrisHunter
0
114
Member Avatar for narendran_9

Hi Pythonist, I write the code in Python for search and replace the text in all XML files at current directory. But I'm unable to find and replace the text `<tex>` as empty in all XML files. Here I want to remove the text: <tex>z_{1 - \alpha }^2 \,\sigma _{{\rm …

Software Development python xml
Member Avatar for munieb
0
419
Member Avatar for Mike Askew

So me and a colleague at work are trying to decide upon a mini-project to do, simply to see how differently we would code it. Has anyone got a good resource for such ideas, or even have some themselves, that are semi-challenging and do-able in about a day? Cheers,

Software Development
Member Avatar for Mike Askew
0
114
Member Avatar for MacUsers

Greetings all, I'm trying to crate some symbolic links, provided the link doesn't already exist. To do that, this is what I've done: [icode]if not os.path.islink(dst_dir): os.symlink("src_dir", "dst_dir")[/icode] but still I'm getting [icode]OSError: [Errno 17] File exists[/icode] for an existing link. Any idea what am I missing? another question, how …

Software Development python
Member Avatar for trsarg
0
3K
Member Avatar for navachaitanya

Hi everybody i am new to vb.net programing and i am developing gym application and i need help in coding in a form i an giving the joining date of a customer and with membership duration and the thing i need is if select 30days membership then expiry date to …

Software Development vb.net
Member Avatar for Mike Askew
0
222
Member Avatar for iFrolox

Hello, i need help making a count down timer that can support at least 100 Hours, i got this code but it only supports 24 hours. Dim TimePlayer1 As Date Private Sub Button1_MouseClick(sender As Object, e As MouseEventArgs) Handles Button1.MouseClick If e.Button = Windows.Forms.MouseButtons.Left Then Select Case Me.Button1_Start.Text Case "Start" …

Software Development vb.net
Member Avatar for iFrolox
0
345
Member Avatar for Netcode

Hi All, am currently working on a biometrics application to capture the fingerprint of users. I am working with the DigitaPersonal (UareU 450) fingerprint reader. The app works fine at the moment but i need it to be more sophistciated by making it save the fingerprints in sqlserver database instead …

Software Development vb.net
Member Avatar for G_Waddell
0
265
Member Avatar for archies.gall

Hi, I want to develop a C# console application that will read one excel file and make copy of that file first. Then in the copied file i need to add one column at 2nd last position in excel and remove the 2nd column from the copied excel. The added …

Software Development
Member Avatar for geric823
0
189
Member Avatar for lianpiau

I want display username in MDIParent form after login. Who can teach me and give coding to me. Hope every expert help me.

Software Development c c# c++ display
Member Avatar for itdpn02
0
986
Member Avatar for amelia.rox

I am so lost on what to do so please help how ever you can. I must write a program to calculate the cost and time it takes to fill a swimming pool. * Inputs: Length, Width, and Depth of the pool (This is a gross simplification, since pools are …

Software Development c++
Member Avatar for WaltP
0
680
Member Avatar for 3e0jUn

How could I make the return command in Python return a list AS a list, and not as a 'programmer' list? For example, for line in list: return (line) But for some reason it only returns the first element in the list, for example: myList = ['1','2','a','b'] for line in …

Software Development python
Member Avatar for peterparker
0
255
Member Avatar for themaj

Can anyone please advise me on which version of Microsoft .NET Framework is needed for an XP SP2 (32bit) machine to run a VB.NET app developed on Microsoft Visual Basic 2010 Express? Feel a tad stupid about not checking :(

Software Development asp.net vb.net visual-basic
Member Avatar for M.Waqas Aslam
0
314
Member Avatar for reds8

I have completed the ASP.NET Web Application for my assignment. I want to burn the project into the CD so that my lecturer can open the web. How to burn the project into CD and it can works when my lecturer open it. And also how to type the file …

Software Development asp asp.net vb.net
Member Avatar for hericles
0
429
Member Avatar for Alochai

Hi, i've been looking around for help with this problem but google seems to just send a load of crap my way so its finally got to the point where i'm asking specifically for help. Here is the code; void CWebRobotDlg::OnBnClickedDologin() { void* pElem= ElemFromID(L"username", IID_IHTMLInputElement) ; IHTMLInputElement* pTextBoxUser= (IHTMLInputElement*)pElem; …

Software Development c++ html-css
Member Avatar for Alochai
0
648
Member Avatar for godzab

I have been programming in java for 1 year, but I would like to contribute to an open source program. The problem is its to compicated for me to join a open source program. Is there any recommendations you guys have for any open source projects I can join?

Software Development java open-source
Member Avatar for rotten69
0
96
Member Avatar for joejo

Need help urgently. Can anyone please help me finish up a project which i have a deadline to meet in 3 hours time. It's a camp application to input and store the records of the children from my church! I have created the GUI and I am left with the …

Software Development gui java oracle
Member Avatar for Stuugie
0
222
Member Avatar for hughesadam_87

Hi, I've been having trouble posting a code snipet tonight, I keep getting this error: The code snippet in your post is formatted incorrectly. Please use the Code button in the editor toolbar when posting whitespace-sensitive text or curly braces. My code is running fine in wingware IDE with 4 …

Software Development first-post ide python
Member Avatar for hughesadam_87
0
169
Member Avatar for Microno

I've written a program that allows you to calculate the definite integral of a function but I feel that it is limited and I want to rewrite it so that the user inputs an equation which is then stored as a string and then that string becomes the equation for …

Software Development c++
Member Avatar for Microno
0
172
Member Avatar for kindofsudden

I put together a vb.net program that does some string parsing and creates a fixed-width file at the end. When I run it on each of my 2 machines it creates a properly formatted file. When my client downloads the msi file, installs it, and runs it, he gets several …

Software Development file-system vb.net
Member Avatar for belenos46
0
222
Member Avatar for alexandra.lopez.94043

how do I clear a field? After I made transactions?

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
106
Member Avatar for hcoyle545

Hi, first of all i'm sorry I didn't include details about the problem i'm having in the title but it feels hard to explain without a wall of text & code for reference, plus the question I have to do for context. **Question** (inb4 dwight schrute) A class called 'sample' …

Software Development c++
Member Avatar for phorce
0
277
Member Avatar for shantuli

hi everyone, i am very new in java. i am having problem in SWITCH CASE STATEMENT. can anyone please help me to solve the following problem: you have to write a program in java to generate the following menu: 1: DATE 2: MONTH 3: YEAR 4: DAY if the choice …

Software Development java
Member Avatar for Raja Goswami
0
1K
Member Avatar for alexandra.lopez.94043

Public Class Form1 Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged If CheckBox1.Checked = True Then txt1.Visible = True Else txt1.Visible = False End Sub Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged If CheckBox2.Checked = True Then txt2.Visible = True Else …

Software Development vb.net
Member Avatar for Reverend Jim
0
210
Member Avatar for SagarSe7en

Hy Friends, Have to submit a small routine program. So this is how it goes: There are soaps on the shelves. One soap costs $1 and the next soap costs $1.2 until no money is left in the pocket Each soap is 20% more in price than the previous one. …

Software Development java
Member Avatar for NormR1
0
550
Member Avatar for jwalajoseph

how we load 12.0.0.0 in a python dictionary

Software Development python
Member Avatar for ryantroop
0
130
Member Avatar for superjj

Hoi At the moment I'm learing Databases. this is some code that I'm using. The question that I have is, can I insert a row without ID. I mean that the database increase the ID number itself. Thanks in advance. command = new OleDbCommand(); command.Connection = connect; command.CommandText = "INSERT …

Software Development sql
Member Avatar for superjj
0
263
Member Avatar for salohcin

i kind of need to extract data from a code.txt which continues 0100000000001000000000000000000001100010011001 0100000000001000000000000000000001000000000000 0100000000001000000000000000000000000010001001 0100000000001000000000000000000000000001001001 0100000000001000000000000000000100100011001001 0100000000001000000000000000000000000000001001 0100000000001000000000000000000010100010101001 0100000000001000000000000000000010100001101001 0100000000001000000000000000000110100011101001 0100000000001000000000000000000011000000110010 0100000000001000000000000000000011110010111101 my main idea is to extract the number of ones in from each row ,each row = pulses converted from interrupt so as to compare with the …

Software Development c file-system
Member Avatar for salohcin
0
177
Member Avatar for yup790

I am trying to make a program that displays the nth prime number. I don't get compiler errors but it doesn't display the prime number. I don't know where it stops, ive tried breakpoints but it stilll doesnt work :(. here is the code: package primenumberfinder; import java.util.Scanner; /** * …

Software Development java
Member Avatar for Taywin
0
274
Member Avatar for megdan

Im a student working on an application in c#. In the firstpage of my application a user selects an item eg 'Room1' from combobox which is databinded to a database, i want the same selected item to display in a label on another form in the application. (ie i also …

Software Development
Member Avatar for megdan
0
200
Member Avatar for BigHeart

cant save ReturnIDcount in database table . ALTER PROCEDURE [dbo].[Transaction] ( @Patient nvarchar(50), @E_TO nvarchar(50), @R_type int, @User_name nvarchar(50), @ReportType int, @Patient_no int, @Patient_ID_NO numeric(18,0), @ReturnIDcount nvarchar(50) output ) AS BEGIN declare @idcount numeric(18,0) declare @tempid numeric(18,0) set @tempid = 0; declare @idcnt numeric(18,0) select @idcnt =isnull( max(idcount),0) from Transactions …

Software Development
Member Avatar for darkagn
0
184
Member Avatar for I_m_rude

hi, Actually , I want to ask that what is the exact use of bit fields? I have searched a lot and get one thing that they are used for saving space. But, on the other hand, I read that bits are "padded" to increase the efficieny of compiler to …

Software Development c
Member Avatar for deceptikon
0
141
Member Avatar for crystalpaper

How to fix the alignment of the scrolldown? Please help.:)

Software Development
Member Avatar for ChrisHunter
0
148
Member Avatar for Majestics

I am using c# for my project, and i am working on a splash screen. Splash screen checking necessary files, problem is files are checked before showing splash screen. I want to do file checking after splashScreen interface become visible. I am using two methods //----------- Constructor --------------------------------------- splashScreen() { …

Software Development
Member Avatar for Mike Askew
0
93
Member Avatar for james.price.39501

How do I open a Form using a Combobox In C++? How do I open a Form using a combobox? If I have 3 Values such as apples, oranges and I want to open a form if the user choses apples and another form if the user choses oranges. private: …

Software Development c++
Member Avatar for Milton Neal
0
275
Member Avatar for santhini

i want to retrive data from database in datagrid while pressing the tab key. Help me to choose the event for this in VB.net 2010

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
100
Member Avatar for funnyguy1

Create a class called Invoice with the properties (Part number, Part Description, Quantity and Price). Create appropriate methods and data types. Use the class Invoice and create an array of Invoice objects (Part number, Part Description, Quantity and Price) initialized as shown below: // initialize array of invoices Invoice[] invoices …

Software Development c c# c++
Member Avatar for JasonHippy
0
2K
Member Avatar for ramel.coletana
Member Avatar for johhny-marshal
0
102
Member Avatar for chixm8_49

What does 'X' ? 'O' : 'X' mean? Thanks. :)

Software Development c
Member Avatar for Banfa
0
96
Member Avatar for crystalpaper

Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\Users\puy\AppData\Local\Temp\temp_30b1c203-656f-4baa-bcf0-1f3973082664 {7558C8AA-A85C-410E-993A-CA4CCADB14E6}.rpt: Unable to connect: incorrect log on parameters Please help me:( using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Data.Common; …

Software Development dataset session
Member Avatar for crystalpaper
0
188
Member Avatar for shanki himanshu

int a=-3,b=2,c=0,d; d=++a&&++b||++c; printf("a=%d,b=%d,c=%d,d=%d",a,b,c,d); why value of 'c' is not incremented in output?

Software Development c
Member Avatar for Banfa
0
104
Member Avatar for peterparker

0 down vote favorite I have written a code to convert decimal numbers into hexadecimal equivalent. The program prints correct value till '2559'. How to get correct values of hexadecimal for larger numbers. Here is my code: ######################################### # Decimal to Hexadecimal Conversion # ######################################### def DectoHex(n): if n <= …

Software Development python
Member Avatar for peterparker
0
1K
Member Avatar for abelingaw

I'm having a little problem regarding this log-in program. #include<stdio> #include<conio> #define p printf #define s scanf main() { char pass[20]; char user[20]; clrscr(); p("\nEnter your username: "); s("%s", user); p("\n\nEnter your password: "); s("%s", pass); if(user=="abel" && pass=="pass") p("\nW E L C O M E !!"); else p("\nINVALID INFORMATION!!"); …

Software Development c
Member Avatar for WaltP
0
149

The End.