J Jakubik's Q&A profile
Visual Studio Tools for Office Using Performance Counter breaks Addressbook and other message windows
In order to optimise the perfomance/usability of our application we have recently introduced a cpu performance counter. Using this counter prevents some of Outlook's windows from displaying properly. The easiest steps to reproduce this error are as follows: Repro 1 - Add the following code to an Addin (perhaps in the event handler of a button): Dim mProcessorPerformance As New System.Diagnostics.PerformanceCounter mProcessorPerformance.CategoryName = "Processor" mProcessorPerformance.CounterName = "% Processor Time" mProcessorPerformance.InstanceName = "_Total" mProcessorPerformance.MachineName = My.Computer.Name MsgBox(mProcessorPerformance.NextValue) - Run the addin and before doi ...Show All
.NET Development The request was aborted: Could not create SSL/TLS secure channel.
I'm having a problem creating a secure channel with a business partner. All certificates are in place, the application runs fine on the development machine. Put it on the 2003 Server, it dies a thousand deaths with "The request was aborted: Could not create SSL/TLS secure channel". I've seen a lot of people with the same error but apparently many causes. I have a System.Net.Trace.log which shows that it cannot find a matching certificate. Apparently I'm not holding my mouth right. The scenario is the same as posted by SMITHMX 13 Jul 2006 10:09 PM UTC. The only issue that may compound the problem is that I have put certificates in about 40 million places (apparently not in the right one) and I'm not sure if these may ...Show All
Smart Device Development how to get the names of all applications running in the device
I need to get the names of all the applications running in the device like in windows task manager. The processes runing in the device can be captured using toolhelp functions. What are the functions that can be used to get the applications data . any idea Thank you.. That tab simply shows top level active windows. If application does not have a top level window or it’s hidden or has no name it won’t be shown. If application has several top level active windows they all will be shown. If that’s what you want simply enumerate windows (search if you don’t know how). ...Show All
SQL Server Windows/Sql Server 2005 Security
if you run the following script it takes access from the windows admin from getting into sql server through windows auth. The issue is that the files that are attached logging as SA after that are read only. Is there any solution When you try and switch the file to read write sql server gives an error saying that it cant read the mdf and ldf--gives a windows access error.... USE [master] GO IF EXISTS (SELECT * FROM sys.server_principals WHERE name = N'BUILTIN\Users') EXEC sp_dropsrvrolemember [BUILTIN\Users], sysadmin DENY CONNECT SQL TO [BUILTIN\Users] CASCADE GO IF EXISTS (SELECT * FROM sys.server_principals WHERE name = N'BUILTIN\Administrators') EXEC sp_dropsrvrolemember [BUILTIN\Administrators], sysadmin DENY CONNECT SQL TO [ ...Show All
Visual Studio Visual Studio 2005 Professional SP1 fails to install
When attempting to apply SP1, I receive the following error message in event viewer: Product: Microsot Visual Studio 2005 Professional Edition - ENU - Update KB926601 could not be installed. Error code 1603 and that additonal information is available in the log file. Reading the log file is as clear as mud, there are several indicators that transformer table failed. I am currently attempting to reinstall the Service Pack. Any suggestions what is causing this or better yet a work around solution that will enable me to install the service pack. The server has MS Windows 2003 Server std edition w/sp1. Thanks in advance You might also encounter the following error when you try to install it on Windows Serve ...Show All
SQL Server SSIS - Cannot debug a script task
I am unable to step through (in debug mode) a script task. Have set breakpoint on first line of script in VSA. Click Start (in debug mode). Nothing happens. Have also tried to execute task in control flow of visual studio but it will not stop at breakpoint To be clear, do you mean a Script Task or a Script Component The former is the task available in Control Flow, the latter is in the Data Flow. Both are named as above in the toolbox, but people have a habit of using the terms interchangeably which can rather confuse things on here. The Script Task can have breakpoints applied, and the VSA debugger will pick these up and stop as you would expect, displaying the IDE and your code. Exceptions ...Show All
Visual C++ export <exe> resource from my program.. how?
Can anyone help me with API calls needed to export an .exe file attached to my program as the resource and copy this resourced .exe somewhere else Thanks Anton ...Show All
Visual Studio Crystal Reports Stopped Working.
A co worker has told me we are using "an obsolete version of the [Crystal Reports Viewer] software, but it worked fine until last Friday or so. Something not of my doing clobbered it, probably some Microsoft update. We've had this happen before with the ScriptX plug-in; then, the word got out quickly & Mead posted a fix." So far I haven't seen any comments on incompatability with recent MS updates. Any suggestions on where I can look Thanks! Thanks for being there and sorry I haven't responded sooner, but I guess they found the problem or it wasn't as big as we expected. Will start a new thread with more detail if it comes up again. I really appreciate you guys being here. Than ...Show All
Visual C# Logon windows
hello everyone here is my problem: i have a logon windows,has database,username and password,textboxes for input inforamtion,also i use a checkbox for use default logon inforamtion automatically fill the textboxes blanks.it is show as below : when i set the checkbox checked,it has this process: textBox1.text = 'pst'; textBox2.text = Environment.username.tostring();(here shows the windows logon name); textBox3.text = (i want here to show the windows logon password); can anyone help me Andrej Tozon wrote: Hi, you can't retrieve the user's logon password from anywhere. It's a sensitive information and allowing that would be a serious security risk. You'll have to make us ...Show All
Smart Device Development ActiveSync, WM2005 and recovery
Hi, We're using RAPI to enable communication between our desktop and PPC application over ActiveSync. One of the requirements on our application is that it must be able to recover from failure, such as cable removal or similiar. This works fine with WM2003, but WM2005 doesn't appear to be able to recover as easily. The scenario is simple: open a RAPI stream, remove the USB-cable (while the stream is open) and reopen the stream. With WM2005, it will only be possible to reinitialize if our app is restarted. When attempting to reconnect after cable-removal, we will _always_ get error 0x80070015 (device not ready). This does not occure on WM2003. This is roughly what we're doing (note - pseudo code): ------------------------------- ...Show All
Windows Forms Menustrip render problem?
Hi, With a simple c# form and any render mode, I see the background of any menu that I open flash for an instant with the image of the window underneath my app, or the desktop. Is there a way to fix this The problem is not very apparent on my computer, but on my client's computer that is relatively slower it annoys them. (It's a p4 with 1g of ram) Thanks Charles ...Show All
Visual Basic Date
hi all how can i write Date (dd/mm/yyyy) in textbox without using Date and Time picker in vb.net in other words how can i use textbox in date format...... and ofcouse the date must be valid. Vimal Hi, if you mean to just show the date, then try this: TextBox1.Text = System.DateTime.Now.ToString("dd/MM/yyyy") ...Show All
Visual C++ Network Programming
Hi guys, I have to work in Visual studio 6.0 . I am new to Visual C++ programming. I am working on a project that requires communication between PC and Microcontroller. I have to built a TCP/IP stack in microcontroller. I think my Microcontroller would be a server. I don't know what i have to do on PC side. Do i need to implement TCP/IP protocol on PC side as well OR I should work with STREAM SOCKETS OR DATAGRAM SOCKETS. What kinds of library packages should I use to achieve this. Winsock (windows socket 2), CSocket or other I found much information on the net but I don't know which method is gd for me. Bye Here's a 3 part intro series on Winsock that I wrote a while ago :- Beginning Winsock Prog ...Show All
Visual C# Message "File has been modified outside of source editor. Do you want to reload it?"
I keep getting this message within various Visual Studio projects as I am working on them. It happens every time I try to save the current document (Ctrl+S) after making a change to the code. I verified that I do not have this .vb document open elsewhere in my solution, nor is it open within any other solution running on my machine. I also ensured that Visual SourceSafe code control is not active. Does anyone know why I keep getting nagged with this message Thanks in advance, kewpcg A blind way of overcoming this problem could be Enabling the Auto-load changes. This could be done as follows: Tools -> Options In the Options dialog box, select Environment -> Documents Check the ' Aut ...Show All
Visual Studio Express Editions Object and Property Descriptions
I am making a managed dll in C++ to use in later projects for C++, VB, and C#. When ever you click on properties of MS user controls in the design portion IDE it tells you what that property is, ect. I would like to know how describe properties in the same manner. Also when you look at an object in the object browser it gives you a summary; I would also like to know how to define these summaries in C++. Thanks in advance for any help Maybe VCE doesn't support it. Check your build log, my last line reads: "Creating command line xdcmake.exe /blabla". ...Show All
