Slade 66 Practically a Master Poster

Tried it, didn't work

Slade 66 Practically a Master Poster

I am so glad I posted all of this, my hard drive crashed this morning.

Slade 66 Practically a Master Poster

Please guys, I really need help here. Last night I was using my computer and it was working fine. There were zero problems. Naturally, I switched it off and went to bed, it shut down fine. This morning, I go to turn it on, and it sits on the dell setup screen for far longer than normal, then it comes up with the error:
"Primary hard disk drive 0 not found"

Please guys, I really cannot afford to lose this machine. It's a dell inspiron 4100 notebook.

Thanks in advance,

:cry: Slade

Slade 66 Practically a Master Poster

Once again Paladine buddy, you've done a great job. Congrats man, good code.

Slade 66 Practically a Master Poster

Everyone is welcome in these forums! Welcome to the forums! (see)

Slade 66 Practically a Master Poster

lol, sorry about all the comments in there too, I was debugging and forgot to remove them before posting. I might wait until I'm fully finished the internal GUI before I post the code. ahhh what the hey, here's the header:

Imports System.Web.Security
  Imports sladesfaculty.header
  Public Class header
  	Inherits System.Web.UI.UserControl
  
  
  #Region " Web Form Designer Generated Code "
  
  	'This call is required by the Web Form Designer.
  	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
  
  	End Sub
  	Protected WithEvents imgHome As System.Web.UI.WebControls.ImageButton
  	Protected WithEvents imgForums As System.Web.UI.WebControls.ImageButton
  	Protected WithEvents imgGallery As System.Web.UI.WebControls.ImageButton
  	Protected WithEvents imgLinks As System.Web.UI.WebControls.ImageButton
  	Protected WithEvents imgMission As System.Web.UI.WebControls.ImageButton
  	Protected WithEvents imgMembers As System.Web.UI.WebControls.ImageButton
  	Protected WithEvents imgFacLogin As System.Web.UI.WebControls.ImageButton
  	Protected WithEvents lblTest As System.Web.UI.WebControls.Label
  
  	'NOTE: The following placeholder declaration is required by the Web Form Designer.
  	'Do not delete or move it.
  	Private designerPlaceholderDeclaration As System.Object
  
  	Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
  		'CODEGEN: This method call is required by the Web Form Designer
  		'Do not modify it using the code editor.
  		InitializeComponent()
  	End Sub
  
  #End Region
  
  	Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  		'verify authentication
  		'Put user code to initialize the page here
  		'verify authentication
  		If Page.User.Identity.IsAuthenticated Then
  			'display Credential information
 		 lblTest.Text = "Current User:<b>&nbsp;" & Page.User.Identity.Name
  			   
  		End If
  
  		Dim currentpage As String
  		currentpage = Request.RawUrl
  		Select Case currentpage
  			Case "/sladesfaculty/default.aspx"
 			 imgHome.ImageUrl = "/sladesfaculty/Images/Navigation/homeactv.gif"
 			 imgForums.ImageUrl = "/sladesfaculty/Images/Navigation/foruminac.gif"
 			 imgGallery.ImageUrl = "/sladesfaculty/Images/Navigation/galryinac.gif"
 			 imgLinks.ImageUrl = "/sladesfaculty/Images/Navigation/lnksinac.gif"
 			 imgMission.ImageUrl = "/sladesfaculty/Images/Navigation/msninac.gif"
 			 imgMembers.ImageUrl = "/sladesfaculty/Images/Navigation/mbrsinac.gif"
  
  			Case "/sladesfaculty/Default.aspx"
 			 imgHome.ImageUrl = "/sladesfaculty/Images/Navigation/homeactv.gif"
 			 imgForums.ImageUrl = "/sladesfaculty/Images/Navigation/foruminac.gif"
 			 imgGallery.ImageUrl = "/sladesfaculty/Images/Navigation/galryinac.gif" …
Slade 66 Practically a Master Poster

mad, killing me.

Slade 66 Practically a Master Poster

I got it working guys! and for your reference, I will show you the code.

My Web.Config:

<?xml version="1.0" encoding="utf-8" ?>
   <configuration>
   	<appSettings>
 		<add key="strSqlConnectionString" value="server=SLADE;database=sladesfaculty;"/>
 		<add key="strWebAdminEmail" value="slade@sladesfaculty.com" /> 		
   	  <add key="strWebDevEmail" value="ninjawatch@sladesfaculty.com" />	 
   	</appSettings>	
     <system.web>
   
   	<!--  DYNAMIC DEBUG COMPILATION
   		  Set compilation debug="true" to insert debugging symbols (.pdb information)
   		  into the compiled page. Because this creates a larger file that executes
   		  more slowly, you should set this value to true only when debugging and to
 		 false at all other times. For more information, refer to the documentation about
   		  debugging ASP.NET files.
   	-->
   	<compilation defaultLanguage="vb" debug="true" />
   
   	<!--  CUSTOM ERROR MESSAGES
 		 Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. 
   		  Add <error> tags for each of the errors you want to handle.
   
   		  "On" Always display custom (friendly) messages.
   		  "Off" Always display detailed ASP.NET error information.
   		  "RemoteOnly" Display custom (friendly) messages only to users not running 
 		 on the local Web server. This setting is recommended for security purposes, so 
   		   that you do not display application detail information to remote clients.
   	-->
   	<customErrors mode="Off" />
   
   	<!--  AUTHENTICATION 
 		 This section sets the authentication policies of the application. Possible modes are "Windows", 
   		  "Forms", "Passport" and "None"
   
   		  "None" No authentication is performed. 
 		 "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to 
 		 its settings for the application. Anonymous access must be disabled in IIS. 
 		 "Forms" You provide a custom form (Web page) for users to enter their credentials, and then 
 		 you authenticate them in your application. A user credential token …
Slade 66 Practically a Master Poster

Hey all, I only want a few extra links to appear once authorized and not have the whole web app off limits by using deny users="?". I want it much the same as daniweb, the userCP link isn't visible until a user has logged in, how do I do this in VB .NET?

Slade 66 Practically a Master Poster

heh, that's the thing, it was a laptop HDD.

Slade 66 Practically a Master Poster

THanks dude, you truly are a good help.

Slade 66 Practically a Master Poster

can you think of any other ways I can do this? Just so that a user can put inputs for the title of the html page and also the body. PLEASE! if you can think of a way to do this than I would give you a special thanks on the actual site, paladine, tekmaven, you allready get one.


Slade

p.s. you too dani, and a link to this site because it is the best lot of forums I have come across.

Slade 66 Practically a Master Poster

What I want of my login system is that when a user is logged in (there is only about 5 and all are declared in the web.config), I want two more imagebuttons to appear in the header, what code will I need to do that?

N.B. I'm using VB .NET

if [b]HttpResponse.Cookies[/b]  = FormsAuthentication.Authenticate then
imgButton1.visible = true

Is that on the right track? Any ideas guys?

Slade 66 Practically a Master Poster

I used FDISK, since the end OS is going to be 98 SE anyways.

Slade 66 Practically a Master Poster

Then I punched

Slade 66 Practically a Master Poster

hi, I ended up fixing that one. What happened was, I didn't realize the sensitivity of the program an dso I just copied code directly off the net, of course, space characters and whatever else was included in this, hence the error. I ended just retyping the whole lot, then it worked fine.


Thanks for the help tho!

Slade

Slade 66 Practically a Master Poster

Any ideas on how to create one partion of all the memory on the HDD? At the moment, it's all unpartitioned space and needs to be formatted using ntfs, all in DOS. Any ideas?

Slade 66 Practically a Master Poster

Hi, just curious. By going into DOS and typing oh say:

Format C:

and then answering yes, does that make the format ntfs or fat32?

Thanks in advance, oh and whats the useable memory loss after formatting in FAT.

Slade 66 Practically a Master Poster

heh, haven't had the chance to check out your band yet, but I'll get there. I'm sooo busy nowadays it's not funny.

Slade 66 Practically a Master Poster

Hi,
On my asp .net site, I want a login page so that when the user is logged in, a few extra links are made visible on the header control (.ascx). Also, there will only be about 4-6 users logging in here, I also want to give each one the ability to edit their own info from a database table. I have allready tried "Forms" authentication and this is what happens.

<authentication mode="Forms" />
 		  <Forms name=".ASPXSession" loginUrl="FacLogin.aspx" protection="All" />
 			<credentials passwordFormat = "Clear"> 
 				 
 <user name="admin" password="admin"/> 				 
 			</credentials>
 		</forms>	
 		</authentication>

Of course, this doesn't work, making me really quite angry and frustrated. The error message I receive is as follows:

Parser Error Message: Unrecognized configuration section 'forms'


There is little or no documentation on this error and I feel like killing myself someone.

Please help :sad:

Slade 66 Practically a Master Poster

is it possible for vs .net just to copy an allready existing page and edit that? Like a template?

Slade 66 Practically a Master Poster

Nice avatar by the way. DBZ used to be my favorite Anime. ^_^

It's cool hey!

Slade 66 Practically a Master Poster

DBZ is awesome

Slade 66 Practically a Master Poster

There is still more problems... how do I save this page on the server (after user inputs have been made) and how do I make the link to the page automatically appear on the home page? (has the same name as the page title). SO we have figured out how to pass the values onto another page, but how do we save that page once the "submit page" button has been pressed?

Slade 66 Practically a Master Poster

nah, didn't show up, and the drivers are installed off the xp address so none are included.

Slade 66 Practically a Master Poster

You can get a copy off www.download.com

Slade 66 Practically a Master Poster

Forgot: Running windows XP Pro

Slade 66 Practically a Master Poster

I recently did some research for an assignment for work on graphics programs so as to decide what to use. I found that psp is great for photo editing, but photoshop kicks the hoo ha out of it in digital art. Most of the better art that can be done with psp is all third party (plugins). I haven't used psp since version 7 I think, but I remember compared to the photoshop adjacent version... I didn't like it.


Personal preference!

Slade

Slade 66 Practically a Master Poster

Windows, nor bios, will detect the usb hdd. It's 250gb, the cable plugs into a usb port on the computer and a usb 2.0 on the hdd. There is definitely power to it, and everything is connected right, so whats wrong?

Slade 66 Practically a Master Poster

lol I'm all ears

Slade 66 Practically a Master Poster

<a href="http://www.yoursite.com/app.exe" >CLICK HERE TO INSTALL MY AWESOME APP</A>

is that what you're after?

Slade 66 Practically a Master Poster

If you define it in the web config, then it isn't available for users to view. Hence it is secure.


Hope this helped.

Slade

Slade 66 Practically a Master Poster

Aye Carumba! -> Bart

Slade 66 Practically a Master Poster

of Elton John

Slade 66 Practically a Master Poster

Hey all, I just wanna know how to record the time and day a link on my website is clicked to a label, what code do I need to use to get the date and time?.

Private Sub lnkVac_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lnkVac.Click
 
Dim Timevisited as string
Response.Redirect("Vacancies.aspx")
label1.text = Timevisited
End Sub

What code do I need to use to get the date and time?

Thanks,

Slade.

Slade 66 Practically a Master Poster

A program....


Why does it even matter?

Slade 66 Practically a Master Poster

Another one, how to I import the project files, I am getting errors for some of them. The web one is the main one I would like to get into though, so I can change the aspx files to suit my sites design.

Slade 66 Practically a Master Poster

words -> letters

Slade 66 Practically a Master Poster

Whenever I go to update visual studio 2003 I get the following message:

Visual Studio .net 2003 setup encountered errors while attempting to download required files. Check your web browser configuration settings and your connection hardware, and then try again.

Ok... I am connected to the net, what web browser settings would need to be changed?

Slade 66 Practically a Master Poster

yeah, it was still being a pain though, apparently you have to create a project, edit it, then save it before the profile saves.

weird huh?

Slade

Slade 66 Practically a Master Poster

lol it's cool buddy... I think that's the info I need. What I'm talking about thought is this:

<html>
<hea><title>(user input goes here)</title>
<Body>
(User input goes here)
</body>
</html>

does that clear it up for you?

Slade 66 Practically a Master Poster

Sure did dude!

Many Thanks!

Slade 66 Practically a Master Poster

Is there any possible way to manipulate the background image property of a cell <td>? So that I can actually change the BG image when a link is clicked? No?

Slade 66 Practically a Master Poster

Well, they aren't full on heavy metal, but they are a cross between a couple of genre's including punk. I really like them though, they have the whole screaming thing going on, you gotta love that. Their website is at http://www.avengedsevenfold.com/ they are so cool it makes me want to cry. Some of their better songs are "Chapter Four", "I won't see you tonight" (parts 1 & 2). The name Avenged Sevenfold actually comes from the bible in chapter four of the genesis when Cain murders his brother Abel, God casts him out and Cain fears he will be murdered freely by anyone but God says that anyone who murders Cain will be Avenged Sevenfold. Although they claim not to be a religious band, the song Chapter four is also about this story. Some of their songs sound dark, but others sound like God himself wrote it.

Check them out! You won't be dissapointed.

p.s. what do you think of AFI's album "Sing the Sorrow"

Yzk commented: Avenged sevenfolds: Thumbs up +13
Slade 66 Practically a Master Poster

ewww! -> sissy

Slade 66 Practically a Master Poster

upset, so I

Slade 66 Practically a Master Poster

Hi, I've recently been to www.bink.nu and I liked the navigation. On my site I would like a similar navigation. For the tabs, I have images, I cannot put a link ontop of the image though! Please help me out here! THe image is supposed to change according to whatever link is active. take for example, the home link is active, then the image behind the tab behind the link is a lighter color than the rest.

Help would be greatly appreciated


Thanks,

Slade

Slade 66 Practically a Master Poster

Milo -> sugar

Slade 66 Practically a Master Poster

I wish I could help dude, I am waiting for someone to answer my questions too. Just be patient and one of the moderators will get to you :).

Slade 66 Practically a Master Poster

Hey, I'm making a website as you all know by the millions of threads I've created, and I have a members area. I will have a datagrid that will display data and an image (chosen by the user). All data is bound to a database stored procedure. I suppose I will give each user a certain path and filename for their image. e.g. zorba will get www.sladesfaculty.com/images/imgZ.jpg. How do I enable the users to overwrite this file, but not any others?

If there is a better alternative to this, please tell me :confused:

Thanks,

Slade