CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Iouri

Page 1 of 80 1 2 3 4

Search: Search took 0.48 seconds.

  1. Replies
    2
    Views
    4,534

    It looks like you are running Windows...

    It looks like you are running Windows authentication. In this case the user name is ASPNET. Add this user if you don't have to the user account and give him permission on your SQL server
  2. Replies
    2
    Views
    7,558

    _adoDTRole.Columns.Add("Accorder",...

    _adoDTRole.Columns.Add("Accorder", Type.GetType("System.boolean"))

    This line is correct.
    I thinkthe problem is that in your db null is not allowed
  3. Replies
    1
    Views
    776

    ' Add the DataTable to a new DataSet. Dim ds...

    ' Add the DataTable to a new DataSet.
    Dim ds As New System.Data.DataSet("myDataSet")
    ds.Tables.Add(dt)
  4. Replies
    7
    Views
    2,351

    I think that enigmaos gave you a good example for...

    I think that enigmaos gave you a good example for DataGridTableStyles.
    If you want more explanations send me an e-mail. I'll try to help you
  5. Replies
    7
    Views
    2,351

    Re: Creating DataGrid Row Heights...

    I think you want to change row width (not the height) depending on the length of the string.
    Anyway here is the code how to change riow height at run time



    ts = New DataGridTableStyle()
    ...
  6. Replies
    3
    Views
    776

    YOu are using early binding. Change code for ...

    YOu are using early binding. Change code for

    oExcel = CreateObject("Excel.Application")
    Dim wbk As Object

    wbk = oExcel.Workbooks.Open(Filename:="C:\temp\test.xls",...
  7. Replies
    3
    Views
    776

    When you created the Excel object did you use...

    When you created the Excel object did you use early or late binding. If you used early binding and set reference to Excel and user have different Office version - it will cause the problem. If you...
  8. Replies
    3
    Views
    11,602

    ' This example shows how to draw rotated text on...

    ' This example shows how to draw rotated text on a label control.
    Private Sub Label_Paint( _
    ByVal sender As Object, _
    ByVal e As System.Windows.Forms.PaintEventArgs) Handles Label1.Paint...
  9. Thread: Setup in .NET

    by Iouri
    Replies
    6
    Views
    1,085

    1. Check if such dir exists...

    1. Check if such dir exists
    %windir%\Microsoft.NET\Framework\

    or

    You could check the registry. The location
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
    contains a...
  10. Thread: Excel with .NET

    by Iouri
    Replies
    1
    Views
    789

    use late binding Dim oXL As Object Dim...

    use late binding
    Dim oXL As Object
    Dim oBook As Object
    Dim oSheet As Object

    oXL = CreateObject("Excel.Application")
    oBook = oXL.Workbooks.Add
    oSheet =...
  11. Thread: Setup in .NET

    by Iouri
    Replies
    6
    Views
    1,085

    It is better to install .NEt Framework on the...

    It is better to install .NEt Framework on the target machine separately and don't include it into installation package
  12. Thread: pics and ascii

    by Iouri
    Replies
    2
    Views
    1,042

    You can serialize picture to the XML file - which...

    You can serialize picture to the XML file - which is pretty much ASCII
  13. Replies
    2
    Views
    809

    Imports System.Diagnostics.Process Public Class...

    Imports System.Diagnostics.Process
    Public Class Form1
    Inherits System.Windows.Forms.Form

    #Region " Windows Form Designer generated code "
    #End Region
    Private Sub Button1_Click(ByVal...
  14. Replies
    1
    Views
    1,182

    'ref to SystemWeb.dll (.NET) - works only on NT,...

    'ref to SystemWeb.dll (.NET) - works only on NT, 2k and XP
    SMTP authentication must be enabled



    Outgoing Mail Server (SMTP) Authentication
    In order to send email, you must set your email...
  15. Replies
    2
    Views
    1,380

    Private Sub Button1_Click(ByVal sender As...

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    AutoSizeTable()'autosize all cols
    End Sub

    Private Sub...
  16. Thread: Printing RTFbox

    by Iouri
    Replies
    4
    Views
    5,047

    Re: Printing RTFbox

    Hi Tom.
    Here is the code how open file to RTB and then print it



    'Open file to RTB and print RTB

    'To print multiple pages we have to create virtual page of text called PrintPage and then...
  17. Replies
    9
    Views
    8,910

    First compile your VB.NET source code and get...

    First compile your VB.NET source code
    and get the assembly. Then you can use the great Anakrino tool (freely downloadable
    from http://archive.devx.com/devxpress/****.asp?i=1X8968461X70375) to...
  18. Thread: Jewish calendar

    by Iouri
    Replies
    1
    Views
    1,625

    As far as I know Jewish holidays are noy in the...

    As far as I know Jewish holidays are noy in the same calendar dates in different years. You can create (and maintain) the table with holidays for the current year and then check you date agains this...
  19. Replies
    1
    Views
    792

    MsgBox(System.Environment.UserName)

    MsgBox(System.Environment.UserName)
  20. Replies
    3
    Views
    911

    Use MouseDown, MOuseUp events

    Use MouseDown, MOuseUp events
  21. Thread: VB.NET vs C#

    by Iouri
    Replies
    2
    Views
    892

    C# has pointer operations VB is case...

    C# has pointer operations
    VB is case insensitive. In C# MyA and myA are differnt variables
    VB supportd late binding and optional parameters, C# does not
    VB supports automatic variable coersion...
  22. Replies
    3
    Views
    1,522

    .

    .
  23. Replies
    2
    Views
    1,349

    Highlight the row and hit the delete key. Or you...

    Highlight the row and hit the delete key. Or you want to delete programatically
  24. Replies
    1
    Views
    2,861

    Public Function FindRow(Table As DataTable,...

    Public Function FindRow(Table As DataTable, SearchColumn As String, Value As Object)

    Dim loSelectedRows() As DataRow

    loSelectedRows = Table.Select(SearchColumn & "=" & Value)

    End Function
  25. Replies
    3
    Views
    1,000

    Check how many columns you have in the table. The...

    Check how many columns you have in the table. The CommandBuilder is designed for "normalized" tables less than 101 columns. Maybe you JOIN gives you more
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured