Search Results - VBForums

Search:

Type: Posts; User: aspfun

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    64

    Publish and prerequisite

    I use Publish to compile Win form app in VS2010.
    I select "Vs2010 tools for office runtime" in prerequisites and create a setup file.
    Once run setup got an error said:

    "Fatal error during...
  2. Clear text box with date input mask like 00/00/0000

    How to code to clear text box with date input mask like 00/00/0000?
  3. How to use loop to add receipts one by one?

    I used code below to send an email to multiple users. It works fine.

    mail.[To].Add("aaa@mycompany.com")
    mail.CC.Add("bbb@mycompany.com")
    mail.CC.Add("ccc@mycompany.com")...
  4. How to clear the reference of report document?

    I used code below to export Crystal Report to file server but got "reach max print job" error.

    How to clear the reference of report document? After rpt.Export(), adding rpt.close() and...
  5. Replies
    1
    Views
    198

    Embedded Crystal Report Files

    I added some Crystal Reports files into bin\debug (default compile folder), using code

    System.Windows.Forms.Application.StartupPath

    to load them and run it to create a exe file.

    I copied...
  6. Replies
    4
    Views
    285

    Re: Close a form and then open the same form

    I need to close it first because something need to reload.
  7. Replies
    4
    Views
    285

    Close a form and then open the same form

    How to code to close a form and then open the same form?

    The code below did not work.

    dim frm as order
    frm.close()
    frm.show()
  8. Replies
    1
    Views
    156

    Code in a button and in toolbar

    I used code below in a button to get all checkbox value and then assign to a arraylist. It works fine.
    But, once copied it to a tollbar, arraylist only store first value.
    Is my code wrong?

    ...
  9. Open new form right close to top and left edge of main form

    How to code a new form's location right close to the top and left edge of main form?
  10. Replies
    5
    Views
    224

    Re: Easy way to copy and save as one form

    Yes, after namually change the class name, it is working now.
    Thanks,
  11. Replies
    5
    Views
    224

    Re: Easy way to copy and save as one form

    I can copy but can't paste while in solution explorer view.
    Do you mean that copy and paste a form when close project?
  12. Replies
    5
    Views
    224

    Easy way to copy and save as one form

    What is easy way to copy one form and save as different form in the same project?
  13. Replies
    3
    Views
    234

    Re: Create a "Save as" dialog window

    I think that I can use "OpenFileDialog" control to do it.
  14. Replies
    3
    Views
    234

    Create a "Save as" dialog window

    I want to create a window form like "save as" dialog window in word in which list all drives, folders...
    Where to find out resources or like to learn?
  15. Replies
    5
    Views
    392

    Re: How to add dropdown list into toolbox?

    So, there is no dropdown list in vb.net?
  16. Replies
    5
    Views
    392

    How to add dropdown list into toolbox?

    I use vs2010 in win7 to work windows desktop app.
    There is combox control in toolbox but no dropdown list.
    How to add dropdown list into toolbox?
  17. How to call sub in MDI child form from MDI parent toolbar?

    I created a few toolbars in parent form.
    How to call sub in MDI child form from MDI parent toolbar?
  18. Re: How to load crystal report if report (myorder.rpt) is in project folder?

    If I use cryRpt.Load(Application.StartupPath & "\" & "myorder.rpt"), I have to put myorder.rpt into bin\debug\ folder because I set bin\debug\ as debug folder.
    If I use cryRpt.Load("myorder.rpt")...
  19. How to code to open form as 85% of user's screen (width and height)?

    Since screen resolutions in all pcs are different, set static form size is not good practice.
    I knew how to set width and height of screen in fix number.
    How to code to open form as 85% of user's...
  20. Re: Run schedule task in server without Excel and Crystal report being installed

    I hit F5 to run and made exe file.
    How to copile it to include Excel and Crystal report components?

    I used code below to import Excel but still get an error from server said that "Can not create...
  21. Run schedule task in server without Excel and Crystal report being installed

    I created a Windows desktop app to export Excel and Crystal Report to a file server.
    It works fine in my pc (win7, vs2010) but once I move exe file to one server and set up a schedule task to run...
  22. How to load crystal report if report (myorder.rpt) is in project folder?

    How to load crystal report if report (myorder.rpt) is in project folder?

    Dim cryRpt As New ReportDocument
    cryRpt.Load(what path here & "\" & "myorder.rpt")
  23. Send email to distribution group not working

    I use code to send an email to "Email distribution group" as below, (there are about 20 recipients)

    mail.[To].Add("OrderGroup@mycompany.com")

    but did not work. I have to add one by one...
  24. Replies
    3
    Views
    222

    Re: Find out what page as start page

    This is a windows app.
  25. Replies
    3
    Views
    222

    Find out what page as start page

    I downloaded a vb.net sample.
    There are many folders under project as sub-project.
    Once I open sln file and run it, all folders display on the start page as buttons.
    How to find out which page is...
  26. Replies
    1
    Views
    689

    Create a setup project with Crystal Report

    I use VS2010 to create a vb.net app Order with Crystal Reports.
    In Order, I added a setup project and IT people can use it to install in all client PC.
    But, IT people need to install Crystal Report...
  27. Replies
    2
    Views
    192

    Cope vb.net app as another name

    I created a vb.net app as Order in which there is a vbproj as Order and sln file name as Order.
    Now, I want to create another vb.net app as OrderDetail.
    What is the easier way to copy Order as...
  28. Save Excel file from GridView into hard disk

    I use code below to display Excel file from GridView.

    How to modify code to save Excel file from GridView into hard disk?

    Protected Sub ToExcel(ByVal sExcelFileName As String)
    Dim style As...
  29. Replies
    1
    Views
    420

    save PDF into SQL varbinary column

    I use image object to save image (jpg file) into SQL varbinary column as code below. It works fine.

    Now, I need to insert pdf file but Imaging.ImageFormat do not have pdf option.

    How to insert...
  30. Replies
    2
    Views
    413

    System.IO.File.Move question

    There some jpg file I need to move to another folder. Below are samples. They are in d:\order\

    aaa01.jpg, aaa02.jpg, aaa03.jpg...aaa99.jpg

    I use code below to move

    dim myPath as string =...
  31. Replies
    2
    Views
    172

    Find out the position for third "\"

    I need to find out the position for third "\".

    For example, some files' location like c:\order\year\2012\201201.txt, c:\order\year\2012\201203.txt...

    How to find out third "\" position from...
  32. Replies
    0
    Views
    864

    Crystal report to pdf with sub report

    I used code below to display and print crystal report, it works fine.

    Now, new report has a sub report. How to add some code to works with?

    Rpt.SetDataSource(myDs)
    Rpt.Refresh()...
  33. In design view text box and line in right position but after running, it changed

    I used CR for VS2010 to create a asp.net report in win7 64 pc.

    In design view, I created a text box and line in right position but after running, it changed them in strange position.

    How to fix...
  34. Can I have Crystal Report run time for VS2008 and VS2010 at the same box?

    Web server in our company is still using
    IIS 6.5,
    framework 3.5
    Crystal Report run time for VS2008.

    Now, my new asp.net app is using VS2010 and Crystal Report for VS2010. (some app is still...
  35. Replies
    4
    Views
    346

    Re: Rename all files and append date

    It works great.
    Thank you again.
  36. Replies
    4
    Views
    346

    Re: Rename all files and append date

    Thank you.
    I'll try it soon.
  37. Replies
    4
    Views
    346

    Rename all files and append date

    How to rename all pdf files to append today's date?
    For example, myhome.pdf become as myhome_07212012.pdf.
    I try to create a batch file but no luck.
  38. Replies
    1
    Views
    548

    Center pages in various screen resolutions

    In our company, users use a various screen resolutions: 1280x1024, 1024x768, 800x600...

    I use 1280x1024 to design app. Once user opens app, all controls in the page will change position.

    I...
  39. Replies
    1
    Views
    444

    Crystal reports in VS2010

    I have some asp.net projects which developed in VS2008. Some Crystal Reports are working fine.

    Once I use VS2010 and move to web server, all Crystal Reports are not working any more. (They are...
  40. Replies
    2
    Views
    201

    Company license of VS2010

    Company purchased one license of VS2010 for me.

    Can I use it to develope products for another company to make money?
Results 1 to 40 of 330
Page 1 of 9 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.