Stringbuilder is a class that provides a convenient and efficient way of working with text data.
2
votes
0answers
96 views
How can I implement 8k buffer?
When I am running below code,I am getting 8k buffer is required and program beingforce closed. Can I implement it in StringBuffer constructor? I followed it too,but again it showing 8k buffer is ...
2
votes
0answers
509 views
Cannot marshal a struct containing a StringBuilder field
I need to make interop calls to a DLL written in C++. In the C++ code, there are various functions that receive and return strings. These all use a commonly defined type (struct) in C++, which ...
1
vote
0answers
41 views
Stringbuilder capacity
I am trying to use an XML writer to build an xml string into a string builder.
This is working but the string that is returned is cut off at 6134 characters.
From what I read the issue lies with the ...
1
vote
0answers
131 views
Drawable in SpannableStringBuilder
I have simple SpannableStringBuilder with clicable text in TextView.
Like that:
I need to insert the small clicable picture or a button into the end of this text:
Is this possible and if so, how ...
1
vote
0answers
439 views
VB.NET - Get label (static) text from another application
I made a research on both on web and here. But I haven't seen anybody that having same problem with me!
I use AutoIt Window Info tool to get another application's label(static) id. AutoIt Window Info ...
1
vote
0answers
24 views
DEL key processing insights required
My text editor's DEL key deletes all the text on the current line as expected.
However, if you continue holding the DEL key down, nothing happens to the text on consequent rows.
I am at a loss as to ...
0
votes
0answers
20 views
Marshaling, StringBuilder, and char pointer in DllImport
I was looking at SoundTouchhWrapper for .NET and I saw this:
[DllImport (SoundTouchDLLName)]
internal static extern void soundtouch_getVersionString2 (StringBuilder versionString, int bufferSize); ...
0
votes
0answers
41 views
Needing to set spaces in a NULL stringbuilder value
I have a field that I am trying to set the length of 25 to by using StringBuilder and then populate it with string values in specific positions within that field. However, when I get a print out of ...
0
votes
0answers
41 views
String Manipulation Inconsistency
This is a more general question. I am reading a document and saving its contents into a string variable. The resulting variable contains approximately 1 million characters (no cleansing). My code ...
0
votes
0answers
8 views
Find right string for frequency from a host of input values using regex
I have a input frequency value coming from multiple sources along with the model name of electrical equipment. I need to strip out the frquency value from the model name. Looking for a regex solution ...
0
votes
0answers
33 views
export image to workheet with stringbuilder C#
I want to export a image( chart) to worksheet with string builder
can you give me exemple for exporting image to file excel or speek me for the method to use
thx
help me please
0
votes
0answers
338 views
Passing values from dynamically created textbox to stringbuilder
I'm new to dynamically created controls. I'm trying to create a program in vb.net that will format values in a stringbuilder from dynamically created textboxs. This is the code I've been playing ...
0
votes
0answers
117 views
StringBuilder to Excel in vb.net
Is there any easy format to convert stringbuilder which contains html table to excel..
dim sb as new stringbuilder()
sb.append("<table><tr><td>col 1</td><td>col ...
0
votes
0answers
105 views
Connecting MS Access via ConnectionStringBuilder and DataContext (C#)
I'm trying to access an MS Access file by using an ConnectionStringBuilder and a dataContext. I've been convinced that this is a good approach of programming. However, I do not succeed in creating a ...
0
votes
0answers
307 views
string builder append format in vb.net
having string builder recieved values from the datatable . datatable contains the column named
as ename and contain the values like
abc
abc
abc
in stringbuilder stored this value in the following ...