sela007's Profile User Rating: ****-

Reputation: 138 Stalwart
Group:
Active Members
Active Posts:
840 (0.77 per day)
Joined:
21-December 11
Profile Views:
7,731
Last Active:
User is offline Oct 14 2014 11:38 AM
Currently:
Offline

Previous Fields

Country:
HR
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
Who Cares
Your Car:
Ford
Dream Kudos:
0
Icon   sela007 has not set their status

Posts I've Made

  1. In Topic: Problem Loading text file from storage (Xamarin.Android)

    Posted 10 Oct 2014

    View PostDogstopper, on 10 October 2014 - 08:43 AM, said:

    Do you have permissions to access that memory location? In Android (even in Xamarin Studio) you have to request access through Android Manifest.

    Yes, this is how it's look like. But I'm doing something wrong obviously.
    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="CCM_APP.CCM_APP">
    	<uses-sdk android:minSdkVersion="11" />
    	<application android:label="CCM_APP"></application>
    	<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    	<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" />
    </manifest>
    
  2. In Topic: question - vb 2010 richtextbox lines

    Posted 5 Jul 2013

    Just like modi123_1 said, except I would call this method ModifyMyRichTextBox. :P

    and there would be 4 steps:
    1. create string array (call it "arrLines" for example).
    2. fill arrLines with lines from RTB.
    3. for each line in arrLines add "-:: " to beginning and "::-" to the end.
    4. clear RTB then add each line from arrLines to RTB.

    If you know the first two steps then it should not be a problem.
  3. In Topic: I created image of winform and want to save as pdf from the menu item

    Posted 3 Jul 2013

    All you need is bitmap.save method. Everything you need is in your CaptureScreen sub. You already have bitmap (memoryImage), just call save method after draw.
  4. In Topic: how to write text file column into array

    Posted 26 Jun 2013

    if you take the sample text line from your code and split by vbTab you will get only one line.

    Dim str As String = "SEG AMK 111411h EG201 EG201-G4"
    Dim arrdata(5) As String 
    arrdata = str.Split(vbTab)
    MsgBox(arrdata.Count)' one arrdata 
    


    arrdata(0) = "SEG AMK 111411h EG201 EG201-G4"
    arrdata(1) = nothing
    arrdata(2) = nothing
    arrdata(3) = nothing
    arrdata(4) = nothing

    so, only arrdata(0) is assigned. And if you use any other arrdata(>0) like
    Dim Campus As String = arrdata(1)
    

    you will get error "index outside bounds of array".


    if you split text line by empty space (" ") you will get 5 parts.

    Dim str As String = "SEG AMK 111411h EG201 EG201-G4"
    Dim arrdata(5) As String 
    arrdata = str.Split(" ")
    MsgBox(arrdata.Count)' 5 
    


    arrdata(0) = "SEG"
    arrdata(1) = "AMK"
    arrdata(2) = "111411h"
    arrdata(3) = "EG201"
    arrdata(4) = "EG201-G4"

    I think this is the solution to your problem.
  5. In Topic: how to write text file column into array

    Posted 24 Jun 2013

    at first glance, your code looks fine. Do you have any bugs?

My Information

Member Title:
D.I.C Addict
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Interests:
music production,programming
Years Programming:
5
Programming Languages:
VB6,VB.NET

Contact Information

E-mail:
Private

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    DimitriV Icon

    13 Oct 2012 - 20:50
    Go sela!
  2. Photo

    modi123_1 Icon

    18 Jul 2012 - 22:22
    abhishek415 - stop harassing sela.
  3. Photo

    abhishek415 Icon

    18 Jul 2012 - 20:53
    Please Help me solve a problem..
    Itz very urgent Please....
    See My Topics...
    Problem with Textboxes...!!
    Please
  4. Photo

    DimitriV Icon

    30 Mar 2012 - 17:15
    You're a good VB programmer man!
  5. Photo

    ifmis Icon

    21 Mar 2012 - 07:20
    thanks very much for your help! :)
  6. Photo

    Mediko Icon

    06 Mar 2012 - 08:53
    selam sela007
  7. Photo

    Mediko Icon

    03 Mar 2012 - 01:32
    thanks for the devoted assistance you were doing for me.
  8. Photo

    Mediko Icon

    29 Feb 2012 - 07:36
    i was totally lost when you ask me to edit and put the code between [code], but you are so Nice and brilliant
    so happy with a biggggg smile when i saw
    “select your code, then press [code] in the editor”
  9. Photo

    Mediko Icon

    29 Feb 2012 - 07:21
    dear Sela007,
    thanks for what you are doing,
    Mediko
  10. Photo

    Mediko Icon

    29 Feb 2012 - 06:51
    you also a football fun, great!
  11. Photo

    Mediko Icon

    27 Feb 2012 - 23:55
    This is Mediko waiting your reply
  12. Photo

    nK0de Icon

    19 Feb 2012 - 00:23
    lol.. VB6 is dead, man. unfortunately its still haunting me at work.
  13. Photo

    DimitriV Icon

    17 Feb 2012 - 16:35
    Sister Bliss is an excellent musician, can't forget Rollo!
  14. Photo

    sela007 Icon

    08 Feb 2012 - 19:19
    Maxi Jazz
  15. Photo

    sela007 Icon

    08 Feb 2012 - 19:14
    He is great artist
  • (2 Pages)
  • +
  • 1
  • 2