Search:

Type: Posts; User: masoudk1990

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,177

    Re: [RESOLVED] Cookie is always null

    Well, Instead of storing a large amount of data in client machine, I just stored some parameters in client machine through cookie and I always generate those large amount of data again with help of...
  2. Replies
    2
    Views
    1,177

    Re: Cookie is always null

    After hours of investigating on issue finally I found that chartBuilderStr.Value is too large. This is why Response.Cookies.Add() always fail in my code.

    Any suggestion how to store large strings...
  3. Replies
    2
    Views
    1,177

    [RESOLVED] Cookie is always null

    Guys I can't find where is my fault, my cookie is always null.


    protected void btnSave_Click(object sender, EventArgs e)
    {

    HttpCookie savedCharts =...
  4. Replies
    3
    Views
    730

    Re: Difference between 2 Classes

    @Jagjit Thanks for nice question.
    @jmcilhinney Thanks for answer.

    Let me include a little about difference between fields and properties which I copied from here.



    public class MyClass
    {
  5. Replies
    1
    Views
    547

    Re: news slideshow in asp.net

    Here are plenty of slideshows. If you want to load slideshow according to a database you can create your slideshow at run-time with literal control
  6. Re: Deploying Microsoft.Office.Interop. Excel version 15.0.0.0

    Well, today I was at my client place and I could test my application. It worked perfectly and now I can write a conclusion about it.

    Ok here is my conclusion:
    You should NOT use a newer version...
  7. Re: Compare non unicode characters

    byte[] b = Encoding.Unicode.GetBytes(str.Substring(0,1));
  8. [RESOLVED] Compare non unicode characters

    I need to check if a string starts with a non unicode character.
    I try to write a code like this:


    If (str.Substring(0,1) == "(its a non unicode character, Text editor of forum can not display...
  9. Re: Deploying Microsoft.Office.Interop. Excel version 15.0.0.0

    Dear RobDog888,
    I tested it before, while version 14.0.0.0 is necessary to do Office 2010 interop, my client with office 2013 still could use my application. I think if client install a newer...
  10. Re: Deploying Microsoft.Office.Interop. Excel version 15.0.0.0

    Thank you.

    I see Microsoft.Office.Interop. Excel version 15.0.0.0 is necessary to do Office 2013 interop.
    While Microsoft.Office.Interop. Excel version 14.0.0.0 is necessary to do Office 2010...
  11. Re: Deploying Microsoft.Office.Interop.Excel version 15.0.0.0

    Dude my project is c sharp, not vb.net.



    using Excel = Microsoft.Office.Interop.Excel;

    Excel.Application xlApp = new Excel.Application();
    Excel.Workbook...
  12. [RESOLVED] Deploying Microsoft.Office.Interop. Excel version 15.0.0.0

    Hello, I added a reference of Microsoft.Office.Interop.Excel version 15.0.0.0 to my project through NuGet. I want to know if my client has ms-office 2013 or 2010 can he still use my application?

    I...
  13. Replies
    4
    Views
    766

    Re: Printing a receipt

    Is it a windows application or a web application?
    I would like to tell you to use crystal reports for your reporting tasks. But if you have only 2 days left and you don't have enough time to play...
  14. Re: copy line 1 from textBox1 two textbox2

    ( ' ' )




    string[] lines;
    int counter = 0;
    int maxLines;

    private void Form1_Load(object sender, EventArgs e)
  15. Replies
    1
    Views
    691

    Re: OLE Db for Sql Server

    found it (sqlncli.msi)
    https://www.microsoft.com/en-us/download/confirmation.aspx?id=29065
  16. Re: copy line 1 from textBox1 two textbox2

    Here is how I did it:


    private void Form1_Load(object sender, EventArgs e)
    {
    textBox1.Text = String.Format("Hello world {0} Goodbye cruel world {0} I like pretty...
  17. Re: Read excel file while range(1,1) is null

    Yes, thank you.

    In my code range is used range, that is why it look for cell(1,1) first:


    range = xlWorkSheet.UsedRange;
    range.Cells[6, 3] as Excel.Range //returns null


    Your code get...
  18. Replies
    1
    Views
    691

    [RESOLVED] OLE Db for Sql Server

    I designed my crystal report files with OLE Db for Sql Server. Now I want to deploy my application on client's computer.
    Should I install anythings on client's computer for the OLE Db for Sql...
  19. Replies
    4
    Views
    1,040

    Re: frends i need to convert this code to c#

    In this case PO used it to prevent division to zero exception. Its not always bad to use Resume next when you know what are you doing. And I'm agreed to PO can put what is inside loop inside Try...
  20. [RESOLVED] Read excel file while range(1,1) is null

    I created an empty Excel file with Microsoft Office and I typed "Hello" in range(6,3) in it. Then I tried to read range(6,3) from c sharp:


    (range.Cells[6, 3] as Excel.Range).Value2

    It returns...
  21. Replies
    4
    Views
    1,259

    Re: Report orientation changed ...

    I mean it is possible your report designed well. But maybe paper orientation change from somewhere else (inside your project).
    Press Ctrl + F, If you using vb6 choose "Current Project" and if you...
  22. Replies
    4
    Views
    1,259

    Re: Report orientation changed ...

    May you search for key word "PaperOrientation" in your entire project?
  23. Replies
    2
    Views
    5,841

    Re: Error accessing the system registry

    See if this link can help you.
  24. Re: listbox to another listbox from deffirent form

    No need to destroy selected index of list in first form


    Dim i As Integer
    For i = 0 To Form1.List1.ListCount - 1
    List1.AddItem Form1.List1.List(i)
    Next i
  25. Replies
    11
    Views
    1,662

    Re: Insert statement vb6

    Agreed.
    Right now .TextMatrix(i, 7) inserting as RRQRY not .TextMatrix(i, 5).
    as gibra suggested use a Command.
    Right now if you have a quotation in Description column you will get an exception....
  26. Replies
    11
    Views
    1,662

    Re: Insert statement vb6

    Is it standard microsoft grid or vsflexgird?
    With vsflexgrid I usually don't specify a column with its index. Instead I declare a colkey for columns which im not aware its available in standard...
  27. Replies
    11
    Views
    1,662

    Re: Insert statement vb6

    Ok, show us how you fill your grid.
    Show us the code.
  28. Replies
    28
    Views
    5,814

    Re: How to get Properties

    Thank you dilettante for both code and explanation, since i'm not PO don't you mind if I ask you something about your code in private message?
  29. Replies
    28
    Views
    5,814

    Re: How to get Properties

    I tried to investigate why NameSpace(0) ?


    MsgBox CreateObject("Shell.Application").NameSpace(0) 'Desktop
    MsgBox CreateObject("Shell.Application").NameSpace(1) 'The Internet
    MsgBox...
  30. Replies
    11
    Views
    1,662

    Re: Insert statement vb6

    Possibility TextMatrix(i, 5) is not RRQTY and its something else
    Use a breakpoint on it
  31. Replies
    19
    Views
    1,888

    Re: Protect text from being copied

    Come on, even an image can get edit with photoshop.
  32. Replies
    19
    Views
    1,888

    Re: Protect text from being copied

    If you don't have problem with PDF files here is a vb6 project that convert html files to pdf. Although I haven't test it myself.
  33. Replies
    19
    Views
    1,888

    Re: Protect text from being copied

    Change the body tag to this:


    <body oncopy="return false" oncut="return false" onpaste="return false">
  34. Replies
    10
    Views
    800

    Re: Stuck and couldn't find a title!!!

    table1
    CusID
    Cust_FirstName,
    Cust_LastName,
    Cust_Telephone,
    Cust_Address,

    Store only one record for each transaction in this table, let this be your shopping table
    Table2
    ShoppingID <--...
  35. Replies
    11
    Views
    2,072

    Re: select distinct or group by?

    According to documentation yes.
  36. Replies
    11
    Views
    2,072

    Re: select distinct or group by?

    As my friends said its not relevant to your original question and its better you start a new thread for this question. But adOpenStatic gives a static copy of data to you that you can manipulate it....
  37. Replies
    23
    Views
    2,340

    Re: [VB 6] closing process excel

    replace Application.Quit with:


    Excel.Application.Quit
  38. Replies
    11
    Views
    2,072

    Re: select distinct or group by?

    Let me tell you the difference between distinct and group by

    Distinct mean: If a value repeated several times in several rows, just show me one of them:


    Select DISTINCT [Date] FROM myTable
    ...
  39. Replies
    7
    Views
    6,446

    Re: Crystal Report 8.5 Sub Report

    Well, there is several ways to work with crystal report through vb6.
    Right now how do you connect your main report to database?
    Please start a new thread and show me your sample code, I gladly help...
  40. Replies
    8
    Views
    1,344

    Re: File Delete Question

    Take a look at this links:
    SHFileOperation: Copy, Move or Delete Files
    SHFileOperation: Copy or Move an Entire Directory
    SHFileOperation: Add Recycle Bin Functionality
    SHQueryRecycleBin: Recycle...
Results 1 to 40 of 174
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width