aldone's Q&A profile
Windows Forms Newb: Neat Text Display In Windows Forms
I want to make an attractive text display on some of my forms similar to how I would on the web (which is what I'm more used to). In other words, I want to be able to have a paragraph of text that can have a single word italicized, then an indented section, etc. What is my best option with Windows forms The Label control seems  ...Show All
Visual Studio Express Editions Keyed Collection Class Question
Hello All, I have a question about the Keyed Collection Class. I am using the Keyed Collection Class as the basis for a Collection in my VB application. I chose they Keyed Collection Class because it appears to allow you to store the objects in your Collection with a Key Value that can be used to retrieve remove or find them latter. However when I try to execute the add method of the Key Collection Class it says that I have too many arguements to Public Sub Add(Item as T). The Add appears to be a basic collection class not a Keyed Collection Class. The Keyed Collection Class is supposed to allow you to specify a Key for the object you are ...Show All
Smart Device Development Make a Cab File
hi i am mehmet my questions about cab files i am create cab file but i cant make in c#.net process in cab file : two running exe later one text file copy from my computer to Mobile Device. And Later copy database backup file from my computer to Mobile Device. I'm sorry, I can't figure out what the problem is. Please clarify. ...Show All
Visual C# richtextbox not keeping font when form is minimized
I have a form with a richtextbox in it. I have a thread that is running seperate from the main thread. This thread invokes a method in the main thread, sending it a string and a color. This method takes the string, changes the selection font color to the color that was passed in and appends the string to the text box. Here is the code: delegate void printToTextBox(String data, Color color); private void setText(String data, Color color) { richTextBoxLogs.SelectionColor = color; richTextBoxLogs.SelectionFont = new Font(richTextBoxLogs.SelectionFont, FontStyle.Bold); richTextBoxLogs.AppendText(data); } private void myThread() { //C ...Show All
.NET Development How to store applicationSetting type collection
I badly need to store collection of string values in new app.config file in the section applicationSettings. For example: list of availbale server addresses for my aplication should be saved as collection of strings with settings name ListOfServers How to do it Thanks if you use VS.NET Express 2005 you can do like this 1 . In solution explorer , in project , double clikc Settings.settings 2 will show table to enter key/value 3 in Name column , enter "mykey1" Type = "String" Scope ="Application" Value = "myvalue1" 4 ...Show All
Visual C++ Crash on delete and MSVCR libraries confusion
Hi All, I'm trying to debug a strange crash at pointer delete (I'm porting an application from VC 2003 to VC 2005). ntdll.dll!7d61002d() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!7d681da1() ntdll.dll!7d659cee() ntdll.dll!7d642da9() > msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x06610000) Line 1807 C kernel32.dll!7d507df5() msvcr80d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x0ac5a790) Line 19 ...Show All
Visual Studio Express Editions Free Ebooks
hello hwo can i get a free ebook from microsoft Some of these might also be useful for learning the OO and some of the basics. http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/default.aspx http://mindview.net/Books http://prosoftware.se/home/ProSoft.php And for learning some of the latest things I recommend the sessions at http://microsoft.sitestream.com/PDC05/ while they are still available for a couple months. ...Show All
Visual Studio Hierutil LIB error in VS SDK Sep CTP
In datatime.cpp, line 153 is if (0 != _localtime64_s(&ptm, &timeSrc)) should be if (0 == _localtime64_s(&ptm, &timeSrc)) _localtime64_s returns zero if successful. I will open a bug to track this; however, this will not be fixed in the upcoming RTM of the VS SDK 2005, as we are currently in the process of doing media verification on that. ...Show All
Visual Studio Express Editions Why can’t update my access database?
Hi... I need help with this code, I try to update a register but nothing hapends, no error, no warrnings but no update too. I’m using VWD Express and Access. Protected Sub cmbActualizar_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles cmbActualizar.Click Dim cliente As New ClientesDS Dim taCliente As New ClientesDSTableAdapters.DSICatCtes1TableAdapter taCliente.FillByCodCte(cliente.DSICatCtes1, CodCte) With cliente.DSICatCtes1(0) .ApMat_Cte = txtApMat.Text.ToUpper .ApPat_Cte = txtApPat.Text.ToUpper .Tel_Cte = txtTel.Text .Nom_Cte = txtNombre.Text .Mail_Cte = txtMail.T ...Show All
Visual Studio Team System Team System Coverage for Web Services
Hi, I am trying to get a code coverage for a web services. After the build is done on the Build machine a set of unit tests is running. In my testrunconfig file I have specified that that I would like to run a code coverage for my web services. In the build/test results there is no trace of the code coverage. The message that I can see in the test results/code coverage is following: " Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems." I am trying to find what are the instrumentation problems but there is no other clues what might be wrong. I ...Show All
Visual Studio DestinationPageUrl based on roles
Is it possible to -after successful login- direct the user to specific pages based on his/her role Thanks. Mmm, I'm not sure what you're trying to ask about, but this forum relates to MSBuild, not anything web related. If you're asking about ASP.NET stuff, try asking at http://forums.asp.net . Neil ...Show All
Visual Studio Team System Code analysis reports on Visual Studio generated code
Heya, I have a problem with the Code Analysis (FxCop I assume). Its reporting warnings on code generated by Visual Studio, such as code in the xForm.Designer.cs files. For example: Warning 99 CA1303 : Microsoft.Globalization : FLogOn.InitializeComponent():Void passes a literal as parameter 1 of a call to Control.set_Text(String):Void. Retrieve the following string argument from a resource table instead: 'OK' How can I turn off Code Analysis for generated files Cheers, Chris Chris, I'm not an expect with Team Foundation Server, so I suggest you ask how to do this in the Team Foundation Forum . Cheer ...Show All
Visual Basic how to get and set value of other SYSTEM & SOFTWARE ?
thank you ...Show All
Visual Studio Express Editions Visual C++ Express installation problem.
When at the downloading and installing .NET 2.0 and Visual C++ Express screen under status, it says "Re-establishing connection (attempt 1 of 5)" It goes al the way to 5 of 5 then says it failed to install .NET 2.0, and tells me to exit and re run the installer. Whats up with this I told my Firewall to allow it, now I'll disable Window's firewall and totally shut down McAfee and try again. Thank you for trying out the Visual Studio Express edition. Could you include the log dd_vsinstall80.txt from %temp% of the machine ...Show All
Visual C++ C++ calling C# Dll -> EEFileLoadException in debugger but works correctly if I just run from windows directly.
I have a C++ application usings a DLL written in <Managed C++> that connects to a web service. My code is : hAuthDll = LoadLibrary("AuthSrvClient_w32.dll"); authtx = (AuthTransactionType)GetProcAddress(hAuthDll, "AuthTransaction"); authtx("URL", "UserName", "Password", pData); MessageBox(NULL, pData->Response, "HERE", MB_OK); Theres also some error checking omitted. When I try to run the program thorugh the VS2k5 debugger it always crashes at the authx function call with : First-chance exception at 0x7c81eb33 (kernel32.dll) in House_Cpp.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x00129e34.. The DLL is in ...Show All
