VINH TRAN's Q&A profile
Visual Basic Website error
Not sure if this forum is the proper place for this question, but I have a new server, which 2.0 beta framework was just installed (2.0.40607.42). From VS 2005, I created an ASP website on the server in VB. Other than putting "Hello World" in the body of the default page, I changed nothing, and when I brought up the page, I received the following error: Parser Error Message: Could not load type '_Default'. After removing the Impor ...Show All
Visual Studio Tools for Office saving a range?
Hello. Is there a way to save a range and be able to go back to it. I'll explain why. I'm currently selecting text and then hitting a button (homemade) that takes that texts and creates a page break and puts it onto the next page. But after that I want the cursor to come back up to where I started. That is the part I can't figure out. Here is my current code: Private Sub btnExhibit_Click( ByVal Ctrl As CommandBarButton, ByRef CancelDe ...Show All
SQL Server The transaction log for database 'mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait
Every time I get this error, at different points of testing inserts and deletions on my table: The transaction log for database 'mydatabase' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases Why do I keep getting this All I'm doing is deleting several hundred thousand records and inserting them into a couple of tables. i shouldn't have to truncate my log every time or my application ...Show All
Smart Device Development bluetooth XP
I need to know where to find the the actual values for the following GUID for MS Bluetooth Stack using socket programming. GUID_L2CAP_Event_Info GUID_HCI_Event_Info GUID_Radio_In_Range GUID_Radio_Out_Of_Range It would be nice to find the header files for the Bluetooth SDK. see tanuki i am not any professional developer but i can help u with that header file the header file comes in the Platfrom SDK of the Windows u can download the full ...Show All
Windows Forms Changing the default click behavior for a TreeView control
My application has a menu structure (a customized TreeView control) consisting of items organized in folders (folders may be embedded within other folders). The minus/plus elements of the control have been removed. I have been asked to allow the user to ...Show All
Visual Studio Visio and Visual Studio 2005 (Standard)
I have Visio 2003 (Professional) on my system and I would like to use it with Visual Studio 2005 for reverse engeneering without having the expense of upgrading my Visual Studio edition. Is this possible If not why not - seems to me one purchases Visio in good faith and then purchases VS2005 in good faith but they do not work together! If this is true it would be like being unable to embed an Excel spreadsheet in a Word document! Hoping so ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Most efficient way to draw a colored square (no, really!)
Yeah I know, this sounds really lame... I've actually got textures, input, sound, physics and a bunch of other stuff working, but I have to conclude that the method I'm using to draw a starkly colored square is murderously inefficient. I can add 50 textured squares to my scene and lose maybe 40 frames per second... but adding 20 colored squares to my scene kills about 600 frames per second... from a human standpoint, this makes no sense, sinc ...Show All
Windows Forms How can I pass the messages between windows MDI forms and childforms?
I am using VS 2003 version with MDIForms and childforms.I wanted to pass the messages from childform to parent(MDI)form depending on childform events For example, if I have 5 childforms, when the childform closes, I wanted to pass a message to parent. Based on the message, parent form needs to enable or disable the menu. Parent form also wants to check how many child forms opened or similar logic. The logic I can take care, but How can I pass th ...Show All
Visual Studio MKMahesh,
Is there any words out yet when we'll be getting Microsoft DSL Tools for Visual Studio 2005 RTM The concepts around Software Factories are very interresting and we're investigating different ways of implementing some of it's aspects. Especially interresting is the ability to define own custom DSLs and make designers for them within Visual Studio 2005. Just one quick question, is it possible to edit/manipulate the Class Designer's code generatio ...Show All
Visual C++ Error LNK2005 THANKS
Hello, I have been working on a simple program involving a basic class. Whenever I compile the code below I get the following error: main.obj : error LNK2005: "public: int __thiscall Employee::Thousand(void)const " ( Thousand@Employee@@QBEHXZ) already defined in Employee.obj From Employee.h: #pragma once class Employee { public: //accessors int GetAge() cons ...Show All
Visual C++ [MFC] Why is the File Open dialog no longer resizable?
Hi, In VC6, the File Open dialog of a standard MFC app is resizable. In VC8, it isn't. Why not And how can I fix this in my own apps Olaf van der Spek wrote: Hi, In VC6, the File Open dialog of a standard MFC app is resizable. In VC8, it isn't. Why not And how can I fix this in my own apps The OFN_ENABLESIZING is not enabled by default in VC 2005. Try this :- CFileDialog dlg(true); dlg.m_ofn.Fla ...Show All
.NET Development WSE 3.0 Hand on Lab problem with IIS5.1
I have installed and test with not problems the samples of WSE 3.0 and also the P&P samples. The test system is using WP/Pro, IIS 5.1 and VS2005. Now I have tried the WSE 3.0 Hand on Lab samples. I executed the installvdirs.exe, that create all the virtual directories. After load in VS2005 the WebService projects C#: CS\Part1\before or Part1/after, they are giving error as if the IIS server is not serving the WS page. The same pr ...Show All
Visual Basic custom user control dissappears
This has happened to me on several occasions; I will create a custom user control within my application. I drop it on a form and it works and tests fine. A few builds later, as I am working on other aspects of the solution, I can no longer open the form. I get an error message indicating that the user control cannot be found. If I go to the designer and delete all references to the control, I can get the form open again. At this time, however ...Show All
Visual C++ vector container with user-defined class
Hi all: I want to use the STL vector to store an array of objects which class is user-defined. LMVector is the user defined class and here it's the LMVector.h file. class LMVector { private: .... public: .... }; In another class LMRectangle, there is a field needed to store an array of LMVector. Here is the header file for LMRectangle class LMRectangle{ public:   ...Show All
Visual Studio Intellisense for DOM in tags other than <script>?
I'm trying to get Intellisense DOM support for the HTML DOM object model (like is available inside the <script> tag when editing .html pages with the HTML editor/designer in VS 2005) but in a different tag. I've updated the xhtml_transitional.xsd that ships with VS2005 to include a few more tags. This works great for the tag/attribute validation. I've also created a new w3c-dom1.tlb with extra objects/methods/properties so that the normal ...Show All
