|
Every single VS2008 uses the same control set, which is the .NET framework. VS just has different versions to allow greater maneuverability when creating interfaces, but the main controls used are in the .NET framework. For example, in design-time using the forms editor, some features will be disabled in express but will be available in professional. A search similar to this[^] might be able to help you further.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Hello
I am debugging an app written vb.NET2. The application attempts to connect to a FTP site to download text files. The error I keep getting, The remote server returned an error: (407) Proxy Authentication Required.
Code:
Dim prox As New WebProxy(ProxyAddress, PortNumber)<br />
prox.Credentials = New NetworkCredential(UserName, Password)<br />
Dim client As New WebClient<br />
client.Proxy = prox<br />
Dim rssStream As System.IO.Stream = client.OpenRead(FTPPath)<br />
Dim reader As New System.IO.StreamReader(rssStream)<br />
Dim xmlReader As New System.Xml.XmlTextReader(reader)<br />
Dim xmlDoc As New System.Xml.XmlDocument()<br />
xmlDoc.Load(xmlReader)<br />
'I then return the xml text
I also tried something like this
Dim web As New WebClient<br />
web.Proxy = New System.Net.WebProxy(ProxyAddress, PortNumber)<br />
web.Credentials = New System.Net.NetworkCredential(UserName, Password)<br />
Return web.DownloadString(FTPPath)
Any assistance would be greatly appreciated,
thanks
Kiefie
The man with a plan...Now where'd that plan go?
|
|
|
|
|
Are you sure that the provided UserName and Password are the correct one for Proxy Authentication?
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
hi,
I am doing web application...when I encrypt and decript the Id field its running fine...but while run the following id like 44 and 2 its saying error..I am using following code...
Imports Microsoft.VisualBasic
Imports System
Imports System.IO
Imports System.Xml
Imports System.Text
Imports System.Security.Cryptography
Public Class Class1
Public Function fnEncrypt(ByVal sPlainText As String) As String
Dim sCipherText As String
Dim sPos As Integer
Dim sChar As Char
For sPos = 1 To Len(sPlainText)
sChar = Mid(sPlainText, sPos, 1)
sCipherText &= Chr(Asc(sChar) + Len(sPlainText))
Next
Return sCipherText
End Function
Public Function fnDecrypt(ByVal sCipherText As String) As String
Dim sPlainText As String
Dim sPos As Integer
Dim sChar As Char
For sPos = 1 To Len(sCipherText)
sChar = Mid(sCipherText, sPos, 1)
sPlainText &= Chr(Asc(sChar) - Len(sCipherText))
Next
Return sPlainText
End Function
End Class
if you know plz reply me..very urgent
Rajendran.AL
|
|
|
|
|
r aa j wrote: if you know plz reply me..very urgent
Then, it's very urgent that you post the error message you're getting and on what line it's occuring.
BTW: Since you're not paying anyone for support, "urgent" doesn't mean a damn thing around here. Unless, of course, you have to pee.
|
|
|
|
|
I was wondering if you could give a specific example or a little more information (specific error code). I created the class using the the exact code you posted and it ran fine.
|
|
|
|
|
please I want to implemant a function ring in my project witch is a softphone (vb.net).
But i don't have any idea about it.
Please can you help me.
And thank you
|
|
|
|
|
Your description is too vague. What do you mean? And what is a "softphone"?
|
|
|
|
|
my project is about VoIP (Voice over IP)
Softphone= (exemple= X-lite, Zoiper, wengophone...)
A function wich i hope to create (function Ring)can hear sonorisation when someone call me
|
|
|
|
|
You want to play a wav file?
Dim Sound As New System.Media.SoundPlayer()
Sound.SoundLocation = "C:\Ring.wav" 'Change here for your particular sound
Sound.Load()
Sound.Play()
I havent tested this, but I am sure this works.
|
|
|
|
|
thank you
But i want to ask you this question: is it necessary to create another fuction Ring()? and how?
|
|
|
|
|
That would depend on what you mean by "Ring()"?? What is a "function ring"??
|
|
|
|
|
it must be the audible equivalent of:
Private Sub Ring()
Console.WriteLine("ring ring")
End Sub
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Hi, I am using the bindingnavigator delete to delete a record from an access db table using visual studio defaults. The record will delete from the db but when the form and bindingnavigator refreshes it deletes the record then refreshes to the bound data set minus the last record. eg records 1 of 3, delete record 3, form now shows 1 of 1. I have set up another button to list data in dataset and it shows the two remaining records. How do i get the form to show the correct number of records? Thanks.
|
|
|
|
|
please I want to implemant a function ring in my project witch is a softphone (vb.net).
But i don't have any idea about it.
Please can you help me.
And thank you.
|
|
|
|
|
|
I want to use DSOFramer in my project and while trying the comntrol I had added reference to "AxInterop.DSOFramer.dll" & "Interop.DSOFramer.dll" and placed the control on the form and when trying to build the app.
It throws an error saying
Error 1:'AxFramerControl' is ambiguous in the namespace 'AxDSOFramer'.
Please help me to resolve it...
Jats
|
|
|
|
|
Have you been able to solve this issue? I'm having the same problem.
I'm trying to integrate Excel in an office form and the DSOFramer seems to be the most suitable solution for this
|
|
|
|
|
Hi all
I am new to visual studio...can anyone sugest me which control can be used for displaying both text,images and link....'
it is for a chat application...
please help me.....
thanks and regards
Simnesh
|
|
|
|
|
Seriously, if you can't work out the answer to this question, you need to give up on writing any chat apps anytime soon. Instead, buy a beginner book, and learn some basics before you consider having to deal with two way network communications, or anyting like that.
The world is full of people who never became programmers because their initial project was ludicrous. Learn from them.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi friends...
Since last 2 days , i had late nights... my problem is..
i have a server and i publish a webservice on it, with only 2 functions for insert the datas tat its getting. i have my client machines in 5 different place, say 30 km away.. At every 30 mins the client machine will send an some datas to the webservice. But im getting an error tat..
"The underlying connection was closed. unable to connect remote server."
i'm not getting vats it. i searched in search engines but its not worth.
can anybody help me..
vats all i tried is.
1. change the setting in web config of webservice. (Not worked)
2. checked whether the clients can access webservice (Worked)
3. changed the timeout (NW).
......
But Since last week it worked fine.. but 2 days b4 my ip was changed , after tat only i hve tis pblm.. And also, i have another application with another webservice. But its working fine..
Can anyone help me....
Thanks in advance..
modified on Monday, April 21, 2008 2:02 AM
|
|
|
|
|
SamRST wrote: But Since last week it worked fine.. but 2 days b4 my ip was changed , after tat only i hve tis pblm..
OK. Your server's IP changed. Do the client app's know this?? Were they connecting to the web service via the IP address or using it's DNS name?? If by name, does the name now point to the new IP address??
|
|
|
|
|
Dim m_xmlr As XmlTextReader
m_xmlr = New XmlTextReader("C:\abc.xml")
m_xmlr.WhitespaceHandling = WhitespaceHandling.None
m_xmlr.Read()
m_xmlr.Read()
While Not m_xmlr.EOF()
'Go to the name tag
m_xmlr.Read()
'if not start element exit while loop
If Not m_xmlr.IsStartElement() Then
Exit While
End If
'Get the id Attribute Value
Dim idattribute As String = m_xmlr.GetAttribute("id")
'Read elements name,server and database
m_xmlr.Read()
'Get the name Element Value
Dim NameValue As String = m_xmlr.ReadElementString("Name")
'Get the server Element Value
Dim servervalue As String = m_xmlr.ReadElementString("Server")
'get the database element value
Dim databasevalue As String = m_xmlr.ReadElementString("DataBase")
'Write Result to the Console
txtid.Text = idattribute
txtname.Text = NameValue
txtserver.Text = servervalue
txtdb.Text = databasevalue
End While
'close the reader
m_xmlr.Close()
i have used this code its working perfectly but while loop is just taking value 2 even if i type 1 or 0;help me out
this is my xml file
<?xml version="1.0" encoding="utf-8" ?>
<Setting>
<Test id="0">
<Name>Local</Name>
<Server>Live</Server>
</Test>
</Setting>
and next test id values are 1 and 2
i had choosen this code from codeproject itself and my application is similar to that.but a small problem to read values
and iam new to site plz tell me where i can see the answers to questions which i posted.
|
|
|
|
|
It looks to me like you have one set of controls to show values on. You loop through all the values in the XML. Every time, you change the text controls. Thus, the ones that get set last, are the ones you see.
I am not sure what you're trying to do, but perhaps a control like a repeater is what you need ? Probably you need to read some basic VB.NET books too, so when you copy code off the web, you know what a while loop does.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thanks i got it.i have palced the ctrls in if loop.
|
|
|
|