BearLine's Q&A profile
Visual Studio 2008 (Pre-release) Equivalent tool to Spy++? Debugging .net System assemblies.
I ran into a great little tool yesterday: .net Reflector http://www.aisto.com/roeder/dotnet/ -- a C# decompiler for .net system assemblies, which, I think may become a great friend. But I still can't debug through system code. Has anyone seen tools for debugging through decompiled system assemblies in the Visual Studio debugger That would be a great thing. Either that or open source for WPF. Somebody needs to tell somebody at Microsoft in no uncertain terms that open source for WPF would *definitely* increase programmer productivity on WPF. A lot. *nudge* *nudge* *nudge*. And does anyone know of a tool that's equivalent to Spy++ for WPF Some insight into behaviour of routed events would make it much easier to figure out w ...Show All
.NET Development .sdf and Access
Hi, I want to store data on my Pocket PC in an SDF file and then use ActiveSync (4.0) to have that SDF file synced to the desktop. Now, I need some way to read that SDF file on the Desktop and populate and Access database. My users do not and will not have sql server or any internet information services... They are regular users not corporate users. I am using CFCOM to read my cdb on the device and turn it into an SDF on the device. CFCOM only seems to work on VS2003. VS 2003 produces a SQL CE 2 database. VS 2003 does not seem to be able to read SDFs. I have VS 2005 but it uses sdf with an incompatible format to VS2003. I am rewriting my main app in VS 2005, but I need a solution now for the intermin. I tried dumping my CDB to XML and i ...Show All
Visual Basic VB6 --> .Net Question Urgent!
Ok, Still doing some things with data created by QB7 and then VB6 I have a line in some vb6 code that i have never seen before and have no idea about value1 = fnd(value2 ) + find(value3) I assume it means "find" Can anyone help me with a .net version of this "fnd" thing Cheers Mc I already looked in there. VB6 didn't have a definition for it either. From my testing so far it turns out i probably don't need it anyway. ...Show All
Visual Studio Team System Microsoft.Tools.FxCop.Sdk.Introspection.RuleUtilities.IsInterface -> Microsoft.FxCop.Sdk.Introspection.RuleUtilities.OOPS!..
I was using some old FxCop version with my custom rules set. After migrating to new FxCop i've got a kind of a stuck - after change Microsoft.Tools.FxCop.Sdk.Introspection old namespace to Microsoft.FxCop.Sdk.Introspection new namespace i've got realised that RuleUtilities.IsInterface is now obsolete. How can i check TypeNode whether it deals with an interface now Thank you in advance! I'm not sure what you mean by private variables, but if you are talking about getting access to a method's local variables, see the following FAQ: How do I access the locals of a method in a custom rule ...Show All
Visual Studio Tools for Office Generate Excel file using ASP.NET
I am currently working on a page that will generate dynamic reports for my company. These generated reports are building an excel file using C# and the Microsoft.Office.Interop.Excel dll. While most of this works the way I would like it to I have run into one problem. When I use Pictures.Insert() I recieve an error stating that I am not including an assembly reference. When I tracked this down, it appeared to be because I needed the office.dll in my bin folder, which fixed the compiling issue but now I get an error that says there is a vesion problem. Does anybody know why this is My server has Excel 2000 on it, if you need other information let me know. Any suggestions would be greatly appreciated, and thanks in advance. ...Show All
SharePoint Products and Technologies Create a 'custom' List with Pages
Hi, I need to create a 'custom' List that will contain Pages (or articles if you want). I can't use the default Page list that's there. How can I go about doing this I need this because I have to have a List with articles that aren't shown on the site as other 'normal' articles. Thanks! Joost, The "Create Page" link is a built-in menu item that redirects you to the "new page" screen for the "pages" library. You have three options: train your authors that when they want to create a new page in the "non-pages" library, they should go to that library and click "new" there create a new menu item in the "site actions" menu bar that wil ...Show All
Visual C++ Deletion from a list-view control
Hey everyone. I've been having this annoying problem with a list-view control for quite a while, and couldn't yet find the solution. I have a list-view control, partly virtual (using text callback). In my program i am changing it's contents qiute often, and the number of items can "jump" from 1 to 200. The logic is that i do not delete all the items, and then insert the needed amount, instead (as long as i'm using text callback) i'm just inserting or deleteing the difference. So when i add 200 items, it takes like 200 ms to buil the list, but when i jump back to 1 or 2 items, the deletion take about a second and it is visible to the user (the list shrinks). I tryed both deleteing the first item, and deleteing the last item in the ...Show All
Visual Basic generating random letters
What is the code for generating random letters either uppercase or lowercase in VB.NET You can use the Random class for that. Here's an example: Dim rand As New Random Dim letter As String letter = ChrW(rand.Next(Asc("A"), Asc("Z") + 1)) The Random.Next method takes 2 parameters, minValue and maxValue. Since these parameters are integers you need to use Asc to get the code of characters A and Z. + 1 is needed because maxValue is exclusive and without + 1 the Z letter will never be generated. The return of Next is also an integer so you need to convert it to a letter using ChrW function. ...Show All
Visual C# need help with code
I am trying to write a program kinda like a receipt and I am having trouble with this. What I need it to do is look like this: Please enter the price of the item: Please enter the quantity of the item: Please enter the total of the item: It needs to continue until you want to end it with like(-1) or something. Any suggestions It would be greatly appreciated. Thanks absolutely. you just have to change the way the inputs are created/prompted/calculated. (reading from console than from a textbox as an example) The functionality posted is the same, the only difference - the kind of "platform" from Winforms to console. ...Show All
Visual Studio Express Editions Error 1935
During the installation of office i had the following error: Error 1935 : an error occurred during the installation of assembly component {10bac0e7-53ca-4cba-a2df-44d565eb2a0} HRESULT 0x80070005 Is there anyone who knows to solve this problem Have you updated your computer with all the lastest updates from Windows Update Try also disabling any antivirus and firewall software when installing VS Express. If it still fails can you post your installation log 1. Open Windows Explorer 2. Paste %temp% into the Address bar 3. Paste the contents of dd_vsinstall80.txt (only the timestamp applicable) into a post. ...Show All
Software Development for Windows Vista Workflow With Asp.net Sample
i need samples for reject and approval using asp.net: such as page Default.aspx get the user ability to request vacation and Manager.aspx approval or reject the vacation. can any one help me please. thanks. Hi Omar, check the links on this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=981174&SiteID=1 Vignesh ...Show All
Microsoft ISV Community Center Forums Automatic Macros
I have already been using the "Sub Auto_Open" and "_Close", some of the helpful codes that automatically runs when the sheet is opened or close. Can anyone suggest me a real time update or macro that runs when a certain sheet is selected I want my macro to update the pivot table automatically when I enter or encode a value at the source range of the pivot table... THanks for all the help... music_at_ulan wrote: I have already been using the "Sub Auto_Open" and "_Close", some of the helpful codes that automatically runs when the sheet is opened or close. Can anyone suggest me a real time update or macro that runs when a certain sheet is selected ...Show All
Visual C++ Embed and initialize unmanaged object in the managed wrapper class
I am writing a wrapper class for an unmanaged class having an object reference to the unmanaged class as a member. This unmanaged object reference is initialized in the constructor of the wrapper class. This code complies without any compile or linking errors. This approach for wrapping a unmanaged class differs from the one that has been recomended by Microsoft that is having a unmanaged object pointer as a member and initializing the same to the unmanaged object in the Wrapper class constructor using new operator and then using this object pointer in the proxy method to make calls to the unmanged methods. I am adopting the earlier approach because I have some unmanaged method which accepts object reference as parameter. I need to cre ...Show All
.NET Development assign new user to role
The creat new user tool allows you to add a new user for the purpose of logging in to the website. The tool does not appear to allow you to connect the user to a particular role. Is there a way of doing this through the web page when the new user signs in. I think there is an error in the last post. Instead of public void CreateUserWizard1_CreatedUser ( object sender , EventArgs e ) { Roles . AddUsersToRole ( _CreateUserWizard1 . UserName , "SomeRoleName" ); } Use this public void CreateUserWizard1_CreatedUser ( object sender , EventArgs e ) { Roles . AddUserToRole ( _CreateUserWizard1 . UserName , "SomeRoleName" ); } ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Future D3DX's not supporting SM1.x??
I saw this in the October SDK readme October 2006 DirectX readme! wrote: Preview Release of the new HLSL Shader Compiler for Direct3D 9 Targets This release has a beta version of d3dx9d_31_beta.dll that includes the Direct3D 10 HLSL compiler enabled for Direct3D 9 targets (shader models 2.0 and later). The new compiler has no support for 1_x targets. This debug-only DLL allows developers to utilize the new Direct3D 10 HLSL compiler for their Direct3D 9 shaders, and will become the default compiler for all Direct3D shaders. Please try the new compiler by building your application with d3dx9d_31_beta.dll instead of d3dx9d_31.dll. Does this mean in future SDKs SM 1.1 will not be supported any more, or is this limitation j ...Show All
