|
I think you would need to use Reflection[^].
Use the best guess
|
|
|
|
|
You're trying to open a WPF window in a Silverlight application using WCF to retrieve the WPF window? Good luck.
|
|
|
|
|
How funny, I was thinking exactly the same thing in more or less the same way even.
|
|
|
|
|
Now you're being obtuse, you know he is trying to get the name of the window from the database, opening a WPF window in silverlight is going to be a challenge I'll admit!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
msbuild and Visual studio seem to resolve project dependencies differently: a solution file contains the project for the main executable, and some projects for dlls the executable depends on. One of these dll projects depends on another project which is not part of the solution.
Just to show the major players in this case, and a simple way to reproduce it:
solution contains ExeProject and MainDllProject , MainDllProject depends on SubDllProject which is not part of the solution (but in the same hierarchy on the file system). ExeProject depends on MainDllProjectClass1 of MainDllProject (that class does not depend on SubDllProject ; only MainDllProjectClass2 depends on SubDllProject , but it is not used by ExeProject nor MainDllProjectClass1 ):
Solution
ExeProject
Form1 (depends on MainDllProject.MainDllProjectClass1)
MainDllProject
MainDllProjectClass1
MainDllProjectClass2 (depends on SubDllProject.SubDllProjectClass)
Not part of the solution
SubDllProject
SubDllProjectClass
When the solution is built with Visual Studio 2010, it fails: MainDllProject cannot be built because SubDllProject cannot be found.
When the solution is built with msbuild, the build succeeds. Strangely, the debug version of SubDllProject is built despite the parameter /p:Configuration=Release.
The log file for msbuild is some 374 kB, do you have some hints how to analyse it? I want to understand why it builds SubDllProject at all, why it is the debug version, and evetually how to prevent it from being built when not referenced (I want the the solution to contain all referenced projects, and when a dependency was forgotten, I want to see an error message).
Note: this case is similar to http://stackoverflow.com/questions/12836023/visual-studio-build-non-dependent-projects-in-solution[^], but quite the other way round...
I understand from http://blogs.msdn.com/b/visualstudio/archive/2010/12/21/incorrect-solution-build-ordering-when-using-msbuild-exe.aspx[^] that msbuild translates the sln file into its own format - but the sln.metaproj file does not show any reference to SubDllProject either.
|
|
|
|
|
You might have better luck asking in this[^] forum.
|
|
|
|
|
Hey CP,
Getting text from one form to another is no problem. But I am having issues showing data from a ComboBox from form1 to display as text in form 2. Alright let's jump right into my example.
string instText = comboInst.GetItemText(comboInst.SelectedItem);
string folder = instText.Substring(0, 4);
comboInst is a combo box that has a list of items that is pulled from a directory. All items have a leading 4 digits that I use a lot in form1. But I can't get those 4 values for the life of me to show even in a messagebox on form 2. It just shows blank when using methods that pull information from a textBox.Text.
I need to be able to use both instText and folder strings in other forms.
Anyone got any ideas? The example I used is located on stackOverflow:
[^]
Thanks!
|
|
|
|
|
If you want to get the selected Item value, you can directly get the selected value using the combo.SelectedItem propety.
but thats not the problem here for you.
did you check the contents of instText has the data you selected? have you tried to debug this?
what is the content of instText?? moreover in which method you call these lines?
|
|
|
|
|
Figured it out, dunno how I mucked it up at first, here's how you do it correctly.
my button from form1
private void buttonSched_Click(object sender, EventArgs e)
{
string instText = comboInst.GetItemText(comboInst.SelectedItem);
string folder = instText.Substring(0, 4);
Schedule Open = new Schedule(instText);
Open.Show();
}
Calling is in form2:
public partial class Form2 : Form
{
private string start;
public Form2(string inst)
{
InitializeComponent();
this.start = inst;
}
private void Schedule_Load(object sender, EventArgs e)
{
System.Windows.Forms.MessageBox.Show(start);
}
Quite simple, I know, but I was thinking too much into something that didn't really need that deep of thought. Thanks for the looks! Hope this helps someone in the future.
BTW - you can alter the string after it's been called to the new form. I.E.
System.Windows.Forms.MessageBox.Show(start.Substring(0, 4));
This is what I needed the code to do, grab the first 4 characters from the string. Now I can use the string raw, or formatted if I like. Thanks again!
|
|
|
|
|
My small box sends the same byte continuously to the PC across a bluetooth connection.
After successfully receiving about four thousand bytes (give or take a few hundred) no more bytes are seen. I am quite confident that the bytes (a whole lot more than four thousand) continue to be sent well after the stream disappears from the rest of the system.
I am highly suspicious that Windows is somehow, for some reason, not accurately giving these bytes to my app.
My suspicion has been heightened because my external transmitting box continued after I stopped the app. I restarted the app, and I got 941 "left over" bytes, from where, I don't really know (but my external byte generator had been silent for several minutes, so it was no longer sending data).
We then started the small box generating continual data again, and saw the same behavior: 4435 bytes were seen, despite a two minute flood of bytes at 921600 bps.
Here is the receive thread
void RecieveThread()
{
int n;
while (continueRecieving)
{
n = connectorPort.BytesToRead;
byte[] bits = new byte[n];
if (n > 0)
{
connectorPort.Read(bits, 0, n);
}
Write(bits);
}
}
Just in case anyone feels it's important, here is the Write(bits) routine
public void Write(byte[] b)
{
if (writting)
{
for (int i = 0; i < b.Length; i++)
{
storage[sPlace++] = b[i];
pass += b[i].ToString("X2") + " ";
if (sPlace % numericUpDown1.Value == 0)
{
pass += "\r\n";
}
}
}
}
Has anyone previously experienced disappearing bluetooth bytes on a Win7 machine with a C# app ?
|
|
|
|
|
How to use database view with Fluent nhibernate?
How can i recall views that are created manually in database with nhibernate technology or is there any option in Fluent nhibernate that create views directly?
|
|
|
|
|
You already asked this question at view in Fluent Nhibernate[^]; please do not repeat the same post in multiple forums.
Use the best guess
|
|
|
|
|
Hi,
I am using MSI to install my c# winform application. I am using custom action at the start of the installer. This is my latest version where I have added custom action. When I install latest version (fresh installation) then it works properly. But when I install latest version on previous version my custom action related registry key(e.g. ModeSelection Key) is not creating in the registry but some basic and common key(Filepath,language etc) are created successfully.
What is the reason behind this? I wanted to create that registry key depeding upon the custom action selection.
Thanks
sjs
|
|
|
|
|
You didn't say what the *full* key path is.
??
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan
That's what machines are for.
Got a problem?
Sleep on it.
|
|
|
|
|
I am trying to draw a TextBox in my DUI framework. At last, I find a way to create a windowless RichTextBox with a custom ITextHost interface.I've got a C++ implementation. But when I try to implement it from C#, I got a lot of exceptions.
C++ Code:
class ITextHost : public IUnknown
{
public:
virtual HDC TxGetDC() = 0;
virtual INT TxReleaseDC(HDC hdc) = 0;
virtual BOOL TxShowScrollBar(INT fnBar, BOOL fShow) = 0;
virtual BOOL TxEnableScrollBar (INT fuSBFlags, INT fuArrowflags) = 0;
virtual BOOL TxSetScrollRange(
INT fnBar,
LONG nMinPos,
INT nMaxPos,
BOOL fRedraw) = 0;
virtual BOOL TxSetScrollPos (INT fnBar, INT nPos, BOOL fRedraw) = 0;
virtual void TxInvalidateRect(LPCRECT prc, BOOL fMode) = 0;
virtual void TxViewChange(BOOL fUpdate) = 0;
virtual BOOL TxCreateCaret(HBITMAP hbmp, INT xWidth, INT yHeight) = 0;
virtual BOOL TxShowCaret(BOOL fShow) = 0;
virtual BOOL TxSetCaretPos(INT x, INT y) = 0;
virtual BOOL TxSetTimer(UINT idTimer, UINT uTimeout) = 0;
virtual void TxKillTimer(UINT idTimer) = 0;
virtual void TxScrollWindowEx (
INT dx,
INT dy,
LPCRECT lprcScroll,
LPCRECT lprcClip,
HRGN hrgnUpdate,
LPRECT lprcUpdate,
UINT fuScroll) = 0;
virtual void TxSetCapture(BOOL fCapture) = 0;
virtual void TxSetFocus() = 0;
virtual void TxSetCursor(HCURSOR hcur, BOOL fText) = 0;
virtual BOOL TxScreenToClient (LPPOINT lppt) = 0;
virtual BOOL TxClientToScreen (LPPOINT lppt) = 0;
virtual HRESULT TxActivate( LONG * plOldState ) = 0;
virtual HRESULT TxDeactivate( LONG lNewState ) = 0;
virtual HRESULT TxGetClientRect(LPRECT prc) = 0;
virtual HRESULT TxGetViewInset(LPRECT prc) = 0;
virtual HRESULT TxGetCharFormat(const CHARFORMATW **ppCF ) = 0;
virtual HRESULT TxGetParaFormat(const PARAFORMAT **ppPF) = 0;
virtual COLORREF TxGetSysColor(int nIndex) = 0;
virtual HRESULT TxGetBackStyle(TXTBACKSTYLE *pstyle) = 0;
virtual HRESULT TxGetMaxLength(DWORD *plength) = 0;
virtual HRESULT TxGetScrollBars(DWORD *pdwScrollBar) = 0;
virtual HRESULT TxGetPasswordChar(TCHAR *pch) = 0;
virtual HRESULT TxGetAcceleratorPos(LONG *pcp) = 0;
virtual HRESULT TxGetExtent(LPSIZEL lpExtent) = 0;
virtual HRESULT OnTxCharFormatChange (const CHARFORMATW * pcf) = 0;
virtual HRESULT OnTxParaFormatChange (const PARAFORMAT * ppf) = 0;
virtual HRESULT TxGetPropertyBits(DWORD dwMask, DWORD *pdwBits) = 0;
virtual HRESULT TxNotify(DWORD iNotify, void *pv) = 0;
virtual HIMC TxImmGetContext() = 0;
virtual void TxImmReleaseContext( HIMC himc ) = 0;
virtual HRESULT TxGetSelectionBarWidth (LONG *lSelBarWidth) = 0;
};
My C# implementation:
[ComImport, Guid("C5BDD8D0-D26E-11CE-A89E-00AA006CADC5"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITextHost
{
IntPtr TxGetDC();
int TxReleaseDC(IntPtr hdc);
BOOL TxShowScrollBar(int fnBar, BOOL fShow);
BOOL TxEnableScrollBar(int fuSBFlags, int fuArrowflags);
BOOL TxSetScrollRange(int fnBar, int nMinPos, int nMaxPos, BOOL fRedraw);
BOOL TxSetScrollPos(int fnBar, int nPos, BOOL fRedraw);
void TxInvalidateRect(RECT prc, BOOL fMode);
void TxViewChange(BOOL fUpdate);
BOOL TxCreateCaret(IntPtr hbmp, int xWidth, int yHeight);
BOOL TxShowCaret(BOOL fShow);
BOOL TxSetCaretPos(int x, int y);
BOOL TxSetTimer(uint idTimer, uint uTimeout);
void TxKillTimer(uint idTimer);
void TxScrollWindowEx(
int dx,
int dy,
RECT lprcScroll,
RECT lprcClip,
IntPtr hrgnUpdate,
RECT lprcUpdate,
uint fuScroll);
void TxSetCapture(BOOL fCapture);
void TxSetFocus();
void TxSetCursor(IntPtr hcur, BOOL fText);
BOOL TxScreenToClient(POINT lppt);
BOOL TxClientToScreen(POINT lppt);
HRESULT TxActivate(int plOldState);
HRESULT TxDeactivate(int lNewState);
HRESULT TxGetClientRect(RECT prc);
HRESULT TxGetViewInset(RECT prc);
HRESULT TxGetCharFormat(ref CHARFORMAT ppCF);
HRESULT TxGetParaFormat(ref PARAFORMAT ppPF);
COLORREF TxGetSysColor(int nIndex);
HRESULT TxGetBackStyle(out TXTBACKSTYLE pstyle);
HRESULT TxGetMaxLength(out int pLength);
HRESULT TxGetScrollBars(out int pdwScrollBar);
HRESULT TxGetPasswordChar(out char pch);
HRESULT TxGetAcceleratorPos(out int pcp);
HRESULT TxGetExtent(SIZE lpExtent);
HRESULT OnTxCharFormatChange(ref CHARFORMAT pcf);
HRESULT OnTxParaFormatChange(ref PARAFORMAT ppf);
HRESULT TxGetPropertyBits(int dwMask, ref int pdwBits);
HRESULT TxNotify(int iNotify, IntPtr pv);
IntPtr TxImmGetContext();
void TxImmReleaseContext(IntPtr himc);
HRESULT TxGetSelectionBarWidth(out int lSelBarWidth);
}
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public struct CHARFORMAT
{
public int cbSize;
public int dwMask;
public int dwEffects;
public int yHeight;
public int yOffset;
public int crTextColor;
public byte bCharSet;
public byte bPitchAndFamily;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
public string szFaceName;
}
[StructLayout(LayoutKind.Sequential)]
public struct PARAFORMAT
{
public int cbSize;
public int dwMask;
public short wNumbering;
public short wReserved;
public int dxStartIndent;
public int dxRightIndent;
public int dxOffset;
public short wAlignment;
public short cTabCount;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
public int[] rgxTabs;
}
[StructLayout(LayoutKind.Sequential)]
public struct POINT
{
public Int32 x;
public Int32 y;
public POINT(Int32 x, Int32 y) { this.x = x; this.y = y; }
}
[StructLayout(LayoutKind.Sequential)]
public struct SIZE
{
public Int32 cx;
public Int32 cy;
public SIZE(Int32 cx, Int32 cy) { this.cx = cx; this.cy = cy; }
}
public enum BOOL
{
False = 0,
True
}
[StructLayout(LayoutKind.Sequential)]
public struct COLORREF
{
public uint ColorDWORD;
public COLORREF(System.Drawing.Color color)
{
ColorDWORD = (uint)color.R + (((uint)color.G) << 8) + (((uint)color.B) << 16);
}
public System.Drawing.Color GetColor()
{
return System.Drawing.Color.FromArgb((int)(0x000000FFU & ColorDWORD),
(int)(0x0000FF00U & ColorDWORD) >> 8, (int)(0x00FF0000U & ColorDWORD) >> 16);
}
public void SetColor(System.Drawing.Color color)
{
ColorDWORD = (uint)color.R + (((uint)color.G) << 8) + (((uint)color.B) << 16);
}
}
public enum TXTBACKSTYLE
{
TXTBACK_TRANSPARENT = 0,
TXTBACK_OPAQUE,
}
[StructLayout(LayoutKind.Sequential)]
public struct RECT
{
public int Left;
public int Top;
public int Right;
public int Bottom;
public RECT(int left, int top, int right, int bottom)
{
this.Left = left;
this.Top = top;
this.Right = right;
this.Bottom = bottom;
}
public Rectangle Rect
{
get
{
return new Rectangle(
this.Left,
this.Top,
this.Right - this.Left,
this.Bottom - this.Top);
}
}
public static RECT FromXYWH(int x, int y, int width, int height)
{
return new RECT(x,
y,
x + width,
y + height);
}
public static RECT FromRectangle(Rectangle rect)
{
return new RECT(rect.Left,
rect.Top,
rect.Right,
rect.Bottom);
}
}
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "HRESULT"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1028:EnumStorageShouldBeInt32",
Justification = "The base type for all of these value is uint")]
public enum HRESULT : uint
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "FALSE")]
S_FALSE = 0x0001,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "OK")]
S_OK = 0x0000,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "INVALIDARG")]
E_INVALIDARG = 0x80070057,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "OUTOFMEMORY")]
E_OUTOFMEMORY = 0x8007000E,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "NOINTERFACE")]
E_NOINTERFACE = 0x80004002,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "FAIL")]
E_FAIL = 0x80004005,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ELEMENTNOTFOUND")]
E_ELEMENTNOTFOUND = 0x80070490,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "TYPE")]
TYPE_E_ELEMENTNOTFOUND = 0x8002802B,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "NO_OBJECT")]
NO_OBJECT = 0x800401E5,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ERROR")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "CANCELLED")]
ERROR_CANCELLED = 1223,
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1707:IdentifiersShouldNotContainUnderscores")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "ERROR")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "CANCELLED")]
E_ERROR_CANCELLED = 0x800704C7,
RESOURCE_IN_USE = 0x800700AA,
}
[DllImport("riched20.dll")]
public static extern int CreateTextServices(
[MarshalAs(UnmanagedType.IUnknown)] object punkOuter,
ITextHost pITextHost,
[Out, MarshalAs(UnmanagedType.IUnknown)] out object ppUnk);
ITextHost host = new CTextHost(this);
object ppUnk;
var r = CreateTextServices(null, host, out ppUnk);
I recived ExecutionEngineException and AccessViolationException again and again. Is there any problem with it?
Thanks in advance!
|
|
|
|
|
Implementing C++ interfaces in C# is a pain. You could create a wrapper with managed C++ and then derive your C# class from the managed C++ class.
|
|
|
|
|
My god. I am poor in C++. 
|
|
|
|
|
I have a Software Program from a MICROS Server that can send via TCP or Serial Port. I have another application on another server that sends and receives data from the MICROS Server through a physical null modem cable on Serial port COM2. I am virtualizing the MICROS Server and that does away with the Serial Port communication. I can't change the Server that receives the data from a Serial Port. So, does anyone have a solution to send from the MICROS Server through TCP to the second server and be able to pass that down to COM2 and be able to have COM2 respond back through the TCP port back to the MICROS Server without having a physical cable? Any code support would be greatly appreciated.
|
|
|
|
|
Why are your attempting to create your API at the TCP level rather than just create a Send/Receive API and let the API internals deal with the communication?
|
|
|
|
|
I might have not explained it correctly. I have been asked to Virtualize a Microsoft Server which runs an application Server Software called MICROS. MICROS is used as the back end for POS Systems. When MICROS gets a transaction, it can send that transaction out through TCP or Serial Port. There is another Server that is connected to the MICROS Server via null modem cable. Since we are virtualizing the MICROS Server on a Windows 2008 R2 Server, we can not get the Serial Port to pass through from the Virtual Host because Microsoft no longer supports passing through Serial Ports from the Virtual Host to the Virtual Session. I am looking to create a C# Application to take the place of communicating on both sides because the null modem cable can not be used. The Server that receives data and sends data back to the MICROS Server is an old outdated piece of software that I can't change right now because there is no newer version. It is a DOS Application. So, I am looking for a way to pass Serial to Serial through Named Pipes, Serial to TCP, or any other method. If the receiving Server was able to send and receive via TCP then this wouldn't be an issue. My client is pushing me to make it happen.
Thanks! 
|
|
|
|
|
Unless I'm mistaken you are looking for this:
http://www.eterlogic.com/Products.VSPE.html[^]
I used the free variant and it works perfectly fine. You can create any number of serial ports and connect them virtually on the same machine or remotely over tcp/ip. You can also create gateways and bridges. Very neat.
I guess you have buy it, the server variant is not free.
|
|
|
|
|
hello, how can i index my files form my system and then use that index for fast searching in c#. for desktop search engine
|
|
|
|
|
Start here[^]. You might also search this site to see if there any articles that might be useful.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hey
I get results from an searchengine that i need to split into pieces. The structure looks like this:
[ // begining of file
{ // struct 1
"name1":"value1",
"name2":"value2",
"name3":"value3",
"name4":"value4",
"name5":"value5",
"name6":"value6",
"name7":"value7",
"name8":"value8",
},
{ // struct 2
"name1":"value1",
"name2":"value2",
"name3":"value3",
"name4":"value4",
"name5":"value5",
"name6":"value6",
"name7":"value7",
"name8":"value8",
},
] // end of file
In plain text it looks. Like this:
[{"name1":"value1","name2":"value2","name3":"value3","name4":"value4","name5":"value5","name6":"value6","name7":"value7","name8":"value8"},
{"name1":"value1","name2":"value2","name3":"value3","name4":"value4","name5":"value5","name6":"value6","name7":"value7","name8":"value8"}]
I don't understand how to split this in parts. What I done is this:
\[(?<text_between_brackets>.*?)\]
But that only gives me the text between [ ] so how do i add commands for splitting { } and : ?
I want each structure with values, I don't care for the names.
Thanks
|
|
|
|
|
That appears to be a JSON formatted response. You just need a JSON library to parse it for you. Try this[^].
|
|
|
|
|