|
please help me.how to make a simple youtube downloader in vb.net
|
|
|
|
|
|
YouTube Downloader Using C# .NET[^]
I know it is in C# but it won't be hard to convert to VB.NET
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Hi everyone,
I am using Visual Studio 2013 Community Edition. I am compiling with .NET 4.0
I need a control which will allow me to present the user with a text string while having the ability to have a transparent backColor. I think back in the days of VB 6.0 you were able to set a label with a Transparent backColor.
Example: There is a TextBox sitting in front of a PictureBox. The user can change the image displayed in the PictureBox. If the user changes the image to a gradient, I need the user to be able to see the image which is behind the textBox container.
I really do not mind what control I use as long as I can have it display text.
Any help at all would be greatly appreciated.
Thanks in advance!!
|
|
|
|
|
Please don't double-post.
|
|
|
|
|
WinForms has no transparent label, AFAIK. You'd draw the text in a Paint-event. That would also make it non-editable.
It's easier to show a non-transparent textbox, like when the user doubleclicks the image.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
hi
i want cod program Excellence characters English usenig (Visual Basic) arrays neural network ann competitive supervised
Please
|
|
|
|
|
Word salad. Your string of words made no sense at all.
And if you're looking for someone to just write code for you, you've come to the wrong site.
|
|
|
|
|
i want to extract sample from fingerprint template
the template is from database
i want to display the extracted sample to crystal report
i am stuck at this code:
Dim bitmap As Bitmap = Nothing
Dim ex As DPFP.Processing.FeatureExtraction
Dim convertor As New DPFP.Capture.SampleConversion
Dim fbyte As Byte() = set2.Tables(0).DefaultView.Item(0).Item(1)
Dim stream As IO.MemoryStream = New IO.MemoryStream(fbyte)
a.DeSerialize(stream)
|
|
|
|
|
Member 11180306 wrote: i am stuck at this code: You'd need to check the documentation of the library your using to read the fingerprint.
You'd also probably want to assign the result from the deserialization to some object.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
hi,
I've a database in ms access 2010. there is a table named Expenses and its fields are ID (text field), Vendor, ExpenseDate, InvoiceNo, Amount, PaymentType, AmountPaid, Credit.
I want to filter data from Expense table according to gigen ID and between the two ExpenseDate.
I used subform control and want to display filtered records in subform.
currently I used this code to filter on subform -
With Me.subExpenses.Form
.Filter = "[ExpenseDate] BETWEEN #" & Me.txtSDate & "# AND #" & Me.txtEDate & "#"
.FilterOn = True
.FilterOnLoad = True
End With
also I used another code to query the records -
Me.subOrders.Form.RecordSource = "SELECT * FROM Orders WHERE ID='" & IdNo & "' AND OrderDate BETWEEN #" & SDate & "# AND #" & EDate & "# ORDER BY OrderDate"
but both codes are not working.
please give me solution as soon as possible because its argent.
Thanks,
|
|
|
|
|
It is never urgent if you ask a volunteer.
Does VBA only allow for queries built with string-contatenation? Also, what datatype does IdNo have? Is it a text? Are you sure that you have the correct date-format for your local culture? Does it return records if you remove the "between" part?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I have this credit card API. You can write your own XML or use their WSDL file, register it as a Web Service. I starting to prefer the first method.
So on the XML, your suppose to generate a request header, then send the XML. Which makes sense to me.
On the WSDL, I have no clue how to do the same thing, of even come up with the search keywords to do research.
I guess my question is what would this be called, keyword suggestions.
Perhaps your thought on the task at hand here. Maybe go recode to XML using my XSD Class, and then use the bottom code.
For some reason, I'm including some code here, the give my question more clarity.
'Make a tranaction
Dim txn As New com.firstdata.globalgatewaye4.V14.Transaction
'Credentials
txn.ExactID = sCA.Exact_ID
txn.Password = sCA.Exact_Password
'//////////////////////////////////////////////////////////////////////////////////////
'Transmit the Card Authorization Request
Dim ws As com.firstdata.globalgatewaye4.V14.Service = New com.firstdata.globalgatewaye4.V14.Service
Dim rxn As com.firstdata.globalgatewaye4.V14.TransactionResult = New com.firstdata.globalgatewaye4.V14.TransactionResult
rxn = ws.SendAndCommit(txn)
'//////////////////////////////////////////////////////////////////////////////////////
I started working on this, thinking I could just pass the XML generated from the WSDL to the transmitter, but I'm on the wrong track here.
Private Function transmit_HMAC( _
ByVal pValue As String) As Integer
Dim dwExitCode As Integer = 2
'Generate the Hashed Content
Dim encoder As ASCIIEncoding = New ASCIIEncoding
Dim wsdl_bytes() As Byte = encoder.GetBytes(pValue)
Dim sha1_crypto As SHA1CryptoServiceProvider = New SHA1CryptoServiceProvider
Dim hash As String = BitConverter.ToString(sha1_crypto.ComputeHash(wsdl_bytes)).Replace("-", "")
Dim hashed_content As String = hash.ToLower
'Grab a copy of the keys
Dim m_keyID As String = My.Resources.HMAC_KEY_ID
Dim m_key As String = My.Resources.HMAC_KEY
'Grab a copy of the EndPoint
Dim m_url As String = My.Resources.endPoint_Demo
'Build and assign values to hashing and header variables
Dim m_method As String = "POST\n"
Dim m_type As String = "application/xml" 'REST XML
Dim m_time As String = DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ssZ")
Dim m_uri As String = "/transaction/v14"
Dim m_hashData As String = m_method & m_type & "\n" & hashed_content & "\n" & m_time & "\n" + m_uri
Dim m_hmac_sha1 As New HMACSHA1(Encoding.UTF8.GetBytes(m_key))
Dim m_hmac_data() As Byte = m_hmac_sha1.ComputeHash(Encoding.UTF8.GetBytes(m_hashData))
Dim m_base64_hash As String = Convert.ToBase64String(m_hmac_data)
'Build the HTTP Request
Dim request As HttpWebRequest = HttpWebRequest.Create(m_url)
request.Method = "POST"
request.ContentType = m_type
request.Accept = "*/*"
request.Headers.Add("x-gge4-date", m_time)
request.Headers.Add("x-gge4-content-sha1", hashed_content)
request.Headers.Add("Authorization", "GGE4_API " + m_keyID + ":" + m_base64_hash)
request.ContentLength = pValue.Length
Using stream_writer As StreamWriter = New StreamWriter(request.GetRequestStream)
stream_writer.Write(pValue)
End Using
Return dwExitCode
End Function
|
|
|
|
|
I'm trying to use a progress bar in a .Net 4.5 application while calling a method that doesn't return for 5-7 seconds. This is a simple application, but the examples I've seen are either based on file operations or web operations. Since mine is neither I'm unclear as to:
1) What type of async method to use?
2) For the await method what type of .NET method do I use (e.g., .DownloadStringTaskAsync)?
I'm trying to use Furytrader post 'Simple .Net progress bar using async/await', 2/18/2014, but I'm struggling. Example code is a lot to ask for but mod's to Furytrader's post might be easier.
|
|
|
|
|
With a bit more investigation, it was apparent that the time consuming task in this example, retrieving a string from a website, was effectively driving the frequency that the progress bar was updated -- retrieve a string then update the progress bar. My problem is that the task I'm calling does not return for several seconds and it is during this time that I want to be updating the progress bar since the task is a blocking task.
How do I call such a task and also be updating the progress bar?
|
|
|
|
|
Howdy - you might try using a Background worker for this task. The Background worker class provides a straight forward method to update progress bars etc.
|
|
|
|
|
Dear Friends,
I am using Windows 8 (64 Bit) and M. Office 2007 (32 Bit) but I cant create Access Database.
Please tell me, I need to install MS Access 2007 or it pre installed into ms office 2007. there are no option display in start menu about access 2007.
Amol
|
|
|
|
|
What does this have to do with VB.NET??
|
|
|
|
|
Access only comes with the Professional edition of Microsoft Office. If you have the Standard or Student edition, Access is not included.
=========================================================
I'm an optoholic - my glass is always half full of vodka.
=========================================================
|
|
|
|
|
|
Hello experts,
I have a combobox which lists down lot of values like Apple, Ant, Cat, Carrot,Costco etc. But I want it to work as follows.
so when I type "Ca" on combobox it should show only those in the list that starts with "Ca" In this case its carrot and Cat.
This is a windows application developed in Vb.net.
Please let me know how to achieve that.
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
Solved
cbmBrand.DropDownStyle = ComboBoxStyle.DropDown
cbmBrand.AutoCompleteMode = AutoCompleteMode.SuggestAppend
cbmBrand.AutoCompleteSource = AutoCompleteSource.ListItems
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
The 5 is for posting your own resolution
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thank you This gives lot of boost up. Because you know I am new to DotNet.
Your help is much appreciated.
Thanks
Happy Coding!
|
|
|
|
|
Hello, are you binding the records from database or from arraylist?
|
|
|
|