|
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.
|
|
|
|
|
Need help in making the Android Code visible in the Article. I have included code tag "pre" and have copied my XML code. But the Code is not visible as intended.
Please find the image for the issue. Leftside is the editor section and Right side shows the issues.
How do i include the Whole xml section in as code in the article.

|
|
|
|
|
Please edit your question and add a link to the article; there are thousands to choose from.
|
|
|
|
|
Thanks very much for your message. You can see our FAQ entry on the article editor here:
Code Project Article FAQ[^]
But if you're having too much trouble, please feel free to leave the link here and I'd be happy to tackle it for you.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
How does one insert images into an article?
I'm writing an article (under Articles -> Submit an Article or Tip -> Start Writing) and I would like to include an image.
I click on the "image" icon in the toolstrip I see, a dialog pops up titled "Image Properties", I see "URL", and I'm not sure how to specify my image file.
I also tried "Upload Files" (on the right side) and uploaded my image file, then I specified the image file name in the "URL"; however, that didn't seem to help any.
I also tried Cut/Paste to paste the image in; however, that did not seem to work either.
(I am familiar with HTML. I tried clicking on "Source" in the toolstrip above. I see the familiar <img src="..."> tag. However I still don't know what to put in for src.)
|
|
|
|
|
We have an FAQ entry on how to do it here:
Code Project Article FAQ[^]
I am wondering if perhaps you have an addon that is interfering with the site. Do you have uBlock or something similar? That may cause some issues.
If those things don't help please feel free to ask more questions, or if you really get stuck, I'd be happy to put the images in the article.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
|
Need sample c# code for multi selection combobox filled along with search features for windows app. .Please help me. Thank you in advance.
|
|
|
|
|
I'm sorry but you have picked the wrong forum for this question. This forum is intended for people asking questions about how to write articles. I would suggest that you search using the search engine of your choice to find appropriate articles here on Code Project.
|
|
|
|