For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
I am novice in programming and I have been working out developing Learning Management System to facilate the teaching and learning in the community based schools and colleges. I am also trying to build Single Page Application in MVC4 but I have some queries regarding whether it will be handy to use Ajax or how we develope SPA in MVC4 framework without using Ajax?
I will be pleased having your additional ideas.
So this is related to my VB post on FirstData V19 SOAP, but is the final piece of the puzzle.
I finally figured out why I can't match the Transmission of the SOAP Body to the copy of the the SOAP Body.
My Soap Body Contains and empty element for Address 2. And the transmitted SOAP Body just closes the empty element. So the 2 don't match, and I get the wrong content digest.
If there amy way using XMLWriter that I can close empty elements? Or will I have to do further manipulation?
'Copy of SOAP Body
<Address1 xsi:type="xsd:string">1234 Main Street</Address1><Address2 xsi:type="xsd:string"></Address2>
'Actual SOAP Body Transmitted.
<Address1 xsi:type="xsd:string">1234 Main Street</Address1><Address2 xsi:type="xsd:string"/>
Dim buffer As MessageBuffer = request.CreateBufferedCopy(Int32.MaxValue)
request = buffer.CreateMessage
Dim msg As Message = buffer.CreateMessage
Dim encoder As UTF8Encoding = New UTF8Encoding
Dim txn As MemoryStream = New MemoryStream
Dim xmlSettings AsNew XmlWriterSettings
.OmitXmlDeclaration = TrueEndWithUsing xmlWriter As XmlWriter = xmlWriter.Create(txn, xmlSettings)
Using writer As XmlDictionaryWriter = XmlDictionaryWriter.CreateDictionaryWriter(xmlWriter)
EndUsingEndUsing'Convert the MemoryStream to a Byte Array
Dim txn_string AsString = encoder.GetString(txn.ToArray()).Replace(" />", "/>")
Dim xml_bytes() AsByte = encoder.GetBytes(txn_string)
I've been using DotNetOpenAuth in my MVC / WebAPI solutions for a while now and I've attempted to upgrade to MVC5 and WebAPI2 twice now and due to so many issues with DotNetOpenAuth I've failed both times to get it all working.
Since this project seems to be either dead or moving at a horrifically slow pace what are the alternatives for both a client and server solution?
I'm stumped at how some people seem to have gotten it to work as I'm failing miserably.
I am asked to find out if it is possible to switch the gateway inside my app that has the IE web control. I have a program that allows terminal users log into data service sites and get data back. The problem is that I need to change the gateway so that the data service comes from 2 gateway different gateways.
In String Builder When we change the variable value then it does not create new object,It modify again and again same object,but in string if we modify the string variable value then it again and again create a object.So if we have to update string again and again then recommended to use String Builder always.
Normally you display a pure PDF page as a page.
I suppose you can can display a PDF page as an image element, but you might have to create a PDF thumbnail, in which I haven't figured out how to do yet.
You can also add buttons to a PDF document to perform certain functions like print, and hyperlinks to move to sections of the page.
But combining HTML with a PDF may be tough to do, I don't think it can be done.
I searched and found nothing.