PaulC1234's Q&A profile
.NET Development I was successful. Thanks Gabriel Lozano-Moran for helping
I installed .NET Framework 2.0, but it has a error. I found the solve way for this problem on Internet and i found a blog for fixing a failed .NET Framework installing. But when i retry it, it still be error. Please help me! + I installed and received a error message: "Error 25013 failed to install assembly C:/windows/microsoft.net/framework/v2.0.50727/System.Design.dll because strong name signature couldn't be verified. Was the assembly built delay-signed " + And i received 2 log files: dd_netfx20MSI55AF.txt; dd_netfx20UI55AF.txt. The content of [dd_netfx20MSI55AF.txt] file is over 8Mb, so that i could not paste it here. * This's content of [dd_netfx20UI55AF.txt] file: -------------------------------------- ...Show All
Visual Studio 2008 (Pre-release) TreeViewItem width to fit control & transformation
Hi! 1)Is there any way to set TreeViewItem width in such way that they fit eaxactly all free space in the TreeView. (smth like items in listbox) I cannot manually set it in code because treeview width is defined automatically. 2) How can i apply transformations only to the treeview item and not to its child elemwnts (All effects are applied at node expansion, i tried to set RenderTransform of child elements to null but it didn't help) Or maybe i can perform all transformations before node is expanded but just after + button is clicked but i didn't find necessery event Thank you lee d wrote: 1.you can try one of the following < DataTemplate x:Key = " dt2 " > < TextBlock ...Show All
Visual Basic Create Message-Box with VBA and Visio
Hi everyone, I have tried to find a Keyword to create a Message-window or something like that in Visio, but I did’t find anything. I just need to create a small window with a Message on it. Please tell me how to do :) Thanks VBA code for messagebox: Dim Msg, Style, Title, Help, Ctxt, Response, MyString Msg = "Do you want to continue " ' Define message. Style = vbYesNo + vbCritical + vbDefaultButton2 ' Define buttons. Title = "MsgBox Demonstration" ' Define title. Help = "DEMO.HLP" ' Define Help file. Ctxt = 1000 ' Define topic ' context. ' Display message. Response = MsgBox( Msg , Style , Title , Help , Ctxt ) If Response = vbYes Then ' User chose Yes. MyString = "Yes" ' Pe ...Show All
Visual C++ FindFirstFile fails on MyApp.Manifest immediately after command-line LINK
I have encountered a strange problem linking a mixed dll from the command-line and using the -Manifest linker option. In my makefile I attempt to determine if a .Manifest file was produced by the immediately preceding link command and, if so, I use mt.exe to embed it as a resource into the dll. The strange thing is that my test to determine if the .manifest file exists always says "no"; it does not exist. Yet when I do a "dir" command right afterwards, the file is there. Below is a snippet from the link recipe. This is used with a proprietary make utility but what %iffile does is simply call FindFirstFile() to determine if the provided fully qualified filename exsits. LINK -Manifest:$(DLM_OBJECT_DEST)$(DL ...Show All
Visual Studio Tools for Office C# and ActiveWindow.ActivePane.View.Type
Why is the following Word document property read only when automating Word from C# ActiveWindow.ActivePane.View.Type Thanks Mark Baird Hi Mike, I am uncertain without looking at more of your code or some more clarificaiton. Setting the Type property to one of the WdViewType enumeration values seems to work for me. Application wordApp = new Application (); object missing = System.Reflection. Missing .Value; Document newDoc = wordApp.Documents.Add( ref missing, ref missing, ref missing, ref missing); newDoc.Range( ref missing, ref missing).Text = "Test" ; wordApp.Visible = true ; newDoc.ActiveWindow.ActivePane.View.Type = WdViewType .wdReadingVie ...Show All
Visual Basic Refill a datatable?
I have this code in my vb.net program. Me.TickersTableAdapter.Fill(Me.DataSet1.Tickers) It fills the data from the external file fine. However, I'd like to be able to refill the data after it has been changed by an external program. Calling the line a second time doesn't work because I get "datareader already active on this command" error. How can I refill the data from the external file tia The only code in my form is this one: Me.TickersTableAdapter.Fill(Me.DataSet1.Tickers) I think there may be code somewhere else but I don't know how to find it in my project. thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Emitters and Distance Question
Hi again everyone! Quick question regarding the implementation of the volume curve in XACT, and regarding emitters. 1) Is it wise to use one emitter and set it based on the current cue and shared by all the soud sources in the game or create an individual emitter for each sound source It seems to work alright with one emitter, a handful of critical sections and the like, but there isn't a lot of documentation in regards to its usage with multiple emitters. Advice willingly accepted on this one. 2) As for distance volume curves, I've played with a couple of things, but none of them seem to have any real effect on the volume based off distance. I started in the XACT Creation Tool, and played with the distance settings, making them smaller an ...Show All
Visual C++ help reading integer string "Zero-based index of the button string"
the structure is of type typedef struct _TBBUTTON { int iBitmap; int idCommand; BYTE fsState; BYTE fsStyle; DWORD dwData; int iString; } TBBUTTON, NEAR* PTBBUTTON, FAR* LPTBBUTTON; where int iString is type Zero-based index of the button string. how to read the value of iString, any idea or any help my prob is TBBUTTON tb; i want to read the value of tb's iString value can u help me to know how to read the value of TBBUTTON's int iString swarup wrote: [...]my prob is TBBUTTON tb; i want to read the value of tb's iString value can u help me to know how to read the value of TBBUTTON's int iString In order to read the value of iString use expression like tb.iString , after you sent the TB_GETBUTTON mes ...Show All
Visual Studio 2008 (Pre-release) UserName Password Authentication. Setting the Client side
Hi I have set up a server (wsHttpBinding) that should authenticate the incomming messages using asp.net membership provider. In the client proxy I write the username and the password to : prox.ClientCredentials.UserName.Password = "XYZ..." prox.ClientCredentials.UserName.UserName = "XYZ..." Unfortunatly the authentication failed. (of course the user was set in the DB...) (Exception I get: "The request for security token has invalid or malformed elements") Is there something I forgot to do in the client side What are the steps that should be done in the client to send the cridentials to the server Thanks Manu ( manu@sela.co.il ) My guess would be def ...Show All
.NET Development Interacting with external program?
What I am trying to accompish is making a windows form application that will interact with a program called TeamSpeak. (Most people know what it is, but those who don't it is a voice chat program for gaming and stuff). What I want to know is; is it possible to access functions, variables, and other things in that application from mine My windows forms application basically is a splash screen for teamspeak, that will allow the user to directly connect to my teamspeak server without typing in any information... I just wanted to know if it is possible to interact with other applications like I want. (And if you know how to, I would like to know how as well. :) ) That's a remarkably popular topic on these forums, making a rather compel ...Show All
Visual FoxPro password on my table
can i put password on my table >> can i put password on my table Not directly, but if you are using VFP 7.0 or later you can enable DBC Events (see the Help File for details) and you can then use the DBC_BeforeOpenTables event. There are examples in Solution.APP that ships with all versions of VFP too that show how you can use this. However this will not someone opening the table with an application that by-passes VFP altogether (like a free downloadable DBF Editor/Viewer that anyone can get from the internet hackers). If you are still using VFP 6.0 there is no built-in security mechanism (those were just safer days I guess). What exactly is the issue you are trying to solve here ...Show All
Visual C# Intranet and Windows Media Server
I have set up windows media server on 2 servers on the same domain. When I try to add the 2nd server to the 1st servers gui I get the error message that access is denied I have followed the instructions for setting it up on the microsoft site and given the user on the 1st server permissions over the DCOM->windows media services. Is there anything else I need to do Thanks, I'm using the code straight off the Windows Media sdk: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebP ...Show All
Smart Device Development .NETCF2 SP1 serial port memory leak
I use .NETCF2 SP1 serial port class, my application leaks a lot. Basically, I have a GPS device on an IPAQ 2210 connected via a serial cable into com1. I use the Receive event to start a new thread. Once in it, I loop round checking for data. While not the most elegant of ways to do it, it stops new threads being created / exited every second. The port.ReadExisting seems to leak a few KB every 10 seconds or so. Any ideas SP1 applied to VS2005 and handheld. Thanks Code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Diagnostics; using System.IO.Ports; using System.Threading; namespa ...Show All
Visual C# Display 2 different tables in 1 datagridview
Hello. I have not worked with datagrid earlier and I have to just list two tables in the same datagridview but not at the same time. i want to show "Order" table at load, but when I click on the "customer" button gridview should show customer table. I need help with the code behind the button, how to switch from one order to customer showing in the same datagridview by pressing a button... Please..help Hello. I found out what was was not working..User error would I say. here is the code how it is supposed to be: public partial class AllBack : Form { public AllBack() { InitializeComponent(); } //gets dataset private v ...Show All
Microsoft ISV Community Center Forums Need help writting a script similar to...
Sub CommandButton2_Click Me.Textbox7.Text = My.Computer.Filesystem.ReadAllText("C:\info.txt") End Sub I'm a newbie at VB all around, thought that the My namespace was part of the VBA build. I have no clue how to write this kind of script in VBA. Basicall, I have a file (C:\info.txt) that I need to copy all of the info in this file into a textbox (textbox7 to be exact) on the form whenever commandbutton2 is pressed. Any help would be greatly appreciated. Thanks Jdwilliams Hi, the My namespace is breeding some lazy developers. :) No worries chief... When using the file system in VBA I tend to use the FileSystemObject... Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs. OpenTextFile (&q ...Show All
