Search Results - VBForums

Search:

Type: Posts; User: aspfun

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    120

    Hide page url without url rewriting

    I created a asp.net program as http://mycompany.com/
    I want whenever user clicks any link, such as

    http://mycompany.com/order.aspx

    http://mycompany.com/bill.aspx
    ...
  2. Re: How to add a code to make "if error goto next"?

    Like below?


    Private functiion Myfunction() as boolean
    For i As Integer = 0 To listbox.Items.Count - 1
    MmberFileName = Path.GetFileName(listbox.Items(i))
    Try
    ...
  3. How to add a code to make "if error goto next"?

    I created a function to return Boolean in which there are another 3 sub-functions.
    All sub-function is return Boolean as well


    Private functiion Myfunction() as boolean
    For i As Integer = 0...
  4. Re: How to compile windows app to make exe file including all dll files?

    Never mind.
    I found the answer.

    http://stackoverflow.com/questions/10137937/merge-dll-into-exe
  5. How to compile windows app to make exe file including all dll files?

    In my develop pc, I installed itextsharp so there are itextsharp.dll and itextsharp.xml in debug folder.
    I ran app and created a myapp.exe. Once I copied myapp.exe to another pc, an error occurred...
  6. Replies
    1
    Views
    102

    Convert word to pdf

    I used code below to convert word to pdf but if the doc file is opened by another user program will stop.

    How to fix it?...
  7. A function return a dataset do not work in for loop

    I use a function to return dataset in which passing a store procedure and MereberID.

    It works fine for calling one time but once in for loop, it only works for first loop.

    When i=0, it works...
  8. Replies
    4
    Views
    249

    Re: Convert word to pdf

    I use your code to create a project using loop to convert all doc file in a folder.
    There is an error said "xxx file is read only"/"xxx file was locked".
    It seems to me that file is not closed....
  9. Replies
    1
    Views
    103

    Close word document

    I copied code from

    http://www.vbforums.com/showthread.php?774585-Convert-word-to-pdf

    as below. First time is ok but second time got an error said that "file was locked...by user....".
    How to...
  10. Replies
    2
    Views
    144

    List files in one folder but got an error

    I use code below to list files in listbox1 but an item "~$0020419.doc" was listing there. I reboot pc but no luck. Why?

    In C:\test\, there are only 3 files: 100020419.doc, 100025818.doc and...
  11. Replies
    4
    Views
    249

    Re: Convert word to pdf

    Thank you for help. Once I install word 2010, it is working now.
    My project need to merge two pdf files, one is from Crystal report and another is from word.
    Is it possible to output to...
  12. Replies
    4
    Views
    249

    Convert word to pdf

    I use code below to convert word file to pdf file but never have luck and no error as well.
    Is there something need to update?

    Private Sub Word2PDF(ByVal wordFilePath As String, ByVal...
  13. Thread: Merge PDF files

    by aspfun
    Replies
    1
    Views
    134

    Merge PDF files

    In my vb.net project I need to merge two PDF files.

    1) One is from crystal report which export as A.PDF. This part was finished.

    2) Another is from word file. I need to code to read doc file...
  14. Code to embedding DOC's dynamically in Crystal Reports

    I was assigned a project which need to do the following jobs:

    1) Print cover letter in which display member name and address based on memberID in Member table (Done)

    2) Using the same memberID...
  15. Replies
    1
    Views
    142

    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...
  16. Replies
    0
    Views
    136

    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...
  17. 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...
  18. 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...
  19. 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?
  20. Replies
    7
    Views
    309

    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.
  21. Replies
    7
    Views
    309

    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
    ...
  22. Replies
    0
    Views
    147

    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...
  23. 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?
  24. 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")...
  25. 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...
  26. Replies
    1
    Views
    251

    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...
  27. Replies
    4
    Views
    438

    Re: Close a form and then open the same form

    I need to close it first because something need to reload.
  28. Replies
    4
    Views
    438

    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()
  29. Replies
    1
    Views
    201

    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?

    ...
  30. 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?
  31. Replies
    5
    Views
    332

    Re: Easy way to copy and save as one form

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

    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?
  33. Replies
    5
    Views
    332

    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?
  34. Replies
    3
    Views
    322

    Re: Create a "Save as" dialog window

    I think that I can use "OpenFileDialog" control to do it.
  35. Replies
    3
    Views
    322

    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?
  36. Replies
    5
    Views
    613

    Re: How to add dropdown list into toolbox?

    So, there is no dropdown list in vb.net?
  37. Replies
    5
    Views
    613

    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?
  38. 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?
  39. 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")...
  40. 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...
Results 1 to 40 of 351
Page 1 of 9 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.