Sunday, November 14, 2010

CrazyEngineers Forum - Computer Science & IT Engineering

CrazyEngineers Forum - Computer Science & IT Engineering


ASP.Net

Posted: 13 Nov 2010 08:16 PM PST

Can we send mail in a project from localhost??
If yes then how?

Firefox Optimization Tips & Tricks with "about:config"

Posted: 13 Nov 2010 06:32 PM PST

Here's a way to quickly speed up your favorite firefox browser by Moving Firefox Cache to RAM -

  1. Open firefox and type the following in address bar: about:config
  2. In the filter bar, type: browser.cache.disk.enable
  3. Double click on it to set it to: 'false'
  4. Similarly, find: browser.cache.memory.enable and set it to true. Could be already set in your browser.
  5. Now right click anywhere on the firefox screen and select: New -> Integer. Enter the memory size in KB you wish to allot to the cache.
  6. Set it to -1 if you wish Firefox to allot memory dynamically, depending on the RAM your system has.
Note: This method may slow down few plugins and slower first visits to sites for speedy revisits.

Give it a try and post your results below.

tasm psp program

Posted: 13 Nov 2010 08:11 AM PST

i have written the following code to create two files using psp.name of my program is copytry.And the code is as follows


disp macro msg
lea dx,msg
mov ah,09h
int 21h
endm

.model small
.data
fname1 db 20 dup(?)
fname2 db 20 dup(?)
fhandle1 dw ?
fhandle2 dw ?
buff1 db 20 dup(?)
buff2 db 20 dup(?)
msg1 db 10,13,'file is created$'
msg2 db 10,13,'file not created$'

.code
mov ax,@data
mov ds,ax
mov es,ax
mov ah,62h
int 21h
mov es,bx
mov bx,80h
mov cl,es:[bx]
dec cl
mov bx,82h
lea di,fname1
l1:
mov bl,es:[bx]
mov [di],bl
inc bx
inc di
dec cl
cmp bl,''
jne l1
mov dl,00h
mov [di],dl
lea si,fname2
l2:mov bl,es:[bx]
mov [si],bl
inc bx
inc si
dec cl
cmp cl,00h
jne l2
mov [si],cl

;create first file
lea dx,fname1
mov cx,00h
mov ah,3ch
int 21h
jc l3
disp msg1
mov fhandle1,ax

;create second file
lea dx,fname2
mov cx,00h
mov ah,3ch
int 21h
jc l3
disp msg1
mov fhandle2,ax
jmp exit1

l3:
disp msg2
exit1:mov ah,4ch
int 21h
end


and the output is as follows
C:\Tasm>tasm copytry.asm
Turbo Assembler Version 3.0 Copyright (c) 1988, 1991 Borland International

Assembling file: copytry.asm
Error messages: None
Warning messages: None
Passes: 1
Remaining memory: 460k


C:\Tasm>tlink copytry
Turbo Link Version 5.0 Copyright (c) 1992 Borland International
Warning: No stack

C:\TASM>copytry a.txt b.txt

file is created
file is created

But when i check those files only first file is created and that too in some other format.And second file is not created.Not able to understand.:(

Regarding Web Designing

Posted: 13 Nov 2010 07:43 AM PST

How to disable right click on a page, image or link?

Internet Connection Setup

Posted: 13 Nov 2010 07:23 AM PST

How To Setup Internet Using Bluetooth Connection in UBUNTU 10.04?

No comments:

Post a Comment