Search results

  1. G

    Question Deploying Smart device app causes "The system cannot find the file specified."

    Deploying Smart device app causes "The system cannot find the file specified." Hi all, I have an smart device application (VB .net CF) in which I am trying to use SQL compact. I am deploying it to a windows ce 6.0 os. When I add sqlserverce.dll as a reference I get the "The system cannot find...
  2. G

    Write to tcpclient stream hangs

    Hey all, I hope this is the right thread. I am working on an application which will run on windows ce 6.0. It will receive data on serial port, and store it to a cf card plus forward it to network. Now I have never done anything with network so I am a total rookie, but I searched internet...
  3. G

    Question How to print tabpage silently

    ah ok, well I though that maybe some file or something might be corrupt with VS2005 or maybe some aadon or plugin or power pack I installed in the past might have some effect on this. so does this mean that even if I compile application on my home machine (Vista) it still wouldn't work on XP...
  4. G

    Question How to print tabpage silently

    Yup it worked on my home computer (vista, VS2005)....I guess its time to reinstall VS on my work comp.
  5. G

    Question How to print tabpage silently

    I am using XP. I don't know I guess only way to find out would be to reinstall my VS or try later with VS2008 but currently there isn't any time to do that. I will try on my home computer later. And see if that works. (VS2005 and Vista)
  6. G

    Question How to print tabpage silently

    Thank you very much John, Well I guess the problem is in my system or VS...It's not working. I had to create a new solution but I imported all your files (I am using VS2005). Maybe this has to do something with me using VS2005. I guess its time to upgrade?! :) Well anyway thanks for...
  7. G

    Question How to print tabpage silently

    I don't know what is the problem here...Might be something with drawtobitmap (I read it has some problems with richtextbox and maybe there are problems with textbox also, or its my VS2005 or etc. I created a new blank usercontrol and put just one textbox on with some text in it...result is the...
  8. G

    Question How to print tabpage silently

    One more info update. I was testing a little bit now, and I put a new textbox on the tabpage, and filled in text property ("test1")... And tried to print it, but the textbox is empty when printed and control was not shown! But it is filled if I show it first (report preview). Hope this gives...
  9. G

    Question How to print tabpage silently

    I didn't make all this very clear I think, sorry for that. I load the filenames into a datagridview: Then I have two possible scenarios. 1. I click on a filename and make a preview of the report (in this case I show the form with my usercontrol)...It shows all data in textboxes no matter how...
  10. G

    Question How to print tabpage silently

    I already managed this with adding a line _ucreportpreview.TabControl1.SelectedTab.Show() in the loop you suggested earlier...but awsn't sure if it was the right way so I will stick with _ucreportpreview.CreateControl() wich also works. I have one more problem. on the user control there are...
  11. G

    Question How to print tabpage silently

    I was a little fast with my previous reply... it isn't 100% yet. This works when I show a form with usercontrol on which I have tabcontrol and more than 1 tabpage. So it prints all tabpages although I only have first visible without clicking and showing any other tabpage. But If I dynamically...
  12. G

    Question How to print tabpage silently

    This is it! I knew posting a question here will give a solution :D I tried to work this out for two days now without a success. Thank you very very much!... Regards, Greg
  13. G

    Question How to print tabpage silently

    thanks for reply the code I posted earlier is in a class PrintMe here is what I do on my form on which my usercontrol with tabcontrol and tabpages reside!. Hope this is more clear now. Greg Private Sub BtnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  14. G

    Question How to print tabpage silently

    I am not sure if this fits in some other forum thread but here goes... I have an application in which I open larger number of files create a specific report (I fill in values in a usercontrol with 3 tabpages and some textboxes labels and graph on each of them) for each and would like to print...
  15. G

    Question Removing tabs with user control from tabpage

    Thanks for the explanation. One more question here...is it than enough to just remove the tab from the tab control or do I have to explicitly dispose it (or even dispose the user control on the tab) Thanks again. Best regards, Greg
  16. G

    Question Removing tabs with user control from tabpage

    Hi all, I have a thing I am not sure if it is a problem but its weird to me and I don't understand it. So if anyone has any idea or explanation I would appreciate if you told me. I have a application with a tabcontrol. I dynamically open new tabs on which there is a custom control which is...
  17. G

    Access progress bar on main form from thread on user control

    Nice explained! Thank you. Cheers, Greg
  18. G

    Access progress bar on main form from thread on user control

    Thanks for this, as soon as I read the first point I remembered that I had already done this once in some other project. This did the trick immediately. Can I just ask you why do you think the second option is better? I know how to do the second to. Thanks again! Regards, Greg
  19. G

    Access progress bar on main form from thread on user control

    Hey John, sorry I missunderstood your post I thought I need to use the code. Anyway I still have no idea how to do this. Should I make a reference on my user control and pass it to the UpdateProgressBar sub on the main form? Thank you for helping. regards, Greg
  20. G

    Access progress bar on main form from thread on user control

    Thanks John for your reply, sorry I am a pain but I don't quite know how to use this "FrmMain.Invoke(New Del(AddressOf me.show)) " in my code.... Regards, Greg
Top Bottom