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

Software Development Network >> dmkp231's Q&A profile

dmkp231

Member List

Basel Alnachef
John Doh
Pebelund
cheesesarnie
LostStudent
sbatati
CHiLLD
Nung
Dean Massey
jrmcdona
Trangen16a
Alaa Serry
Dennes Meeusen
andris11
Dmitry4096
Seelam
Ralf Gruenewald
Billy Hui
Samir Bolton
_cyclops_
Only Title

dmkp231's Q&A profile

  • Windows Forms VS 2005 - MyApplication_UnhandledException event not firing

    We have a VB.Net project recently upgraded to 2005 and are attempting to setup our Global Error Handler using the MyApplication_UnhandledException event in the ApplicationEvents.vb class but the code for the event does not fire. Here is the testing code we are using just to test the event but it does not fire. -------------------------------------------------------------------------------------------------------------- Private Sub MyApplication_UnhandledException( ByVal sender As Object , ByVal e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs) Handles Me .UnhandledException MessageBox.Show(e ...Show All

  • Visual Studio Express Editions Integrate PSDK documentation into VC 2005 Express?

    I downloaded and installed Visual C++ 2005 Express and Platform SDK. I integrated PSDK directories into Visual Studio. However, I haven't found a way to integrate PSDK Documentation into Visual Studio help. When I press F1, only MSDN Express opens, without PSDK documentation. I can open PSDK documenation as a separate tool, but there is no way to search for highlighted text automatically (or is there a switch to dexplore.exe ). So, my question: is there an easy way to integrate Platform SDK documentation into Visual Studio Express so that Win32 API help opens when F1 is pressed   Eric Schultz wrote: ...Show All

  • Visual Studio Express Editions SQL Express Local and Remote database

    did anyone try... are there any samples.. for this.. i would create aplication with local database, but in code on runtime it should change connection string and connect to remote database.... is this possible The Data Sources generated by the wizard are hard-wired to the connection strings in config file. I don't know whether you can change this programmatically at run time. At least it isn't obvious. This is also why I hate using data sources generated through the designer. I think the way to go is to create a new data source for your BindingSource when your app is not running locally. I'll see if I can locate a code example. ...Show All

  • Windows Forms Menu location on the form?

    Hello, Is there a way to change the default location of the menu I want the menu to appear in other position in my form and not in the top of the form Thanks! As far as I know, no, you can't do this in VS.2003. You can in 2005 though.  It makes menu and tool bars work like they do in Office 2003. You may be able  ...Show All

  • Smart Device Development Creating an Instance using precreated Web Service

    I am trying to write a program that uses a Web Service in C++, VS 2005. It fails because COM is not initialized. When I try to initialize COM in the usual way by making a COM class    and then calling Initialize it fails to link saying CoInitialize is unresolved. Is there a library I should link in class CCom { private :     HRESULT m_hr; public :     CCom() : m_hr(E_FAIL)     {     }     HRESULT Initialize()     {         ATLASSERT(FAILED(m_hr));         return ...Show All

  • Windows Forms Passing Checkbox.Text if checked

    im entering data into textboxes. If the checkbox is checked i wanna pass the data in the textbox and the checkbox.text to form2. Here i need to show what was entered as a review stage and submit back to form1 whether or not to submit the data or edit it again. Form1 Code namespace bankaccount { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load( object sender, EventArgs e) { } private void depositSubmit_Click( object sender, EventArgs e) { Form2 formreview = new Form2 (dateTimePicker1.Text, check_checkBox1.Text, check_deposit1.Te ...Show All

  • Windows Forms undesired movement of controls on a usercontrol

    hallo, I have a selfmade control, onto which some other controls like buttons are put. Now, I have the problem that, if I resize the window where my own control is on, and it (anchored) also resizes, the controls on it move along with the resizing movement. But I have explicitly set anchor and dock styles of the controls on my usercontrol to None,  ...Show All

  • Windows Forms datagrid with no rows!

    Hallo, Is it possible to capture mouse events or key events in a datagrid, when the grid does'nt display any rows I encountered this problem when i wanted to filter the rows in a datgrid. If after filtering no rows are displayed, how can i then capture the mouse events in the datagrid Thanks for any reply swingme ...Show All

  • Visual Studio 2008 (Pre-release) Consequences of not closing channel

    Hi I know that as a best practice we should call ICommunicationObject.Close after using a client channel. What are the real consequences of not calling Close/Dispose In what i understand, it depends of the binding, right, like if we're keeping a transport channel opened or not, is that correct thanks! I am using the FEB CTP. As I typed proxy. the IntelliSense selection did not contain a Close method. So I blindly followed the example and added Close(); I noticed a small box under the .Close() portion of the statement. As I moved my mouse over the box it asked if I wanted to generate the method As this is BETA I f ...Show All

  • Visual C++ reference to an int array

    I was trying to understand the working of a reference to an int array and a pointer to an int array as parameters to a function. For example, a reference to an int array would be void func (int (&arr)[] )  and pointer to an int array would be void func(int (*arr)[]) But it seems like for a reference to an int array, you must specify a size for the array but for the pointer case, size is not required. In other words, void func (int (&arr)[4] ) works but void func (int (&arr)[] ) doesn't whereas void func(int (*arr)[]) works fine. Any idea why this behavior. Thanks, Karthik This is a bug in Visual C++ The c ...Show All

  • .NET Development IIS 101: Where can I find a download for IIS on XPpro

    Ok it's stupid, but they never installed IIS on my windows XP pro development machine. I have searched MSDN but I can't seem to find the correct dowload...... Who can point me to the correct download Thanks John Hi John, Try the following steps and see if it works for you: 1) Go to Start > Control Panel 2) Double click Add/Remove Programs and in the window that appears, click on the Add/Remove Windows Components button 3) In the list of Windows components that appears, there should be an entry for "Internet Information Services". Check the check box for it then click " ...Show All

  • Visual Basic OK/Cancel buttons in Messagebox

    Hi guys, this is probably too simple to be true, but I can't get the OK/cancel buttons to work. Can anyone see what step I've missed, thanks, Chris Private Sub ButtonSend_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonSend.Click LblSamanvoeging.Text = TextBoxVoorNaam.Text & " " & TextBoxNaam.Text Me .Hide() Me .Show() End Sub Private Sub ButtonEinde_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonEinde.Click Me .Hide() MessageBox.Show("Byeee" & " " & TextBoxVoorN ...Show All

  • SQL Server Search with %t%y% => Error, %ty% => ok...

    Hi! I have a problem with a Select statement: In a ordinary table there is a column called NAME. I want to make the following search: SELECT * FROM TableName WHERE NAME LIKE '%t%y%' this should give me all entries that have a "t" and a "y" in the NAME column. However, it gives me no entries. If I instead run this search: SELECT * FROM TableName WHERE NAME LIKE '%ty% it gives me the correct result. Since the wildcard character % means no or all characters it should work. The problem only seems to occur when the wildcard character is used between "t" and "y", other characters are ok. ...Show All

  • Visual Basic Bypass OK button

    How do I code in to auto enter an "OK" button so the user does not have to click on it I think the both of you have covered the possibilities. I'm still confused as to why someone wants to do this Make  a msgbox appear, to only close it right away...  Why not just skip the msgbox, and move directly to the next section I think the question is... Do you really need a user input, when all you're doing is skipping it Granted, i don't know your setup, but only in extreme cases, when using 3rd party controls, would you need to do this. ...Show All

  • Visual C++ Visual C++ 2005 compliance with The C++ Standard

    Despite a boat-load of documentation on Microsoft extensions to the C++ language, I have been unable to find a single page describing how VC++ 2005 differs from VC++ 2003 (7.1) with respect to the serious non-compliance issues that plagued users of VC++ 2003 (7.1). This document http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclang/html/vclrfNonstandardBehavior.asp is available for Visual C++ 2003 (7.1). Does anyone know which, if any, of these non-compliance issues have been fixed in Visual C++ 2005 Is there an equivalent document for VC++ 2005 -- somewhere Something that says, in plain English, in what ways, if any, V ...Show All

©2008 Software Development Network