|
I'm getting the following error and I'm pretty sure it has something to do that i moved the code to Visual Studio 2005.
Just wondering if anyone has seen it before and could help me out.
Compiler Error Message: BC32206: Indirect reference is being made to assembly ITSWeb.PageTemplates version 1.0.2827.13561, which contains 'ITSWeb.MenuControl'. This Project references a prior version of ITSWeb.PageTemplates version 1.0.2826.16005. To use 'ITSWeb.MenuControl', you must replace the reference to ITSWeb.PageTemplates with version 1.0.2827.13561 or higher.
Source Error:
Line 34: <system.runtime.compilerservices.compilerglobalscopeattribute()> _
Line 35: Public Class webusercontrols_menucontrol_ascx
Line 36: Inherits Global.ITSWeb.MenuControl
Line 37:
Line 38: Private Shared __initialized As Boolean
Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\itsweb\6130ecab\c8ceedfb\App_Web_menucontrol.ascx.8ddfe73a.iy-bw6ax.0.vb Line: 36
|
|
|
|
|
google "Compiler Error Message: BC32206" and read the first link.
I hope this helps...
You always pass failure on the way to success.
|
|
|
|
|
Thanks for the reply but i just changed the <assemby: assemblyversion("1.0*")=""> to <assemby: assemblyversion("2.0*")="">
but if anyone knows anything about what i just did and want to explain that would be nice
|
|
|
|
|
Sorry it didn't show up i changed the Assembly: Assembly Version("1.0.*") to Assembly: Assembly Version("2.0.*")
|
|
|
|
|
I just changed the Assembly Version back to 1.0 and i didn't get the error again. Anyone know what's going on?
|
|
|
|
|
Did you read the link I posted?
If you did you would have seen that the poster deleted some dll files.
So I'm guessing that something similar has happened, except in your case VS has done the work for you.
You always pass failure on the way to success.
|
|
|
|
|
Well i thought i fixed it.......so i didn't pay much attention but i read it.
Mainly because my project randomly crashed again, but i just deleted all the dll files out of the bin file.....rebuilt it then ran it and it worked.
So thanks for the post
|
|
|
|
|
You're welcome
You always pass failure on the way to success.
|
|
|
|
|
I don't know if i am at the right forum, but anyway hereis my question>
I need help by the switch /autorun in outlook and well on the syntax,
because i can not call a macro whe i use the switch, and get an error evertime i fill in a other approache.
thanks,
Peter
Peter Staal
|
|
|
|
|
You're more than likely in the wrong forum. This forum is for VB/VB.NET programming questions.
I have no idea what you're trying to say in your post. Outlook doesn't have an /autorun switch and I have no idea what you're trying to do with a macro, or how the switch relates to your macro.
|
|
|
|
|
How to Pass Value from vb.net tool or form in Crystal Report
Plz Help me
I Had complete my project in college.
My Project Title is "Transport Management System"
Include the Lorry Entry, Challan, Memo
|
|
|
|
|
|
Hello everyone,
This is my first question to codeproject members. I hope everybody will help me.
I'm doing project in VB.net 2005 in windows form.
I designed forms
created database and table in SQLServer
Now I don't know how to connect this to window form.
How to write connection string, non-execute query.
Like VB6.0 whatever type in text box, listbox it should be inserted/updated in table column field respectively.
Plzzzzzzz help me.
Thanks in advance
Ashwini
|
|
|
|
|
For using database connectivity on .Net platform, Ado.Net is used. In simple words you will need to use DataSet, DataAdapter and DataConnction objects.
However I would recommend you to Google the ‘Ado.net’ and get a complete overview before using this, because concept of Ado.Net is different from Adodc which was used with Visual Basic 6.
-Dave.
Dave Traister,
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Hi
If you are Comming from vb6, then its not that Bad, but the logic of ADO in vb6 is Different from ADO.net, my Suggestion is to buy a Book in Beginning VB. you can get one in www.Murach.com.To google it helps but to a certain extent. sometimes you need a book to give you more info.
Hope this helps
thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
|
|
|
|
|
In case if you want to see the syntax which will be used to implement database connectivity to TextBoxes, following is a small code snippet-
----------------------Code Start-----------------------------------------------
General Declaration-
Imports System.Data.OleDb
-----------------------------------------------------
Public Class Form1
Dim ds As DataSet
Dim con As New OleDbConnection("Put Connection String here")
Dim da As New OleDbDataAdapter("Select * from table1", con)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
da.Fill(ds, "Table1")
Me.TextBox1.Multiline = True
Me.TextBox1.DataBindings.Add("Text", ds, "Table1.field1")
End Sub
End Class
---------------------Code End-------------------
I hope this helps .
-Dave.
Dave Traister,
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
hi i want to sort my datagrid when i clcick on any one of the header column name
i wrote teh code but that is not working
can some one please help me with this
Private Sub DataGrid1_SortCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridSortCommandEventArgs) Handles DataGrid1.SortCommand
Label13.Text = e.SortExpression
'lblWhatClicked.Text = "You clicked: " & e.SortExpression
Dim dv As New DataView(Eventds1.Tables(0))
dv.Sort = e.SortExpression & " DESC"
DataGrid1.DataSource = dv
DataGrid1.DataBind()
End Sub
Thank u
hepsy
|
|
|
|
|
Hi
when you drop a datagrid into your Form,and bind it to a datasource, it automatically sort the results with Columns , when you Click them. So you have messed around with you Settings. right click on your Datagrid and select properties. make sure that the "Allow Sorting" is Selected as true.
Hope it helps
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
|
|
|
|
|
That's true for Visual Studio 2005, not for 2002 or 2003.
|
|
|
|
|
IIRC, all you had to do to enable sorting on the DataGrid (not the DataGridView control) was set its AllowSorting property to True.
|
|
|
|
|
Hi everyone,
My question is how to download emails from a pop server and save them as *.eml or *.mht files to localdisk as oultlook does ?
Now what I know is that an .eml file can have images,attachments and all the e-mail formatting in it. So if I use a simple pop3 client to download message it will download the text part of the e-mail not full formatting - that's what I'm searching for!
I found this link : http://www.example-code.com/delphi/download-pop3-email-to-eml.asp but the library is not free or open source , can you find something like this , my dear friends ?
I also found another thing :http://www.developerfusion.co.uk/show/2453/
But It uses the winsock control which I can't found in VB.NET. Any one please help..
Thanks,
Dan
|
|
|
|
|
The file format has absolutely nothing to with a POP3 client. There is no file format specification for saving messages. The .eml format is specified by Microsoft and Outlook, not the POP3 protocol. It's also known as the message/rfc822 MIME type. You can find out everything about the format here[^], or just Google for "message/rfc822 format".
|
|
|
|
|
Hi Dave Kreskowiak,
Ok , Now I understood the real matter . Thanks for help. But Is there any way that I can use the winsock example that I showed you in the first post ? I tried but on every line I'm getting an error ! If you have any idea ... ?? :->
Thanks,
dan
|
|
|
|
|
The code you found was written for VB6, not VB.NET. It's possible to convert it. You'd have to add a Reference to the old Winsock control, I think it's in the list under the COM tab, Microsoft Winsock Control.
Dan`M wrote: I tried but on every line I'm getting an error !
I'd scrap the code and rewrite it using .NET Framework classes, but describing how those work is way beyond what you can fit in a couple of forum posts.
You're getting most of these error messages because you don't have a reference to the old Winsock control.
|
|
|
|
|
Hi,
I downloaded old winsock.dll from internet add added the reference. But i have still some errors.. Can you convert & post the code for VB.NET please ?:->
Thanks,
Dan
|
|
|
|