|
Under the Revisions tab on your article, check the two versions you wish to compare then hit, Compare:
Robust C++ : Object Pools[^]
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I didn't expect to find a draft in that list. Thanks.
But it doesn't work for me! When I choose the latest draft of Debugging Live Systems and try to compare it to the most recently published version, I see no changes at all, which isn't surprising because it says
Comparing revision 6 (Wednesday, February 5, 2020 10:47am) and revision 6 (Tuesday, February 4, 2020 2:49pm)
when the draft version is revision 7.
|
|
|
|
|
You might need to click "Show Minor Revisions"
I'm sorry to say that the versions are a tricky thing. Sometimes you gotta fish around for the one you want.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I did--and even clicked "Show auto-saved drafts", which was a real eye-opener because I owe you guys an apology for constantly saving after minor edits while writing an article!
|
|
|
|
|
Hmm. Well if it isn't behaving as expected please make a note of what should be there and isn't on our Site Bugs and Suggestions forum: Bugs and Suggestions[^]
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
|
This has been happening to me too. The solution is to clear the cache but I'm tired of doing that all the time!
|
|
|
|
|
Are you running any adblocker addons? Sometimes this can cause problems with images appearing.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I have a paid antivirus solution running in my PC, it comes with an AdBlocker sir. Mine is kaspersky
|
|
|
|
|
Next time you're having trouble seeing images, please try turning kaspersky off.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I can see no missing images; all loads, no "broken link/missing image" signs
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Thank you sir, adding codeproject.com to the exception list of my antivirus worked!
|
|
|
|
|

Picture of the error is attached.
Please help me ASAP if you can.
Thank you
|
|
|
|
|
This forum is for questions about articles you have written.
You need to post your question in a more appropriate place - for example, https://www.codeproject.com/Questions/ask.aspx[^]
NB: You'll need to provide more than just an error message if you want anyone to be able to help you.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
It means you have an issue with a dll either being a different version or missing. Something is not installed correctly. Just google the error and you'll find several possible fixes.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
|
All better. Thank you.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
|
Problem with VB.net code.
After windows update to 1903 version this code(which worked before) leaves an empty file on the server.
Can someone help me?
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
UploadFile("C:\test.txt, Servername & "/test.txt", User, PW)
Application.DoEvents()
End Sub
Public Sub UploadFile(ByVal _FileName As String, ByVal _UploadPath As String, ByVal _FTPUser As String, ByVal _FTPPass As String)
Try
Dim _FileInfo As New System.IO.FileInfo(_FileName)
Dim _FtpWebRequest As System.Net.FtpWebRequest = CType(System.Net.FtpWebRequest.Create(New Uri(_UploadPath)), System.Net.FtpWebRequest)
_FtpWebRequest.Credentials = New System.Net.NetworkCredential(_FTPUser, _FTPPass)
_FtpWebRequest.EnableSsl = True
_FtpWebRequest.KeepAlive = False
_FtpWebRequest.Timeout = 15000
_FtpWebRequest.Method = System.Net.WebRequestMethods.Ftp.UploadFile
_FtpWebRequest.UseBinary = True
_FtpWebRequest.ContentLength = _FileInfo.Length
Dim buffLength As Integer = 2048
Dim buff(buffLength - 1) As Byte
Dim _FileStream As System.IO.FileStream = _FileInfo.OpenRead()
Dim _Stream As System.IO.Stream = _FtpWebRequest.GetRequestStream()
Dim contentLen As Integer = _FileStream.Read(buff, 0, buffLength)
Application.DoEvents()
Do While contentLen <> 0
_Stream.Write(buff, 0, contentLen)
contentLen = _FileStream.Read(buff, 0, buffLength)
Loop
Catch ex As Exception
End Try
End Sub
|
|
|
|
|
This forum is for questions relating to articles that you have written. Please post in a more appropriate place, or maybe https://www.codeproject.com/Questions/ask.aspx[^].
[edit]
There is an obvious bug in your code, in that you declare buff as 2047 bytes, but then read blocks of 2048 into it. So potentially you lose the last byte of each block of the file.
[/edit]
modified 27-Dec-19 9:11am.
|
|
|
|
|
Thanks for helping me.
I just saw my mistake to put this question in a wrong section.
|
|
|
|
|
Richard MacCutchan wrote: you declare buff as 2047 bytes, but then read blocks of 2048
Don't forget that VB.NET declares arrays using the upper-bound, not the length.
You can thank VB6 for that one.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
One of these days I might actually spendwaste some time learning VB. 
|
|
|
|
|
So how's it done? Underneath "Article Thumbnail", I tried
- Click on "Browse...", select a file (a 90K .jpg), click "Open" in windows, and the filename appears on the article page. Saved the article and went to re-edit it. The filename was gone.
- Thought that maybe the image had to be uploaded first, after which a relative link could be used. Dragging it into the "Drag and Drop Files Here" box did nothing.
- Found an image on Pexel and pasted its URL into the box. Saved the article and went to re-edit it. The URL was gone.
|
|
|
|