Search Results - VBForums

Search:

Type: Posts; User: aspfun

Page 1 of 9 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    69

    Alternate row color in blank line

    I designed to print 20 lines in detail section.


    If records are 53 lines the report will print 3 pages.


    I code in CR detail section to make Alternate Row Color


    if recordnumber mod 2 =0...
  2. Replies
    0
    Views
    90

    Make image to back in Crystal Report

    I have a form as jpg file in which there are some member information need to fill.

    I created a crystal report in asp.net, inserted this jpg file as ole object, painbrush picture.

    I drag a field...
  3. Is it possible to use datatable as data source in CR?

    I knew how to use dataset as data source in CR.

    Is it possible to use datatable as data source in CR, like below?

    Rpt.SetDataSource(myDs.table(3))

    The reason is in myDs there are about 10...
  4. Send an email with attached order pdf file from file server

    There are many customer' order as pdf file stored in one file server.

    In intranet, my app just open url (file path) to display pdf file on the screen.

    Now, boss want me to create a asp.net app...
  5. Loading combo box data after page displaying

    My win app need to load data in 5 combo boxes. This will take a bit long time to display page.
    Is there a way to display page first and then load data for combo boxes?
  6. Replies
    7
    Views
    277

    Re: Query string in windows app

    I tried but got two errors said that
    arguments.Count is not a member of "system.array"
    'c' is not declared.
  7. Replies
    7
    Views
    277

    Query string in windows app

    My asp.net app will take query string as parameters like below:

    thhp://order.aspx?ordername=aaa&ordercity=london

    Can windows app do the same way? like below:

    order.exe aaa london
    ...
  8. Replies
    0
    Views
    129

    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...
  9. 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?
  10. 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")...
  11. 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...
  12. Replies
    1
    Views
    228

    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...
  13. Replies
    4
    Views
    401

    Re: Close a form and then open the same form

    I need to close it first because something need to reload.
  14. Replies
    4
    Views
    401

    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()
  15. Replies
    1
    Views
    190

    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?

    ...
  16. 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?
  17. Replies
    5
    Views
    316

    Re: Easy way to copy and save as one form

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

    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?
  19. Replies
    5
    Views
    316

    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?
  20. Replies
    3
    Views
    299

    Re: Create a "Save as" dialog window

    I think that I can use "OpenFileDialog" control to do it.
  21. Replies
    3
    Views
    299

    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?
  22. Replies
    5
    Views
    549

    Re: How to add dropdown list into toolbox?

    So, there is no dropdown list in vb.net?
  23. Replies
    5
    Views
    549

    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?
  24. 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?
  25. 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")...
  26. 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...
  27. 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...
  28. 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...
  29. 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")
  30. 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...
  31. Replies
    3
    Views
    284

    Re: Find out what page as start page

    This is a windows app.
  32. Replies
    3
    Views
    284

    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...
  33. Replies
    1
    Views
    812

    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...
  34. Replies
    2
    Views
    230

    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...
  35. 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...
  36. Replies
    1
    Views
    487

    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...
  37. Replies
    2
    Views
    475

    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 =...
  38. Replies
    2
    Views
    203

    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...
  39. Replies
    0
    Views
    924

    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()...
  40. 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...
Results 1 to 40 of 337
Page 1 of 9 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.