473,473 Members | 1,488 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

From ASP.NET to VB.NET

42 New Member
Hi there,

please can somebody help me with this:

if i want to transfer this little peace of code from ASP.NET to VB.NET, what could i write?

Expand|Select|Wrap|Line Numbers
  1.  
  2. <HTML>
  3.  
  4. <frameset> 
  5.  
  6. <frame scrolling="auto" src="Tree.aspx" name="tree" DESIGNTIMEDRAGDROP="4">
  7.  
  8. </frameset>
  9.  
  10. <head>
  11.     <script>
  12.     window.parent.frames('tree').location.href('Tree.aspx');
  13.     </script>
  14. </head>
  15.  
  16. </HTML>
  17.  
  18.  
Apr 23 '08 #1
6 1453
Mr Gray
47 New Member
in the code behind use in the page load event

Expand|Select|Wrap|Line Numbers
  1. Response.Redirect("Tree.aspx")
  2.  
Apr 23 '08 #2
Sport Girl
42 New Member
But in fact i have the task to eliminate the code in ASP.NET and write a new code in VB.NET without including any ASP.NET.

so should i use a button in the windows forms application and in the code behind it writing:

Tree.show();
Me.Hide();

is this true?

Best Regards
Apr 24 '08 #3
Mr Gray
47 New Member
ASP.NET is a subset of the .NET framework VB.NET is a language used to write .NET code and as ASP.NET is a subset, VB.NET is also used to write ASP.NET.

Do you have to use frames? If you look at master pages instead of using frames the web site can be controlled much easier and in a less out of date way. I can help you further if you need a little tutorial in the master page topic just message me.
Apr 24 '08 #4
Sport Girl
42 New Member
But writing this same peace of code in Windows forms application is all an error , how can i fix it ?
I don't know if i am clear...
May 6 '08 #5
r035198x
13,262 MVP
But writing this same peace of code in Windows forms application is all an error , how can i fix it ?
I don't know if i am clear...
Web applications are different from desktop applications. You can't use the same code for both.
May 6 '08 #6
shalini166
70 New Member
type

convert c#.net to vb.net

then some link will open


click first link.


then u place the code in the textbox then u click convert.

ok.

i think it will help u.
May 6 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: |-|erc | last post by:
Hi! Small challenge for you. The index.php uses this file and calls layout(). Take a look at www.chatty.net this file draws the chat login box on the right. I traced the CHAT button it submits...
16
by: Fuzzyman | last post by:
Hello, To create a classic (old style) class, I write : class foo: pass To do the equivalent as a new style class, I write : class foo(object):
2
by: nitin | last post by:
g++ -c $INCLUDES ActualPEResult.cpp In file included from /usr/include/c++/3.2.2/backward/iostream.h:31, from /home/pradeepks/Linux_Porting/dcpfrontier/dcpdev/dcp_components/trap...
4
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
2
by: cs168 | last post by:
Hi I am new in ASP programming so I do use the very basic and simple way to do all my stuff. Now I do really got stuck at how can I loop thru the calculation for all my selection.. My full code is as...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
7
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
1
by: RSH | last post by:
Im trying to create a stored procedure of the following code. I want to set it so that I have to send the first 4 variables (@DB, @BackUpFile,@TestDB,@RestoreFile). I am having trouble when i try...
20
by: Development - multi.art.studio | last post by:
Hello everyone, i just upgraded my old postgres-database from version 7.1 to 7.4.2. i dumped out my 7.1 database (with pg_dump from 7.1) as an sql-file with copy-commands and to one file using...
6
by: ransoma22 | last post by:
I developing an application that receive SMS from a connected GSM handphone, e.g Siemens M55, Nokia 6230,etc through the data cable. The application(VB.NET) will receive the SMS automatically,...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.