Search:

Type: Posts; User: vagelisr

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    1,658

    VS 2008 Problem with permission when copy files

    Hello everyone

    I'm facing an issue
    I'm using this code to copy all the files

    Try
    My.Computer.FileSystem.CopyDirectory(VBFrom_Path, VBTo_Path, True)
    Catch ex As...
  2. VS 2008 Re: Make copy AFTER the close of a program.

    First of all sorry for the delay
    Thank you both of you.

    jmcilhinney your code help me a lot....

    Thanks a lot...
  3. VS 2008 Re: Make copy AFTER the close of a program.

    First of all jmcilhinney thanks for your time.

    Because my English is not as good as possible i will give an Example

    I want to run the vb program and the vb program run lets say notepad.exe...
  4. VS 2008 [RESOLVED] Make copy AFTER the close of a program.

    Hi to all.

    I need your lights.
    I need to call a program from VB and when the program close make a copy of a specific folder.

    Any idea it will be much acceptable.

    Thanks and regards.
  5. VS 2008 Re: Read Excel Range and copy in array

    After a little more digging in the internet i found the whole code in this link

    http://vb.net-informations.com/excel-2007/vb.net_excel_read_entire_worksheet.htm
  6. VS 2008 [RESOLVED] Read Excel Range and copy in array

    Hi to all.

    I want to read a specific range from Excel and write in 2d array

    Let's say i want to read from ExcelTest.xls the Sheet1 the range from B1 to C25

    How can i do this??

    Thanks and...
  7. Replies
    6
    Views
    547

    VS 2008 Re: [RESOLVED] Unable to fill array.

    Sorry for the delay.

    I change the path to folderpath.

    Thank you again :)
  8. Replies
    6
    Views
    547

    VS 2008 Re: [RESOLVED] Unable to fill array.

    Perfect my friend.

    The only thing is I get
    Error 1 'Combine' is not a member of 'String'.

    But work perfect if i use

    Dim xmlarray = File.ReadAllLines(path & "\" & "xmlparm.txt")
  9. Replies
    6
    Views
    547

    VS 2008 Re: Unable to fill array.

    Of course my friend...........

    For the second part can you send me an example???

    Thanks for your time :)
  10. Replies
    6
    Views
    547

    VS 2008 [RESOLVED] Unable to fill array.

    Hi to all.
    I now it is silly my question but i can't find what is wrong.

    I want to load a txt file and fill an array but i can't.

    I use this code

    Dim path As String =...
  11. Replies
    1
    Views
    4,273

    VS 2008 Problem with XML export

    Hi to all.
    I need your help for 2 problems.

    Using this code

    Dim xmlDecl As New XDeclaration("1.0", "UTF-8", "yes")
    Dim path As String =...
  12. Thread: Xml

    by vagelisr
    Replies
    15
    Views
    984

    VS 2008 Re: Xml

    Hi dbasnett.
    I try your solution and look wright.
    I will try both of them later.

    Thanks for your time and your help :)
  13. Thread: Xml

    by vagelisr
    Replies
    15
    Views
    984

    VS 2008 Re: Xml

    This look like the same

    Dim xmlDeclaration As New XDeclaration("1.0", "utf-8", "yes")
    Dim xmlns As XNamespace = XNamespace.Get("urn:iso:std:iso:20022:tech:xsd:pain.001.001.03")
    ...
  14. Thread: Xml

    by vagelisr
    Replies
    15
    Views
    984

    VS 2008 Re: Xml

    After the remove of the line you suggest

    Correct
    <Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03">
    Program
    <Document...
  15. Thread: Xml

    by vagelisr
    Replies
    15
    Views
    984

    VS 2008 Re: Xml

    .paul. the only problem (i think) is this
    Correct
    <Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03">
    From Program
    <Document...
  16. Thread: Xml

    by vagelisr
    Replies
    15
    Views
    984

    VS 2008 Re: Xml

    Thanks again .paul.
    2 thinks.
    1)Instead of this
    <?xml version="1.0" encoding="UTF-8" standalone="true"?>
    -<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"...
  17. Thread: Xml

    by vagelisr
    Replies
    15
    Views
    984

    VS 2008 Re: Xml

    First of all .paul. thanks for your time.
    Second yes your code work perfect BUT.
    Now i'm facing another issue.
    I send part of the code to avoid create a long post but now when i change the code...
  18. Thread: Xml

    by vagelisr
    Replies
    15
    Views
    984

    VS 2008 Xml

    Hi to all

    i have this code

    Dim xmlDeclaration As New XDeclaration("1.0", "UTF-8", "yes")

    Dim document As XDocument = New XDocument(xmlDeclaration, New...
  19. Replies
    2
    Views
    3,692

    VS 2008 Re: XML Help

    Thank you very much dbasnett

    Finally i fount the solution using


    Dim Nomisma As String = "EUR"
    New XElement("InstdAmt", New XAttribute("Ccy", Nomisma), row.Cells(17).Value)
  20. Replies
    2
    Views
    3,692

    VS 2008 [RESOLVED] XML Help

    Hi to all

    Using this
    New XElement("InstdAmt", row.Cells(17).Value))
    i take this
    <InstdAmt>"Cell 17 Value"</InstdAmt>

    What i have to do to take this???

    <InstdAmt Ccy="EUR">"Cell 17...
  21. Replies
    7
    Views
    6,466

    VS 2008 Re: Load DataGridView and export XML

    To be absolutely sure: you want this code in the button 3 correct???
    I will try this asap (as soon as possible) when i go in my house.....


    If you can help me a little bite more this will be a...
  22. Replies
    7
    Views
    6,466

    VS 2008 Re: Load DataGridView and export XML

    I have a form where the user select a xls or xlsx file.
    Select the specific sheet.
    Also i have a checkbox if the Excel file in the first line has or has not header
    and with the button 3 i create...
  23. Replies
    7
    Views
    6,466

    VS 2008 Re: Load DataGridView and export XML

    First of all thanks for your quick answer.

    In the past i had create some small projects in VB but i have NO idea about XML.
    I want to export what i show in the code with this schema.
    I cant find...
  24. Replies
    7
    Views
    6,466

    VS 2008 Load DataGridView and export XML

    I have a datagridview with 6 columns

    I want with this data to create a xml file.

    Using this code

    Dim doc = New XmlDocument()
    Dim element1 = doc.CreateElement(element)
    ...
  25. Replies
    16
    Views
    2,051

    VS 2008 Re: Find specific characters

    Change the code to this

    Dim sendBytes As [Byte]() = System.Text.ASCIIEncoding.ASCII.GetBytes("~HQES" & vbCrLf)
    networkStream.Write(sendBytes, 0,...
  26. Replies
    16
    Views
    2,051

    VS 2008 Re: Find specific characters

    Using the code of Inferrd with some changes

    Dim soclength As Int16 = Len(SocketData)
    Dim errDigits As String = Nothing
    Dim theLines() As String =...
  27. Replies
    16
    Views
    2,051

    VS 2008 Re: Find specific characters

    Hi again
    This is the answer i take back from a barcode printer exactly as i sow you in the first post.
    Me i want the 17 digits after the error.
    All of this digits accordingly the value and the...
  28. Replies
    16
    Views
    2,051

    VS 2008 Re: Find specific characters

    First of all thanks for your time

    This is the code i use to take the specific string back

    Dim sendBytes As [Byte]() = System.Text.ASCIIEncoding.ASCII.GetBytes("~HQES" &...
  29. Replies
    16
    Views
    2,051

    VS 2008 Find specific characters

    Hi to all.

    I use winsock to send some data in barcode printers.

    In one of my command the printer send me back this
    

    PRINTER STATUS
    ERRORS: 1 00000000 00000100
    WARNINGS: ...
  30. Replies
    5
    Views
    1,131

    VS 2008 Re: Break line when found specific characters.

    First of all i'm sorry for the delay.
    Second thanks for your time.

    I'm facing a stranger issue.
    I use this code
    Value1 = V26_Final.Text
    Value2 = Value1.Replace("^FT",...
  31. Replies
    5
    Views
    1,131

    VS 2008 Break line when found specific characters.

    Hi to all.

    I have a file where look like this

    ^FO256,32^GFA,01536,01536,00024,:Z64:...
  32. Replies
    5
    Views
    1,020

    Re: Problem after load

    Thanks again techgnome.
    Finally the problem is in another place.
    The problem if from the input command.

    How it is possible to read sequential a file that contains comma without change the line....
  33. Replies
    5
    Views
    1,020

    Re: Problem after load

    First of all thanks for your time.
    The V26_final is a richtextbox in my form.
    nor I can understand why when they find a comma they go to the next line
    This is the first 3 lines from my file....
  34. Replies
    5
    Views
    1,020

    Problem after load

    Hi to all

    I use this code

    Dim Fi As New System.IO.FileInfo(OpenFileDialog1.FileName)
    Dim File_Path As String = Fi.DirectoryName
    Dim Temp_File_Name As...
  35. Replies
    2
    Views
    2,198

    VS 2008 Re: Problem with data from printer

    First of all thanks for your time and second for your answer.

    Have a nice day!!!!!!!
  36. Replies
    2
    Views
    2,198

    VS 2008 [RESOLVED] Problem with data from printer

    Hi to all.

    i'm facing a strange problem and i need your help.

    I use this code to connect and receive some information from a barcode printer.


    Private Sub Socket_Connect3(ByVal...
  37. VS 2008 Re: Change Selection entry in Listview

    Yes .paul. !!!!!!!!!!!!!!!!!!!!!!!

    It work like a charm!!!!!!!

    Thanks and regards.

    PS: Thank you also for your time ;)
  38. VS 2008 [RESOLVED] Change Selection entry in Listview

    Hi to all.

    I have a listview and i want with 2 buttons to change the selected entry in a list view.

    Let's say the selected entry is the first one.
    I want when i press the down button to go to...
  39. Replies
    2
    Views
    7,312

    Re: Datagridview with masktextbox and Combobox

    Thanks for your time and for your answer.
    I will check the first post that create a calendar to see how they use the mask.
  40. Replies
    2
    Views
    7,312

    Datagridview with masktextbox and Combobox

    Good evening to all
    I will try to be as clear as possible.
    I have a database in Access that I want to display it in a Datagridview which consists of a key, date, time, and 2 more Comboboxes filled...
Results 1 to 40 of 63
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width