Search results for query: *

  • Users: Amr Ashraf
  • Content: Threads
  • Order by date
  1. Amr Ashraf

    How can I suppress external app's messages ?

    Hello guys , I'm trying to run external app and suppress it's messages , That app showing a message when it completes a simple task , I need to suppress that message so I tried this : public void TrustMe() { string dir =...
  2. Amr Ashraf

    Resolved How can I check if access db is open then activate it ?

    Hello guys , I'm struggling with something and I can't figure it out , I'm using this code to open a password protected access database : public partial class Start_Baseet : System.Windows.Forms.Form { string MyFile = Environment.CurrentDirectory + "\\Baseet.accde"...
  3. Amr Ashraf

    How can I convert a ms access database to ACCDE?

    Hello Everyone , I use this code to open a password protected access database : Microsoft.Office.Interop.Access.Application AccApp = new Microsoft.Office.Interop.Access.Application(); string MyFile = Environment.CurrentDirectory + "\\Baseet.accdb"; AccApp.Visible = true...
  4. Amr Ashraf

    Resolved Why my methods interfering with each others and with if statements in C#?

    I have a form to insert some data in sql database with some conditions , First I need to check for nulls and alert the user : void CheckNulls() { try { if (txtcode.Text.Length == 0 || txtItem.Text.Length == 0 || txtWh.Text.Length == 0) { MessageBox.Show("Fill...
  5. Amr Ashraf

    How can I get my design to work on any screen size ?

    Hello guys , I have designed a form and set the Dock and Anchor as i wanted , The problem is in the design mode the design is perfect but in the runtime he controls are not set properly . I tried my design on the laptop and the result was great , But when i run it on my PC with screen 43 Inches...
  6. Amr Ashraf

    MDI Child form size problem

    Hello guys , I have problem with the size of MDI Child form as following : I have MDI Container form and use this code to open child form FrmCodes FCode = new FrmCodes(); FCode.MdiParent = this; FCode.Show(); This is my child form result >> Window State Maximized...
Back
Top Bottom