lynnbt's Q&A profile
Windows Forms Embedding a word Window in VB.NET word app
Hello All, Is it possible to embed a word (window) inside a rich client. I'm currently working on a rich client and would like to open a downloaded document within the windows form itself. Any ideas or suggestions would greatly appreciated. thanks, chris I suggest you to try DSOFramer instead of hosting Word into a Webbrowser. I used it in a .NET&n ...Show All
Visual Basic Using TabPage and binding data
I had a tab wherein there are two tabpages(tabList,tabEditList)...On the tabList there is a datagridview(dgvPatients) which displays all data of a certain coulumn(Name)..The table("PATIENT") where Name is a member had other columns(ID,LastName,FirstName...etc) I make this other columns hidden in the dgvPatients as what i only like to show here are the names...What i really trying to do is, all of other details of such certain name would be displayed in the tabEditList page, wherein it(tabEditList) contains different controls such as textboxes and datetimepicker(dtpBirthDate)...Say for example, on the tabList, dgvPatients was pointin ...Show All
Visual Basic Delay using nesting in For Next Loop
I am new to Visual Basic and am using the 2005 Express Edition. Can anyone please tell me why the following code does not produce 10 Beeps with a short delay between each one. For Int As Integer = 1 To 10 For Tim As Integer = 1 To 50 Beep() Next Tim Next Int Be careful with threading sleep for any significant delays as the delay if in a looping construct can make the applications rather unresponsive as the process and UI are on the same thread and your just suspendin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. WEIRD-Please Help. Alpha Blended Mesh Occludes Another Mesh Over Background
Hello everyone, I'm new to these forums and have been tinkering with Managed DirectX for a few months now in order to get my graphics engine working the way I want. Right now I'm trying to figure out a problem I'm having with two alpha blended meshes occluding one another. I use a background sprite texture to help display the translucency of the meshes I'm using. I have two distinct mesh objects defined, one created using Mesh.Box() and the other using Mesh.Sphere(). The "sphere" is drawn at coordinates (0, 0, 0) and the "box" is drawn 50 units to the left of the sphere at coordinates (-50, 0, 0). When the applicatio ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Debugging shaders
Hy. I've never debugged shaders before and I really need to do it; so I followed all the steps from the SDK, then I tested the debugger on a SDK sample that had shaders and it worked. Then I turned my attention to my application and I've modified the code to enable it to run with shader debugging. The only problem is that shaders aren't debugged, I've inserted a breakpoint there and it isn't reached. I've tried everything, but nothing works. Has anyone encountered this problem I have to mention that I'm using my own header and cpp for the object implementation and the DXUT framework to do all the dirty work. This is what I've done t ...Show All
SQL Server Losing rows from file to destination table - need troubleshooting help
I am losing data from time to time and can not figure out where the rows are vanishing to. In essence, I have 5 files that I process. The processing occurs on a daily basis by one SQLAgent job that calls 5 individual packages, each doing a different piece of work. I stage each file to a temp table, then perform some minor transformations, then union the rowsets from each file before landing to another temporary table. A subsequent package performs additional transformations that apply to the entire dataset, before inserting them to their final destination. Along the way, I reject some records based on the business rules applied. Each pack ...Show All
.NET Development ADO.Net-Insert, Update, and Deleting Records
Everyone, I'm having a crisis inserting, updating, and deleting records in my DB using ADO.NET. I'm sincerely hoping someone, anyone, can help me with a solution. I've searched the forums and related resources and have not been able to come up with a fix. Here's the problem: I have a form with five text boxes and one combo box. The data set (DataSet1) and corresponding table adapter (TableAdapter1) were automoatically generated in VB Express 2005 beta 2. I've verified the TableAdapter has all of the appropriate SQL commands to Insert, Update, and Delete records to the DataTable in a SQL 2005 Express database ...Show All
Visual Studio Team System How to delete a new project that failed to create properly?
Hi, I tried to add a new Team Project and an error occurred when it treid to configure the sharepoint portal. It said it tried to roll-back the changes, but that didn't work. I'm not shown this project anywhere to delete it. If I try and create a new one with the same name it won't let me as the name is not unique. Is there a way to delete this 'dead' project from the server THanks Chunda Thanks the Reporting Service placeholder folders allowed the project to be deleted. Thanks Chunda ...Show All
Visual C# dataGridView UserAddedRow event
The UserAddedRow events occurs when the first character is added to a new row, Is there a similiar event that fires when the user has completed adding all of the information to the row I want to capture the contents of the new row and create a new object with the contents. The problem with RowsAdded is that it occurs everytime a row is added, not just when a USER adds a new row. So, if I initially add 3 rows from a data source it will fire 3 times. ...Show All
Visual C# How to add a printer
I need to add a printer to a customer computer. I have the printer address but can't find any component to do this. Any way to do this programmatically Try this: [DllImport("winspool.drv", CharSet=CharSet.Auto)] static extern IntPtr AddPrinter( string pName, uint Level, [In] ref PRINTER_INFO_2 pPrinter); [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)] struct PRINTER_INFO_2 { public string pServerName, pPrinterName, ...Show All
Windows Forms making application threadsafe
Hi, I have a multithreading application in which I am using a control to which I add datapoints to plot a graph. There are various functions in the application that adds or remove points in the control, and these functions can be executed by more than one thread at a time, as a result I get multithreading error randomly , such as Syst ...Show All
Visual Studio Method not found: 'Boolean EnvDTE80.CodeClass2.get_IsShared()' error
Hi there, When I add a new Class Diagram to my project, I get the following message when it shows on screen:- Method not found: 'Boolean EnvDTE80.CodeClass2.get_IsShared()' error I am unable to do anything with the class diagram at all and have to repeatedly click the okay button and close it. Any ideas Simon Ramesh, I had the same issue as Simon. I followed your instructions to serach for old versions. I used to have the Beta of VisualWebDeveloper, then the free VWD. When I installed the offical free VWD in January , I followed the beta uninstall instructions Now moved to Standard. Wanted I found 2 EnvDTE80.dll, which shou ...Show All
Visual C++ Console::WriteLine
hi, im new to C++ .NET so for Console::WriteLine(S"The number is {0,1:c} {1}", B, "TT") ; what {0,1:c} and {1} means and my program start like, #include "stdafx.h" using namespace System; int _tmain() { char B ; Console::WriteLine((String ^)"Hello world"); B = getch() ; Console::WriteLine(S"The number is {0} {1}", B, "TT") ; getch() ; return 0; } on second WriteLine output, B value is in numbers, how to get character output using WriteLine i know printf can, but i wanna know how for WriteLine Thanks See :- http://msdn2.microsoft.com/en-us/library/txafckwd.aspx ...Show All
Visual C# C# Generics
Dear All, I have used C# 2.0 generics to build a class. the thing is that when i investigate the code using IlDasm, i could find the box with T parameters mentioned statements out there. but the main advantage is that boxing will not happen when using generics. can anyone justify this or suggest me whts wrong . regards, sundararajan.s Could you post the code that is causing the boxing Generics don't necessarily eliminate the boxing of value types. They will eliminate the need provided you are using the generic throughout but any calls into methods that require an object will still cause a ...Show All
Visual C++ CFrameWnd::OnSetPreviewMode ASSERTs in VC 2005 but not VC 6.0
I have a VC++ 6.0 MDI project that uses a class derived from CPreviewView to provide some mildly enhanced Print Preview functions. The class is invoked according to the MSDN documentation by calling DoPrintPreview. In Visual Studio 2005 the program asserts in Debug mode at the last line of this fragment from winfrm.cpp: void CFrameWnd::OnSetPreviewMode(BOOL bPreview, CPrintPreviewState* pState) { ...etc... if (bPreview) { // Entering Print Preview ASSERT(m_lpfnCloseProc == NULL); // no chaining m_lpfnCloseProc = pState->lpfnCloseProc; // show any modeless dialogs, popup windows, float tools, etc ShowOwnedWindow ...Show All
