Jensk's Q&A profile
Visual Studio Team System Detecting COM Objects as local variables
Hi, I've been writing a few custom FxCop rules and for the latest one wanted to establish whether a local variable was a COM object or not. Unfortunately Marshal.IsComObject appears to use an internal type to determine whether variables are COM objects and I have been unable to retrieve this internal type and cast to it with reflection. I have however noticed that the COM objects seem to have a base of null within the locals type informati ...Show All
Visual Basic Displaying the current location (Line, Col) of a TextBox in a StatusBar
Any ideas Along these same lines, how do you change the location of textbox in code I can display the current x and y locations via a message box. But, I can't get it to change the location and move the textbox or a label. Any help would be greatly appreciated. Rob ...Show All
Visual Studio Team System Question about authentication through VPN??
Hi, We have some long term contract developers that work for us - we provide them a VPN account to get into our network and I was wondering if that will work the the TFS client the user logs into their computer using either the domain account or local account (not sure which one) then VPN's to our network - question is, with the TFS integration with AD, does that work through only a VPN connection or does the user "really have to be ...Show All
SQL Server server problem occurred during deployment of vb.net application with MSSQL db
I use .net 2005 and server, the application i developed connects to a locally hosted mssql db, I want to deploy the application together with the db to client machine. when i installed the application on the target machine, and run the application, it gave me this message : "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 set ...Show All
Visual Studio How to use Application Verifier?
The Application Verifier did work fine with Beta1, but I can't get it to work with Beta2. When I try Debug -> Start with Application Verifier I get the message "Application Verifier could not be enabled. Please refer to the release notes and supporting documentation". I tried installing the Application Compaitibility Kit (tried both 3.0 and 4.0), but that didn't help. I did remove some features from the default installation. Mainly VB, J ...Show All
Software Development for Windows Vista Problem Using ifElseactivity in an Embedded workflow designer
I'm trying to use a ifElse activity in an embedded workflow designer ( Workflow Designer Control Example downloaded from here: http://www.windowsworkflow.net/Downloads/Examples/Workflow%20Designer%20Control%20-%202005-09-24.exe ) I added a IfElse activity and then select one of the branches. In the property window I select a System.Workflow.Activities.Rules.RuleConditionReference Condition and then when I try to edit the Name prope ...Show All
SQL Server Please Help!!!
I'm running Visual Studio 2005 (VB) with SQL 2005 installed. I tried to add a SQL database and it says SQL express is not installed. And here I was thinking that SQLexpress was only for VS express. I do not want to use that old crippled handicap SQL express database... how do I use the regular SQL database Thanks. dagilleland, I don't think you quite understand the concept of user instances. Firstly l ...Show All
Visual Studio Express Editions Error with CurDir!
Hi all, please could someone explain the problem i am having. To make this simple when i am using the CurDir property in Visual Basics it keeps displaying the wrong directory. When my excel document loads up i want it to dislpay what directory it is saved in. So i create the function: Private Sub Workbook_Open() Msgbox CurDir End Sub in the ThisWorkbook code form. When i close down the document and go file - open etc and open the fil ...Show All
Visual Studio Express Editions long interval between StreamReader/StreamWriter processes
Hello, in my program I am using StreamReaders and StreamWriters, and they work, but if I use the StreamReader or StreamWriter process, it takes long before I can use them again, so now my question is: can I make the process-intervals(sorry if this name doesn't exist) shorter Or should I use an other way to read and write files, and who can be used in faster time-intervals Grtz, Tom. What do you mean by "it takes long before I can u ...Show All
Visual Basic is there any way to get CPU temperature
hello friendz, i like to get CPU temperature of my own machine and i am developing application for network monitoring. so please anybody tell ,, is there any way to get CPU temperature using Visual Basic.. Hope i'll get reply for this question. please send ur valuable suggestions as soon as possible.. thx ...Show All
Visual C# C# string split: How to split this string?
I have a string: STRT.F 8600.00 : Start Depth I dont know how to get each substring : STRT , F , 8600.00 and Start Depth when I use delimitter . and : , string.split method will also split 8600.00 into 8600 and 00,that is not what I hope. or if C# have a method just like C function: sscanf(buffer, "%*s% ...Show All
Windows Forms Performance question: Arrays vs. Public Variables
I have come across a few situations where I face the option of either (1) creating a public shared variable and passing this to another called procedure or (2) iterating through an array of records within the called procedure to retrieve the piece of data. Which would be the more efficient approach in terms of speed and memory (Assume (1) the arrays in question usually contain less than 100 records each and (2) the variables would need to remai ...Show All
SQL Server Suppress email subscription for blank reports?
Anyone know how to suppress a report server email delivery subscription if the report is blank / contains no records Can't seem to find this option anywhere and currently my subscribers are getting blank reports in their emails.... Obviously I'd like to suppress the email message from ever being sent if the report contains no data. Thanks in advanace!! Use a data driven subs ...Show All
Windows Forms Column Visiblitiy ?
Morning all, Have been in the .ASP world for a while now. This is my first real windows app in .net. I have a grid with 5 columns. I want the last last invisible to the user. Heres my current code: With dbGridOrderList .CurrentR ...Show All
Visual Studio 2008 (Pre-release) Animate element height
Is it possible to animate the height of an element forth and back using XAML only The height should go to 0 in one animation and back to the initial value in another animation. The problem is I don't know the initial height of the element at compile time. ScaleTransform works partially, because I don't want the content of the element to be scaled. The only solution I could find is to do it in code-behind. Here's a simple code ...Show All
