GrijzePruik's Q&A profile
Visual Studio Tools for Office XLA for VSTO
I'm looking to create an excel add-in with .NET that will show up in the tools->add-ins dialog (i.e. an xla file) instead of the com add-ins dialog. Is this possible If not, I will try creating an excel spreadsheet with VSTO and then creating an xla to open that spreadsheet. Paul, I didn't mean to sound ungrateful, just been spending a lot of time trying to come to grips with the latest version! ...Show All
Visual Studio Team System Is there a bug list?
Is there a bug tracking site for the Database Professionals version Dale Remember that the Database Professionals is based on the exact same Visual Studio 2005 core as all of the other versions from Express on up to Team Suite, as such there is no specific bug repository for the Database Professionals version, instead you should use the newly launched feedback site on Microsoft Connect for Visual Studio and t ...Show All
Windows Forms Disabling DataGrid cell highlight
Hi, I'm am trying to solve this problem for a month!!! I want that all the cells would'nt be highlighted at any time... I Tried this code: public class dgInherit : System.Windows.Forms.DataGrid { protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { DataGrid.HitTestInfo hitTestInfo = this .HitTest(e.X, e.Y); if ( hitTestInfo.Type == HitTestType.Cell) { return ; } if (hitTestInfo.Type == HitTestTyp ...Show All
Visual J# J# java.awt.Dialog in NF 2.0
When a java.awt.Dialog is created with a parent of an existing java.awt.Frame that has an icon image set with setIconImage(), according to sun java, the dialog should inherit the title bar icon from the parent Frame. This does not happen in J#, the title bar contains a simple console window icon in it's upper left hand corner. Is there some way to overcome this default behavior and have it display a meaningful application icon ...Show All
.NET Development is this transaction completing on its own!?
I' v e re-tested this 3 times now. It seems to happen roughly 10 minutes after the transaction is promoted to a distributed transaction. The transactionscopes being created are initialized with a TimeSpan.FromDays(1) for the timeout value (one at the client, then one for every server request, for an estimated total of ~400 transactionscope objects created at the server-side). Below is the tail of my debug output which includes the ex ...Show All
Windows Forms designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or m ...Show All
Visual C# C# vs VB.Net
I know they have both the same platform, .Net, but is there things C# can do and VB.Net cant and viseversa Hi, you program the same librariers with C# and VB .net as you mentioned. So both languages can do the same things with the same libraries. The syntax will look different and the features of the languages are different. But the libraries the same. This link may help you: http://www.harding.edu/USE ...Show All
Visual C# Active Directory Events
Hello. I need some help with Active Directory changes tracking. I find an example in MSDN, but it's in C++. So... How can I track changes from C# Has someone example code for this or similar task Thanks. Yes, of course. But I cant find any events there... ...Show All
Software Development for Windows Vista Creating templated workflows
Not sure the best way to go about this is but I assume it's possible. I want to let the user (admin of an app) build workflows themselves in an application. And then store them as templates. So when a user submits a document (say an InfoPath form), they can choose which workflow to apply it to. Follow me There are no specifics here, I just some pointers on techniques on how to handle this. I assume you would build "high level" activities ...Show All
Visual C# Reading integers from a file
How would I read integers from a file and store them into an array I have tried numerous ways and so far no luck. There has to be a simple solution to this problem. Hi. This maybe is a way for doing such as thing. Maybe it is not the best way but you can use it as start. static void Main( string [] args) { StreamReader srNbrs = null ; List < int > lsNumbers = null ; Regex rxNum ...Show All
.NET Development creating new Socket with IPEndPoint
Hi buddies, I am trying with a function which can send message to an ip and port using socket while running this application i am getting an exception as - "{"Only one usage of each socket address (protocol/network address/port)\r\nis normally permitted" }" Please help ... regards, Vinu the code like this, String IP will be like this - 192.168.1.6:5763 public void SendToIp( string IP, string Message) { try { string add = IP ...Show All
Visual Basic Publish two projects referenced together
Hello, I have VB.Net 2005 Pro. I built One solution contains two projects Pro1 and Pro2. Pro2 Is a reference in Pro1, Now If I wanna publish Pro2 there is no problem, but If I wanna publish Pro1 the problem comes in this message Could not find the file "Microsoft.Windows.CommonLanguageRunTime, Version = 2.0.50727.0" How Can I publish My Sol !! Unfortunatly that is correct. You will need to build EXE1 manually before b ...Show All
Visual C++ How to see if instance created?
Hi, I have a managed array of a class called image I am generating an array of 'image' array <image^>^ primary_image= gcnew array <image^>(100); in a loop, i then set my image array using usual format primary_image[loop] = gcnew image(....data for constructor) ... all well and good however, i am not creating an instance of primary_image[loop] for all 100 values -- some are skipped how can i check whether an array element has had ...Show All
Windows Forms Obfuscating Web Reference Problem
Judging by the number of posts (less than 10) that discuss obfuscating applications, I'll probably not get much input on this matter but here goes anyway. I have a windows application that calls a webservice to license the product. If I obfuscate&n ...Show All
Software Development for Windows Vista PSH_AEROWIZARD flag and the new UI
I'm trying to get a wizard application to display the new UI using PSH_WIZARD|PSH_AEROWIZARD flag combination. The application in question is built as a DLL and launched using RunDll32. It loads a manifest dynamically from %windir%\WindowsShell.manifest. The theming works fine but the wizard does not display any adornments expected from a Vista wizard. If I use PSH_WIZARD97, I get the header and the icon. If I use PSH_WIZARD|PSH_AEROWIZARD, I ge ...Show All
