Rainki's Q&A profile
Visual Studio enable GAT for existing projects
How can we enable GAT for existing projects which are not created through GAT -Sanjeev Hi Sanjeev - The Guidance Package Manager dialog (accessible from the tools menu) lets you enable and disable specific guidance packages for your current solution. Depending on which guidance packages you have installed, it may or may not make sense to enable them for existing solutions that weren't created from GAT project templates. thanks Tom ...Show All
.NET Development Class Library Protection
How could I protect my DLLs, so that others could not make reference to my DLLs Such like what happened when you directly reference the OE DLLs... Thanks for any advances. You can add a password parameter, but even then, people can disassemble your .NET code and read it, so really there is no protection at all. Obsfucators will help, but the only real solution is to write your code in normal C++. ...Show All
Windows Forms UserControl Design Support
I have created my first UserControl in a Windows App (I mostly do ASP.NET). The control consists of a panel that contains a label and a text box. When I drag the control from the toolbox to the forms designer, it shows as intended. However, I am only able to resize the control itself, but not the controls that it contains. How can I add the ability to resize (by dragging an edge) the label and the textbox too Thank you. I have used the anchor properties as suggested and it is working fine. Now I want to do the following. The UC has a label on top of a text box, seperated by five pixels. I added properti ...Show All
Visual Basic Try...Catch statement Question
I have a Try...Catch statement that contains 12 Operations inside it. On the catch I want to display a msgbox that tells exactly which operations failed. I was looking through the exception methods and couldn't find one that worked. All of the methods provided relative information but nothing specific. The reason I want to pinpoint exactly which operations failed is so that the user can email the error message to me and when I get it I will know exactly how to fix it. Thanks. Is there a way to show information like a breakpoint shows For example my breakpoint details say: At Form1.vb, line 129 character 13 ('Char1_Read', line 25 ...Show All
Visual C++ openGL with forms
I get openGL to work fine with a CLR Console Application or a Win 32 Console Application but when I try it with a Windows Forms Application project type then I get the following. This is Visual C++ 2005 Express Edition. Program Files\Microsoft Visual Studio 8\VC\include\GL/glut.h(486) : error C3641: 'glutInit_ATEXIT_HACK' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\GL/glut.h(486) : error C2664: '__glutInitWithExit' : cannot convert parameter 3 from 'void (__cdecl *)(int)' to 'void (__cdecl *)(int)' 1> Address of a function y ...Show All
Windows Forms Client changes to app.config after click-once publish and delivery.
I have a VS 2005 Win Forms Application that is being developed for a client. Once system tested, I want to hand over the application to the client with some instructions for installation and setup in their environment, i.e. they need to specify connection strings, web service url's, timeout periods, etc in the app.config. There are many settings here that they could potentially change (10-15). However, when I use click-once to publish the application, how does my client change the settings within the app.config It seems to me that once published, these values are locked.. even if I change them in the app.config before installation ...Show All
Visual C++ VC++ 8 .net 2 book
Hello, I've been wondering if there is a book for VC++ 8 .net 2 (by Microsoft). With Thanks, Gal Beniamini. Thank you, Vikram, I'll be waiting for that book. By the way, do you know if Microsoft might be planning on publishing a book of their own With Thanks, Gal Beniamini. ...Show All
Windows Forms DataFormatString in GridView
I wonder if someone else is suffering the same problem. I found DataFormatString in GridView not work very well when I try to display currency. In VS 2005 Beta version, it works fine, but after I use stardard version, it never display correct. For example: integer 3 always display like 3.0000 but in the beta version, it display like $3.00 which is what I would like. By the way, I assigned datasource, dataadapter and sqlcommand manually, everything else is good, even date format string works, but currency format just NOT work. Not sure if this is a bug DataFormatString {0:c2} I had a similair problem with formatting a phone number. ...Show All
Visual Studio VSS 2005 Price
How much will VSS 2005 cost independently We can not afford to buy a MSDN license or anything like that and want the new features. We already have VSS 6.0 which we had to purchase independently also from VS.NET 2003. Along the same lines, there seems to be no real Visual SourceSafe 2005 presence on msdn.microsoft.com. The only thing I can find is under "Previous Versions"! ...Show All
Windows Forms How to get newly selected item of a ListBox with multiple selection?
I find that the ListBox control does not provide all functions that exist in its Windows native counterpart. For example, I have a ListBox with SelectionMode set to MultiExtended. I need to know its index when a new item is selected. But I failed to find what events to handle. Another less-used function is set focus rectangle to a selected item when a ListBox has more than one items selected. Or I might be wrong. Thanks for DMan1's reply. But the code does not answer my question. Let me explain my problem in another way. Say I have listbox that has just three items - item1, item2 and item3. And SelectionMode is MultiExtended. I ...Show All
Visual Studio Express Editions invalid search path
I am using Bob Tabors beginning C# video series and get the following error when I run the application. Warning 1 Invalid search path 'C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified. ' Lesson09 I don't have such a path on my hard drive. Where do I change the path and what do I change it to Thanks, Roger I had the same problem with VS 2005: " Invalid search path..... vc98\mfc\lib' specified in 'LIB environment variable' " We never installed VC98 so those directories were never created. I tr ...Show All
Visual Studio Does VSS 2005 Internet Require a Server Share?
I'm been trying to configure VSS 2005, and thus far, where I'm at now, it seems like when prompted using the 'Add SourceSafe Database Wizard', it's asking for my http Address AND a Folder, where the folder is a server shared folder. I thought the purpose of this Internet feature of VSS 2005, was to enable TRUE Internet access to VSS I do NOT have server shares on my server, it's over the Internet, and I'd really like not to have to open up those ports over the Internet. Please advise. I've found the answer. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=115726 ...Show All
SQL Server Querying 2 tables in different databases
Is there any query code that will allow joining tables that are in different databases running on the same server If yes, how is the connection to each handled Sure, you can use the four (or three) part notation for this: SELECT <columnlist> FROM Database.owner.Objectname HTH, Jens Suessmeyer. ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the properties that you could want to change; often I need to change the same property in the same way each time (for example I'd like to set the Batch Size for a OLE DB destination to 1000 instead than 0 ...Show All
Visual C# HELP: Not working like it should
I'm working through the "SAMS Teach Yourself C# in 24 hours" book using the free download Microsoft Visual C# 2005 Express Beta. I don't know if a lot's changed between the book being written in 2002 and the release of the beta but a few things don't seem to work exactly the same as in the book. Hence, some sections of code won't compile without giving errors. I've gone over the code meticulously and can confirm that I've entered it correctly. Is there a way to get the 2005 Express beta to behave like the older versions 27 wrote: More responses would be appreciated. More, you have a speci ...Show All
