English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - March 2007

[Selected]: All categories Computers & Internet Programming & Design

i wished to make my own website..but how???

2007-03-21 20:03:33 · 6 answers · asked by Anonymous

2007-03-21 19:58:01 · 3 answers · asked by Juicy_fruit 2

I need help starting this programming...I am not asking fo rthe whole program but just some references( websites or similar programs) I know some things but this is like 3 steps above my level. I am willing though to learn.

PROGRAM DESCRIPTION:

Write a function that takes as input a string containing HTML source code and returns both the # of images referenced in the code and the total screen area (in square pixels) occupied by the images. The function MUST have the following declaration:

int estImageContent(char *pacHTML, long int *pliArea);

EstImageContent() must be able to detect at least the following HTML image "tags"

1. IMG and its associated WIDTH= and HEIGHT= parameters
2. BACKGROUND

You may assume that every IMG tag has a WIDTH= and a HEIGHT= parameter. Note that the value of these parameters may be expressed in either quoted (e.g. WIDTH="768") or unquoted (e.g. WIDTH=768) form. You may also assume that there will be only one BACKGROUND tag in the entire string.

You must also write a main() function that tests estImageContent(). main() should:

1. Prompt the user for an input filename
2. Open the file, read its contents into a string (up to 20000 bytes), close file
3. Call estImageContent()
4. Print the following to the screen:
1. Input filename
2. Estimated # of images
3. Estimated total screen area in square pixels
5. Loop back to prompt

2007-03-21 19:51:33 · 1 answers · asked by importchef 2

2007-03-21 19:49:08 · 3 answers · asked by ritu 1

i downloaded a few fonts how to i get them onto word? or dow do i use them?

2007-03-21 19:43:32 · 3 answers · asked by goop b 1

with c++

2007-03-21 19:39:40 · 2 answers · asked by alaa h 1

Can anyone please tell me how to do it? I want to write a script that randomly selects 7 numbers from 1 to 13. Those have to be 7 DIFFERENT numbers.

2007-03-21 19:38:14 · 2 answers · asked by cherri_pwincesu 1

Firstly, how do we exit from a function(not the program) expllicitly from anywhere inside the function? for e.g. in VB we simply write Exit Sub;

And secondly, if i have an array created using:
String arr[][] = new String[100][5];
and all its elements initialized to 0..if in the same program i re-initialize it like arr = new String[1][1], so this way i'll be releasing memory rite? (given that theres no "delete" keyword in java)

2007-03-21 19:34:27 · 3 answers · asked by kenshin 3

why does this code below return a single row of combined column names, when I would expect 3 rows?

----------------
create table PERM_TABLE (
COLUMN_A varchar(1) ,
COLUMN_B varchar(1) ,
COLUMN_C varchar(1) )


declare @select_values varchar(1000)

set @select_values = null

-- Get the Insert/Select columns
select @select_values = coalesce(@select_values + ', ', '') + '[' + column_name + ']'
from information_schema.columns
where table_name = 'PERM_TABLE'

select @select_values
----

2007-03-21 19:28:34 · 3 answers · asked by Bendaberg 2

I want to hide formula in selected cells of microsoft excel, but i don't want to protect sheet.

2007-03-21 19:00:34 · 5 answers · asked by Aryyan 1

The programs I have are Dreamweaver MX 2004, Macromedia Flash Pro 8, & Sothink SWF Decompiler.

2007-03-21 18:54:36 · 6 answers · asked by Am 4

how to xsl from excel format easily.

2007-03-21 18:52:57 · 1 answers · asked by kilo 1

hi. i wanna noe hw to constuct a interface that can retrieve or edit m.access database when we key in e keyword. for instance when we key in e customer name, it will auto search for e company details, customer details etc. n can edit it n save. is there any more user friendly program to build it. cuz im a noob.

2007-03-21 18:44:49 · 1 answers · asked by Anonymous

0

Ok So you know on how some websites some parts of the writting are pushed 2gether? Well how Do I do that?
I mean I dont want ALL it all 2 be pushed 2 gether but only some of it.. so how do I?

2007-03-21 18:43:05 · 2 answers · asked by OhSoGlamorousAndrea 1

The website in question: www.hillaryclinton.com

2007-03-21 18:39:35 · 2 answers · asked by pissedlobster 1

i want a website exactly like myspace and youtube.i want it to have a lot of things like games,videos,u could talk to your friendz,music,browsing pictures,and lots more

2007-03-21 18:29:50 · 6 answers · asked by celeste 2

Its a visualization program, you have to purchase it, and its based from somewhere in Europe, as you pay for it in pounds. The only thing I remember about it is that

1. It was something with a letter and a number. It might have been called something like F8 or something like that

2. It had amazing visualizations, especially ones with skulls and whatnot.

2007-03-21 18:22:25 · 4 answers · asked by travisblank84 1

if so can you tell me how

2007-03-21 18:13:56 · 1 answers · asked by Anonymous

My computer has many problems. I would like to erased the hard drive. The xp cd has no options to format the drive

2007-03-21 18:09:36 · 4 answers · asked by antonio g 1

how can i get fonts that i downloaded to work on word pad or paint

2007-03-21 18:04:07 · 1 answers · asked by Anonymous

0

2007-03-21 17:55:48 · 7 answers · asked by kajal m 1

How do I make a text file like numbers.txt and then use it to be read into my program into an integer ArrayList? The text file consists of integers and the number of integers is unknown.
Please answer clearly and in detail.
Thank you

2007-03-21 17:54:57 · 4 answers · asked by π∑∞∫questionqueen 3

how would i put the resize code in here? and what is the correct code?

background-image:url(url or picture);
background-repeat:repeat;

2007-03-21 17:47:31 · 1 answers · asked by x*MaLi*x 1

Will I be able to export to Appleworks database?

2007-03-21 17:44:07 · 3 answers · asked by Iamamom 2

Here's what I have. I don't know what I'm supposed to do to get it working.

Public Class Form1
Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the InitializeComponent() call

End Sub

'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub

'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer

'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents Results As System.Windows.Forms.ListBox
Friend WithEvents txtFirstInteger As System.Windows.Forms.TextBox
Friend WithEvents txtSecondInteger As System.Windows.Forms.TextBox
Friend WithEvents txtThirdInteger As System.Windows.Forms.TextBox
Friend WithEvents btnEnter As System.Windows.Forms.Button
Friend WithEvents lblInstructions As System.Windows.Forms.Label
Friend WithEvents lblFirstInteger As System.Windows.Forms.Label
Friend WithEvents lblSecondInteger As System.Windows.Forms.Label
Friend WithEvents lblThirdInteger As System.Windows.Forms.Label
Private Sub InitializeComponent()
Me.txtFirstInteger = New System.Windows.Forms.TextBox
Me.txtSecondInteger = New System.Windows.Forms.TextBox
Me.txtThirdInteger = New System.Windows.Forms.TextBox
Me.btnEnter = New System.Windows.Forms.Button
Me.Results = New System.Windows.Forms.ListBox
Me.lblInstructions = New System.Windows.Forms.Label
Me.lblFirstInteger = New System.Windows.Forms.Label
Me.lblSecondInteger = New System.Windows.Forms.Label
Me.lblThirdInteger = New System.Windows.Forms.Label
Me.SuspendLayout()
'
'txtFirstInteger
'
Me.txtFirstInteger.Location = New System.Drawing.Point(144, 104)
Me.txtFirstInteger.Name = "txtFirstInteger"
Me.txtFirstInteger.Size = New System.Drawing.Size(136, 20)
Me.txtFirstInteger.TabIndex = 0
Me.txtFirstInteger.Text = "0"
'
'txtSecondInteger
'
Me.txtSecondInteger.Location = New System.Drawing.Point(144, 144)
Me.txtSecondInteger.Name = "txtSecondInteger"
Me.txtSecondInteger.Size = New System.Drawing.Size(136, 20)
Me.txtSecondInteger.TabIndex = 1
Me.txtSecondInteger.Text = "0"
'
'txtThirdInteger
'
Me.txtThirdInteger.Location = New System.Drawing.Point(144, 184)
Me.txtThirdInteger.Name = "txtThirdInteger"
Me.txtThirdInteger.Size = New System.Drawing.Size(136, 20)
Me.txtThirdInteger.TabIndex = 2
Me.txtThirdInteger.Text = "0"
'
'btnEnter
'
Me.btnEnter.Font = New System.Drawing.Font("Microsoft Sans Serif", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.btnEnter.Location = New System.Drawing.Point(66, 216)
Me.btnEnter.Name = "btnEnter"
Me.btnEnter.Size = New System.Drawing.Size(160, 48)
Me.btnEnter.TabIndex = 3
Me.btnEnter.Text = "Enter"
'
'Results
'
Me.Results.Location = New System.Drawing.Point(24, 272)
Me.Results.Name = "Results"
Me.Results.Size = New System.Drawing.Size(248, 173)
Me.Results.TabIndex = 6
'
'lblInstructions
'
Me.lblInstructions.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblInstructions.Location = New System.Drawing.Point(8, 16)
Me.lblInstructions.Name = "lblInstructions"
Me.lblInstructions.Size = New System.Drawing.Size(272, 72)
Me.lblInstructions.TabIndex = 7
Me.lblInstructions.Text = "Input Three Integers To Find The Sum, Average, Product, Smallest, and Largest"
Me.lblInstructions.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'lblFirstInteger
'
Me.lblFirstInteger.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblFirstInteger.Location = New System.Drawing.Point(8, 104)
Me.lblFirstInteger.Name = "lblFirstInteger"
Me.lblFirstInteger.Size = New System.Drawing.Size(104, 24)
Me.lblFirstInteger.TabIndex = 8
Me.lblFirstInteger.Text = "First Integer"
Me.lblFirstInteger.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblSecondInteger
'
Me.lblSecondInteger.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblSecondInteger.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.lblSecondInteger.Location = New System.Drawing.Point(8, 144)
Me.lblSecondInteger.Name = "lblSecondInteger"
Me.lblSecondInteger.Size = New System.Drawing.Size(120, 24)
Me.lblSecondInteger.TabIndex = 9
Me.lblSecondInteger.Text = "Second Integer"
'
'lblThirdInteger
'
Me.lblThirdInteger.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lblThirdInteger.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
Me.lblThirdInteger.Location = New System.Drawing.Point(8, 184)
Me.lblThirdInteger.Name = "lblThirdInteger"
Me.lblThirdInteger.Size = New System.Drawing.Size(104, 24)
Me.lblThirdInteger.TabIndex = 10
Me.lblThirdInteger.Text = "Third Integer"
'
'Form1
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(292, 470)
Me.Controls.Add(Me.lblThirdInteger)
Me.Controls.Add(Me.lblSecondInteger)
Me.Controls.Add(Me.lblFirstInteger)
Me.Controls.Add(Me.lblInstructions)
Me.Controls.Add(Me.Results)
Me.Controls.Add(Me.btnEnter)
Me.Controls.Add(Me.txtThirdInteger)
Me.Controls.Add(Me.txtSecondInteger)
Me.Controls.Add(Me.txtFirstInteger)
Me.Name = "Form1"
Me.Text = "Input Three Integers"
Me.ResumeLayout(False)

End Sub

#End Region

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim number1, number2, number3 As Integer ' Declares number1, number2, number3
Dim sum, average, product As Integer ' Declares sum, average, product
Dim smallest, largest As Integer ' Declares largest, smallest

number1 = Me.txtFirstInteger.Text
number2 = Me.txtSecondInteger.Text
number3 = Me.txtThirdInteger.Text

sum = number1 + number2 + number3
average = sum / 3
product = number1 * number2 * number3

If number1 < number2 & number1 < number3 Then
smallest = number1
End If

If number2 < number1 & number2 < number3 Then
smallest = number2
End If

If number3 < number1 & number3 < number2 Then
smallest = number3
End If

If number1 > number2 & number1 > number3 Then
largest = number1
End If

If number2 > number1 & number2 > number3 Then
largest = number2
End If

If number3 > number1 & number3 > number2 Then
largest = number3
End If

Me.Results.Text = "number1"
Me.Results.Text = "number2"
Me.Results.Text = "number3"
Me.Results.Text = "sum"
Me.Results.Text = "average"
Me.Results.Text = "product"
Me.Results.Text = "smallest"
Me.Results.Text = "largest"



End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEnter.Click

End Sub
End Class

2007-03-21 17:33:47 · 2 answers · asked by bloodyhell1981 1

I'm having a hard time understanding binary 1's and 2's complement can anyone explain in detail... please use examples

2007-03-21 17:25:15 · 3 answers · asked by Mithrandir the grey 1

I am using Visual Basic 2005 Express Edition which is very similar to Visual Basic .NET. Anyway, I have already got the data from the database that I need into variables that reside in my data access classes. Now I want to make that data be shown in a data grid view control so I can see it on the form.

I am only using three commands.

frmSearch.dgvResults.DataSource = adtBook

'These two lines will send the data to the
'data grid view control.
frmSearch.dbSearchBindingSource.DataSource = dsBooks
frmSearch.dgvResults.DataSource = frmSearch.dbSearchBindingSource

These three lines of code seems to be not wanting to display the data, because the data grid view control is the same as when I drag 'n dropped onto the form.

dsBooks is my data set that holds all the data that I got out of my BookAds database.

I noticed that one line is cut off.
frmSearch.dbSearch (concatenate)
BindingSource

2007-03-21 17:02:06 · 1 answers · asked by Anonymous

I want to build a website where my visitor can view my book(on PDF format). But they must see it on the website and can't download it. Is there any way to do it?how?

2007-03-21 16:39:58 · 5 answers · asked by y7thangeru 2

fedest.com, questions and answers