Reputation: 138 Stalwart
- Active Members
- Active Posts:
- 841 (0.7 per day)
- 21-December 11
- Profile Views:
- Last Active:
- Mar 08 2015 10:58 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 10 Oct 2014Do 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>
Posted 5 Jul 2013Just like modi123_1 said, except I would call this method ModifyMyRichTextBox.
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.
Posted 3 Jul 2013All 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.
Posted 26 Jun 2013if 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.
Posted 24 Jun 2013at first glance, your code looks fine. Do you have any bugs?
- Member Title:
- D.I.C Addict
- Age Unknown
- Birthday Unknown
- music production,programming
- Years Programming:
- Programming Languages: