Exitus's Q&A profile
Visual Basic Console Application
Is it possible to get right click menu on the console so users can paste If you right click on the bar along the top of a console window, there is an edit menu, which has a paste option. Otherwise, no. Your console app does not have a message pump to process mouse messages. ...Show All
SQL Server SQL Express Beta components problem
For those of you facing with the problem of incompatible beta components installed error when trying to install SQL server Express Editon here is the solution that I found: After many frustating days, remove of all my programs and editing the registry with no success I finally found the link bellow with helped me to solve this issued faced by so many people. Go to the link bellow and install the clean up tool, run it and then install the framework 2.0 Hope this will help all of you facing this problem! http://lab.msdn.microsoft.com/express/readme/ Regards, adasilva ...Show All
Windows Forms Acrobat ActiveX Control in WinForms
Hi, I'm using the Acrobat ActiveX Control in a SmartClient application. This is used to view generated pdf reports and hosted in a Dialog. However, whenever I close the dialog the acrobat process often doesn't close properly .. so it hangs at 100% cpu usage ... or it takes like 10 seconds until the dialog finally closes. Any ideas what I can do&nb ...Show All
.NET Development Quick SQL question
I am trying to build manually the UPDATE, INSERT and DELETE strings of my OdbcDataAdapter because the ones generated by the OdbcCommandBuilder are not going to be adequate. I will still be starting from the generated strings and build on them. To understand better what they do, I need to interpret a specific SQL predicate, and I am having trouble with an expression within. The following SQL command is supposed to ensure that a row in a table is deleted only if the data hasn't been changed (in OBDC style, parameters are designated by question marks): DELETE FROM MyTable WHERE ( (ColumnIndex = ) AND ( ( =1 AND TextColumn IS NULL) OR (TextColum ...Show All
Visual Studio iwizard vstemplate
What is the proper way to abort loading of my custom package I added a cancel button to my form for new project types and I want to abort loading if they click cancel and return to VS2005. The form is being shown from my class that inherits IWizard interface. Mike Try this code in the cancel button action handler <CLSCompliant( False )> Public myWizRetval As EnvDTE.wizardResult myWizRetval = wizardResult.wizardResultCancel NS ...Show All
Visual C# How To Updated The Deployed Web Part
hi I am working SharedPoint Portal 2003 i am deployed One Samples WebPart Using CAB Now I want to do some change to deployed Webpart i have done some changes and again i deployed through CAB but the current changes doesn't make any sense What to do how to approach this problem please send me a solutions warm regards syedhanif ...Show All
Visual Studio Express Editions Paint Problem at MDIChild at Opening at Startup in Maximized State
Hi guyz, I have one MDI form and one MDI Child. Both form's property windowsstate=maximized. When MDI form loads, its child forms load at the load event of MDI. But, It not paints that child form properly to maximized area. there is border appears of that child forms without title. Once we minimize that bad painted form and again maximize it. it works fine.. So, why its doing problem at startup in maximized mode I've just transfered my winapp from Vs2005 Beta to Vs2005 express can anyone tell me.. please is it a BUG of VS2005 Express I'm not quite sure what you are asking. The default behavior is for the maximized child form ...Show All
.NET Development How do i get Reference of a running application
If a windows application is running, how can i get the reference of the form in that running application from my project. I am developing in .NET. No the form is from differnt application developed in VB.Net. I need to monitor what is happening i that form and also fire some if required. ...Show All
Visual Studio Validation when dropping an element on the canvas
Hi all, Is it possible to do some validation when dragging&dropping an element from the toolbox on the canvas. When the validation fails, the dropping should not be allowed. E.g. before an element can be dropped some property of the model/canvas has to be set, or an element is only allowed when another type of element is not used. Kind regards, Ronald I created an override of the OnDragOver method to enable dragging objects from another tool window onto the diagram. I discovered that if my override includes a call to IDataObject.GetDataPresent(string s), then the OnDragOver method is called n ...Show All
Visual Basic dockable toolbar
Hi, I hope someone can help me. I would like to create a dockable desktop toolbar for my application similar to the one windows media player 10 has. I have been searching the net for a vb.net solution but have only found and read about IAccessible Interface which does not seem to be available in visual basic and also a class toolbarwindow32 that is said to be in some c++ header file can someone plz help!! I've looked for that too, but didn't find much. I found it quicker to make my own app for that. Here's my program template that i use. (VS2005) A simple form, with a toolstrip bar. Template base Code. Public Class Form1 &nb ...Show All
Visual Studio Express Editions Can I Create an Access DataBase Without Access?
I don't own Access and this is for Learning Purposes.... Can I create an Access DataBase with my own Schema(I guess that's the word) with VBE or any Other Way I downloaded Northwind.... Can I change Northwind schema without Access Thanks Yes. I know you could do it with DAO. I'm not sure about ADO. Since ADO.NET is a little less faciliated in persisting, the USE of ADOX has been recommended to me for things like table creation and storage and I find that it works very well with VB.NET. I've installed systems based upon access databases on on target systems that did not have access. I ...Show All
Visual Studio applying smart indentation rules
Hi, I have been facing a problem regarding the implementation of smart indentation rules in my custom language service. i am not able to find out which interface should i implement and where should i write my rules. Please help me with the process. Thanks in advance.. Hi, i have given indentation to my editor at the time of parsing by capturing the charcters in OnCommand method and then applying edits on textspan and it is doing perfectly fine. But the problem i am facing now is that when i opens more than one file of my editor in one project in expiremental hive i am not able to get in ...Show All
.NET Development ASP.NET - Print from Server?
Hi all, How can i print from Server from a web page (ASP.NET) In case, more than one printer installed on server, how can i choose one Thanks. ...Show All
Windows Forms Radiobutton focus oddity
Looking for some insight... I have a large-ish VB.NET form with a bunch of controls on it (nothing too weird so far). On this form is a couple of radiobuttons, and occasionally when the form is opened, the first radiobutton gets focus (despite them being somewhere down the tab order). We're using VS.NET 2002, with framework 1.0. Any clues as to why this would be Thanks, Dave Yes, no worries there, I can shift-tab back to the earlier controls with no problems when this happens. ...Show All
Visual C++ build error
after downloading VC beta 2 and spending hours trying to get the header files to be recognized and figuring out how to build a hello world file, i decided to move on to chapter 1 of tricks of the windows game programming gurus and run the sample game called freakout, i recieve this error 1>------ Build started: Project: freak1, Configuration: Debug Win32 ------ 1>Compiling... 1>blackbox.cpp 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' 1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error ...Show All
