199,114 Archived Topics
Remove Filter ![]() | |
can someone suggest me ho to get good compiler that can work efficiently ? what about gnu/gcc? | |
Hi. Pls copy paste this to your form module. [code] Option Base 1 Private Sub Command1_Click() Dim mArray(15) As Integer For x = LBound(mArray) To UBound(mArray) Print Format(x, "!@@@@@@"); Next x Print For x = LBound(mArray) To UBound(mArray) Print Format(x * 2, "!@@@@@@"); Next x End Sub [/code] There's a … | |
Is there a VB function to allow you to construct counters using different number systems ie base 3, base 4, base 5, 6, 7 etc ? I haven't used VB for a while and I'm getting a headache trying to think how to get started on this, I just need … | |
I am trying to code frogger (yes still) and For the highscore... when the user first runs the application there is no text file for the highscores. How would I go about making it? or an If statement like: In PsuedoCode: If File Does not Exist Then Create HighScore.txt Else … | |
How do I pass data in string from a form to another? i'm trying to pass the option selected on my list box from one from to another to be displayed in a text box. how do i do that? thank you | |
i m new in VB just self-learning.. if i wanna build a menu.. however, somewhere is highlight and seems wrong.. please help.. [U][I][B]ck_chick.Value = 0[/B][/I][/U] <--- is it wrong? [code] Option Explicit Private Sub Form_Load() Print "1" End Sub Private Sub Command1_Click(Index As Integer) Dim food1, food2, food3, food4 Dim … | |
hello everyboby do you know how am i going to make an mp3 player menu in visual basic? | |
hi! i am trying to add new features on a third-party webmin module vsftpd.i want to add radio buttons that enables/disables textboxes and i think i have to do this using javascript but i couldn't embed the javascript code into perl, how can i do this please help me!! | |
The function below is sending audio that has been converted into bytes and then placed into a byte array, after which it is placed in the DataoutputStream and sent to a servlet. My question is How do I make a servlet that will receive this data and then turn it … | |
I need you to help with this.... I always get confused when a program that appears simple takes me long time to finish, and i always think that i am not up to the task... i always think that a good programmer is not suppose to take that much time … | |
Hi all I had made a post a bit ago and had a few responces, they all really helped and I got past that part so wanted to just finish up and needed a bit more assistance so far I have everything i need outputing to the window with cout<< … | |
Why both of the next examples are the same? Ex1 : int*(*foo)() = Function; Ex2: int*(*foo)() = &Function; Notice: In the second example i'm using & operator. That means that c++ takes function name as an address of it and this () dereferencing it just like in arrays? | |
I was wondering if you could help me out. I have a list box that has seltext and every time i want to select another item in the list it adds on. for example i select "/hello" then it appears as "/hello" but then i select something else it will … | |
hey guyz... im trying to convert this formula into java code, im just having difficulty understanding it... ok it goes like this: Given loan amount (denoted by a), monthly interest rate as a decimal number (denoted by r). and monthly payment (denoted by p), the loan duration (in months) can … | |
I need to load an image in my program, but I keep getting this error: [code=java] C:\Documents and Settings\Remy B\Desktop\programming\Java\Java Projects\NurseGUI\GraphPanel.java:30: cannot resolve symbol symbol : variable danger location: class GraphPanel danger = getImage(getDocumentBase(), "danger.jpg"); [/code] I'm assuming this is because you can only use getDocumentBase with applets? I googled, … | |
hi, Is it possible to run a gedit command in the terminal that will create a text file automatically and save it in my desired file extension? For example, if I run: gedit file.txt by default, it will open a null document named file.txt. But all I want is to … | |
Just now i burnt my .vbp on to disc from my computer so i could put it on this one Everything works fine and is correct size but when i put it on this computer.. everything is different sized. like its stretched? i even made the .exe on my computer. … | |
I need to write program with five different functins. Teacher wants to input the names and exam marks for her students. She wants to determine symbol (A-F) she should assign to each. She wants to display the symbol as well as an appropriate message. Finally she would like to display … | |
I have this function that depending on the value passed will do what ever. [CODE] function menu(n){ switch(n) { case 0: document.getElementById('sub2').style.display = 'none'; document.getElementById('sub3').style.display = 'inline'; menu1(); break; case 1: document.getElementById('sub3').style.display = 'none'; document.getElementById('sub2').style.display = 'inline'; menu2(); break; } }[/CODE] I also have an Image that when clicked will … | |
hi...i want to use the preg match function to verify a string that should have the format format of a year - two digits - two letters - two digits, like this: [in]2005-03-IT-031[/in] thanks | |
im making a game in delhi n its a hangman game n it all works but my letters dont appear in place of my question marks. can anyone look at my code for n see wat is wrong wit. ps i have the code behind each letter for the alphabet. … | |
Hi there, I'm a first time poster and first year C programming student. I am a little stuck on the following question: ----------------------------------------------------------------------------- "Conway's life is a special kind of game. It isn't really a game - just a spectator sport. It is played on a chess board, where each … | |
Hi Everyone, Good day to you all. I am solving a problem : to Generate a Random Network. I hv divided the problem into two parts. First generate a Graph, then from the graph from a network. Here the code generates a random graph. User Gives n ->no. of nodes … | |
I know the HTMl and CSS isn't right yet and am not to fussed yet. But the ASP is returning a 405 resource unavilible. My hosting is with 1&1 and it is turned on. booking form is [URL=http://www.chabrisloirevalley.com/booking.htm]here[/URL] ASP source code is: <% @LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <html> <head> <title></title> <meta http-equiv="Content-Type" … | |
how can i RUn.. vmware if when i;m installing it,.. it says that: please run this program as super-user.. Execution aborted... :( plese help me...:( | |
[code=c++] void CMod7aView::OnPaint() { CClientDC dc(this); if(hBmp!=NULL) { CBitmap bmp; bmp.Attach(hBmp); CDC bmDC; bmDC.CreateCompatibleDC(&dc); CBitmap *pOldbmp = bmDC.SelectObject(&bmp); BITMAP bi; bmp.GetBitmap(&bi); dc.BitBlt(0,0,bi.bmWidth,bi.bmHeight,&bmDC,0,0,SRCCOPY); bmDC.SelectObject(pOldbmp); } [/code] how do you make your image persistant? everytime iload a bitmap after I move the main window the image disappears. pls help me. | |
First of all, hello! I've been reading the forums for quite a while now, but this time I need real help. To summarize things: I'm building a parser which has to consolidate data based on variables contained in an array. The source file contains a set of tab-separated-values, and those … | |
[COLOR=#000000]Hi Code gurus!!...my first post in this forums and I m new to shell scripting too!...I need a shell script to accomplish the below, any input will be greatly appreciated..[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]Below is a sample content of a text file, [B]file1.txt[/B][/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]AMPS,2324,Subscriber,Unknown,SingleDay,20070413,20070413,[/COLOR] … | |
Our assignment is to write a program that calculates the volume of three geometric shapes, the program should ask for a shape and the three shapes we are to use is a dumbell, axle, spear. And he gives us the formulas for volume and how to find it. I know … ![]() | |
Hi! I hope you could help me with this one. I simplified the code of my program to its basic problem, and the problem is that I do not seem to understand why this program does not release its memory. I check it at the moments of the [inlinecode]getline[/inlinecode]'s, using … | |
I've about given up on my previous problem. I [I]was[/I] beginning to think it'll be easier to do simply by dropping the user, then recreating it with the appropriate privileges next time around. Only, when I tried (as the superuser, no less) to drop the problem user, I got the … | |
Hello. I have a problem when adding the javascript delete confirmation. I use a page for both delete and update function. The delete querystring is just like this : `adm_data.asp?act=del&id=6` And the update goes this way : `adm_data.asp?act=upd&id=6` I use this following code to processing delete: If Request("act")="del" Then Call … | |
[code] var ie4 = (document.all) ? true : false; var ns4 = (document.layers) ? true : false; var ns6 = (document.getElementById && !document.all) ? true : false; function openDesc(text) { if (ie4) { document.all["Description"].style.visibility = "visible"; document.all["TitleClose"].style.visibility = "visible"; } if (ns4) { document.layers["Description"].visibility = "show"; document.layers["TitleClose"].visibility = "show"; } … | |
Hi, My program is something like this: [code] java.util.Vector v1991=new java.util.Vector(30); int f1=1; int f2=10; v1991=mb1.Sel(f1,f2); [/code] // Here,mb1 is the bean and sel is the function where I select the // records between employee number f1 and f2 [code] if(request.getParameter("submitxyz")!=null) { f1=f1+10; f2=f2+10; v1991=mb1.Sel(f1,f2); } [/code] // submit xyz … | |
hi, what is the difference between a library function and a system call | |
Hi, I think I have already posted this,but may be in some other forum. I need to post this in JSP forum. Here,all I need is a replacement of goto statement.I want to check for a condition,and if that condition is true,I want the compilet to goto if() statement and … | |
Hi there, I am very new to .net and I am starting to learn things. Can somebody share me a working code that will put the schema/structure of a table into a combobox. Pls. consider the ff: 1. file is mdbdata.mdb table is mdbtable combo is combobox 2. file is … | |
I am using that but I only get some strange words :( I get my coordinates from x and y array..... what is the problem??? [code] for(a=1;a<i;a++){ yyy=(y[a-1]- y[a]); xxx=(x[a-1]- x[a]); slope[a-1]=yyy/xxx;} yyy=(y[i-1]- y[0]); xxx=(x[i-1]- x[0]); slope[i-1]=yyy/xxx; for(b=1;b<i;b++){ yyy=(slope[b-1]+slope[b]); xxx=(1-slope[b-1]*slope[b]); angle=yyy/xxx; res=acos(angle) * (180/3.14); printf("%d. Angle %f\n",b,res);} yyy=(slope[i-1]+slope[0]); xxx=(1-slope[i-1]*slope[0]); lastangle=yyy/xxx; … | |
Hey everyone. I have some work I have to get done for work and it involves ASP, .NET, SQL, and C# being developed on MS Visual Studio 2003. I was wondering if anyone had any resources out there for VS 2003? Mostly everything I find is for 2005 and we … | |
First, forgive me if my english is not up to par, I do not live in a country where English is a national language. My inquiry today is an attempt to find a pre-existing program that can perform a rathar menial task laid out before me. Writing it would probably … | |
One of the questions for my study guide asks to write a function that prompts the user to enter 3 integers, then "return" the integers via it's parameters through call by reference. Does this just imply using pointers as arguments, then when the values are changed in the function they … | |
I am working with ASP.NET, C# and SQL Server. What I am trying to do seems simple enough, but is causing me alot of problems. I am trying to set up my DataGrid so that is updates only when i press the Update button. It is pulling information from 5 … | |
Hi there, I have a class that returns a value based on a calculation with in the class 2 of the variables are called from a database, which is working however when I try to output the result on a jsp page ie. calling the property 'rating' I am told … | |
Hi. I have a JSP page and I'm having trouble with some parameters... The page has a form containing a listbox, something like... [code]<select name="listnames" MULTIPLE>[/code] Files are browsed for with a <input type=file> object, when this is changed (onChange) the value is added to the listbox. When the form … | |
Hi, I need help on the following desperately I need to write a macro to send out 2 types of email via excel 2000 for those (DEPENDING ON their Action_Item_Status 1)action items with Action_Item_Status='Overdue', (over due email) 1)action items with Action_Item_Status='Due Soon', (reminder email) Action_Status_As_Of_Today can have these values:-Done,Overdue,Due Soon,Not … | |
Hey! I came up with the new problem. I want to fetch all form values by using request.form("FormName") which is generated by javascript on runtime. The attached zip code contains the working code of javascript creating dynamic form elements. So after generating a couple of textboxes when I click on … | |
i realy need help on programming "Deal or no Deal" in pascal :icon_neutral: thankx | |
Hi I have to do this exercise for school, but i just dont know how to create this, so if anyone from you can please do this for me, i will be very thankful. It is a short one and quite simple(not for me): "Write a program, which reads from … | |
hi i am designing a database using Ms Access and ASP. i have 3 tables in access namely [COLOR=red]'PERSONAL'[/COLOR], other as '[COLOR=red]POLICY'[/COLOR] and 3rd one is named as [COLOR=red]'STAFF'[/COLOR]. in the contact table i have ID, Name, Children as fields. Also in policy table the firlds are:- ID, date_of_policy, no_policy, … | |
I really need some help here and hope there are some Access database whizzes out there...and i know...there are.... my friend and I are doing a database project for a health care service... and we are trying to use the expression builder to perform calculations But for our fields, we … |
The End.