Chand Basha's Q&A profile
Visual C++ PostQuitMessage Issue
Hi, I have tried to automate my application through a small VB program. This program runs fine except for when you press the quit button. This button succesfully navigates to the designated function in my C++ code for my application but at this point it fails. All that is in this function is PostQuitMessage(0);. It is on this call that the application locks up, as well as the VB app locking up. I have looked at the ...Show All
Visual Studio Create a diagram by using custom code
Hi all, I am trying to create a diagram by using some custom code but facing some problems. Not sure if I am on the right way. I am first trying to create a "store" (Microsoft.VisualStudio.Modeling.Store). after that I am trying to create a new diagram ans suply it the new (empty) store by using code that looks like this: ServiceDescriptionDiagram diagram = ServiceDescriptionDiagram.CreateServi ...Show All
SQL Server How to hide query result pane in query editor
In SQL 2000 Query analyzer, we can toggle a button to show/hide the result pane. It's really helpful if the script file is pretty big. In 2005 SSMS, does anyone know how to do this I cannot figure it out. Thanks in advance. It's under the Window menu when you have a query open. I've added it back to the toolbar in my setup where it belongs. I find it odd how in many cases MS has put a lot of gu ...Show All
Smart Device Development Synchronization with DLL
Hi! I'm having some problems with synchronization between a .NET cf application and a native DLL. This is the idea: // The .NET application // public class MyClass { public static void Main(String[] args) { ManualResetEvent evt = new ManualResetEvent(false); evt.Handle = CreateDLLSynchronizationEvent(); ...Show All
.NET Development Making fonts the same size
I'm trying to display all of the installed fonts in a control but I have a problem with the fonts ending up being different heights despite the fact that I create all my font objects with the same size parameter: Font f = new Font(myFontFamily,size); For example, I have Garamond and Haettenschweiler that come out really small whereas Gautami is much larger (and has a lot of whitespace below it). Does anybody know how I can adjust the si ...Show All
Windows Forms .net 1.1 - Apply Windows theme on all controls
Is it possible to apply the XP style to the Tabpage control background and the numericupdown control I'm writing my app in vb. Application.Enablevisualstyles doesn't render these ones in the desired style. No. Not out-of-the-box. These controls have known problems with rendering with Visual Styles. However, have a look at the following free library that causes both of these to draw correctly: http://www.skyboun ...Show All
SQL Server How to add the total balances of previous year into the next year?
I'm working with a table called SALFLDGAMS where it has two columns that I need to work with. One of the columns is Period which has years from 2000 to 2005 and the other column is called amount which has the balance for that year. Let me explain in a little more detail. There are account codes associated with the years as well so there will be many places where for example the year 2000 will show up with a given value. What I'm trying to do is ...Show All
Windows Forms change window look...
Hi, How can I change the window form look To do something like RealOne or Winamp, where the window doesn't have the default xp look... Thanks My feeling is that those are generally bitmaps or some kind of graphics files that are ...Show All
Visual Studio Create Crystal report with store procedure
Dear friend I have a big problem, i'm using VS 2005, and I want to create a report with a store procedure with param in crystal report object / ( add a new item ), and when I select it not create the parameters, that this happening I used ODBC connection What a problem Help me pleace I am using VB2005 and I want to create a report with a SP in CR and when I select it not they create the parameters, ...Show All
SQL Server IF statement with BEGIN END block
I'm working on a stored procedure which includes an IF statement at the end of the procedure which appends my sql call with two lines. But I'm getting an error that probably comes from the fact that I have a nested BEGIN END block in my overall procedure. Can anyone tell me if my assumption is correct and help polish of the syntax The error I'm getting is: Msg 156, Level 15, State 1, Procedure payments_sp, Line 55 Incorrect syntax ne ...Show All
Visual Studio 2008 (Pre-release) Where to post?
Should we post here or to the news server There seems to be much more Indigo content on the newsgroups. That is because the Newsgroups were created sometime back and there has already been activity there. Post here...soon these forums will be full of activity! Regards, Vikram ...Show All
Visual C++ Browse Info File in Visual Studio 2005
Hello All, I had Visual Studio 2005 installed, and created and built a Project, and the browse info file myapp.bsc is generated too. But where can I set this browse info file in the project It seems VC++8.0 is quite different than VC++6.0 in regards to browse info file, and I can not figure it out. Please help.. Thanks a lot, Melvine Browse information consists of two pieces: the sbr files (for each cpp file) ...Show All
Visual Studio Team System Beta 2 Install is REQUIRING VS 2003 Be Unintalled!!!???
Visual Studio 2005 Beta 2 Setup Setups has detected that previous version of the product(s) listed below are currently installed. Uninstall these applications before continuing with Setup. For more information, see readme.htm at the root of the Visual Studio CD1 or DVD. - Visual Studio Integrated Development Environment 2003 - English <<OK>> I had the Feb Pro CTP, however it is uninstalled along with all its pieces and .Net 2.0 HE ...Show All
.NET Development Print a excel file
Hello I wonna print an existing excel file. But i have always an error with my code "Code: Dim wb1 As Excel.Workbook wb1.Workbook.Open("C:\Brandstoffen Van denbrande-VanRoie\Mazoutprijs-ingevuld.xls") DirectCast(wb1.Sheets(1), Excel.Worksheet). _ PrintOut(From:=1, To:=1, Copies:=1, Preview:=False) Why doesn't work this Or have somebody an better idea to print a excel file ...Show All
Visual C++ Status bar text length limit ???
I'm displaying some important informations about the program behaviour in a VC++ app. Unfortunately, it seems that when the string to display is too long, the displayed text is cropped in the status bar. I tried to use tabs (\t) to reduce the amount of chars in the string but the tabs are really huge (almost one third of the window width). Any1 knows about this Are you using the MFC What is the behaviour you ...Show All
