Tera_Dragon's Q&A profile
Visual Studio VS2005 and Direct3D shader debug extension?
Is the latest CTP of VS2005 working with the Aug. directx SDK I try to debug a shader but debug with directx isnt working. I also have VS 2003 installed and both seems to work for normal c++ compiles and debug, but i cant manage to get the shader debuger working in the 2005 version. Any hints I would recommend posting this question in the Debugger Forum where our Debugger team members can help you: http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=56 Thanks ...Show All
Windows Forms DataGridTableStyle
I am writing an application that I needed to hide 3 columns in a datagrid. I used this code: (I am using VS 2005 compact framework). DataGridTableStyle tableStyle = new DataGridTableStyle (); tableStyle.MappingName = "Component" ; DataGridTextBoxColumn tbc; tbc = new DataGridTextBoxColumn (); tbc.MappingName = "ComponentAcre" ; tbc.HeaderText = "Acre" ; tbc.Width = 0; tableStyle.GridColumnStyles.Add(tbc); tbc = new DataGridTextBoxColumn (); tbc.MappingName = "ComponentDescr" ; tbc.HeaderText = "Description" ; tbc.Width = 400; tableStyle.GridColumnStyles.Add(tbc); dgGrid.TableStyles.Add(tableStyle); It worke ...Show All
Visual C# Sytem Monitoring
I need to write a program that will monitor whether another program is still running. Should the monitored program shut down, the monitor should send an alert via email to an outlook 2003 mailgroup. Where should I be starting to get something like this up and running The OS for the program I need to monitor is Win 2000 Pro. Yes, as far as i know, you can use the Process Class to get the information about the Process that is running and enable the process to raise events when it exits, and in this why when the process will exit , you can send e-mail by using the System.Net.Mail namespace to send the email ...Show All
Visual Basic Ordinary users can't update MDB files installed in same directory as app
I'm using Windows Installer 3.1 to put my VB 2005 application on user machines. The destination folder is C:\Program Files\my company\my app\. The application uses an Access DB that I have been putting in the same folder. The application and data are to be accessible to all users and the DB needs to be able to accept new data and modifications. All is well as long as the user is a power user or administrator. Ordinary users sometimes find that the default installation won't allow them to update any of the files since the folder, being under Program Files, is created without the necessary permissions. This yields the ever-popular "Ope ...Show All
Visual Studio Express Editions question about reading a text file
I'm looking for a way to read a text file line by line. Essentially what I'm looking for is a way to get my code to read a line, evaluate it, then store that line in a value and I guess incorporate reading the next line part into a loop statement. any help would be GREATLY appreciated. Dim objReader As New IO.StreamReader( "c:\UpdatePatch.log" ) Dim line As String Dim all As String = "" While Not objReader.EndOfStream line = objReader.ReadLine() ' do your evaluation here all += line + vbCr End While objReader.Close() ...Show All
Windows Forms ClickOnce application download error
When trying to download my ClickOnce application, on part of the machines I'm getting the following error: PLATFORM VERSION INFO Windows : 5.2.3790.65536 (Win32NT) Common Language Runtime : 2.0.50727.26 System.Deployment.dll : 2.0.50727.26 (RTM.050727-2600) mscorwks.dll : 2.0.50727.26 (RTM.050727-2600) dfdll.dll : 2.0.50727.26 (RTM.050727-2600) dfshim.dll : 2.0.50727.26 (RTM.050727-2600) SOURCES Deployment url : http://yaniv-serv2003/panorama/jsharp/NetComponents.application & ...Show All
SQL Server Could not find file 'C:\WINDOWS\system32\dbo.mdb
Error message "O LE DB error: OLE DB or ODBC error: Could not find file 'C:\WINDOWS\system32\dbo.mdb'.; 3024. is reported when I try to process a cube in the SQL Server Management Studio and in the SQL Server Business Intelligence Development Studio. What is the problem, I didn't install new software!! Check the data source connection string. It looks like a Jet data source pointing to C:\WINDOWS\system32\dbo.mdb. Edit the data source in SQL Mgmt Studio and fix it. ...Show All
Windows Forms Having trouble getting a CustomAttribute from within a Custom TypeConverter
Hello All, Here is what I have: Class1 is a component that implements IExtenderProvider Class1, Property1 Class2 Property1TypeConverter Class3 CustomAttribute1 <AttributeUsage(AttributeTargets.Property Or AttributeTargets.Method), _ System.Security.Permissions.PermissionSetAttribute( _ System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _ Public Class CustomAttribute1 Inherits Attribute So I adorn Class1, Property1 with the CustomAttribute1 and TypeConverter like so: <CustomAttribute1("someValue"), _ TypeConverter(GetType(Property1TypeConverter)), _ Public Proper ...Show All
Visual C# Bug or intentional: aspnet_Membership_GetUserByName does not update LastActivityDate
I've just begun to extend the membership framework for .NET. I've noticed that aspnet_Membership_GetUserByName has the potential to update LastActivityDate in aspnet_Users, but actually will not ever do the update. The "problem" (unless this is intentional) is that @UserId is never set in the select statement before the update statement, i.e. there is no "@UserId = u.UserId" in the Select. So is this a problem with my installation, a "bug", or is it intentional It seems I'm not the only person to notice this ( Membership.GetUser() doens't update lastactivitydate ), but that post didn't receive an answer. A ...Show All
SQL Server Error while registering a new sql server
TITLE: New Server Registration ------------------------------ Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) When I try to regiter a sql server, I take this error message. I a ...Show All
Windows Forms How to copy the selected row of a listview into another listview
Hi, I want to copy the selected row of a listview into another listview...... I want to do this without adding individual column items..... Is there any thing like listview.rowadd(anotherlistview.selectedItem.rows).....Not exactly like this but something similar to this.I hope u u/d my problem. Thanx a lot ur help will be appreciated in advance I donot want to individual columns&nb ...Show All
Smart Device Development Unable to run compact .net application on some PPC devices
We are having trouble running .Net applications on an iPAQ rx1955. We have installed Compact .Net ( I thought all Windows Mobiltiy 5.0 devices came with Compact .Net). And when we run a simple Hello World application compiled for either 2003 or 5.0 they do not work. They do nothing. The thiking icon flashes for a few seconds and then nothing else takes place. We have had other people with this problem on other HP devices and never found a solution. Does anyone have any thoughts on what could be going on here Does anyone know what is the percentage of devices with PocketPC 2003 and 5.0 that do not come with Compact .Net as the default. ...Show All
.NET Development Typed datatable does not have public constructor that initializes DataColumn.Expression
Hi, all! I have typed dataset, that contains (obviously) typed datatable. I've added one custom column that has an expression (concantenation of two other columns). Automatic dataset generator does not create public constructor for the datatable that initializes custom expression. I have to extend the class manually. Is there any way to set up generator to do that Thanks, Nikolay Ryabkov. Hi! Yeah, you are right, InitExpressions is called from DataSet contstructor, but not from DataTable constructor. Take a look: public TypeDataTable:this(false) private TypedDataTable(bool initExpressions) ...Show All
Microsoft ISV Community Center Forums Dialog Box, Searching for keywords in an Excel Workbook
Good morning, afternoon, evening... I need to create a little macro in an Excel workbook, that woud allow the user to type a keyword or a phrase, and check if this phrase or keyword exists within the same workbook or another (I guess I would just need to change the path of the work book). The rule is the following: - If the text entered is in one of the cells of Column A of each worksheet, the returned result will be the content of each cell of the Column B - If the search does not return any result, the text entered will be displayed with an error message A big thanks in advance for those who can help me doing this. Alexan ...Show All
Visual Studio Working with IOleCommandTarget.Exec() parameters
Hi, I am trying to handle different commands in my VSPackage. I am using C# and have the following function in my package: public int Exec ([ InAttribute ] ref Guid pguidCmdGroup, [ InAttribute ] uint nCmdID,[ InAttribute ] uint nCmdexecopt, [ InAttribute ] IntPtr pvaIn, [ InAttribute ] IntPtr pvaOut ) { } My VSPackage has a toolbar and there is a combo box in this toolbar. I want to put my data (a string list) into this combo box. I put the combo box using ctc file and specified handler as -comboboxhandler The above function has a following code segment switch (nCmdID) { case PkgCmdIDList .c ...Show All
