199,114 Archived Topics
Remove Filter ![]() | |
i was trying out some java gui's and when I tried the Panel nothing seems to come out. The frame does! but no panel. i was wondering it could be the JDK was old my version out home is jdk1.0.5 something like that. or my code was old school. The … | |
Just wondering if it is possible to register an Access database as a date source using code in a java program rather than going to Windows to register the data source with the database manager. How would this be done? If anyone could point me in the right direction I … | |
![]() | bottom here is my asp coding, for connecting to mssql2005 i know how to connect to mssql by vb using the com+. but i want to try using the database connection on asp page. [code] <%@ LANGUAGE="VBScript" %> <% Option Explicit Dim UID, SQLStmt, Connection, FirstName, LastName Dim RS, SSN, … ![]() |
Hi I am a new user of VB (or any prgramming for that matter) and keen to learn. A very simple example of what I was looking for was the code for a button to open another form. Does anyone know where I can access simple event proceedure codes - … | |
Hi guys, i have a problem in vb6 . lets say i have a command button named print in form1 then after clicking the print button it will transfer me to form2 which will control the number of copies,quantity and these things of printing options. The problem is how to … | |
hi, im kindof new to these things.iv just learnt a little python and am looking to learning something about parsing XML from APIs etc. could anyone give me a few pointers. also any advice as to what should i learn from now on would be very much appreciated(could you please … | |
I have some code that I need help with. The code compiles but I get a runtime error. Here is the error and the code: ERROR: Exception in thread "main" java.lang.Error: Do not use MessageLog.setLayout() us e MessageLog.getContentPane().setLayout() instead at javax.swing.JFrame.createRootPaneException(JFrame.java:465) at javax.swing.JFrame.setLayout(JFrame.java:531) at MessageLog.<init>(MessageLog.java:23) at MessageLog.main(MessageLog.java:90) Press any key … | |
Hi, I have been using the windows API for some time now and feel quite comfortable with it. I know for larger projects MFC is a better choice over the raw API. I've been google searching for some good tutorials on MFC but haven't really found any good ones like … | |
Hi there, I am wondering does anyone have any idea how to execute PHP scripts (a maintenance script in my case) in the background. The reason for this is because I don't want visitors to be slowed down by the maintenance execution, so having it run as a separate process … | |
Hi all, I'm a newbie in C..Right now, I have to write a code to read a text file and then insert all the info inside that text file into database. Should anyone have a simple sample of it, maybe you can share with me in order for me to … | |
Hello, The title pretty much describes the problem I'm having. Right now, I've got a <table> with two <tbody>s in it; the first one is visible (display:inline) and the second one is invisible (display:none). The first one contains a button, the second one several form fields. Pressing the button hides … | |
[code]#include<stdio.h> #include<stdlib.h> #define MAX 30 int menu(){ int choice; printf("1. Add a new reservation\n"); printf("2. Show details of a reservation (given reservation number)\n"); printf("3. Make Payment (given the reservation number and payment amount)\n"); printf("4. Confirm a Reservation (given the reservation number)\n"); printf("5. Quit\n"); printf("Enter your choice: "); scanf("%d", &choice); return(choice); … | |
cannot passmeter cname when wunit data is "Sales & Hrd". can anyone help me out??? appreciate it. <a href="chemicallist.asp?comid=<%=rs.Fields("comid")%>&wid=<%=rs.Fields("wid")%>&warea=<%=rs.Fields("warea")%>&wunit=<%=rs.Fields("wunit")%>&cname=<%=cname%>">Chemical list</a> | |
Hi everyone, I have a rather confusing question but please bear with me for a while. You see i am trying to upload a file to a certain website called [url]http://www.doubleZ.com[/url]. I am using java's HttpUrlConnection class. Connecting to the website is okay and i am also getting its outputstream … | |
i have made a database application in c# which is using SQL Server 2000.Now i want to send my application setup to client.i want to make a setup that not only install my application but also MSDE to the client machine.can anybody tell me how will i make a setup. | |
Hey all i'm stuck in my little project. My plan is to build a application that can interact with a q3-engine game, nothing fancy, i just want to be able to read and send to the game console. magically i managed to actaully create a .exe that does this.. (alltho … | |
Ask a problem,About CEdit control i write code..... <<<<<<<<<Static Dll>>>>>>>> ****************CmEdit.h********** [code] class AFX_NOVTABLE CmEdit : public CEdit { public: __declspec(dllexport) CString CmGetDlgItem(int nID); };[/code] ***************CmEdit.Cpp********** [code] CString CmEdit::CmGetDlgItem(int nID) { CString Str; GetDlgItem(nID)->GetWindowTextW(Str); return Str; }[/code] <<<<<<<<<<<<Static Exe>>>>>>>>>>>>> [code] #pragma comment(lib,"Dll.lib") #include "CmEdit.h" void SocialSecurityData::OnBnClickedOk() { CmEdit d; CString … | |
[code]#include<stdio.h> #define size 21 #define max 10 typedef struct id { int idnum,q1,q2,q3; char fn[size]; char ln[size]; char mi[2]; float ave; }id; id l[max]; id a; int menu() { int i,s=0; while(s<1 || s>4) { clrscr(); gotoxy(5,5); printf("MENU"); gotoxy(5,7); printf("1. insert"); gotoxy(5,9); printf("2. delete"); gotoxy(5,11); printf("3. display"); gotoxy(5,13); printf("4. exit"); … | |
hi its me again... can someone please explain what a class can do? how to call a class? or if just give me a good link where i can refer to it. thanks a lot. | |
Hi all, I've just joined this forum and was wondering if you give me a recommendation for a programming language? I've created an application using a scripting language within a filemaker database. I'm keen to explore it's migration to a more versitile / powerful language. My app is based around … | |
Hey guyz I got this search macro from the web for my excel project but as Iam a beginner i really dont know how to modify it. I need to use this search code to identify and retrieve documents for that its going to scan through a especified location. I … | |
This program is supposed to make two passes through a file; the first pass counts the number of elements inside the file to get the total size; the second pass will fill the array and sort it. The problem i'm having is that on the second pass, the array is … | |
[B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]/home/content/r/a/e/raeyshe/html/fanlisting/admin.php[/B] on line [B]21[/B] [B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]/home/content/r/a/e/raeyshe/html/fanlisting/admin.php[/B] on line [B]26[/B] [code]<? if ((!$_POST['action'] && !$_GET['action']) || $_GET['action'] == "login") { // get total member count $querycount="SELECT id FROM … | |
Hi all, I'm pretty new to Perl and already I'm finding myself lost. I have created a form for my website that allows users to enter news articles (a textarea) and then my code saves the text entered ($Text) to the database. I have set the Text to longtext through … | |
My friend just gave me a c++ problem.. well the problem was to make small circles on circumfrence of a big circle that is positioned in the middle of screen... well i can get that middle of screen by getmaxx()/2 ... but all i can get to find locus of … | |
Hi is it possible to hide Delphi's splash screen at the beginning, Delphi 7? I tried "delphi32.exe -ns" but doesn't work, is there a new switch for this? Does anybody have a list of switch commands for delphi32.exe command line execution? Thank you Burek | |
I am using asp and ms access in iis, server. my problem is when i am testing it in my pc it working fine but when i upload the page in server it is not working. [asp] <% Dim adoCon Dim rsAddComments Dim strSQL adoCon = Server.CreateObject("ADODB.Connection")adoCon.Open "DRIVER={Microsoft Access Driver … | |
Hi all.. I have built a knowledge base, in html.. would just like to know how I can search for an answer using a search form, that I can have on the home page to find answers on the other html web pages., and just open that web page with … | |
Hey I am not that well versed in C++ and just recently switched my microsoft visual program from 6.0 to the 2005 version (computer switch.) I saved all my programs and converted them over to the new program however it keeps saying LINK : warning LNK4076: invalid incremental status file … | |
Hi all, I was wondering if there is a way of getting the list of functions inside a class in PHP4. This would be similar to the ReflectionClass in php5. Say for example I have: [PHP]class testclass { function func1() { echo 'I am func1'; } function func2() { echo … | |
[COLOR=#0033cc]Dear all[/COLOR] [COLOR=#0033cc][/COLOR] [COLOR=#0033cc]I have the following problem. I am trying to communicate with mysql through php but unsuccesfully. In the following script when i misspell the password it gives me the error message. but while it does not create the database it does not return any message. It seems … | |
This is a input file DEL 0050 XYZ 0050 0310 CCU 0710 MAA 1325 TRZ 10415 KWI 0050 FJR 0325 0325 CCJ KWI 0050 FJR 0325 0425 CCJ 0925 1005 i.e maximum items(column entries) in a row can be 8 but their data type will be in same order i.e … | |
Hi, A newbie to vb.net and I am trying to learn this datagrid. Here are my questions: 1. How can I populate a datagrid with selected column of a table without using a query. 2. How can I put a variable column width 3. Can someone show me a code … | |
I have created an Excel file through Cognos Reportnet SDK. This Excel file has a reference to another htmlfile which has the data. So when I open the Excel File, I get this message: Some of the files in this web page aren't in the expected location. DO you want … | |
hi! this is my input file by name SC.txt CD 737 123457 AM 320 246 XY 543 357 AR 222 2 TY 212 1357 now i want to read this file and compare the last column entires with a user entered number. i.e user enters a no. for example 2 … | |
send me a program to remove unnecesary space from a string in turbo c++ | |
Hi everyone, While reading an VB.Net book I came across with a question that says: "Develop an application that runs office appointment schedule" What key features should the proposed system contain? I mean what and what things should the system full fill to fully help the office workers? Thanks | |
i want to display some data in a grid but this is the error i get. withEvents variable 'DataGrid1' implicitly defines '_DataGrid1', which conflicts with a member of the same name in class 'mastersearch'. i tried renaming the variables but that does not help because it EITHER doesnt bind the … | |
dear all, i am new to vc++.please tell me how to control serial communication using vc++ in windows environment. thanks savyasachi | |
Hi i also have the same problem: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/digital/up51/libs/dblib.inc on line 356 here is the script: **=======================================================================// // Get Members based on their individual loans // Files which uses this function: form_collections.php //========================================================================*/ function getMembers($loan_type_ID,$loan_accnt_ID) { global $link; $new_temp … | |
I am looking for someone that can help me online for an hour or so maybe a few times for the next few weeks that can help me understand what I am supposed to do for my class programs. I am not looking for someone to do them for me … | |
I've been teaching myself C++ for the last two weeks. One of the things that was difficult for me to find on google was using the left click on a certain coordinate on the screen. The goal is to eventually be able to recognize images on the screen and alter … | |
I'm trying to list some data gathered from files into a JTable - here's the code I'm using: [code] /* Packages listed in a JTable */ Object[] columnNames = {"Package", "Version", "Installed"}; int packageCount = getPackageCount(); Object[][] data = new Object[packageCount][2]; Scanner dbIndex = new Scanner(new File("/opt/npkg/dbindex.npkg")); int row = … | |
Hello, I am a beginner at C++ and need some help with arrays.. - I need to create a function that returns a random number from a sequence of 4 #s. - Then I have to loop it 1000x and print the frequency of those 4 #s. So far I … | |
greetings i'm currently working on my Form in VB6. it has a list box that i use to display table. How do i display table from a different database? i did it before by modifying row source property in VBA, but that only works if the form is part of … | |
I need help with this problem. I have tried writting the program, i just can not get it to run properly. Please Write a function qualityPoints that inputs a student's average and returns 4 if a student's average is 90 - 100, 3 if the average is 80 - 89, … | |
Hello All, This post is releated to the help provided to heatherc3 (Suggestions for perl resources? Dealing with csv data.) Posted May 18th 2006 04:01 PM, and I could use the solutions posted there, if I could get to that as a starting point. I want to work on a … | |
Can someone tell me what is wrong with this code? I cannot find an error, but yet the compiler crashes everytime I execute it. Convert.h [code]/*Dec to Bin and Hex to Dec*/ /* Example */ /* Convert.h */ /*Define the class*/ class Convert { public: Convert();/*Constructor: default parameters*/ void DecToBin(int); … | |
hello , is anybody here who help me in foxpro. for following requirement every week i get a table of some databse from server and i have to modify the structure of that file every time to use that file in some other application ,so i want to make a … | |
does anybody know how can i find my local ip address ? should i use getsockname() or is bind() is enough to give my ip, port and family? Alaa G |
The End.