|
I admit there have been times you did not even find code.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
, so you are admitting that i put it for the first time , so from where your 1st statement came :P
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
|
|
|
|
|
Did i asked for code ever ,,,, MVP
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
|
|
|
|
|
It often is not clear what you want. You seem to have an idea or a need, don't provide much information, don't tell what you have tried nor what exact problem you encountered, and sometimes you don't even ask a question at all.
example 1[^] example 2[^] example 3[^]
I suggest you improve your enquiring style and show more of what you tried, it will result in more, better, and sooner answers.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
lol, i will try to improve
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
|
|
|
|
|
You really need to sit down with a beginners book on .NET and work through it.
It appears that you're missing a reference to System.Management.dll.
|
|
|
|
|
well, thanks for reply , definitely to learn , i will even stand
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
|
|
|
|
|
Dear sir,
Please tell me that how create a serial code in visual basic 2008
|
|
|
|
|
That is entirely dependant on what you want to use as a basis for generating the number.
There are lots of different ways, from simple email to hardware checks.
The simplest is a email address, secret salt and a hash generator.
Search google, there are lots of examples for this. There are even components you can plug into your code to for you, including activation mechanisms etc.
|
|
|
|
|
You could trying randomizing alpha numerical characters based on a set of groups ie saved in an array, 3hsu7-8dm28-cne92 and save them to a list, then have another application randomly pick an element from that array and assign it to the application as well as the end user.
|
|
|
|
|
hw to create a table in a form and den add contents to it usin ExecuteReader rather than usin datagrid.
|
|
|
|
|
Uhhh... WHAT? What are talking about? What are you really trying to do? What you said makes very little sense and you didn't exactly supply any requirements to clarify the question.
|
|
|
|
|
hey man,if you don't know how go about my question,then don't answer.. DA'eh :p
|
|
|
|
|
basheer.j wrote: DA'eh :p
That's Klingon?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Sure, you just have to ask a question that is UNDERSTANDABLE!
|
|
|
|
|
I was amazed that he would think that CP's 'VB Go To Guy' would not be capable of helping.
I think he may be in a lot of trouble, not having English as a first language is not usually a barrier, I often re-edit for clarity, and people can work around that, but rudeness is just unacceptable.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
basheer.j wrote: hw
Not a word.
basheer.j wrote: den
Where an animal lives?
basheer.j wrote: usin
No, got me there.
basheer.j wrote: usin
Still no wiser.
Perhaps if you used some kind of language that would be recognised by the majority of people here, and not the clicks and grunts that seems to pass for language in your illiterate world, you may get some response.
And the rudeness shown in the other post you made will not endear you to the community.
Keep trying though, you may get there one day.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Hi, please clean your words. that looks very rude and shows you do not give importance to people who are there to help you here. This is not acceptable.
Second, Solution for you is:
Get data from DB into a DataReader/DataTable. Make use of a dynamic HTML Table and add HTMLTableRow and HTMLTableCells. Better still use asp:table rather than HTML table. Do some Google for syntax and code.
But, why reinvent wheel, when you can do something in neat way!
|
|
|
|
|
Thanks in advance
How to copy File folder over network
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
modified on Monday, March 28, 2011 4:25 AM
|
|
|
|
|
I would recommend File.Copy()
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
Thanks
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
|
|
|
|
|
Thanks in advance, I am getting this error at Ftpwebresponse
The underlying connection was closed: An unexpected error occurred on a receive.
<br />
Const localFile As String = "C:\"<br />
Const remoteFile As String = "/Filder/File.ext"<br />
Const host As String = "ftp:
Const username As String = "UserName"<br />
Const password As String = "Pwd"<br />
<br />
<br />
Dim URI As String = host & remoteFile<br />
Dim ftp As System.Net.FtpWebRequest = CType(System.Net.FtpWebRequest.Create(URI), System.Net.FtpWebRequest)<br />
ftp.Credentials = New System.Net.NetworkCredential(username, password)<br />
ftp.KeepAlive = False<br />
ftp.UseBinary = True<br />
ftp.Method = System.Net.WebRequestMethods.Ftp.DownloadFile<br />
<br />
Using response As System.Net.FtpWebResponse = CType(ftp.GetResponse, System.Net.FtpWebResponse)<br />
Using responseStream As IO.Stream = response.GetResponseStream<br />
<br />
Using fs As New IO.FileStream(localFile, IO.FileMode.Create)<br />
Dim buffer(2047) As Byte<br />
Dim read As Integer = 0<br />
Do<br />
read = responseStream.Read(buffer, 0, buffer.Length)<br />
fs.Write(buffer, 0, read)<br />
Loop Until read = 0 'see Note(1)<br />
responseStream.Close()<br />
fs.Flush()<br />
fs.Close()<br />
End Using<br />
responseStream.Close()<br />
End Using<br />
response.Close()<br />
End Using<br />
Any Suggestions ??
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
modified on Monday, March 28, 2011 4:26 AM
|
|
|
|
|
Do you want to download a file from a FTP-server, or copy a file in your LAN using the filesystem?
In the first case;
Is the remote PC an FTP server? Can you reach it with a tool like CuteFTP?
In the second case;
You'll need code to recursively copy folders and files.
I are Troll
|
|
|
|
|
Thanks for the reply , well i was trying to download file from a machine on the local network, Cute FTP even cannot access it. thanks i think so i got the answer , but anyhow is it possible that we user FTP on a network, what is proffered to copy files on a network , i used File Copy API at last.
SOFTDEV
Luck in life always exists in the form of an abstract class that cannot be instantiated directly and needs to be inherited by hard work and dedication.
|
|
|
|
|
FTP won't work unless the server you're copying from is running an FTP server.
If this is a local network, I doubt it's runnig FTP. You're more likely copying files from a shared folder on the server. To get at those, you simply have to supply the normal File copy method and supply either a mapped drive letter path to the source, or a UNC path.
|
|
|
|