Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Trying to compile .vb file

Author  Topic 

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2006-11-20 : 14:23:17
Hello!

I'm new to compiling for ASP.NET, and am trying the 3rd step for this scroller control:

http://us.geocities.com/hbeanland/web/net.htm

3. Compile the control to an assembly / dll.

I put the .vb file in the folder:

c:\Windows\Microsoft.net\Framework\v1.1.4322
I tried that, and tried to run the following command line after changing the DOS directory to the v1.1.4322 directory:

vbc /t:library /out:ScrollPosition.dll /r:System.dll

..and get:

"no input sources specified"

Any suggestions are welcome! Thanks!

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2006-11-20 : 14:35:19
you are never specifying the .vb file to compile.

- Jeff
Go to Top of Page

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2006-11-20 : 15:33:15
Jeff,

Thanks for the reply. I starting getting more into the .vb file, and the author has used some 2.0 namespaces....not sure why.

So, I'm trying this:
http://dotnetjunkies.com/Article/E474B0FC-20D2-48B3-93B5-DC4CB3C4A1AB.dcik

...and in the code behind I'm trying to put the last bit of script, but can't get it right:

If Page.IsPostBack Then
Dim strScript As String
strScript = "<script>"
strScript = strScript & "location.href=#<%=Request.Form1["__EVENTTARGET"]%>;"
strScript = strScript & "</script>"
Page.RegisterStartupScript("ClientScript", strScript)
End If

Thanks for the extra eyes!
Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2006-11-20 : 15:39:15
No, I mean in the arguments for vbc, you are not specifying the which .vb file to compile.

- Jeff
Go to Top of Page

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2006-11-20 : 15:52:09
Jeff,

Thanks!

Yes, I know I forgot to specifiy the .vb file name.

After doing that, I got a bunch of compile errors.

found this and it does the trick:
http://www.strengthtechnologies.com/scroll/Download.aspx
Go to Top of Page
   

- Advertisement -