visual-studio-2008

OOLua link errors

徘徊边缘 提交于 2019-12-11 14:25:13
问题 Code #include <OOLua/oolua.h> class foo { public: int bar(); }; OOLUA_CLASS_NO_BASES(foo)//class has no bases OOLUA_NO_TYPEDEFS OOLUA_MEM_FUNC_0(int,bar) OOLUA_CLASS_END void test() { OOLUA::Script s; s.register_class<foo>(); } Compiler output 1>main.obj : error LNK2001: unresolved external symbol "public: static struct OOLUA::Proxy_class<class foo>::Reg_type_const * OOLUA::Proxy_class<class foo>::class_methods_const" (?class_methods_const@?$Proxy_class@Vfoo@@@OOLUA@@2PAUReg_type_const@12@A)

Trying to Add Insert Row to Footer in GridView ASP.net

末鹿安然 提交于 2019-12-11 14:22:19
问题 I'm trying to give the user the ability to create a new record from the footer row and my event handler doesn't seem to be working... or maybe I'm going at this all wrong. The insert button that I enabled in the gridview doesn't work either...checkout the site at http://aisched.engr.oregonstate.edu/admin/courses.aspx Here is my code in front and behind: public partial class admin_courses : System.Web.UI.Page { public Table table; ListDictionary listValues = new ListDictionary(); TextBox

How do I refresh the toolbox in Visual Studio 2008

六月ゝ 毕业季﹏ 提交于 2019-12-11 13:38:54
问题 Working on windows forms in Visual Studio 2008 with C# So I had a windows Form Control that wasn't behaving the way I wanted. So I overloaded the Size property. Bad idea. Everything broke. Horribly. I could not add this control to a form anymore. This was slightly problematic. So I removed the offending code, and recompiled. Problem solved... right? Not so much. I can't add this form to my code STILL. And it was working before. I scour the code for any changes I could have made, recompile

Windows 7 Development Platform

你离开我真会死。 提交于 2019-12-11 13:25:11
问题 As some of you may have noticed, a few hours ago Microsoft released Windows 7 RTM to those of us with a Technet or MSDN subscription. I unfortunately didn't have the opportunity time-wise to test the new OS. I'm asking of anyone who used it with Visual Studio 2008 during RC what was your experience? Did you feel the RC offered a stable environment for it? Did it behave well under Windows 7? In short, can I rely on Windows 7 as my soon-to-be development platform? On another note, did anyone

Visual Studio - A faster way to publish?

本小妞迷上赌 提交于 2019-12-11 13:23:58
问题 I have an ASP.NET application in VS2008 that is growing larger and am developing and testing on IIS7, not Cassini/IIS dev, so when I make changes, I publish, run and test. The publish is taking longer and longer, since there are more and more builds for different projects within the solution. If I want to make simple changes to say an aspx file, instead of publishing, I just modify the published version to avoid the cost of the publish which is a pain. Is there a better/faster way? Is there

Installing a custom project template with Visual Studio Installer project

↘锁芯ラ 提交于 2019-12-11 13:15:42
问题 I've created a custom project template, and now I need to deploy it together with my product (i.e., it should be installed by the same msi I use for the main installation). I'm using a Visual Studio Installer project. One option is to use a custom action and manually copy a template file included in the installation. Another is to create a vsi file and use a custom action to install it after the main installation (how do I have it installed silently?) . Which one is better? Thanks a lot ulu

trying to send a basic email to folder

懵懂的女人 提交于 2019-12-11 13:08:19
问题 I am trying to send a basic email to a folderbut howerver, even though I do receive the email, the body is missing completely. private void MailReport() { string to = "arianul@gmail.com"; string From = "ArianG@lr.co.za"; string subject = "Report"; **string Body = "Dear sir ,<br> Plz Check d Attachment <br><br>";** bool send = sendMail(to, From, subject, Body); if (send == true) { string CloseWindow = "alert('Mail Sent Successfully!');"; ClientScript.RegisterStartupScript(this.GetType(),

“No symbols are loaded” in new Application Framework vb.net project

﹥>﹥吖頭↗ 提交于 2019-12-11 12:51:45
问题 In vb.net 2008, when I start a new project, it defaults to "Enable Application Framework." I add the following code to a button click handler to the main form in the new project: Dim k As Integer Dim s As String For k = 1 To 5000000 s = Mid(s & k, 1, 30) Next k End Sub Then, when I try to break execution to debug using the pause button, I get the message "No symbols are loaded for any call stack frame. The source code cannot be displayed." If I uncheck the "Enable Application Framework"

ASP.NET MVC “Convert to Web Application” option is missing in Visual Studio

…衆ロ難τιáo~ 提交于 2019-12-11 12:49:43
问题 I'm working with Visual Studio 2008 SP1 and ASP.NET MVC v1. When right clicking on a view I do not get the option "Convert to Web Application" that I would need to generate code behind .cs classes. I see that option for the actual project and folders, but not for views (aspx files). I've checked the ProjectTypeGuids to have the "right" (?) values: {603c0e0b-db56-11dc-be95-000d561079b0};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} Any other suggestions as to

HtmlAgilityPack Debugging asks for source code

半城伤御伤魂 提交于 2019-12-11 12:49:18
问题 I have added html agility pack to my class library in project. Whenever i try to debug the HtmlAgilityPack specific code it opens a browse window asking for a HtmlAgilityPack source file (for example HtmlDocument.cs) or gives the error "There is no source code available for the current location." What the heck is this, why I can not debug the HtmlAgilityPack related code. 回答1: When you include a DLL in your project and step into the code it is not possible to show you a source view because a