Jump to content
Xtreme .Net Talk

wessamzeidan

Avatar/Signature
  • Posts

    382
  • Joined

  • Last visited

Everything posted by wessamzeidan

  1. I think you should use this instead of your last line tabControl.TabPages.Add(NewTabPage)
  2. Hi, I've made a setup project for my program. I want my program to be installed from a CD. I was wondering if I can get the drive from which the program was installed from and save it to use in my program..... Thanks
  3. Thanks alot for all you guys for the help....I've solved the problem by using the information just inserted to get the id back, but I think using the @@IDENTITY would be better, I'll give it a try
  4. Thanks alot Joe, I used your way and it was exactly what I wanted...
  5. Thanks alot for the help. What I do is I show the splash form for 3 seconds, hide it and then show the main form. I use the closing event of the main form to call Application.Exit() to quit the program, I don't know if this is a good way of doing it.....
  6. The same thing........
  7. No, the only thing I have on the form is a background image...
  8. Hi, I have an application with 3 forms. One is used as a splash screen, another as the main form and the third as a dialog form. I'm using the main procedure to launch my program. The program was working fine when I had no splash form, but when I added the splash form, I got a strange error. The error occurs when I close the dialog form, I have a button on the form that closes it, it has this line of code me.dispose() When I click this button I get this error 'An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in system.windows.forms.dll Additional information: External component has thrown an exception.' and the program stops at this line Application.Run(new splash) Any one has an idea from where does this error come from????
  9. The table that I'm inserting in has a primary key as autonumber, so the database generates the id. Now I need a way to get this generated id. Thanks
  10. Hi, how can I get the id of the row I just added to a table in a database... Thanks
  11. I just wanted to open it for display, thanks alot..
  12. Does any one have an idea on how can I open pdf files from my application??
  13. Thanks alot, it worked. But there's a problem, the highlighted item doesn't remain blue, it gets highlighted but with a different color....
  14. Hi, I have 2 listviews on a form, both views are set to Detail. I need to select items from both lists. I'm able to select elements from both lists but the problem is that when I select an item from one list and then select an item from another list, the blue mark on the selected item in the first list disappears, and appears on the selected item in the second list. What I want is when I select the item in the second list, the item in the first list remains highlighted..... Any suggestions???
  15. How can I open a webpage from my application?? Thanks
  16. Hi, how can I get the special folders of windows like the temp folder...... thanks
  17. OK I found out what it does, it inserts slides into a presentation from another presentation. But what I need is to inserts images to a powerpoint presentation. Any one has any idea?????
  18. Can any one tell me what Slides.InsertFromFile() do, I'm trying to add media to a powerpoint presentation and I found this, but it always gives me error. Any help would be appreciated. Thanks
  19. How can I add media(pictures, animations) to powerpoint programmatically. Is it possible????
  20. Thanks alot, it worked
  21. Hi, how can I start an external application from within my .NET application Thaks
  22. Hi, how can I add custom properties for controls, like the listview control. Thanks
  23. ok I got it, I just have to use the shockwave activex control in my form.... any way, thanks
  24. Does any one have an idea on how to put a movie made by Macromedia Director on a windows form???
×
×
  • Create New...