TraversE's Q&A profile
Visual Studio Tools for Office Can modal dialog box be opened from VSTO solution
Hi, I have two questions regarding possible VSTO Word project. I am importing a data into dynamically created datagridview in VSTO Word. Basically user select report definition to place into document and report gets created at runtime. Now I need to allow user to click on datagrid cell, and modal dialog form should be opened where user could add GL adjustments (basically a three field form, gl string, comment, amount). So my first question is i ...Show All
Windows Forms problems with binding to inherited class
Hi, I have a class that's inherited from the DataTable class, and I discovered an interesting behavior with data binding. Consider the code: public class GenTable : System.Data.DataTable { public GenTable(){} private string sTestValue ="Test"; public string TestValue { set {sTestVal ...Show All
SQL Server Named Calculation, Referencing a field from a linked table
Is there a way to reference a field from another table in a named calculation. Ex: Table movies has a link to table theatre, in the theatre there is a display code, the display-name of the movie should be comp.comp_displaycode + ' - ' + mov.mov_name. I know i could do this in a view and than use the view instead of the movies table, but if it is possible in the Datasourceviews it would be easier. Try repl ...Show All
SQL Server TripleDES Algorithm on LogIn
hello everyone... i'm just wondering how can i make an sql script that will log a specific user when the password is encrypted inside the codes... any help is highly appreciated! There is no way to modify the login process for SQL Server itself. Only SQL and Windows Authentication is supported. You can however perform your own application level logic by using the new encryption/decryption built-ins, certificates and other mechanisms. ...Show All
Visual C++ C++ NLS
Hi Everyone, I have a simple (I hope) problem with NLS. I am creating a simple console application that accepts a string. If I type in a string, say "Hello World", I would like the output to come out as the german(or any other language) translation. Is this possible without using the resource file This is just a simple Visual C++ app. Thanks in advance. A resource file has nothing to do with the ...Show All
SQL Server Cannot deploy assembly from VS.NET into SQL server 2005
Hi, when deploying assembly from VS into SQL Server 2005, deployment fails with these error messages: Msg 0, Level 11, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded. Msg 0, Level 20, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded. I'm deploying assembly with UNSAFE permission setting. What's wrong, please Than ...Show All
Visual Studio 13 tries & still no luck.
wow, ive been trying to install vb express beta 2 now for over a month, with no luck. i have read every post related to installation problems, and still havent found any usefull information. heres my problem, I uninstalled beta1 according to the guidlines. I installed beta2 , and now when ever i try to start the program, it errors out. I have uninstalled, and re-installed beta about 13 times now, still with the same result. i ...Show All
Visual C++ Price of Visual C++ Express
Hi! Another question: Visual C++ Express is now free, but from May 1, 2006, it won't be free. How much will it cost See: Microsoft Details Pricing and Licensing for Visual Studio 2005 http://www.microsoft.com/presspass/press/2005/mar05/03-21VS2005PR.asp => $49 -- Greetings Jochen Kalmbach Microsoft MVP VC++ My blog about Win32 and .NET http://blog.kalmbachnet.de/ PS: Please mark an ans ...Show All
Visual Basic Getting the Control under a Context Menu
Hi, I have a context menu attached to several controls on the same form. How can I determine on whitch one of these controls the user right-clicked to get the context menu and select an option I gess it can be done in the menu option click event handler, but I do not know how. Thanks Patrick My apologies, seems I may have pointed you in the wrong direction. I'm new to VB.Net and the menus I've created are ...Show All
Visual Studio Express Editions Development web server hangs system every time...
I have been trying to use Visual Studio 2005 Beta 2 to build asp.net websites. But every time I click the build/debug button (green arrow) it starts up the development web server, launches the browser and my whole system crashes. The only thing I can do is move my mouse cursor. I can't close anything, can't access task manager, ctrl-alt-del does nothing. I have to do a hard reboot to get my system back. I tried ins ...Show All
Visual Basic writing in specific locations on screen
I am updating vb6 code which displays mathematical formulae in a picturebox. It uses currentX and currentY to keep track of positions for components of the expression on the screen. This allows it to generate a formula based on user input and which involves superscripts and powers. In one section of the code I have xco = Picture2.CurrentX   ...Show All
Visual Studio Express Editions Character comparison
Ok,here's is my question as a new C++programmer.I want to make a character comparison but when I run the program I get the last printf whatever I type.Can anyone tell me what is the mistake I have done Should I make a loop for comparing it's character separately Here is the sample code. #include <stdio.h> #include <string.h> #include <ctype.h> #include "readwrite.h" #define MAX_LINE_SIZE 30 ...Show All
.NET Development Get CaptionFont in VB.NET
Is there any 'relatively' simple way to establish the what current system form caption font is in VisualBasic.NET (using studio 2003), similar to SystemInformation.MenuFont for the current menu font, without having to back-track to API calls or hacking the registry, or trashing everything and going back to VB6 Hi, try SystemFonts .CaptionFont; ...Show All
.NET Development Jump while reading XML file
hi.. im reading a XML file using XMLTextReader, after reading some contents i want to jump back to first statement og the XML file...Is it possible .if yes plz help me out.. thanks i have the same trouble like you, because the XmlTextReader is forward only and readonly. may be somebody could he me ...Show All
Visual Studio 2008 (Pre-release) Generating proxy with svcutil
Hi guys after installing vs2005 and then trying to build a service proxy I get this message. svcutil is not recognised as an internal or external command.Is anything wrong with my installation Please let me know asap cos i am stuck in this project unless i can build these service proxies.Thanks I believe the issue here is with the VS 2005 Command Prompt, not with the SDK or the install. I installed ...Show All
