Software Development Network Logo
  • Smart Device
  • SQL Server
  • Visual Studio
  • Visual FoxPro
  • Game Technologies
  • Windows Forms
  • Architecture
  • Microsoft ISV
  • Windows Vista
  • VS Express Editions
  • Visual J#
  • Visual Basic
  • .NET Development
  • Visual C++
  • VS Team System

Software Development Network >> boss nunya's Q&A profile

boss nunya

Member List

regina
Adam Getchell
Divyajosephjohn
Jams
NaveenPN
Mal Cartwright
Stephen Haberman
David Silverlight
J.R. Odden
Lost Shadow
Siraj Salim
Tony Rosen
yerra
Vegethalia
Florim
Klaus Pruckl
Nibbla
sdknewbie
Yim Cheng
RyanD
Only Title

boss nunya's Q&A profile

  • Windows Forms How to capture double Click event on combobox

    The ComboBox does not have a double click event. It does have a MouseDoubleClick, but that does not seem to work. I am trying to allow a user to edit the contents of a combo box by double clicking to open an edit screen in dialog mode. I have tried handling the MouseDoubleClick event, but nothing happens.  I have tried setting StandardDoubleClick for the form to true, but still nothing happens. Please help me. Dave Thanks for the hint. ...Show All

  • Visual C# How to remove content from console application?

    How to remove content from console application Console.WriteLine("Something..."); // I don's want to remove it do { Console.WriteLine("Sample text"); Console.Clear() // How to remove the text, which is only in this loop } while(...); I just used the code of your previous post, which would loop forever until you hit 'y'. After the loop exits, there's no more code, and the program ends. Make the ...Show All

  • Visual Studio Express Editions Addressing fields on another form (Repost)

    I still haven't figured out my issue with not being able to address fields on the parent form of a dialog box.  I know I didn't do the best job of asking the question last time, so I want to start again.  A simplification of my problem would be this: I am trying to change some text in a textbox (textbox1) on form1 from a dialog box (dialogbox1) that is opened by form1.  When the user types text into a textbox on di ...Show All

  • Windows Forms Update database structure

    Hi, I am exploring Clickonce and Im wondering how I would update the database with it. How can I convert data from the old database to the new one Thanks Sreekanth, I didn't know that was possible. That's a very handy tip, I'll have to readup on the documentation. Cathal ...Show All

  • SQL Server about multiplication in sql

    what is the value when running sql script select cast( cast(.0000006 as numeric(38,10)) * cast(1.0 as numeric(38,10)) as numeric(38,10)) the result is .0000010000. why the result is not .0000006000 It looks to be rounding it upto the nearest decimal place, as the result has one fewer zeros to the right of the decimal point. WHy it would do this I am not sure. ...Show All

  • Visual C++ the failure of C/C++

    how sententious this is: int DoSomething(int b){b++;} but this from c: struct aStruct { }; if we write a function no need the "function" keyword and ";" at end like this: function int DoSoethin(){}; then,why we should write the "struct" keyword and ";" when we define a struct after C,C++ do more failure.like "class","namespace","public","private"... Not like ++ --, "public" and "private" more like BASIC,but not c/c++; so,an pureness C++ ...Show All

  • SQL Server How to write a Function that can return a value from a dynamic database?

    I need to get a value from a dynamic data base, and I thought that the best way to do this was by using a scalar function. I'm not too experianced in writting Functions... so I thought I'd post here and see if it is possible, and if so, how Basically, I will be using 3 parameter: varchar @DataSource (the datasource string in the form of "server=SRV;uid=USER;pwd=PWD;database=DB;") int @RecordId (the primary key id column ...Show All

  • Visual C++ CString char/wchar_t conflict

    I'm encountering a strange issue that I have not seen before. I recently built a new MFC app with VS .Net 2003. I am using the MBCS character set - e.g. UNICODE is not defined. The problem is that when I step into CString code down into the CSimpleStringT level, in atlsimpstr.h, it thinks it has wchar_t traits. However in the CStringT code (in cstringt.h), it thinks it has char traits. So, for example, I step into CStringT::Left() and see char t ...Show All

  • Windows Forms Problem using FolderBrowser control in Setup project

    Hi All, I am using Microsoft Visual Studio .Net 2003. I'm experiencing some problems using FolderBrowserDialog control in a Form run by an Installer class during the Setup process of an application. I have to ask the user to choose a folder for a one specified file during the Setup process. When I try to Browse for Folders, I get a Window showing only OK and Cancel buttons, the description and nothing more (the treeview does not appear) An ...Show All

  • Visual Basic When is DLL Main executed?

    I am trying to load a dll and make it run code as soon as it is loaded without having anything called. Is dll main like a regular main where it starts running as soon as it is launched If not, how can I create that kind of effect When a dll is understood as a class library, there can be a constructor, that is a public routine that is executed when the class is instantiated. So that when you say dim a as New MyDll that constructor ...Show All

  • Windows Forms Message Box Displays Blank without a Message and Caption in the Control Name.

    I developed a window application and i displayed a message box it was not working properly. It displays in blank manner not showing the message and caption of controls in it is not displayed. Help me......... I used the following code: Msgbox("text to dispay",title) MessageBox.Show("text to display",title) ...Show All

  • Smart Device Development sound?

    is it possible to play a sound through the standard way on a smart device unfortunatly there is no "compact" direct X and winmm.dll is not standard on the mobile device (cannot find it on the typhoon's C500 (audiovox 5600 )) What other way is there to play standard audio (wave/mp3) on the smart device using .NET CF 1.1 Thanks! i had the same problem at first (or the music didn't stop), override the on exit and stop all sounds there, doe ...Show All

  • Visual Studio Tools for Office easiest way to pipe data from word doc to database

    Hiya, I have a prickly problem that I hope VSTO 2005 can solve. I THINK that I need to:   1) Open a standard Word doc 2) remove the “header” row from the top of each page therein. 3) select all text. 4) table a convert text to table 5) export this doc to excel...where I hope it can easily be sent to the sqlServer databse   I need to do this because I need to extract all the info into a sqlServer da ...Show All

  • Visual Studio Tools for Office VSTO - Word Protection & Change table cell background color

    Hi, This question is about Word Document protection. I am using VSTO with Office 2003. I want to change word table row's background color when my document is protected using Word Protect function. Can I do it * Assumptions are: 1. Protection is of type Form Field. (Not Read Only) That is: Application.ActiveDocument.Protect2002(Microsoft.Office.Interop.Word.WdProtectionType.wdAllowOnlyFormFields, ref noReset, re ...Show All

  • SQL Server Visual Studio 2005 - "Generate Create Script" for SQL 2000 stored procedure

    Hello. I have noticed that "Generate Create Script" feature changed in VS 2005 (compared to 2003). In VS 2003 this feature was displaying dialog window where I could choose some options on what to include in script and where to place it. In VS 2005 this feature just creates SQL script in "Create Scripts" folder, without any intermediate dialog, and now it uses sp_executesql procedure in a script. Is there any way to change th ...Show All

©2008 Software Development Network

powered by phorum