Search:

Type: Posts; User: asommer

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    608

    Re: One array instead of 3

    Thank you.
    So, it's not very convinient in my case.. May be better to leave arrays.
  2. Replies
    5
    Views
    608

    Re: One array instead of 3

    Ok.Thanks! Spasibo!
    Public a_persons() As Person ' Array
    That's I like.
    But can't get idea why such a code throws error:
    Dim persons(1) As person ' Array

    Try
    ...
  3. Replies
    5
    Views
    608

    One array instead of 3

    The question is simple, but I want it to ask.
    It's usually happend that I have some arrays with same length.
    For example name(), surname(), age()
    Is it the best way to leave all info in 3 arrays...
  4. Replies
    1
    Views
    4,661

    Re: Multiline Label or TextBlock inside shape

    Have found this:
    http://msdn.microsoft.com/en-us/magazine/dd263097.aspx
  5. Replies
    1
    Views
    4,661

    Multiline Label or TextBlock inside shape

    I want to place multiline wrapped text inside some path/geometry.
    For example inside polygon.
    But the problem is that TextBlock has no template, and Label has no Wrap property -
    so I should use...
  6. Replies
    12
    Views
    2,584

    Future of VB.Net

    Sorry for my rhetorical question.
    As in my country all the vacancies are on C#.Net
    If you are VB.Net developer it's hard to find something ( almoust impossible )
    As I know those 2 languages are...
  7. Re: BindingSource current Item and late binding

    Thank you, jmcilhinney, - it's more than clearly!
  8. [RESOLVED] BindingSource current Item and late binding

    I have enable "option strict" and now I face late binding on strings like:

    If testView.CurrentItem.item("photo").ToString.Trim <> "" Then


    Is the only possibility hide it is to create each...
  9. Re: Compiling for 3.5 Framework not works(?)

    Have read "The SP1 update added the .NET Framework Client Profile, Dynamic Data, and a small set of additional enhancements" and understands that my application will not works on .Net Framework 3.5 -...
  10. Re: Compiling for 3.5 Framework not works(?)

    Oh no! I have forget that last time I have compiled for 4.0
  11. Re: Compiling for 3.5 Framework not works(?)

    Oh. I see now! I have all references to .Net 4.0 in my project.
    Will try now to change them!
  12. Re: Compiling for 3.5 Framework not works(?)

    And when I compile my project to 4.0 Framework it works on Windows Xp with .Net 4.0 Framework.
    Seems that .Net Framework doesn't contain .Net 3.5 Framework.
    Hmmm...
    When I have previously wrote...
  13. Re: Compiling for 3.5 Framework not works(?)

    Strange. CPU is set to x86.
    And when I try to run application on computer with windows XP and installed .Net Framework 4.0 I recieve message like "one of the .Net Frameworks required .Net 2.0...
  14. Re: Compiling for 3.5 Framework not works(?)

    O! Have remembed! May be I have set "Any CPU" - not x86....
  15. Re: Compiling for 3.5 Framework not works(?)

    I don't realy remember. Something like: "Application will not run..."
    I have thinking that there is not my mistake in code - there is something else.
    But I will take a look again - when I wil be...
  16. [RESOLVED] Compiling for 3.5 Framework not works(?)

    I have compiled my WPF application for 3.5 Framework. But when I try to start it on Windows Xp with this framework installed - there is an exception.
    Have no idea why... (?)
    When I run this...
  17. Replies
    0
    Views
    306

    MS Access and Asp.net permissions

    I have write aspx page for working with access database.
    In debugging on local Pc C - everything is OK.
    But on hosting I recieve such an exception:

    Request for the permission of type...
  18. Replies
    0
    Views
    3,194

    Multiple CommandTarget

    I am trying to make some FlowDocumentPageViewers controlled 2 buttons IncreaseZoom and DecreaseZoom.
    Here how I try to do it:

    in XAML
    <RepeatButton.CommandTarget>
    ...
  19. Replies
    6
    Views
    961

    Re: reading/writing text files on server

    Thank you, thank you for replies!
    In vb.net it's called SyncLock.
    It's used with threads. You mean that it has also relation to ASP.net?
    Not sure that you have understand correct my question. May...
  20. Replies
    6
    Views
    961

    Re: reading/writing text files on server

    Oh, yes.
    Off course it's better to use some database.

    But it's just interesting to know is it some difference between local PC and server's text files and access to them from some users at the...
  21. Replies
    6
    Views
    961

    Re: reading/writing text files on server

    I suppose that files on server are using same as on local PC (?)
    motil - thank you for replying.
    Can you give me a hint/tip how to use "lock" syntax?
  22. Replies
    6
    Views
    961

    reading/writing text files on server

    I'm newbie, so excuse me that. :wave:
    Can I ask a rhetorical question? :rolleyes:

    I have write small web-service that recieves query and read txt file for matching. For it I'm using StreamReader....
  23. Re: Error when exporting data in Excel from Reportviewer

    my mistake is that i have changing Format

    It will be everything OK if to change value:

    <Value>=Format(Fields!дата.Value,"d")</Value>

    For example so, but Left is also working
  24. Re: Error when exporting data in Excel from Reportviewer

    When I'm using such format export in excel is going well, but in reportviewer and in pdf date is shown in long format as 17.12.2010 0:00:00
    Here is what I'v tried:

    ...
  25. [RESOLVED] Error when exporting data in Excel from Reportviewer

    When I'm exporting table with data fields in Acrobat PDF file - everything is OK.

    01.12.2010
    02.12.2010
    03.12.2010

    But when Im exporting the same table to Excel it shows:
    405131,12,2010...
  26. Re: How it's better to open 2 connections?

    I think that in that case - it's impossible to use one query instead of 2.
    And also - it's the place where MARS could be used.
    Thanks. I have recieved an answer!
    ...
  27. Re: How it's better to open 2 connections?

    В том-то и дело, cicatrix что column - текстовой, но содержит числовые значения... Я не уверен что это не влияет на агрегатную функцию SUM...

    The reason why I'm doing it is that column is not...
  28. Re: How it's better to open 2 connections?

    I have a reason to use second reader. Couse in database there is text column in datatable which contains digital values.
    So, to get sum of values I'm using such code for second reader:


    ...
  29. Re: How it's better to open 2 connections?

    I'm not sure about. SQL query already very long. But I think that architecturaly it's hard ( or even impossible ) to get information also from exactly that table in one sql. Try to take a look on,...
  30. Re: How it's better to open 2 connections?

    Oh, yes. Seems that you are right! I'm remembing something like this. Thats why I have make 2 connections. So, - seems that my question has a sence.
  31. Re: How it's better to open 2 connections?

    Or, no! I don't need to get user names and admins - that was just example.
    Thanks.
    Seems that I was "temporary blind" ) It happend.
    Of course I don't have a need to open a second connection. I can...
  32. [RESOLVED] How it's better to open 2 connections?

    I want to make a subquery in ADO.net
    So, if to describe shema it's can going so
    ( it's not real code - it's just the example ):


    ....
    sqlConn1.connection.open()
    Dim sqlComm1 As New...
  33. Replies
    1
    Views
    1,351

    Re: Reportviewer chart dont show any data

    Oh, sorry!

    When I have created a dataset - I have not mention that column is integer



    Dim ds2 As New DataSet

    Dim dt As New DataTable("chartdb")
  34. Replies
    1
    Views
    1,351

    Reportviewer chart dont show any data

    I have use a simple database with 3 columns
    id mon inform
    1 jan 45
    2 feb 12
    3 mar 71
    4 apr 29

    And when I want to show this info at reportviewer -...
  35. Re: deploying vb.net application with reportviewer

    There was no error message with describtion.
    Just a usual windows message that it was unhandled exception.
    But I have found a video on youtube that explain how to deploy reportviewer...
  36. deploying vb.net application with reportviewer

    Hello!
    I'm getting error when I try to copy application to other PC.
    I have install ReportViewer.exe and also language pack on other PC, but with no result.
    So, I have also copying localy...
  37. Re: Net.Security.SslStream and StreamReader frozes

    It was becouse server has not enough time to fill streamwriter
    And streamreader has waiting till the writer end.
    Small pause helps:

    sw.WriteLine("LIST ")
    ...
  38. Re: Net.Security.SslStream and StreamReader frozes

    I will make code simple. Program stops even if to read to the end




    Dim Client2 As New TcpClient()
    Client2.Connect("pop.lalala.com", 995)
    Dim sslstream As...
  39. Net.Security.SslStream and StreamReader frozes

    I am writing programm that recieves text emails, but I have somer problems with SSL and TLS
    here is my code:


    Dim Client2 As New TcpClient()
    ...
  40. Replies
    7
    Views
    1,049

    Re: export in CSV file

    Thats right.
    I have come back to forum to write the same.
    Seems that topic is resolved.
    But I still can't understand why it is so?
    I have tryed simple commas on Excel 2003 and 2007 on various...
Results 1 to 40 of 75
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width