Jump to content


Check out our Community Blogs

Saeed7007

Member Since 19 Mar 2012
Offline Last Active Dec 05 2016 08:28 AM
-----

#630014 How to moving Asp.net Objects in Visual Studio

Posted by Saeed7007 on 18 May 2012 - 11:11 AM

hi every one
i'm new to asp.net but i have programmed desktop app for several years...
i've got a question about asp:

when i create a website using Visual Studio, and then i add button or edit or.... , the object can't be moved wherever i want (like C# or Delphi...)

why?
and how to solve it? (without using paragraph...)

thanks
  • 1


#629717 [SOLVED] Prime Numbers

Posted by Saeed7007 on 13 May 2012 - 02:53 PM

hi
i have a program that print prime numbers.
this is the code:


var
i,j,n:integer;
flag:boolean;
begin
write('Please Enter Number Of Information : ');
readln(n);
writeln;
for j:=2 to n do
begin
i:=2; flag:=true;
while i<=(j div 2) do
begin
if (j mod i)=0 then
flag:=false;
i:=i+1;
end;
if flag=true then
write(j,' ');
end;
writeln;

readln;
end.




now i have 2 questions:
1. on line 11th, i mean the code: " while i<=(j div 2) do "

why it is so? why the author wrote while i<=(j div 2) ???

2. and what does the "flag" variable do?

Thanks.
  • 1


#628380 Run App Inside Delphi

Posted by Saeed7007 on 27 April 2012 - 06:30 AM

thanks.
i got the answer!
  • 1


#628051 Run App Inside Delphi

Posted by Saeed7007 on 25 April 2012 - 04:28 AM

hi
how can we run an app inside Delphi application.... i mean something like OleContainer...
for example, running NOTEPAD into olecontainer or inside a panel or something similar...

THANKS.
  • 1


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download