199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for selsium

hi folks, I am getting the below error , I changed strcpy to strcpy_s but no result. I checked for the data types of arguments passed , they are same. No difference. I am using visual studio2005 .Net frame work. What may be possible solution? please help... if (n>0) { …

Member Avatar for Dave Sinkula
0
106
Member Avatar for BestJewSinceJC

[CODE=Java]URL myurl = this.getClass().getResource("/SummaryReport.rptdesign"); File file = new File(myurl.getFile()); System.out.println("Name=" + file.getAbsolutePath()); [/CODE] The above code seems to get the resource. But I guess I am going about creating a file connected to that resource wrong? Because I cannot subsequently open a FileReader connected to that file. . I am …

Member Avatar for ~s.o.s~
0
134
Member Avatar for buchanan23

I am trying to set up 4 buttons that will move through my array in the GUI. I am entering 2 items and telling the GUI to spit out the 2nd record. If I can just figure out how to get the "First" button to work, I think I can …

Member Avatar for buchanan23
0
2K
Member Avatar for pfdesign

Hello I'm obviously new here and I need help. I've been searching all day for a certain problem and couldn't really find a solution. I'm practically a beginner in web developing and so I want to know how to generate a new url, if that makes sense. Like if I …

Member Avatar for sknake
0
99
Member Avatar for josi.martarelli

Hello, I'm wondering if there is a way to retrieve the identity value from an identity column before saving a new register. When I run this query: "[CODE]SELECT IDENT_CURRENT ('alpa_Animais') AS AnimalID[/CODE]" directly using the SQL Server Management Studio I get this value. Does anyone know if there is a …

Member Avatar for sknake
0
194
Member Avatar for xuexue

how could i run my php code using joomla? i've tried it embedding in the articles and it runs, however, i have buttons in my page and it executes a certain command, now what i want to do is that i have my separate php program and it is just …

Member Avatar for kvprajapati
0
93
Member Avatar for Dajer

hi friends i have a problem.these are some components that i have in my project: form1:datagridview1(dg1) , form2:datagridview2(dg2) when i clicked on cell on dg1, form2 will be opened.now i have to double clicked on the cell of dg2 to send its data to dg1 on form1(then form2 will be …

Member Avatar for lighthead
0
458
Member Avatar for innocent.boys

I m trying to do pagination on array in which i m collecting Data..!!! as i can't use dynamic limit function at stored procedure...!! and without limit pagination cant be possible..!! so i thought to collect data in a array and put pagination on it....!!! hope anyone will help me..!! …

Member Avatar for kvprajapati
0
297
Member Avatar for agent154

OK, so I'd like to play around a bit with learning how to initialize and use microsoft SQL server compact, but I have no idea where to look for the material. I did a quick search for database howtos, but I only found stuff with what seemed to be advanced …

Member Avatar for serkan sendur
0
139
Member Avatar for azjherben

Shouldn't this code work? (select()) Well, this is basically a proxy. It takes things from a program that is running on port 15777 and the puts it out to host on port 15776, but sence I added the select() witch is needed. It hasn't been working right. Any help? [code] …

Member Avatar for azjherben
0
172
Member Avatar for xfreebornx

Show for session: 1. 2pm- 4pm 2. 8pm- 10pm 1 -------------------------------------------------------------------------------------------------- Enter number of adult customers 2 Enter number of child customers 1 The receipt for the purchase is: Adult 2 20.00 Children 1 5.00 TOTAL 25.00 Press Y to continue Y --------------------------------------------------------------------------------------------------- Enter number of adult customers 2 Enter …

Member Avatar for Ancient Dragon
0
117
Member Avatar for arajapandi

Hi , I installed apache,php, mysql ( [url]https://help.ubuntu.com/community/ApacheMySQLPHP[/url] ) After installing when i submit the form i can't get the form values. all values r empty. plz help me to resolve this problem?

Member Avatar for arajapandi
0
154
Member Avatar for 9868

Here is a code: [CODE] #include<stdio.h> #include<string.h> int main(void) { char *s1="hello"; char *s2="world"; char *s3; s3=strcat(s1,s2); printf("%s",s3); } [/CODE] What does strcat returns? Why does this code results in run time error? And one more question : Are "hello" and "world" terminated with '\0' in case of char pointers? …

Member Avatar for Ancient Dragon
0
78
Member Avatar for charliesindex

Hi, I am quite new to web development. I wrote this script to display current weather it works fine locally. But not able to run on my web server - I get "Access Denied error". Can anyone help? or suggest a better way to get yahoo weather on my web …

Member Avatar for essential
0
140
Member Avatar for Darkangelchick

Hi im writing a program that returns whether an inputted number is prime or not, but Im kind of stuck... [CODE]import math def listfactors(n): # defining the function l = [] for i in range (1, int(math.sqrt(n))+1): if float(n)/float(i) == int(float(n)/float(i)): l.append(i) l.append(n/i) return l primeNum = int(raw_input("Enter number here:")) …

Member Avatar for Progressivism
0
145
Member Avatar for thirumca

hi, I have some mathematics symbols like as square root,sigma,square and some equation symbols. So i am copy this symbols from word file, but i am not able to paste these symbols into F CK Editor. So please give any solution to paste the math symbols into F CK editor. …

Member Avatar for thirumca
0
102
Member Avatar for laghaterohan

hello, i am having a datagrid n a checkbox colmn in it.. I get the data in datagrid from the database ...after that when i check specific checkbox those row should be deleted from the datagrid / database ....i was writing the code for the same but am confused as …

Member Avatar for laghaterohan
0
347
Member Avatar for risa

hi,,, i am getting memory leaks in my application when i use winhttp functions like WinHttpGetIEProxyConfigForCurrentUser(),WinHttpOpen(),,,,and many others,,,,,how to deal with it???

Member Avatar for Salem
0
495
Member Avatar for wingers1290

Hi, Does anyone no if it is possible to remove controls like a textbox during runtime?

Member Avatar for ddanbe
0
159
Member Avatar for wingers1290

Help I need a quicker way to do this, its a combobox that assigns a number to whatevers selected and it takes up to much room and looks messy. [code] private void comboBox19_SelectedIndexChanged(object sender, EventArgs e) { if (comboBox19.Items[comboBox19.SelectedIndex].ToString() == "Clear Float") { glassType10 = 200; } else if (comboBox19.Items[comboBox19.SelectedIndex].ToString() …

Member Avatar for wingers1290
0
102
Member Avatar for SoulMazer

Hi, I am writing a script that aims to help a person keep a list of characters while reading a book. In doing this, I am writing to a file and checking it constantly, except I ran into a problem. Say I executed a code block such as the following: …

Member Avatar for SoulMazer
0
1K
Member Avatar for memegha123

hi! I m writing a jsp where i want the page content to change when the selected option from a combo changes...how do i execute the method that determines the code which will fetch that data....i guess i'' have to go with javascript but i dont think a java script …

Member Avatar for javaAddict
0
4K
Member Avatar for redear

help me on how access employee.mdb thru Data Combo and the data will display in txtbox...example in Data Combo will only display employee number and if i press employee number in Data Combo, the name, designation, address will display in textbox..how to code this? can you give me the module …

Member Avatar for redear
0
77
Member Avatar for gingank

Hi guys i have a question need to ask. I create an application for filling up information. After filling if he want to update when press update and fill up active = from yes to No then it will remove the table 1 to table 2 by using the sql …

Member Avatar for vb5prgrmr
0
124
Member Avatar for Petrock6

Hello. I'm a bit confused, and I don't know QUITE how to explain it, however I'll try my best! Anyway, say I wanted to code a API, that would grab a list from ANOTHER program. For example, if I had a small chatting program, and there was a list of …

Member Avatar for vb5prgrmr
0
96
Member Avatar for brieghz23
Member Avatar for sweetsasthi

Hai, I am a final year B.E Computer Science student.As I have to start my project now,I need your help to suggest me some topics which would add me more marks and valuable to use my knowledge to the best.I know java and .Net. Please help me out with some …

Member Avatar for sweetsasthi
0
377
Member Avatar for siu17

I have been trying the following code for a code to search for a record and display it in a textbox Option Explicit Dim conn As ADODB.Connection, rec1 As ADODB.Recordset Dim esql1 As String Private Sub Form_Load() Set conn = New ADODB.Connection Set rec1 = New ADODB.Recordset conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data …

Member Avatar for vb5prgrmr
0
144
Member Avatar for gingank

Hi guys can you all help me with this. I need to sure will the this idea can be make in vb6. I have a update command button. When click then type the badge id , it will automatic get the data and show the employee name then the rest …

Member Avatar for 9884616532
0
304
Member Avatar for siu17

hi i have been able to update a database using the following code Option Explicit Dim conn As ADODB.Connection, rec1 As ADODB.Recordset Dim esql1 As String Private Sub Command1_Click() On Error GoTo 2 If Text1 = "" Then Command1.Visible = False Command2.Visible = True Exit Sub End If rec1.AddNew rec1.Fields(1) …

Member Avatar for vb5prgrmr
0
97
Member Avatar for zeusofolus

Hello All, I am fairly new to PHP ... I am trying to build a basic order form for a small wholesale database and am completely stuck. The function of this page is display items and their price from the database along with an input box that will allow the …

Member Avatar for zeusofolus
0
753
Member Avatar for new_divine

i'm a bachelor student doinmg b.e in computer and as my project i've decided to make an banking application using wx widget and i'm really frustrated tring to figure it out .Being new to it i need some help

Member Avatar for Stefano Mtangoo
0
334
Member Avatar for amarucla

Hi All, I'm working on a GUI project that involves continuously reading data (which is a waveform - like a simple sinusoid) from a file (which gets periodically updated), and displaying it as a pixel-based image. I was able to follow some tutorials online and install Allegro and successfully plot …

Member Avatar for Stefano Mtangoo
0
926
Member Avatar for Shaitan00

Currently I have an application (A.exe) which determines when things need to be done, when such a time arises it launches another application (B.exe) with the appropriate parameters to do the actual work required, some of which could be administrative work (installing MSI, editing registry, etc...). This all works perfectly …

Member Avatar for Ancient Dragon
0
265
Member Avatar for Stefano Mtangoo

I have two classes, one inheriting wx.Frame and othe is wx.Dialog. I use the dialog to collect some info and I call its object in the wx.Frame class. The problem is, the dialog should return the value of its TextCtrl values and I have no Idea how to do it …

Member Avatar for Stefano Mtangoo
0
69
Member Avatar for wingers1290

Hi, Does anybody know how I can create a bunch of textboxes and buttons without having to write each one individually e.g [code] Button button1 = new Button; button1.Location = new Point(1,20); this.Controls.Add(button1); [/code] And then having to go onto the next one e.g button2. Please help

Member Avatar for wingers1290
0
86
Member Avatar for wingers1290

Hi, I am creating a program on behalf of my business and have become stuck in one particular matter. I am fairly new to C#. The application consists of the user entering data into a mixture of comboBoxes and textboxes, after the user has entered the data he clicks the …

Member Avatar for wingers1290
0
2K
Member Avatar for chuffman

Hello, What I am trying to do is show or hide a div when a user clicks the link, but I have multiple divs that belong in the same place so when the user clicks a link it needs to hide the current div, if there is one, and then …

Member Avatar for chuffman
0
109
Member Avatar for agent154

OK, so I'm somewhat experienced in Java, and am learning C#. I'm currently on the topic of Inheritance and Polymorphism. What I read is that if a base class has a method that is marked as virtual, then the inheriting class has the choice to override that method if it …

Member Avatar for agent154
0
359
Member Avatar for Arrorn

How do I run a .py file from another python file.... I want a program depending upon the option you choose to run a different python program... Ho do i do this... I have tried: [CODE=python] import os if os.path.isfile('file.py'): exec(open('file.py').read) [/CODE] and it requires everything to be global.... only …

Member Avatar for Arrorn
0
109
Member Avatar for NickMalone85

I've developed an Application for work that allows employee's to request vacation time off. I developed the application on a computer that had the .NET 3.5 Framework. I didn't realize until after I published the application that many of the computers do not have .Net 2.0. I fixed that problem …

Member Avatar for serkan sendur
0
80
Member Avatar for flipjoebanana

I can't get the menu or status bar to show up when executing the following program: [code=python] import wx ID_ABOUT=101 ID_EXIT=110 class MainWindow(wx.Frame): def __init__(self, parent,id,title): wx.Frame.__init__(self,parent,wx.ID_ANY,title,size=(200,100)) self.control = wx.TextCtrl(self, 1, style=wx.TE_MULTILINE) self.CreateStatusBar() #A Statusbar in the bottom of the window #Setting up the menu. filemenu = wx.Menu() filemenu.Append(ID_ABOUT,"&About"," Information …

Member Avatar for Stefano Mtangoo
0
153
Member Avatar for sravan953

Hey guys, I wanted to make a program which keeps asking you questions, and continues on and on based on your answers... So basically, I wanted to know whether the user has typed 'why' in the first input, so I tried: [CODE]s=raw_input("Are you feeling bored?\n") s1=[s] a=0 for x in …

Member Avatar for zachabesh
0
96
Member Avatar for Dan08

I'm doing a program on Windows Vista, and what I'd like to do is a program that has got a main window, and has got another window that control the main one, like Microsoft Access. Can anyone help me out how to do it if possible. Thanks Dan08.

Member Avatar for Stefano Mtangoo
0
109
Member Avatar for Morika

Hi, Again I'm a newbie, going through how to think like a computer scientist online tutorial. I have 2 questions in the next lesson that I can't seem to crack, in relation to sub strings. Here's the questions and my working below: This one I can remove letters but I …

Member Avatar for woooee
0
106
Member Avatar for osmano807

Hello, I would like to know how to create a symlink in Windows, Linux is easy, just use [icode]symlink()[/icode], but Windows is complicated! Someone has managed this before?

Member Avatar for osmano807
0
81
Member Avatar for Alva1

Hey, i was trying to make a multiplication word problem type thing and when hit debug it always says what my title is. Here's my code. [code] #include <iostream> void main(); { // Declare Variables!!! char name[15]; short quantity; float amount; float totalSale; cout << "Enter Customer's Name: "; cin.getline(name,15); …

Member Avatar for Alva1
0
178
Member Avatar for wotthe2000

Hi I am wondering how to write a list to an html file from scratch. I am currently writing it to a file using: [icode] def wpubooks(self): for i in booklist: s=str(booklist) f=open('/booklist', 'a') f.write(i + '\n') [/icode] Is there a way I can change that code so that it …

Member Avatar for zachabesh
0
142
Member Avatar for KirkPatrick

Alright I am having my program read two text files (in csv format) and once it reads them, I am wanting it to do a check to see if two columns match, if they do I want it to write it to a new file. I have coded it, but …

Member Avatar for BestJewSinceJC
0
718
Member Avatar for jayrodau

I am looking for a xml creator/editor with treeview using Tkinter. I want to be able to load and save changes. Any help would be greatly appreciated or snippets. Thanks!

Member Avatar for vegaseat
0
1K

The End.